Verifying the EMC Symmetrix Configuration
When finished with all these steps, use the symrdf list command to get a listing of all devices and their states.
Back up the EMC Solutions Enabler database on each node, so that these configuration steps do not have to be repeated if a failure corrupts the database. The EMC Solutions Enabler database is a binary file located in the directory /var/symapi/db.
Creating and Exporting Volume Groups
Use the following procedure to create volume groups and export them for access by other nodes. The sample script mk1VGsin the /opt/cmcluster/toolkit/SGSRDF/Samples directory can be modified to automate these steps.
1.Define the appropriate Volume Groups (VGs) on each node that run the application package.
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64 0xnn0000
where the name /dev/vgname and the number nn are unique within the cluster.
2.Create volume groups only on the primary system. Use the vgcreate and vgextend commands, specifying the appropriate
#vgcreate vgname /dev/dsk/cxtydz
#vgextend vgname /dev/dsk/cxtydz
3.Create the logical volumes. (XXXX indicates size in MB)
#lvcreate
4.Use the vgchangecommand to
#vgchange
#vgexport
Copy the map files to all of the nodes. The sample script Samples/ftpit shows a
Importing Volume Groups on Other Nodes
Use the following procedure to import volume groups. The sample script mk2imports can be modified to automate these steps:
1.Import the VGs on all of the other systems that might run the Serviceguard package and backup the LVM configuration. Make sure that you split the logical SRDF links before importing the VGs, especially if you are importing the VGs on the R2 side.
#symrdf
#vgimport
2.Back up the configuration.
#vgchange
#vgcfgbackup vgname
#vgchange
#symrdf
See the sample script Samples/mk2imports.
264 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF