Application Discovery Manager Administration Guide
Restoring an ADM Environment by Using a Product Support Package
To restore an ADM configuration
1
Backup your ADM environment as described in "Product Support Packages" on page 34.
2
Contact VMware Customer Support to retrieve the password for extracting the product support package.
3
Follow the steps in "Restore the ADM Database" on page 36.
4
If necessary, "Restoring the Custom Discovery and Configuration Files" on page 37.
I
If you are migrating to a new appliance, follow the instructions in "Migrating to a New
MPORTANT
Appliance" on page 45.
N
In the following sections, the directory in which the product support package files are extracted is
OTE
called as supportpackagedir.
Restore the ADM Database
The following steps describes restoration of the ADM database in an Single‐Box and distributed deployment.
Chapter
1 describes the different ADM deployment options:
1
Log in to the Aggregator or Single‐Box appliance as user root.
N
Distributed deployment only: In a distributed deployment the database or remote database is
OTE
restored through the Aggregator.
2
Create a temporary directory:
mkdir supportpackagedir
3
Copy the support package into the temporary directory that you created in Step
4
Extract the support package into the temporary directory:
unzip support_package__version_date_and_timestamp.zip
where version_date_and_timestamp is the unique identifier of the package.
5
When prompted for the password, type the password you retrieved from VMware Customer Support.
6
After extraction completes, copy the database backup file:
supportpackagedir/supportpackage/backup.db_dump-main-db_schema_build-db_dump.gz
where db_schema_build is the database schema version and build number.
7
Place the copied file in the following directory:
/home/nlayers/Seneca/Control/bin/home/nlayers/Seneca/db_scripts/oracle
8
Type the following command to stop the engine service:
/adm_control.pl --stop engine
9
Type the following command to switch to the nlayers user:
su - nlayers
10 Change directory to:
cd /home/nlayers/Seneca/db_scripts/oracle
11 Type the following command to restore the db backup:
./db_restore.sh backup.db_dump-main-db_schema_build-db_dump.gz prod
where db_schema_build is the database schema version and build number.
N
The database restore process can take up to 30 minutes.
OTE
36
2.
VMware, Inc.