Canceling the Xen settings

Dynamic Link Manager (for Linux®) User Guide

Version
9.0.x
Audience
anonymous
Part Number
MK-92DLM113-64
ft:lastEdition
2025-11-06

This subsection describes how to cancel the HDLM device settings in an environment in which Xen is being used.

The following is the procedure for migrating a domainU environment that uses the HDLM device /dev/sddlmaa in a multi-path configuration to an environment that uses the SCSI device /dev/sda in a single-path configuration.

  1. Check the correspondence between the HDLM and SCSI devices.

    Execute the HDLM configuration definition utility (dlmcfgmgr) with the -v parameter.

    # /sbin/dlmcfgmgr -v
    HDevName      Management Device   Host Channel Target  Lun
    /dev/sddlmaa  configured /dev/sda    2       0      0    0
                             -           2       0      1    0
    /dev/sddlmab  configured /dev/sdb    2       0      0    1
          :
          :
    KAPL10302-I /sbin/dlmcfgmgr completed normally.
    #

    The HDLM devices are listed in the HDevName column, and the SCSI devices are listed in the Device column.

  2. Check whether the HDLM devices can be migrated to the SCSI devices.

    Execute the command shown below.

    In the following example, the domU configuration information is checked from the management domain:
    # /usr/sbin/xm list -l domU
          :
          :
        (device
            (vbd
                (uuid 6b393aaa-89e7-44dc-7a57-24d477dee43d)
                (bootable 0)
                (driver paravirtualised)
                (dev sdx)
                (uname phy:/dev/sddlmaa)
                (mode w)
            )
        )
          :
          :

    The HDLM device displayed on the uname phy line is an HDLM device that appeared in the check in step 1.

  3. If domainU is running, stop it.

    If domainU has been set to automatically start when domain0 starts, temporarily change the setting so that domainU will not start automatically.

  4. Change the multi-path configuration to a single-path configuration.

  5. Specify the settings so that HDLM devices are not used in domainU.

    Disable the block device settings from domainU. For details, see the Linux documentation.

  6. Specify the settings so that the SCSI devices are used in domainU.

    Set (export) the block devices to domainU. For details, see the Linux documentation.

    Make sure that you specify the settings based on the correspondence between the HDLM and SCSI devices displayed in step 1.

  7. Start domainU.

    If you have temporarily changed the settings so that domainU does not automatically start in step 3, restore the previous settings.