HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 248

Advertising
background image

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

When using Sun Cluster (stripe type):

host1# metainit -s diskset1 d1 1 2 /dev/did/dsk/

d10s0 /dev/did/dsk/d11s0

5

.

Create a file system on the shared volume of the shared diskset.
The following shows an example of executing the commands:

host1# newfs /dev/md/diskset1/rdsk/d1

6

.

Mount the created file system to the mount point.
The following shows examples of executing the commands. One is for a

normal mount, when Sun Cluster is not being used, and the other is for a

global mount, when Sun Cluster is being used.

When not using Sun Cluster:

3-182

Creating an HDLM Environment

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: