Create Cluster Administrative Domain (QcstCrtClusterAdminDomain) API


  Required Parameter Group:


  Service Program: QCSTADMDMN

  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Create Cluster Administrative Domain (QcstCrtClusterAdminDomain) API creates a peer cluster resource group object that represents the cluster administrative domain. The cluster administrative domain provides synchronization of monitored resources across the active nodes in the domain. The cluster nodes which are defined within the cluster administrative domain will participate in the synchronization process. The cluster administrative domain name is the name of the cluster resource group which is being created. The nodes defined in the domain node list are the nodes in the recovery domain of the cluster resource group. Successful completion of this command results in a new job started as a system job. This job has the same name as the name of the cluster administrative domain being created.

This API will do the following:

Restrictions:

  1. This API cannot be called from a cluster resource group exit program.
  2. The cluster administrative domain name cannot begin with QCST.
  3. Cluster Resource Services must be active on the node processing the request.
  4. All nodes specified in the domain node list must be active in the cluster.
  5. Each node can be specified only once in the administrative domain.
  6. A node can only be in one administrative domain within a cluster.
  7. The name of the administrative domain cannot be the same as any cluster resource group in the cluster.
  8. *ALL authority is granted to the user profile under which the program that calls this API is running.

Authorities and Locks

The program that calls this API must be running under a user profile with *IOSYSCFG special authority. This profile is named the calling user profile.

Cluster Resource Group Authority
*CHANGE
Cluster Resource Group Library Authority
*EXECUTE
Cluster Resource Group Lock
*EXCL
QCLUSTER User Profile Authority
*USE

Required Parameter Group

Cluster name
INPUT; CHAR(10)

The name of the cluster which will contain the cluster administrative domain.

Cluster administrative domain name
INPUT; CHAR(10)

The name of the administrative domain which is to be created. The cluster administrative domain name cannot begin with QCST.

Cluster administrative domain information
INPUT; CHAR(*)

Information that describes the administrative domain. For more information, see Format ADCR0100.

Format name
INPUT; CHAR(8)

The content and format of the cluster administrative domain information. The possible values for format name are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


ADCR0100 Format



Field Descriptions

Domain node list. This list identifies the nodes that compose the administrative domain. Nodes in the administrative domain must be unique.

Length of fixed fields. The length of fixed fields in the format. This field must be set to 16.

Node id. A unique string of characters that identifies a node that is participating in the cluster administrative domain. The node specified must be active in the cluster.

Number of nodes in domain node list. The number of nodes specified in the domain node list. This value must be between 1 and 128.

Offset to domain node list. The byte offset from the beginning of this parameter to the domain node list field. This value must be 16.

Synchronization option. Indicates how a cluster administrative domain will synchronize monitored resources when a node joins the domain. The possible values are:



Error Messages




API introduced: V6R1

[ Back to top | Cluster APIs | APIs by category ]