HP Hitachi Dynamic Link Manager Software User Manual

Page 328

Advertising
background image

3. Creating an HDLM Environment

304

4.

If necessary, back up the application data residing on the md device.

5.

If file systems have been mounted on the md device, unmount them.

6.

Check the status of the md device.
Execute the following command to check the configuration of the md device:


# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sddlmaa1[0] sddlmab1[1]
5238528 blocks [2/2] [UU]
unused devices: <none>

Make sure that

md0 : active

and the HDLM devices are displayed:

7.

Execute the following command to deactivate the md device:


# mdadm -Ss /dev/md0

8.

Make sure that the md device has been deactivated.
In the following example, RAID1 (mirroring) is used for the md device:


# cat /proc/mdstat
Personalities : [raid1]
unused devices: <none>

Make sure that

md0 : active

is not displayed.

9.

Check the correspondence between the HDLM devices and SCSI devices.
Execute the HDLM-configuration definition utility

dlmcfgmgr

with the

-v

parameter specified:


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

The

HDevName

and

Device

columns display HDLM devices and SCSI devices,

respectively.

10. Edit the configuration file.

Based on the correspondence between the HDLM devices and SCSI devices

Advertising
This manual is related to the following products: