IBM Support

RTVCLUSTS

General Page

RTVCLUSTS API

This API can be used to retrieve the status of PowerHA clustering for the node on which the command was executed.

Note: This can only be called from within a program

Parameters

CLUSTER - Name of the variable to receive the cluster name

CLUACT - Name of the variable to receive the local node status

Return Parameters

CHAR(124)     - Cluster node list (format of list below)

CHAR(1)          - Consistency of cluster (1=consistent)

Return format of cluster node list:

INT(4)           - Number of cluster node entries returned

{Then repeating entries of the following}

CHAR(8)     - Cluster node name

INT(4)          - Cluster node status (2=Clustering is active on that node; all other values signify clustering is not "active")

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Document Information

Modified date:
07 January 2020

UID

ibm11169236