Administering Ambari
Also available as:
PDF
loading table of contents...

Install the new Ambari server

Install a new Ambari server on the new host, drop the old Ambari database, and add a new Ambari database.

  1. Install the new Ambari server on the new host.
    yum install ambari-server
  2. Run setup the Ambari Server and setup similar to how the original Ambari Server is configured.
    ambari-server setup
  3. Restart the PostgreSQL instance.
    service postgresql restart
  4. Open the PostgreSQL interactive terminal.
    su - postgres
    psql
  5. Using the interactive terminal, drop the ambari database created by the new ambari setup and install.
    drop database ambari;
  6. Check to make sure the databases have been dropped.
    \l
    No ambari databases should appear in the list.
  7. Create a new ambari database to hold the transferred data.
    create database ambari;
  8. Exit the PostgreSQL interactive terminal.
    \q