Go to main content

Administering an Oracle® Solaris Cluster 4.4 Configuration

Exit Print View

Updated: March 2019
 
 

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 the root role or 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(8) 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 scgdevs
Example 30  Updating the Global-Devices Namespace

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

# cldevice populate 
Configuring the /dev/global directory (global devices)...
obtaining access to all attached disks
reservation program successfully exiting