Install the New Ambari Server
Install the new Ambari Server on the new host.
yum install ambari-server
Run setup the Ambari Server and setup similar to how the original Ambari Server is configured.
ambari-server setup
Restart the PostgreSQL instance.
service postgresql restart
Open the PostgreSQL interactive terminal.
su - postgres
psql
Using the interactive terminal, drop the "ambari" database created by the new ambari setup and install.
drop database ambari;
Check to make sure the databases have been dropped. The "ambari" databases should not be listed.
\l
Create new "ambari" database to hold the transferred data.
create database ambari;
Exit the PostgreSQL interactive terminal.
\q
Copy the saved data (/tmp/dbdumps/ambari.sql) from Back up Current Data to the new Ambari Server host.
Load the saved data into the new database.
psql -d ambari -f /tmp/dbdumps/ambari.sql
Start the new Server.
ambari-server start
On each Agent host, start the Ambari Agent.
ambari-agent start
Open Ambari Web. Point your browser to:
<new.Ambari.Server>
:8080
The new Ambari Server is ready to use.