Enable ECS Server HA and promote agents Post Cloudera Embedded Container Service Installation

If you want to enable ECS Server for High Availability after installing Cloudera Embedded Container Service, then you must proceed with this section. If you do not want to enable ECS HA, you can safely ignore this section.

As a prerequisite, during the installation, you must have installed Cloudera Embedded Container Service with 1 master (with app_domain as Load Balancer URL) + agents. This allows you to promote Agents as masters.