Skip to main content

system services manager policy show

Contributors
Suggest changes

Display service policies

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The system services manager policy show command displays information about policies that determine which versions of a service can run on the nodes of the cluster.

Use the system services manager status show command to view information about services that are configured to run in the cluster.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-service <text>] - Service

Selects policies that apply to the service you specify.

[-version <service version>] - Version

Selects policies that have the version number you specify.

[-constituent <text>] - Constituent

Selects policies that have the constituent process you specify.

[-state {on|off}] - State

Use this parameter with the value "on" to select information about policies that are currently active. Use this parameter with the value "off" to select information about policies that are not currently active.

[-num-active <integer>] - Number Active

Selects policies that have the number of active (running) instances you specify.

[-target-nodes <service affinity>,…​] - Target Nodes

Selects policies that are configured to run on the nodes you specify.

[-tag <UUID>] - Tag (privilege: advanced)

Selects policies that have the UUID you specify. Use this parameter with the -fields parameter to display a list of the UUIDs of configured services.

Examples

The following example shows typical output for this command.

cluster1::> system services manager policy show
Service           Version State Constituent Number Target
                                            Active Nodes
----------------- ------- ----- ----------- ------ --------------------------
diagnosis
                  1.0     on    schmd       1      any
                  1.0     on    shmd        1      any
2 entries were displayed.