Coupling XRC sessions through a cluster session

You can couple XRC sessions running in a logical partition to the same master session as a single entity. This single entity, or cluster session, gathers all coupled information for all XRC coupled sessions within a logical partition, and presents this information in the master data set as a single coupled session. The XQUERY command with the MASTER parameter indicates that the session is a cluster session.

You use the XRC PARMLIB parameter of ClusterMSession of the STARTUP category to indicate the master session name to which all XRC coupled sessions in a logical partition will be coupled. When a master session name is found in this parmlib parameter, every time the ANTAS000 address space is started or restarted, the ANTCLnnn address space is started to manage a cluster session for a logical partition. Then, each XRC session that is specified on an XCOUPLE command issued with the ADD parameter the system couples to this master session through this cluster session. All XRC coupled sessions in logical partition must be coupled through the cluster session.

The XRC PARMLIB parameter of ClusterName of the STARTUP category can be used to specify the name of the cluster session. If you do not specify this parameter, the default name is the system host name. The cluster session name is used to determine the name of the cluster data set that is required for a cluster session.

The cluster data set is used to determine the previous cluster session environment for a logical partition when the ANTCLnnn address space is being started or restarted. The information found in the cluster data set determines the behavior of a cluster session.

The following are rules guiding the use of a cluster session.
Note:

Functions described in this topic that can be performed for coupled sessions may also be performed for XRC sessions which are coupled through a cluster session. These functions cannot be performed using the cluster session name on the commands. You must issue the requests specifying the XRC sessions names, and the result will be provided to the master session through the cluster session.

In addition, any error that occurs for one or more XRC sessions that are coupled through a cluster session will cause the cluster session to indicate to the master session that the cluster session encountered an error. If different errors occurred, the XQUERY MASTER report may indicate the status of MIX. Issue the XSTATUS CLUSTER command to determine the status of each session.