5.10. Managing Automatic Storage Disk Configuration¶
5.10.1. vinfra cluster settings automatic-disk-replacement show¶
Show automatic storage disk configuration:
usage: vinfra cluster settings automatic-disk-replacement show
Example:
# vinfra cluster settings automatic-disk-replacement show
+-------+-------+
| Field | Value |
+-------+-------+
| tier0 | True |
| tier1 | False |
| tier2 | True |
| tier3 | False |
+-------+-------+
This command shows the status of automatic disk configuration for each storage tier.
5.10.2. vinfra cluster settings automatic-disk-replacement set¶
Change automatic storage disk configuration:
usage: vinfra cluster settings automatic-disk-replacement set
[--tier0 {on,off}] [--tier1 {on,off}] [--tier2 {on,off}]
[--tier3 {on,off}]
--tier0 {on,off}
- Enable or disable automatic storage disk configuration for tier 0
--tier1 {on,off}
- Enable or disable automatic storage disk configuration for tier 1
--tier2 {on,off}
- Enable or disable automatic storage disk configuration for tier 2
--tier3 {on,off}
- Enable or disable automatic storage disk configuration for tier 3
Example:
# vinfra cluster settings automatic-disk-replacement set \
--tier0 on --tier1 on --tier2 on --tier3 on
+-------+-------+
| Field | Value |
+-------+-------+
| tier0 | True |
| tier1 | True |
| tier2 | True |
| tier3 | True |
+-------+-------+
This command enables automatic storage disk configuration for all storage tiers.
Jul 21, 2020