Package starcluster :: Package commands :: Module restart :: Class CmdRestart
[hide private]
[frames] | no frames]

Class CmdRestart

source code



restart [options] <cluster_tag>

Restart an existing cluster

Example:

    $ starcluster restart mynewcluster

This command will reboot each node (without terminating), wait for the
nodes to come back up, and then reconfigures the cluster without losing
any data on the node's local disk

Instance Methods [hide private]
 
execute(self, args) source code

Inherited from completers.ClusterCompleter (private): _completer

Inherited from base.CmdBase: addopts, cancel_command, catch_ctrl_c, warn_experimental

Inherited from base.CmdBase (private): _build_dict, _positive_int

Inherited from optcomplete.CmdComplete: autocomplete

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  names = ['restart', 'reboot']
  tag = None
hash(x)

Inherited from base.CmdBase: gopts, gparser, opts, parser, subcmds_map

Inherited from base.CmdBase (private): _cfg, _cm, _ec2, _nm, _s3

Properties [hide private]

Inherited from completers.Completer: completer

Inherited from base.CmdBase: cfg, cluster_manager, cm, comp_words, ec2, goptions_dict, log, nm, node_manager, options_dict, s3, specified_options_dict

Inherited from object: __class__