Handling the merge.
|
__init__(self,
clusters,
pause_period)
Initialize object with sane defaults and infos required. |
|
|
|
Setup(self)
Sets up our end so we can do the merger. |
|
|
|
|
|
_RunCmd(self,
hostname,
command,
user="root",
use_cluster_key=False,
strict_host_check=False,
private_key=None,
batch=True,
ask_key=False)
Wrapping SshRunner.Run with default parameters. |
|
|
|
_StopMergingInstances(self)
Stop instances on merging clusters. |
|
|
|
_DisableWatcher(self)
Disable watch on all merging clusters, including ourself. |
|
|
|
_StopDaemons(self)
Stop all daemons on merging nodes. |
|
|
|
|
|
|
|
_MergeConfig(self)
Merges all foreign config into our own config. |
|
|
|
|
|
|
|
|
|
|
|
Merge(self)
Does the actual merge. |
|
|
|
Cleanup(self)
Clean up our environment. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|