Sun Cluster System Administration Guide for Solaris OS

ProcedureHow 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. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node of the cluster.

  2. On each node in the cluster, run the devfsadm(1M) command.

    You can run this command on all nodes in the cluster at the same time.

  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 5–21 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 scgdevs