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. The
        clsetup utility 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.
    
Note - 
      
          
          
          
        
          
          
          
        You can also bring a device group online and take it offline by using the Oracle Solaris Cluster Manager
        browser interface. For Oracle Solaris Cluster Manager log-in instructions, see 
How to Access Oracle Solaris Cluster Manager.
    
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. 
    
|  | 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.
     | 
      Table 6  Task Map: Administering Device Groups
      
      | 
        
        
        
          
            |  |  |  
            | Update the global-devices namespace without a reconfiguration reboot by using
                the cldevice populate command |  |  
            | 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 by 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 zpool device group by using the
                  cldevicegroup command  |  |  
            | 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 |  |  
            | Remove a shared disk/LUN from all device groups in a cluster by using the
                  cldevice 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 |  |  |