Created
February 15, 2021 10:57
-
-
Save candlerb/2ec6ad4be4800e85fe65e8bb8bf3fc2e to your computer and use it in GitHub Desktop.
linstor auto-place
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@node1:~# linstor resource-definition modify --resource-group ssd_crit bar | |
SUCCESS: | |
... | |
root@node1:~# linstor resource list -r bar | |
╭───────────────────────────────────────────────────────────────────────────────╮ | |
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊ | |
╞═══════════════════════════════════════════════════════════════════════════════╡ | |
┊ bar ┊ node1 ┊ 7002 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-15 10:25:45 ┊ | |
┊ bar ┊ node2 ┊ 7002 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-15 10:25:45 ┊ | |
╰───────────────────────────────────────────────────────────────────────────────╯ | |
root@node1:~# linstor resource-definition auto-place bar | |
SUCCESS: | |
Description: | |
Resource 'bar' successfully autoplaced on 1 nodes | |
... | |
root@node1:~# linstor resource list -r bar | |
╭────────────────────────────────────────────────────────────────────────────────────────╮ | |
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊ | |
╞════════════════════════════════════════════════════════════════════════════════════════╡ | |
┊ bar ┊ node1 ┊ 7002 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-15 10:25:45 ┊ | |
┊ bar ┊ node2 ┊ 7002 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-15 10:25:45 ┊ | |
┊ bar ┊ node3 ┊ 7002 ┊ Unused ┊ Ok ┊ SyncTarget(0.58%) ┊ 2021-02-15 10:25:44 ┊ | |
╰────────────────────────────────────────────────────────────────────────────────────────╯ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment