Administering Device Groups
As your cluster requirements change, you might need to add, remove, or modify the
device groups on your cluster. Oracle Solaris Cluster provides an interactive interface called
clsetup that you can use to make these changes.
clsetup generates cluster commands. Generated commands
are shown in the examples at the end of some procedures. The following table lists tasks for
administering device groups and provides links to the appropriate procedures in this
section.
 | Caution -
Do not run metaset —s
setname —f -t on a cluster node that is
booted outside the cluster if other nodes are active cluster members and at least one of
them owns the disk set.
|
Note -
Oracle Solaris Cluster software automatically creates a raw-disk device group for each
disk and tape device in the cluster. However, cluster device groups remain in an offline
state until you access the groups as global devices.
You can also
bring a device group online and take it offline using the Oracle Solaris Cluster Manager GUI.
For GUI log-in instructions, see How to Access Oracle Solaris Cluster Manager.
Table 5-3 Task Map: Administering Device Groups
|
|
Update the global-devices namespace without a reconfiguration reboot by using
the cldevice populate command
|
|
Change the size of a lofi device that is used for the
global-devices namespace
|
|
Move an existing global-devices namespace
|
|
Add Solaris Volume Manager disksets and register them as device groups by using
the metaset command
|
|
Add and register a raw-disk device group by using the
cldevicegroup command
|
|
Add a named device group for ZFS using the cldevicegroup
command
|
|
Remove Solaris Volume Manager device groups from the configuration by using the
metaset and metaclear commands
|
|
Remove a node from all device groups by using the
cldevicegroup, metaset, and
clsetup commands
|
|
Remove a node from a Solaris Volume Manager device group by using the
metaset command
|
|
Remove a node from a raw-disk device group by using the
cldevicegroup command
|
|
Change device group properties by using clsetup to generate
cldevicegroup
|
|
Display device groups and properties by using the cldevicegroup
show command
|
|
Change the desired number of secondaries for a device group by using
clsetup to generate cldevicegroup
|
|
Switch the primary for a device group by using the cldevicegroup
switch command
|
|
Put a device group in maintenance state by using the metaset
command
|
|
|