protocol, shutting it down can disconnectIptables-a input-p icmp-j DROPHost View:Ifconfig PS aux |grep nginx tail/var/log/ha_logFrom Machine view:Ifconfig PS aux |grep nginx tail/var/log/ha_logHost Open ICMP protocoliptables-d input-p icmp-j drop-d DeleteAnd on the same way to view, will find the host and the user's services automatically switched back;You can also stop the host's Heartbeat service Test View:/etc/init.d/heartbeat stopIn fact, the configuration of a variety of highly available s
Tomcat/webapps directory, remember not to change the name of the War package2. Add the slf4j,commons-loggin.jar to the apache-tomcat-7.0.42\webapps\solr\web-inf\lib . The 2 jar packages are missing from Solr 's own war package3. Configure Solr.home. add such a section to Web. XML below apache-tomcat-7.0.42\webapps\solr\web-infChange the E:\solr_home to your own directory, and then copy the solr-4.4.0 \EXAMPLE\SOLR to your ${solr_home}4. do the same for all nodes.5. Modify the ${solr_home}/solr
the carriage return, you will find the ">" Symbol of MongoDB become "secondary>" (from) or "primary>" (Master)Why do they change symbols? (MongoDB's ">" Symbol becomes "secondary>" (from) or "primary>" (Master)):Think that when you initialize the replica set, they will be in the meeting after the localhost:20002 election as the primary server (the higher the priority number, the higher the precedence),So localhost:20002 was elected as the main server "Primary>"5): Data test./mongo--port 20002 (
to viewInitialize replica set configuration (group checklist):Rs.initiate (CONFIG_RS1); --Enter in the carriage return, you will find the ">" Symbol of MongoDB become "secondary>" (from) or "primary>" (Master)Why do they change symbols? (MongoDB's ">" Symbol becomes "secondary>" (from) or "primary>" (Master)):Think that when you initialize the replica set, they will be in the meeting after the localhost:20002 election as the main server (the priority number of the higher precedence),So localhos
file./hdfs/data--Storing data./hdfs/tmp--Storing temporary files 2.6 Modifying an XML configuration file The XML file that needs to be modified under hadoop2.9.1/etc/hadoop/There are 5 main files to modify:hadoop-env.shCore-site.xmlHdfs-site.xmlMapred-site.xmlYarn-site.xmlSlaves 2.6.1, vim hadoop-env.sh, fill in the Java installation path 2.6.2, vim core-site.xml,configuration tag insert the following content2.6.3, Vim Hdfs-site.xml 2.6.4, Vim Mapred-site.xml 2.6.5, Vim
for a storm configurationStorm.zookeeper.servers:-"192.168.1.10"-"192.168.1.11"Nimbus.host: "192.168.1.10"Storm.local.dir: "/opt/stormtmp/data"ui.port:8080Supervisor.slots.ports:-6700-6701-6702-6703### ##### These may optionally is filled in:## # List of Custom Serializations# Topology.kryo.register:#-Org.mycompany.MyType#-Org.mycompany.MyType2:org.mycompany.MyType2Serializer## # List of custom Kryo decorators# topology.kryo.decorators:#-Org.mycompany.MyDecorator## # Locations of the DRPC serve
. The Supervisor Daemon is responsible for starting and stopping worker processes on that machine.3) UIRun the supervision command "Bin/storm UI" to run the Storm UI (you can access a site from a browser that provides diagnostic information for clusters and topologies). Enter "Http://{nimbus host}:8081" in your browser to access the UI.AddMaster Nodehang to background bootnohup./storm Nimbus Start UInohup./storm UI the UI can be started by a browser to access thehttp://master:8081You can start a
The Springcloud series tutorials include the following:Springcloud Series Tutorial 01:eureka Registration Center Cluster setupSpringcloud Series Tutorial 02:configserver Configuration Center Server SetupSpringcloud Series Tutorial 03:configclient Configuration Center Client SetupSpringcloud Series Tutorial 04: Configuration information Dynamic Refresh/bus/refreshSpringcloud Series Tutorial: @FeignClient MicroServices Interface invocation and authoriza
_master_host \ "$ssh _start_vip \"; Exit 0; } else {usage (); Exit 1; }} # A simple system call, enable the VIP on the new master sub Start_vip () {' ssh $new _master_ssh_user\@ $new _mas Ter_host \ "$ssh _start_vip \"; # A Simple System "call" Disable the VIP on the Old_master sub Stop_vip () {' ssh $orig _master_ssh_user\@ $orig _mast Er_host \ "$ssh _stop_vip \"; } Sub Usage {print "Usage:master_ip_failover–command=start|stop|stopssh|status–orig_master_host=host–orig_master_i P
/M02/83/DA/ Wkiol1d-fisrztqyaae3obxqws0129.png-wh_500x0-wm_3-wmp_4-s_2998259665.png "alt=" Wkiol1d-fisrztqyaae3obxqws0129.png-wh_50 "/>Use Ntpdate to synchronize the system time with the NTP server and write to the hardware clock, the Ntpdate service starts from the boot.Ntpdate 0.centos.pool.ntp.orgHwclock-wChkconfig ntpdate on650) this.width=650; "title=" Qq20160707164638.png "src=" http://s4.51cto.com/wyfs02/M01/83/DA/ Wkiol1d-fvrjxtihaacrtlswtzo178.png-wh_500x0-wm_3-wmp_4-s_2912137538.png "a
example, if you create a web app and deploy it to Tomcat (multi-application), the default rule is to add a prefix to the project name in the URI to access it. For example, we assume that the project is named shopping, giving it a separate domain name: shopping.website.com. Then the default URL needs shopping.website.com/shopping to be OK, now it needs to be set to shopping.website.com. How to use Nginx configuration, to achieve our goal? In the nginx.conf configuration, add the rewr
How do you setup/remove/modify cluster synchronization services daemon (cssd) on a non-RAC system (init.css d )?
Each of the localconfig operations need to be run as root$ ORACLE_HOME refers to the home used by ASM
Setup/Add==============
If the CSS is missing either due to specifically excluding it at install time... or it was later removed
$ ORACLE_HOME/bin/lo
[hadoop@hadoop01. ssh]$ Cat id_dsa.pub.hadoop03 >> Authorized_keysDistribute the Authorized_keys on the master host to each slave host:[email protected]. ssh]$ SCP Authorized_keys [email protected]:/home/hadoop/.ssh/authorized_keys[hadoop@ Hadoop01. ssh]$ SCP Authorized_keys [email protected]:/home/hadoop/.ssh/Authorized_keysTo install the JDK:sudo tar-xvf jdk-7u55-linux--R root:root jdk1.7.0_55JDK1.7.0_55 is generated after successful installation, confirming that the directory permission is d
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.