Node related commands
| Class | |
Class holding a reply status for synchronous confd clients. |
| Function | |
Add a node to the cluster. |
| Function | |
Converts a user storage type to its internal name. |
| Function | |
Relocate all secondary instance from a node. |
| Function | |
Failover all primary instance on a node. |
| Function | |
Show health of a node using OOB. |
| Function | |
Modifies a node. |
| Function | |
List node fields. |
| Function | |
List nodes and their properties. |
| Function | |
List physical volumes on node(s). |
| Function | |
List logical volumes on node(s). |
| Function | |
Undocumented |
| Function | |
Migrate all primary instance on a node. |
| Function | |
Modify storage volume on a node. |
| Function | |
Remove a node from the cluster. |
| Function | |
Change/ask power state of a node. |
| Function | |
Remove a node from the cluster. |
| Function | |
Repairs a storage volume on a node. |
| Function | |
Runs a remote command on node(s). |
| Function | |
Modifies a node. |
| Function | |
Show node information. |
| Constant | IGNORE |
Undocumented |
| Constant | NONODE |
Undocumented |
| Variable | aliases |
Undocumented |
| Variable | commands |
Undocumented |
| Function | _ |
Format node information for cli.PrintGenericInfo(). |
| Function | _ |
Reads the DSA SSH keys according to keyfiles. |
| Function | _ |
Configures a destination node's SSH daemon. |
| Function | _ |
Tries to read a file. |
| Constant | _ENV |
Undocumented |
| Constant | _LIST |
Undocumented |
| Constant | _LIST |
Undocumented |
| Constant | _LIST |
Undocumented |
| Constant | _LIST |
Undocumented |
| Constant | _LIST |
Undocumented |
| Constant | _MODIFIABLE |
Undocumented |
| Constant | _OOB |
Undocumented |
| Constant | _REPAIRABLE |
Undocumented |
| Constant | _STORAGE |
Undocumented |
| Constant | _USER |
Undocumented |
Add a node to the cluster.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the new node name |
| Returns | |
| int | the desired exit code |
Relocate all secondary instance from a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should be an empty list |
| Returns | |
| int | the desired exit code |
Failover all primary instance on a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should be an empty list |
| Returns | |
| int | the desired exit code |
Show health of a node using OOB.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the name of the node to be removed |
| Returns | |
| int | the desired exit code |
Modifies a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the node name |
| Returns | |
| int | the desired exit code |
List node fields.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | fields to list, or empty for all |
| Returns | |
| int | the desired exit code |
List nodes and their properties.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | nodes to list, or empty for all |
| Returns | |
| int | the desired exit code |
List physical volumes on node(s).
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should either be an empty list, in which case we list data for all nodes, or contain a list of nodes to display data only for those |
| Returns | |
| int | the desired exit code |
List logical volumes on node(s).
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should either be an empty list, in which case we list data for all nodes, or contain a list of nodes to display data only for those |
| Returns | |
| int | the desired exit code |
Modify storage volume on a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain 3 items: node name, storage type and volume name |
| Returns | |
| int | the desired exit code |
Remove a node from the cluster.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the name of the node to be removed |
| Returns | |
| int | the desired exit code |
Change/ask power state of a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the name of the node to be removed |
| Returns | |
| int | the desired exit code |
Remove a node from the cluster.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the name of the node to be removed |
| Returns | |
| int | the desired exit code |
Repairs a storage volume on a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain 3 items: node name, storage type and volume name |
| Returns | |
| int | the desired exit code |
Runs a remote command on node(s).
| Parameters | |
| opts | Command line options selected by user |
| args:list | Command line arguments |
| Returns | |
| int | Exit code |
Modifies a node.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the node name |
| Returns | |
| int | the desired exit code |
Show node information.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should either be an empty list, in which case we show information about all nodes, or should contain a list of nodes to be queried for information |
| Returns | |
| int | the desired exit code |
Undocumented
| Value |
|
Undocumented
| Value |
|
Reads the DSA SSH keys according to keyfiles.
| Parameters | |
| keyfiles:dict | Dictionary with keys of constants.SSHK_ALL and two-values tuples (private and public key file) |
| _tostderr | Undocumented |
| Returns | |
| list | List of three-values tuples (constants.SSHK_ALL, private and public key as strings) |
Configures a destination node's SSH daemon.
| Parameters | |
| options | Command line options @type cluster_name |
| cluster | Cluster name |
| node:string | Destination node name |
| ssh | Destination node ssh port |
| cl | luxi client |
Tries to read a file.
If the file is not found, None is returned.
| Parameters | |
| path:string | Filename |
| Returns | |
| None or string | Undocumented |
| Unknown Field: todo | |
| Consider adding a generic ENOENT wrapper | |
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|