Below are steps to check/verify of there is corruption in OVM Manager Database (DB) from OVM CLI
1. Login to Host running Oracle VM Manager as "root" user.
2. Login to OVM shell prompt by running below command.
In above command replace <[password> with the OVMM "admin" user password. After successful login you will be logged into ">>>" OVMM shell prompt.
3. Run below commands in same order in OVMM shell prompt.
If there is corruption in OVM Manager DB, you will see outputs like ONF, inconsistencies etc. once you run "f.fixupScan()". If there is no corruption the output will be empty.
1. Login to Host running Oracle VM Manager as "root" user.
2. Login to OVM shell prompt by running below command.
/usr/bin/ovm_shell.sh -u admin -p <password>
In above command replace <[password> with the OVMM "admin" user password. After successful login you will be logged into ">>>" OVMM shell prompt.
3. Run below commands in same order in OVMM shell prompt.
om = OvmClient.getOvmManager()
f = om.getFoundryContext()
f.fixupScan()
If there is corruption in OVM Manager DB, you will see outputs like ONF, inconsistencies etc. once you run "f.fixupScan()". If there is no corruption the output will be empty.
Products to which Article Applies
Oracle VM Manager (Versions 3.3.X & Above)
tarun boyella
No comments:
Post a Comment