2.5. Managing failure domains¶
2.5.1. vinfra failure domain list¶
Show available failure domains:
usage: vinfra failure domain list
Example:
# vinfra failure domain list
+----+----------+--------+
| id | singular | plural |
+----+----------+--------+
| 0 | disk | disks |
| 1 | host | hosts |
| 2 | rack | racks |
| 3 | row | rows |
| 4 | room | rooms |
+----+----------+--------+
This command lists the failure domains.
2.5.2. vinfra failure domain rename¶
Set names for failure domain levels, which define the storage location. These four levels are 1=host, 2=rack, 3=row, 4=room. The names for levels 2, 3 and 4 can be changed.
usage: vinfra failure domain rename [-h] {2,3,4} <singular-name> <plural-name>
{2,3,4}
- Failure domain ID.
<singular-name>
- Singular name of the specified failure domain.
<plural-name>
- Plural name of the specified failure domain.
Example:
# vinfra failure domain rename 2 chassis chassis
Operation successful.
This command renames the failure domain 2
to chassis
.
Task outcome:
# vinfra failure domain list
+----+----------+---------+
| id | singular | plural |
+----+----------+---------+
| 0 | disk | disks |
| 1 | host | hosts |
| 2 | chassis | chassis |
| 3 | row | rows |
| 4 | room | rooms |
+----+----------+---------+
Note
If you use a name other than zone
, enclosure
, chassis
, blade server
, it will not be localized.
Oct 06, 2020