12 settings for kvm – HP Hitachi Dynamic Link Manager Software User Manual
Page 284
3. Creating an HDLM Environment
260
3.12 Settings for KVM
If you install HDLM in an environment in which KVM is used, you need to register
HDLM devices into the hardware configuration file (
/etc/libvirt/qemu/
domain-name
.xml
). For details on the hardware configuration file, see the OS
documentation.
To register HDLM devices by using the
virsh
command:
1.
Execute the following command to check the domain name and operating status
of the guest OS.
# virsh list --all
Id Name State
----------------------------------
1 domK running
The underlined part indicates the domain name.
2.
If the guest OS is running, stop it.
For details on how to stop the guest OS, see the OS documentation.
3.
To register a new HDLM device, register the HDLM device into the hardware
configuration file.
The following example shows how to register the HDLM device (
/dev/
sddlmac
) as the IDE device (
/dev/hdb
) into the guest OS:
For details on the values that can be specified for
disk type
,
target dev
, and
target bus
, see the OS documentation.
4.
To migrate an environment that uses a SCSI device to an environment that uses
an HDLM device, change the SCSI device registered in the hardware
configuration file to an HDLM device.
The following example shows how to edit the hardware configuration file when
migrating the SCSI device (
/dev/sda
) to the HDLM device (
/dev/sddlmad
):
Before: