The following sections provide solutions to the problems you might encounter while working with general VM management operations:
Volume Tools Hang While Scanning a Suspended Device
vmquery: /var/adm/mount/vmprep.df8fd49401e44b64867f1d83767f62f5: Failed to mount vm image "/mnt/nfs_share/vms/rhel4tmpl2/disk0": Mapped device /dev/mapper/loop7p2 appears to be suspended. This might cause scanning for volume groups (e.g. vgscan) to hang. WARNING! You may need to manually resume or remove this mapped device (e.g. dmsetup remove /dev/mapper/loop7p2)!
SUSE Linux VMs Might Attempt To Partition a Read-only Device
RHEL 5 VMs Running the Kudzu Service Do Not Retain Network Interface Changes
Policies Applied to VM Resources Are Deleted
The following is an example of a conditional policy that you could apply to the VM template to restrict vmhost based on resource attributes (group membership, etc. ).
<policy>
<constraint type="vmhost">
<if>
<contains fact="resource.groups" value="exclude_me"
reason="Only apply this vmhost constraint to resources NOT in exclude_me resource group" >
</contains>
<else>
<if>
<defined fact="resource.some_boolean_fact" />
<eq fact="some_boolean_fact" value="true" />
<then>
<contains fact="vmhost.resource.groups" value="first_vmhost_group"
reason="When a resource is not in the exclude_me group, when some_ boolean_fact is true,
provision to a vmhost in the first_vmhost_group"/>
</then>
<else>
<if>
<defined fact="resource.some_other_boolean_fact" />
<eq fact="some_other_boolean_fact" value="true" />
<not>
<and>
<eq fact="resource.id" value="never_use_this_resource"
reason="Specifically exclude this resource from consideration." />
<or>
<eq fact="vmhost.cluster"
factvalue="resource.provision.vmhost.cluster" />
<eq fact="vmhost.cluster"
factvalue="resource.provision.vmhost" />
</or>
</and>
</not>
<then>
<contains fact="vmhost.resource.groups" value="another_vmhost_group"
reason="When a resource is not in the exclude_me group, when some_ boolean_fact is false,
and some_other_boolean_fact is true, (but also not some other things),
provision to a vmhost in another_vmhost_group"/>
</then>
</if>
</else>
</if>
</else>
</if>
</constraint>
</policy>
VMs Provisioned from a VM Template Are Not Restarted When a VM Host Crashes
If a Discover Repository action is issued before the cloned VM is deleted from the crashed host, Orchestrate creates a new VM object with the zombie_ string prepended to the VM object name.