Configuring nodes > Controlling a node's visibility

5.5 Controlling a node's visibility

You can control the way nodes are displayed using Moab.

To control a node's visibility

  1. Use the variable VP_IS_VISIBLE=false to control a node's visibility to all users.
  2. Run the mnodectl command (see "mnodectl" in the Moab Workload Management Administrator Guide) on the node to set the Moab variable. If the variable is set to anything other than false, or if the variable is not present on a node, the node will be displayed normally, which is the default.

    mnodectl node01 -m variable=VP_IS_VISIBLE=false

  3. Use the VP_VIEW_PRINCIPALS variable to control a node's visibility based on users' principals.
    1. Verify that the user role has the node.read permission so that the user can access nodes.
    2. Configure the VP_VIEW_PRINCIPALS variable and set the value to a set of user principals, delimited by the | character, necessary to access the node. To do so, run the following command:
    3. mnodectl node01 -m variable=VP_VIEW_PRINCIPALS=admin|poweruser|operator

      A user must have any of the specified principals to view the node.

Related topics