How to recreate guest configuration files after updating Integrity VM V4.0 VM Host to Integrity VM V4.1
This article explains how to recover Integrity Virtual Machines guest configuration after upgrading from version 4.0 to 4.1.
After updating Integrity VM Host from version 4.0 to version 4.1, the guest configuration files are moved to /var/opt/hpvm_backup directory. The hpvmstatus command will show no Guest information on execution:
# hpvmstatus hpvmstatus: No guest information is available. hpvmstatus: Unable to continue.
This is consistent with the following statement on the HPVM 4.1 Administration guide:
- The new configuration files are not compatible with those of previous versions of Integrity VM. Therefore, if you are upgrading to the current version, the guest configuration files (except the /ISO-Images/ directory) are saved to the /var/opt/hpvm_backup directory.
The supported method to recover the VM guest configuration, is to recreate the guests using the hpvmcreate command. The guest configuration files are not automatically exported to HP Integrity VM 4.1 configuration directory.
New configuration files can be created with the information available in the backup files using the -F option of the hpvmmodify command.
# hpvmmodify -P <guest> -F
This option will suppresses all resource conflict checks and associated warnings messages (force mode). In this context, will take the old version configuration files and update only the Integrity Virtual Machine Release data of the configuration files.
# hpvmstatus -P rx7620c hpvmstatus: No guest information is available. hpvmstatus: Unable to continue.
# hpvmmodify -P rx7620c -F
# hpvmstatus -P rx7620c [Virtual Machine Details] Virtual Machine Name VM # OS Type State ==================== ===== ======= ======== rx7620c 1 HPUX On (OS) [Authorized Administrators] Oper Groups: Admin Groups: Oper Users: Admin Users: [Virtual CPU Details] #vCPUs Entitlement Maximum ====== =========== ======= 1 20.0% 100.0% [Memory Details] Total Reserved Memory Memory ======= ======== 1200 MB 64 MB [Storage Interface Details] Guest Physical Device Adaptor Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= disk avio_stor 0 0 0 0 0 disk /dev/rdsk/c0t6d0 [Network Interface Details] Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address ========= ========== ========== ======= === === === ================= vswitch avio_lan vmsw0 1 0 1 0 2e-8f-19-83-13-e3 [Misc Interface Details] Guest Physical Device Adaptor Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= serial com1 tty console
- HP Integrity Virtual Machines Version 4.1 Installation, Configuration, and Administration - Chapter 2 Installing Integrity VM - Installation Requirements
- HP Integrity Virtual Machines Version 4.1 Installation, Configuration, and Administration - Chapter 2 Installing Integrity VM - Updating Integrity VM V4.0 VM Host to Integrity VM V4.1