|
|
|
|
|
HClusterNodeInfo (Function) In french: HClusterInfoNoeud
Available only with this kind of connection
Returns the status of each cluster node by interrogating the coordinator. sListe is string
sNom is string
nEtat is int
sListe = HClusterNodeInfo("clustermanager.mondomaine.com", "secret")
FOR EACH STRING sNoeud OF sListe SEPARATED BY CR
sNom = ExtractString(sNoeud, 1)
nEtat = ExtractString(sNoeud, 2)
SWITCH nEtat
CASE 0
Trace("L'état du noeud " + sNom + " est inconnu.")
CASE 1
Trace("Le noeud " + sNom + " est arrêté.")
CASE 2
Trace("Le noeud " + sNom + " est prêt à démarrer.")
CASE 3
Trace("Le noeud " + sNom + " est en cours de démarrage.")
CASE 4
Trace("Le noeud " + sNom + " est en attente d'une source de synchronisation.")
CASE 5
Trace("Le noeud " + sNom + " est en cours de synchronisation.")
CASE 6
Trace("Le noeud " + sNom + " est démarré.")
CASE 7
Trace("Le noeud " + sNom + " est en cours d'arrêt.")
CASE 8
Trace("Le noeud " + sNom + " n'a pas pu être déterminé.")
OTHER CASE
Trace("Le noeud " + sNom + " est dans un état inconnu (" + nEtat + ")")
END
END
Syntax
<Result> = HClusterNodeInfo(<Coordinator> , <Password>)
<Result>: Character string Status of the cluster nodes. The result string has the following format:
<Name of node 1> + TAB + <Status of node 1> + CR + <Name of node 2> + TAB + <Status of node 2> + CR + ... <Name of node N> + TAB + <Status of node N> In this string, <Status of Node> corresponds to one of the following values: | | Value | Node status |
---|
0 | The status of the node is unknown. | 1 | The node is stopped. | 2 | The node is ready to be started. | 3 | The node is being started. | 4 | The node is waiting for a source of synchronization. | 5 | The node is currently synchronized. | 6 | The node is started. | 7 | The node is being stopped. | 8 | The status of the node cannot be defined. |
<Coordinator>: Character string DNS name of the cluster coordinator's machine. <Password>: Character string or Secret string Password used to connect to the coordinator. This password was given when installing the cluster.
New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string". To learn more about secret strings and how to use the vault, see Secret string vault. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|