Trees | Indices | Help |
|
---|
|
Replaces disks for an instance.
Note: Locking is not within the scope of this class.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|
Initializes this class.
|
Check prerequisites. This checks that the instance is in the cluster.
|
Check prerequisites, second part. This function should always be part of CheckPrereq. It was separated and is now called from Exec because during node evacuation iallocator was only called with an unmodified cluster model, not taking planned changes into account. |
Execute disk replacement. This dispatches the disk replacement to the appropriate handler.
|
Create new storage on the primary or secondary node. This is only used for same-node replaces, not for changing the secondary node, hence we don't want to modify the existing disk. |
Replace a disk on the primary or secondary for DRBD 8. The algorithm for replace is quite complicated:
Failures are not very well handled. |
Replace the secondary node for DRBD 8. The algorithm for replace is quite complicated:
Failures are not very well handled. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 27 14:19:01 2011 | http://epydoc.sourceforge.net |