- Copy the - etc/hadoop/conf/yarn-site.xmlfile from the primary ResourceManager host to the standby ResourceManager host.
- Make sure that the - clientPortvalue set in- etc/zookeeper/conf/zoo.cfgmatches the port set in the following- yarn-site.xmlproperty:- <property> <name>yarn.resourcemanager.zk-state-store.address</name> <value>localhost:2181</value> </property>
- Start ZooKeeper. Execute this command on the ZooKeeper host nodes: - su - zookeeper -c "export ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf ; export ZOOCFG=zoo.cfg; source /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ; /usr/hdp/current/zookeeper-server/bin/zkServer.sh start" 
- Start HDFS using the instructions provided in "Controlling HDP Services Manually," in the HDP Reference Guide. 
- Start YARN using the instructions provided in "Controlling HDP Services Manually," in the HDP Reference Guide. 
- Set the active ResourceManager: - FOR MANUAL FAILOVER ONLY: If you configured manual ResourceManager failover, you must transition one of the ResourceManagers to Active mode. Execute the following CLI command to transition ResourceManager - rm1to Active:- yarn rmadmin -transitionToActive rm1 - You can use the following CLI command to transition ResourceManager - rm1to Standby mode:- yarn rmadmin -transitionToStandby rm1 - FOR AUTOMATIC FAILOVER: If you configured automatic ResourceManager failover, no action is required. The Active ResourceManager is chosen automatically. 
- Start all remaining unstarted cluster services using the instructions provided in the "Controlling HDP Services Manually" chapter of the HDP Reference Guide. 


