HP Hitachi Dynamic Link Manager Software User Manual
Page 263
3. Creating an HDLM Environment
241
created on a shared diskset. When using Sun Cluster, you use the device ID in the
device name of the disk.
Note
When you register a disk into a shared diskset, existing partitions may be
reconfigured. For detail, refer to the SVM documentation.
To use a shared diskset:
1.
Create three replicas of the local state database on the disk (slice).
Create these replicas on all hosts that use the shared diskset. Make sure that all the
following conditions are satisfied for the creation-target disk:
• The disk is not managed by HDLM.
• The disk is not shared.
• The disk is not connected via Fibre Channel.
The following shows an example of executing the command:
# metadb -a -f c1t1d0s1 c1t1d0s3 c1t1d0s7
2.
Create a shared diskset.
The following shows an example of executing the commands:
host1# metaset -s diskset1 -a -h host1 host2
3.
Register a disk into the shared diskset.
The following shows examples of executing the commands.
When not using Sun Cluster:
host1# metaset -s diskset1 -a c5t1d2 c5t1d3
When using Sun Cluster:
host1# metaset -s diskset1 -a /dev/did/dsk/d10 /dev/did/dsk/
d11
4.
Create a shared volume in the shared diskset.
The following shows examples of executing the commands:
When not using Sun Cluster (stripe type):
host1# metainit -s diskset1 d1 1 2 c5t1d2s0 c5t1d3s0