Implement replace-disks for drbd8 devices
authorIustin Pop <iustin@google.com>
Mon, 29 Oct 2007 15:49:36 +0000 (15:49 +0000)
committerIustin Pop <iustin@google.com>
Mon, 29 Oct 2007 15:49:36 +0000 (15:49 +0000)
commita9e0c3970039bff578482a48933fb1b2a2cb4b72
tree4bbc0cbe1648e519702deaf7d24be20770b88564
parentb00b95dd917ffadc143d8a75cb05793d8fe6b9e9
Implement replace-disks for drbd8 devices

This patch adds three modes of disk replacement for drbd8:
  - replace the disk on the primary node
  - replace the disk on the secondary node
  - replace the secondary node

It also adds some debugging code to backend.py and increments the
protocol version for the recent changes of the rpc layer.

Reviewed-by: imsnah
lib/backend.py
lib/cmdlib.py
lib/constants.py
lib/opcodes.py
scripts/gnt-instance