Go to main content

Oracle® Solaris Cluster 4.3 System Administration Guide

Exit Print View

Updated: June 2017
 
 

How to Update the Global-Devices Namespace

When adding a new global device, manually update the global-devices namespace by running the cldevice populate command.


Note -  The cldevice populate command does not have any effect if the node that is running the command is not currently a cluster member. The command also has no effect if the /global/.devices/node@ nodeID file system is not mounted.
  1. Assume a role that provides solaris.cluster.modify authorization on any node of the cluster.
  2. On each node in the cluster, run the devfsadm command.

    You can run this command on all nodes in the cluster at the same time. For more information, see the devfsadm(1M) man page.

  3. Reconfigure the namespace.
    # cldevice populate
  4. On each node, verify that the cldevice populate command has been completed before you attempt to create any disksets.

    The cldevice command calls itself remotely on all nodes, even when the command is run from just one node. To determine whether the cldevice populate command has completed processing, run the following command on each node of the cluster.

    # ps -ef | grep cldevice populate
Example 36  Updating the Global-Devices Namespace

The following example shows the output generated by successfully running the cldevice populate command.

# devfsadm
cldevice populate 
Configuring the /dev/global directory (global devices)...
obtaining access to all attached disks
reservation program successfully exiting
# ps -ef | grep cldevice populate