Hitachi

For Linux(R) (x86) Systems HA Monitor Cluster Software


6.6.1 KVM settings (Setting 1)

To build a virtualization environment by using KVM, specify the following settings for the shared disk in the host OS (Setting 1 in the figure in 6.6 Specifying the KVM-based virtualization environment settings).

For details about how to specify the preceding settings, see the RHEL documentation.

The following is an example of a configuration that allows SCSI commands to be executed from the guest OS.

  1. Use the virsh edit command to open the XML settings of the guest OS, and then specify unfiltered for the sgio attribute of the target disk.

    # virsh edit guest1
    ... (omitted)
        <disk type='block' device='lun' sgio='unfiltered'>
          <driver name='qemu' type='raw'/>
          <source dev='/dev/disk/by-path/fc-0x51402ec01482ac14-0x50060e8010368dd1-lun-1'/>
          <target dev='sdd' bus='scsi'/>
          <shareable/>
          <address type='drive' controller='0' bus='0' target='0' unit='3'/>
        </disk>
    ... (omitted)
    
  2. If you edited the settings while the guest OS was running, stop and then restart the guest OS.