|
APIs in Category: options |
API version 1.3 |
options-get |
| options-get | [top] |
Get the value of a single option.
Input Name Range Type Description name string
Name of the option. Output Name Range Type Description cluster-constraint string
Indicates the cluster-specific constraints of option. Possible values: "none", "same_preferred" (the same value should be used on both nodes of a cluster), "same_required" (the same value must be used on both nodes of a cluster), "only_one" (the value is used for both nodes of a cluster, when in takeover mode). value string
Value of the option.
Errno Description ENOENT
| options-list-info | [top] |
Get a list of all options
Output Name Range Type Description options option-info[]
| options-set | [top] |
Set the value of a single option.
Input Name Range Type Description name string
Name of the option. value string
Value of the option. Output Name Range Type Description cluster-constraint string
Cluster-specific constraint of the option. Possible values: "none", "same_preferred" (the same value should be used on both nodes of a cluster), "same_required" (the same value must be used on both nodes of a cluster), "only_one" (the value is used for both nodes of a cluster, when in takeover mode). message string
optional
Informative message that was issued as a result of setting the option. The option value is still set as requested.
Errno Description ENOENT EINVAL
| Element definition: option-info | [top] |
Name Range Type Description cluster-constraint string
Indicates the cluster-specific constraints of option. Possible values: "none", "same_preferred" (the same value should be used on both nodes of a cluster), "same_required" (the same value must be used on both nodes of a cluster), "only_one" (the value is used for both nodes of a cluster, when in takeover mode). name string
Name of the option. value string
Value of the option.