Revision 150e978f
b/lib/opcodes.py | ||
---|---|---|
86 | 86 |
__slots__ = [] |
87 | 87 |
|
88 | 88 |
|
89 |
class OpVerifyDisks(OpCode): |
|
90 |
"""Verify the cluster disks. |
|
91 |
|
|
92 |
Parameters: none |
|
93 |
|
|
94 |
Result: two lists: |
|
95 |
- list of node names with bad data returned (unreachable, etc.) |
|
96 |
- list of instances with degraded disks (that should be activated) |
|
97 |
|
|
98 |
In normal operation, both lists should be empty. A non-empty |
|
99 |
instance list is still ok (errors were fixed) but non-empty node |
|
100 |
list means some node is down, and probably there are unfixable drbd |
|
101 |
errors. |
|
102 |
|
|
103 |
Note that only instances that are drbd-based are taken into |
|
104 |
consideration. This might need to be revisited in the future. |
|
105 |
|
|
106 |
""" |
|
107 |
OP_ID = "OP_CLUSTER_VERIFY_DISKS" |
|
108 |
__slots__ = [] |
|
109 |
|
|
110 |
|
|
89 | 111 |
class OpMasterFailover(OpCode): |
90 | 112 |
"""Do a master failover.""" |
91 | 113 |
OP_ID = "OP_CLUSTER_MASTERFAILOVER" |
Also available in: Unified diff