Oracle Solaris Cluster software supports the use of raw-disk device groups in addition to other volume managers. When you initially configure Oracle Solaris Cluster, device groups are automatically configured for each raw device in the cluster. Use this procedure to reconfigure these automatically created device groups for use with Oracle Solaris Cluster software.
Create a new device group of the raw-disk type for the following reasons:
You want to add more than one DID to the device group
You need to change the name of the device group
You want to create a list of device groups without using the –v option of the cldevicegroup command
Caution - If you are creating a device group on replicated devices, the name of the device group that you create (Solaris Volume Manager or raw-disk) must be the same as the name of the replicated device group. |
The following commands remove the predefined device groups for devices dN and dX.
phys-schost-1# cldevicegroup disable dsk/dN dsk/dX phys-schost-1# cldevicegroup offline dsk/dN dsk/dX phys-schost-1# cldevicegroup delete dsk/dN dsk/dX
The following command creates a global device group, raw-disk-dg, which contains devices dN and dX.
phys-schost-1# cldevicegroup create -n phys-schost-1,phys-schost-2 \ -t rawdisk -d dN,dX raw-disk-dg
phys-schost-1# cldevicegroup show raw-disk-dg