The procedure for removing HDLM device settings is as follows:
-
Back up all HDLM-managed devices as required (for example, using a tape backup).
-
Collect all information on the correspondence between logical device file names for the HDLM devices and LU numbers of the LUs in the storage system.
This step enables you to keep the correspondence between LUs and the logical device file names for SCSI devices once removal is complete.
Cancel HDLM device registration in an application.
An application uses an HDLM device when accessing an LU, so after HDLM is removed, the application cannot use the same HDLM device to access that LU. If an HDLM-managed device is registered in an application (including cluster software, but excluding volume management software), cancel registration of the HDLM device.
For details on how to cancel the Oracle RAC settings, see Canceling the settings for Oracle RAC.
Cancel the Xen settings.
Set up Xen so that the HDLM devices cannot be used in domainU.
For details on how to cancel the Xen settings, see Canceling the Xen settings.
Cancel the KVM settings.
Delete the HDLM devices from the hardware configuration file.
For details on how to cancel the KVM settings, see Canceling the KVM settings.
Unmount the HDLM device.
If HDLM-managed devices have been mounted by specifying HDLM devices, unmount them. Also, if the disks are set to be mounted automatically when the host starts, delete this setting in the /etc/fstab file.
For details on how to cancel the setting, see Operations required for devices to be managed by HDLM.
However, perform the procedure by releasing an HDLM disk that is already defined and adding a SCSI device.
Cancel HDLM device registration in volume management software.
If HDLM devices are registered in volume management software, cancel the registration.
For details on how to cancel the LVM settings, see Canceling the settings for LVM2.