7.0
Table Of Contents
- Application Discovery Manager Administration Guide
- Contents
- About This Book
- Overview
- Installing ADM
- Setting Up ADM
- Securing ADM
- Maintenance
- Upgrading ADM
- Migrating to a New Appliance
- Troubleshooting ADM
- Uninstalling ADM
- Time Zones
- ADM API Tutorial
- Index
Application Discovery Manager Administration Guide
42 VMware, Inc.
Restoring an ADM Environment by Using a Product Support Package
To restore an ADM configuration
1 BackupyourADMenvironmentasdescribedin“ProductSupportPackages”onpage 40.
2ContactVMwareCustomerSupporttoretrievethepasswordforextractingtheproductsupportpackage.
3Followthestepsin“RestoretheADMDatabase”onpage 42.
4Ifnecessary,“RestoringtheCustomDiscoveryandConfigurationFiles”onpage 43.
Restore the ADM Database
ThefollowingstepsdescribesrestorationoftheADMdatabaseinanSingle‐Boxanddistributeddeployment.
Chapter 1describesthedifferentADMdeploymentoptions:
1LogintotheAggregatororSingle‐Boxapplianceasuserroot.
2 Createatemporarydirectory:
mkdir supportpackagedir
3CopythesupportpackageintothetemporarydirectorythatyoucreatedinStep 2.
4Extractthesupportpackageintothetemporarydirectory:
unzip support_package__version_date_and_timestamp.zip
whereversion_date_and_timestampistheuniqueidentifierofthepackage.
5Whenpromptedforthepassword,typethepasswordyouretrievedfromVMwareCustomerSupport.
6Afterextractioncompletes,copythedatabasebackupfile:
supportpackagedir/supportpackage/backup.db_dump-main-db_schema_build-db_dump.gz
wheredb_schema_buildisthedatabaseschemaversionandbuildnumber.
7Placethecopiedfileinthefollowingdirectory:
/home/nlayers/Seneca/db_scripts/oracle
8Typethefollowingcommandtostoptheengineservice:
/adm_control.pl --stop engine
9Typethefollowingcommandtoswitchtothenlayersuser:
su - nlayers
10 Changedirectoryto:
cd /home/nlayers/Seneca/db_scripts/oracle
11 Logintotheserveruserasnlayersandcreatethedatabaseentitiesbyrunningthefollowingcommands:
cd ~nlayers/Seneca/db_scripts/oracle
./db_create.sh prod
12 Typethefollowingcommandtorestorethedbbackup:
./db_restore.sh backup.db_dump-main-db_schema_build-db_dump.gz prod
IMPORTANTIfyouaremigratingtoanewappliance,followtheinstructionsin“MigratingtoaNew
Appliance”onpage 51.
N
OTEInthefollowingsections,thedirectoryinwhichtheproductsupportpackagefilesareextractedis
calledassupportpackagedir.
N
OTEInadistributeddeploymentthedatabaseisrestoredthroughtheAggregator.Inasplitsetupwith
remotedatabase,databaseisrestoredontheDatabasemachine.