beautypg.com

4 introducing vxvm while using hdlm, 5 linking vxvm and sun cluster – HP Hitachi Dynamic Link Manager Software User Manual

Page 254

background image

3. Creating an HDLM Environment

232

If there is more than one candidate for the controller number to be assigned in step

4, you might not be able to remove devices from VxVM in one operation. In this

case, change the controller number you changed in step 4 to another controller

number that was displayed using the

vxdmpadm

command, and then perform

steps 5 and 6 again.

3.13.4 Introducing VxVM while Using HDLM

To introduce VxVM in an environment in which HDLM is being used:
1.

Create a disk group in accordance with the procedure described in

3.13.1 Creating a Disk Group.
Do not register a disk group containing an HDLM device as

bootdg

.

For information on creating a disk group or a volume for HDLM devices, refer to

the VxVM documentation.

2.

To use Sun Cluster, perform step 5 in 3.13.5 Linking VxVM and Sun Cluster.

3.13.5 Linking VxVM and Sun Cluster

To create a file system on an HDLM device managed by VxVM and use it with Sun

Cluster, perform the following procedure to create the file system:
1.

On each node, execute the

vxdisk list

command to verify that VxVM

recognizes the HDLM device.

2.

On one of the nodes, execute the following command to check the device ID of

the HDLM device:

# /usr/cluster/bin/scdidadm -L

3.

If a VxVM disk group has not been created, execute the

vxdiskadm

utility of

VxVM on one of the nodes to create a disk group for the HDLM device.
For details, see 3.13.1 Creating a Disk Group.
Note

Use the

scswitch

and

shutdown

commands to restart the node.

The following shows an example of executing the command:

# /usr/cluster/bin/scswitch -S -h phys-schost-1

# shutdown -g0 -y -i6

4.

Verify that the VxVM disk group has been imported into only one of the nodes

that constitute a cluster.
If the VxVM disk group has been deported from all nodes, import the VxVM disk