The CRG_CONFIGURATION_OBJECTS table function returns details about configuration objects managed by a cluster resource group.
Authorization
The authorization ID of the statement must include the following privileges:
Authorization as required by PowerHA product functionality.
Input/output system configuration (*IOSYSCFG) special authority.
Allows access to the object attributes and use of the object(*USE) to the CRG object.
Parameters
QHASM.CRG_CONFIGURATION_OBJECTS ( CLUSTER_RESOURCE_GROUP => cluster-resource-group-name )
The schema is QHASM.
cluster-resource-group-name
Specifies the name of the cluster resource group.
Result Table
The result of the function is a table containing a row for each configuration object in the CRG with the format shown in the following table. This is only valid for device CRGs. An empty table is returned for other CRG types.
Column Name | Data Type | Description |
---|---|---|
CLUSTER_RESOURCE_GROUP | VARCHAR(10) | The name of the cluster resource group |
CONSISTENT_INFORMATION | VARCHAR(3) | Indicates whether or not the displayed information is consistent with other nodes in the cluster. YES The information is consistent for all active nodes in the cluster. NO The information retrieved from the node running the command may not be consistent with all the active nodes in the cluster. In order to obtain consistent information run the command on an active node, or start this node and run the command again. |
CONFIGURATION_OBJECT | VARCHAR(10) | The configuration object name for a device entry. An example of this would be the auxiliary storage pool device description name. |
OBJECT_TYPE | VARCHAR(10) | The type of configuration object specified with configuration object name. |
DEVICE_TYPE | VARCHAR(10) Nullable | The type of device description. ASP An auxiliary storage pool device. Contains the null value if there is no device type. |
DEVICE_SUBTYPE | VARCHAR(10) Nullable | UNKNOWN The subtype cannot be determined because hardware configuration is not complete. UDFS UDFS independent auxiliary storage pool. SECONDARY Secondary independent auxiliary storage pool. PRIMARY Primary independent auxiliary storage pool. Contains the null value if the device type does not have a subtype. |
VARY_ONLINE | VARCHAR(10) | Indicates what configuration action to take when the cluster resource group is switched over or failed over to a backup node. Switchover and failover completion may be delayed if the varyon of devices takes a long time. *OFFLINE Remains varied off and leaves the server takeover IP address inactive *CURRENT For a configuration object of type *DEVD, preserves the VARY status of the configuration object and the status of the server takeover IP address. If the configuration object was online prior to the switchover or failover, the configuration object will vary on after the switchover of failover completes and will start the server takeover IP address. If the configuration object was offline prior to the switchover or failover, the configuration object will not vary on after the switchover or failover completes and will not start the server takeover IP address. *ONLINE Is varied on and starts the server takeover IP address. For a configuration object of type *IPA, the IP address is also started when the cluster resource group is started, and ended when the cluster resource group is ended. *PRIMARY For a configuration object of type *DEVD, same as the associated primary auxiliary storage pool |
SERVER_TAKEOVER_IP_ADDRESS | VARCHAR(45)Nullable | This is a takeover IP address for servers associated with the relational database name in the device description for an auxiliary storage pool, or the IP address for a configuration object with type *IPA. The address may be an IPv4 address or IPv6 address. Contains the null value if no server takeover IP address is defined. |
SQLSTATE Values
Errors and warnings returned by this function are returned as SQL state values. Possible SQLSTATE values returned by this view are:
SQLSTATE | Message |
---|---|
22023 | INVALID VALUE SPECIFIED FOR PARAMETER &1: &2 |
42501 | NOT AUTHORIZED TO LIBRARY &1 |
42501 | NOT AUTHORIZED TO OBJECT &1 IN &2 |
42502 | CURRENT USER DOES NOT HAVE *IOSYSCFG SPECIAL AUTHORITY |
42704 | CLUSTER DOES NOT EXIST |
42704 | CLUSTER RESOURCE GROUP &1 DOES NOT EXIST |
55019 | THIS REQUEST IS NOT VALID FOR CLUSTER RESOURCE GROUP &1. THE REQUEST IS VALID ONLY FOR A DEVICE CLUSTER RESOURCE GROUP |
560CR | NO VALID LICENSE FOR IBM POWERHA FOR I FOUND |
57012 | CLUSTER RESOURCE SERVICES NOT ACTIVE OR NOT RESPONDING |
57012 | INFORMATION FOR CLUSTER RESOURCE GROUP &1 NOT AVAILABLE |
58004 | AN UNEXPECTED ERROR OCCURRED. SEE JOBLOG FOR MORE INFORMATION |