Package com.xensource.xenapi
Class Cluster.Record
java.lang.Object
com.xensource.xenapi.Cluster.Record
- All Implemented Interfaces:
Types.Record
- Enclosing class:
- Cluster
Represents all the fields in a Cluster
-
Field Summary
FieldsModifier and TypeFieldDescriptionlist of the operations allowed in this state.Contains read-only settings for the cluster, such as timeouts and other options.A list of the cluster_host objects associated with the ClusterSimply the string 'corosync'.Version of cluster stack, not writable via the API.The secret key used by xapi-clusterd when it talks to itself on other hostslinks each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.Whether the cluster stack thinks the cluster is quorate Experimental.Current number of live hosts, according to the cluster stack Experimental.Additional configurationInternal field used by Host.destroy to store the IP of cluster members marked as permanently dead but not yet removedTrue if automatically joining new pool members to the cluster.Number of live hosts in order to be quorate Experimental.The corosync token timeout in secondsThe corosync token timeout coefficient in secondsUnique identifier/object reference -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uuid
Unique identifier/object reference -
clusterHosts
A list of the cluster_host objects associated with the Cluster -
pendingForget
Internal field used by Host.destroy to store the IP of cluster members marked as permanently dead but not yet removed -
clusterToken
The secret key used by xapi-clusterd when it talks to itself on other hosts -
clusterStack
Simply the string 'corosync'. No other cluster stacks are currently supported -
clusterStackVersion
Version of cluster stack, not writable via the API. Defaulting to 2 for backwards compatibility when upgrading from a cluster without this field, which means it is necessarily running version 2 of corosync, the only cluster stack supported so far. -
isQuorate
Whether the cluster stack thinks the cluster is quorate Experimental. First published in 24.3.0. -
quorum
Number of live hosts in order to be quorate Experimental. First published in 24.3.0. -
liveHosts
Current number of live hosts, according to the cluster stack Experimental. First published in 24.3.0. -
allowedOperations
list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client. -
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task. -
poolAutoJoin
True if automatically joining new pool members to the cluster. This will be `true` in the first release -
tokenTimeout
The corosync token timeout in seconds -
tokenTimeoutCoefficient
The corosync token timeout coefficient in seconds -
clusterConfig
Contains read-only settings for the cluster, such as timeouts and other options. It can only be set at cluster create time -
otherConfig
Additional configuration
-
-
Constructor Details
-
Record
public Record()
-
-
Method Details
-
toString
-
toMap
Convert a Cluster.Record to a Map- Specified by:
toMap
in interfaceTypes.Record
-