Trees | Indices | Help |
|
---|
|
Replaces disks for an instance.
Note: Locking is not within the scope of this class.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|
Initializes this class.
|
Checks if the instance disks are activated.
|
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 Tue Jul 24 16:51:23 2012 | http://epydoc.sourceforge.net |