HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration
Warning 4: Insufficient cpu resource for guest.
Warning 5 on item /dev/rdisk/disk0: Device file '/dev/rdsk/disk0' in use by another guest.
Warning 6 on item /dev/vg00/rswap: Device file '/dev/vg00/rswap' in use by server.
Warning 7 on item /dev/rdisk/disk3 backing device does not exist.
Warning 8 on item /dev/rdisk/disk4: Device file '/dev/rdisk/disk4' in use by another guest.
Warning 9 on item hostnet: MAC address in use for switch hostnet.
Warning 10 on item offnet: Vswitch offnet is not active.
Warning 11 on item badnet: 'badnet' backing device does not exist.
These problems will prevent HPVM guest host5 from booting.
The following example shows how to use the hpvmclone command to create a guest named
vmclone1 that uses the same ports as the existing guest (vm1). The hpvmnet command shows
that two guests are sharing ports 1 and 2 on the virtual switch vmlan4. Only the active virtual
machine (vm1) can use the port.
# hpvmclone -P vm1 -N vmclone1 -S
# hpvmnet -S vmlan4
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
vmlan4 2 Up Shared lan4 0x00127942fce3 192.1.2.205
[Port Configuration Details]
Port Port Port Untagged Number of Active VM
Number state Adaptor VLANID Reserved VMs
======= ============ ======== ============ ============
1 Active lan none 2 vm1
2 Active lan 100 2 vm1
3 Active avio_lan none 1 vm2
4 Active lan 100 1 vm2
The following example shows how to use the hpvmclone command to create a new Linux guest
named linux2 based on the existing guest named linux1. The boot disk is specified.
# hpvmclone -P linux1 -N linux2 -b disk:scsi::0,0,0:disk:/dev/rdisk/disk100
Be sure that the backing devices are the same, The copy of data succeeds but the new virtual
machine fails to boot if the backing devices are different. For example, if the source virtual
machine boots from an lvol, and you boot the cloned virtual machine from a disk, it fails.
AUTHORS
The hpvmclone command was developed by HP.
SEE ALSO
On the VM Host:
hpvm(5), hpvmcollect(1M), hpvmconsole(1M), hpvmcreate(1M),hpvmdevinfo(1M), hpvmdevmgmt(1M),
hpvmdevtranslate(1M), hpvmhostrdev(1M), hpvminfo(1M), hpvmmigrate(1M), hpvmmodify(1M), ,
hpvmnet(1M), hpvmpubapi(3), hpvmremove(1M), hpvmresources(5), hpvmsar(1M), hpvmsg_move(1M),
hpvmsg_package(1M), hpvmstart(1M), hpvmstatus(1M), hpvmstop(1M), hpvmupgrade(1M),
p2vassist(1M)
On the Integrity VM guest:
hpvmcollect(1M), hpvminfo(1M), hpvmmgmt(1M), hpvmpubapi(3)
228