Trees | Indices | Help |
|
---|
|
Node related commands
|
|||
|
|||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
|
|||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
|
|||
_LIST_DEF_FIELDS = ["name", "dtotal", "dfree", "mtotal", "mnod default list of field for ListNodes |
|||
_LIST_VOL_DEF_FIELDS = ["node", "phys", "vg", "name", "size", Default field list for ListVolumes |
|||
_LIST_STOR_DEF_FIELDS = [constants.SF_NODE, constants.SF_TYPE, default list of field for ListStorage |
|||
_LIST_HEADERS = {"name": "Node", "pinst_cnt": "Pinst", "sinst_ headers (and full field list for ListNodes |
|||
_LIST_STOR_HEADERS = {constants.SF_NODE: "Node", constants.SF_ headers (and full field list for ListStorage |
|||
_USER_STORAGE_TYPE = {constants.ST_FILE: "file", constants.ST_ User-facing storage unit types |
|||
_STORAGE_TYPE_OPT = cli_option("-t", "--storage-type", dest= "
|
|||
_REPAIRABLE_STORAGE_TYPES = [st for st, so in constants.VALID_
|
|||
_MODIFIABLE_STORAGE_TYPES = constants.MODIFIABLE_STORAGE_FIELD
|
|||
commands = {'add':(AddNode, [ArgHost(min= 1, max= 1)], [SECOND
|
Imports: sys, opcodes, utils, constants, compat, errors, bootstrap, netutils
|
Add a node to the cluster.
|
List nodes and their properties.
|
Relocate all secondary instance from a node.
|
Failover all primary instance on a node.
|
Show node information.
|
Remove a node from the cluster.
|
Remove a node from the cluster.
|
List logical volumes on node(s).
|
List physical volumes on node(s).
|
Modify storage volume on a node.
|
Repairs a storage volume on a node.
|
Modifies a node.
|
|
_LIST_DEF_FIELDSdefault list of field for ListNodes
|
_LIST_VOL_DEF_FIELDSDefault field list for ListVolumes
|
_LIST_STOR_DEF_FIELDSdefault list of field for ListStorage
|
_LIST_HEADERSheaders (and full field list for ListNodes
|
_LIST_STOR_HEADERSheaders (and full field list for ListStorage
|
_USER_STORAGE_TYPEUser-facing storage unit types
|
_STORAGE_TYPE_OPT
|
_REPAIRABLE_STORAGE_TYPES
|
_MODIFIABLE_STORAGE_TYPES
|
commands
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 9 15:55:23 2010 | http://epydoc.sourceforge.net |