Before configuring multi-owner disk sets, you must have the following software installed, in addition to the Solaris OS:
Sun Cluster initial cluster framework
Sun Cluster Support for Oracle Real Application Clusters software
Oracle Real Application Clusters software
For information on setting up Sun Cluster and Oracle Real Application Clusters software, see Sun Cluster Software Installation Guide for Solaris OS and Sun Cluster Data Service for Oracle RAC Guide for Solaris OS.
Solaris Volume Manager for Sun Cluster generally uses the same set of Solaris Volume Manager commands to perform tasks associated with disk sets. Some command options unique to multi-owner disk sets have been added to the metaset command. For example, the task to create a multi-owner disk set requires the -M to the metaset command. The following output shows you how to create a multi-owner disk set using the metaset -s diskset-name -a -M -h hostname command.
# metaset -s red -a -M -h nodeone # metaset Multi-owner Set name = red, Set number = 1, Master = Host Owner Member nodeone Yes |
In addition, some of the metaset command options, such as the commands to take and release disk sets, are not used with multi-owner disk sets. For more information, see the metaset(1M) man page.
Another example of how tasks differ in a Sun Cluster environment occurs when working with disks. Sun Cluster assigns each disk a unique device ID (DID) number. Rather than using the cntndn format to identify a disk, use the Sun Cluster DID path name, /dev/did/dsk/dN. The variable N is the device number assigned by Sun Cluster.
The following output shows you how to add a disk to a multi-owner disk set using the metaset -s diskset-name -a disk-name command and the Sun Cluster DID path name to identify the disk.
nodeone# metaset -s red Multi-owner Set name = red Multi-owner Set name = red, Set number = 1, Master = Host Owner Member nodeone Yes nodetwo Yes nodeone# metaset -s red -a /dev/did/dsk/d13 nodeone# metaset -s red Multi-owner Set name = red, Set number = 1, Master = nodeone Host Owner Member nodeone multi-owner Yes Drive Dbase d13 Yes |
For information on creating multi-owner disk sets for the Oracle Real Application Clusters, see Creating a Multi-Owner Disk Set in Solaris Volume Manager for Sun Cluster for the Oracle RAC Database in Sun Cluster Data Service for Oracle RAC Guide for Solaris OS.
For tasks that are associated with disk sets, see Chapter 19, Disk Sets (Tasks).