Modify the XML file to successfully deploy the VM.
Perform the following modifications.
- Open the XML file in an editor.
-
If required, add the machine type.
Original tag entry
<type arch='amd64'>hvm</type>
Modified tag entry<type arch='amd64' machine='virt-rhel8.0'>hvm</type>
-
Update the emulator location.
The emulator path may vary depending on your environment. You must verify the location of the emulator before updating the path.Original tag entry
<emulator>/usr/bin/kvm</emulator>
Modified tag entry<emulator>/usr/bin/kvm/libexec/qemu-kvm</emulator>
-
Update the absolute path where the disk image file is located.
Original tag entry
<source file='bdds_kvm_9.6.0-XXX.GA.bcn_amd64.tar.gz'/>
Modified tag entry<source file='/home/demo/bdds_kvm_9.6.0-XXX.GA.bcn_amd64.tar.gz'/>
-
Configure interfaces with appropriate VLANs.
-
Configure eth0.
Original tag entry
<source network='default'/>
Modified tag entry<source network='vlan configured in your network'/>
-
Configure eth1.
eth1 is for the xHA backbone between Active and Passive nodes of an xHA pair. BlueCat recommends leaving eth1 as the default. Ensure the eth1 interface on the secondary (Passive) DNS/DHCP Server is pointing to the default network as well.Original tag entry
<source network='default'/>
Modified tag entry<source network='default'/>
-
Configure eth2.
Original tag entry
<source network='default'/>
Modified tag entry<source network='vlan configured in your network'/>
-
Configure eth0.