Complete the following prerequisites:
Ensure you have a working Zookeeper service. If you had an Ambari deployed HDP cluser with Zookeeper, you can use that. If not, deploy ZooKeeper using the instructions provided here.
Note In a typical deployment, ZooKeeper daemons are configured to run on three or five nodes. It is however acceptable to collocate the ZooKeeper nodes on the same hardware as the HDFS NameNode and Standby Node. Many operators choose to deploy the third ZooKeeper process on the same node as the YARN ResourceManager. To achieve performance and improve isolation, Hortonworks recommends configuring the ZooKeeper nodes such that the ZooKeeper data and HDFS metadata is stored on separate disk drives.
Shut down your HA cluster (configured for manual failover) using the instructions provided here.
Ability to transition from a manual failover setup to an automatic failover setup, while the cluster is running, is not supported currently.