beautypg.com

2 registering hdlm devices – HP Hitachi Dynamic Link Manager Software User Manual

Page 258

background image

3. Creating an HDLM Environment

236

or

boot -r

(at the

ok

prompt)

For more information on SDS settings, refer to the SDS documentation.

3.14.2 Registering HDLM Devices

If both HDLM and SDS are used on the same host, perform the following settings after

installing HDLM.

(1) To Use a Local Metadevice

To use a local metadevice:
1.

Create a replica of the state database.
Create three replicas of the local state database on the disk (slice). Create these

replicas on a disk that is not managed by HDLM, not shared, and has not been

connected to a Fibre Channel.
The following shows an example of executing the command:

host1# metadb -a -f c1t1d0s1 c1t1d0s3 c1t1d0s7

2.

Create a local metadevice.
Use the HDLM device (slice) to create a local metadevice (logical disk).
The types of metadevices include coupled, stripe, mirrored, RAID5, and

transmeta devices.
The following shows an example of executing the command to create local

metadevice (

d0

) of type stripe (

1

) comprised of two HDLM devices (slices).

host1# metainit d0 1 2 c5t1d0s7 c5t2d1s7

3.

Create a file system on the local metadevice.
The following shows an example of executing the command:

host1# newfs /dev/md/rdsk/d0

4.

Mount the created file system to the mount point.
The following shows an example of executing the command:

host1# mkdir -p /mnt/filesystem1
host1# mount /dev/md/dsk/d0 /mnt/filesystem1

(2) To Use a Shared Diskset

For disks registered with the SDS shared diskset, SDS automatically allocates the

minimal number of state databases that store the configuration and status of shared