1.Start the cluster on all nodes.

2.Enter the following command on all nodes:

# vxdg -s list

This command displays the existing shared disk groups.

Converting Existing VxVM Disk Groups to Shared Disk Groups

This section discusses the procedure to upgrade from VxVM 3.x to VxVM 5.1 SP1 and to convert existing disk groups to shared disk groups.

To convert existing disk groups to shared disk groups, complete the following steps:

1.Ensure that all systems that are running are part of the same cluster.

2.Start the cluster on at least one node.

For a two-node cluster, start the cluster on one node; for a four-node cluster, start the cluster on three nodes.

3.Configure the disk groups:

List all disk groups, use the following command:

#vxdg list

To deport disk groups to be shared, use the following command:

#vxdg deport disk_group_name

To import disk groups to be shared, use the following command on the master node:

#vxdg -s import disk_group_name

This procedure marks the disks in the shared disk groups as shared and stamps them with the ID of the cluster, enabling other nodes to recognize the shared disks. If dirty region logs exist, ensure that they are active.

To display the shared flag for all the shared disk groups, use the following command:

# vxdg list

The disk groups are now ready to be shared.

4.If the cluster is only running with one node, bring up the other cluster nodes. Enter the vxdg list command on each node to display the shared disk groups. This command displays the same list of shared disk groups displayed earlier.

Upgrading in a Clustered Environment with FastResync

In order to upgrade in a clustered environment with the FastResync option, you must perform the procedure discussed in this section in addition to the procedure discussed in “Converting Existing VxVM Disk Groups to Shared Disk Groups” (page 40).

The procedure discussed in this section applies to the following upgrade scenarios:

Upgrading from VxVM 3.5 to VxVM 5.1 SP1

Upgrading from VxVM 3.5 Maintenance Pack 4 to VxVM 5.1 SP1

If there are volumes in the shared disk groups with the FastResync set option (fastresync=on), reattach each snapshot to its data volume before beginning the upgrade procedure.

To upgrade in a clustered environment when FastResync is set and to reattach each snapshot to its data volume, complete the following steps from the master node:

1.On the master node, list the disk groups that are shared:

# vxdg -s list

40 Setting up the Veritas 5.1 SP1 Products

Page 40
Image 40
HP Serviceguard Storage Management Suite for VERITAS manual Converting Existing VxVM Disk Groups to Shared Disk Groups