Settings For Kvm - Hitachi XP P9500 User Manual

Command suite for linux(r)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

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
----------------------------------
1
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:
<disk type='block' device='disk'>
<source dev='/dev/sddlmac'/>
<target dev='hdb' bus='ide'/>
</disk>
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:
After:
For details on which SCSI devices correspond to which HDLM devices, see
Displaying Corresponding Information About an HDLM Device, SCSI
Device, and LDEV on page
5
Execute the following command to enable the settings in the hardware
.
configuration file.
domK
<source dev='/dev/sda'/>
<source dev='/dev/sddlmad'/>
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
State
running
4-13.
3-177

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents