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 storage-pool list | |
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ | |
┊ StoragePool ┊ Node ┊ Driver ┊ PoolName ┊ FreeCapacity ┊ TotalCapacity ┊ CanSnapshots ┊ State ┊ | |
╞══════════════════════════════════════════════════════════════════════════════════════════════════════════╡ | |
┊ DfltDisklessStorPool ┊ node1 ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ | |
┊ DfltDisklessStorPool ┊ node2 ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ | |
┊ DfltDisklessStorPool ┊ node3 ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ | |
┊ DfltDisklessStorPool ┊ node4 ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ | |
┊ pool_ssd ┊ node1 ┊ LVM ┊ vg_ssd ┊ 9.31 GiB ┊ 9.31 GiB ┊ False ┊ Ok ┊ | |
┊ pool_ssd ┊ node2 ┊ LVM ┊ vg_ssd ┊ 9.31 GiB ┊ 9.31 GiB ┊ False ┊ Ok ┊ |
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 ┊ | |
╰───────────────────────────────────────────────────────────────────────────────╯ |
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 list -r bar | |
╭─────────────────────────────────────────────────────────────────────────────────────────╮ | |
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊ | |
╞═════════════════════════════════════════════════════════════════════════════════════════╡ | |
┊ bar ┊ node1 ┊ 7002 ┊ Unused ┊ Ok ┊ SyncTarget(12.66%) ┊ 2021-02-15 10:25:45 ┊ | |
┊ bar ┊ node2 ┊ 7002 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-15 10:25:45 ┊ | |
╰─────────────────────────────────────────────────────────────────────────────────────────╯ | |
root@node1:~# linstor volume list -r bar | |
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ | |
┊ Node ┊ Resource ┊ StoragePool ┊ VolNr ┊ MinorNr ┊ DeviceName ┊ Allocated ┊ InUse ┊ State ┊ |
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 create --resource-group ssd_std foo | |
SUCCESS: | |
Description: | |
New resource definition 'foo' created. | |
... | |
root@node1:~# linstor volume-definition list -r foo | |
╭──────────────────────────────────────────────────────────────╮ | |
┊ ResourceName ┊ VolumeNr ┊ VolumeMinor ┊ Size ┊ Gross ┊ State ┊ |
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@node3:~# drbdsetup status --verbose | |
my_ssd_res node-id:0 role:Secondary suspended:no | |
volume:0 minor:1000 disk:UpToDate quorum:yes blocked:no | |
node1 node-id:2 connection:Connected role:Secondary congested:no ap-in-flight:0 rs-in-flight:0 | |
volume:0 replication:Established peer-disk:Diskless peer-client:yes resync-suspended:no | |
node2 node-id:3 connection:Connected role:Secondary congested:no ap-in-flight:0 rs-in-flight:0 | |
volume:0 replication:Established peer-disk:Diskless peer-client:yes resync-suspended:no | |
node4 node-id:1 connection:Connected role:Secondary congested:no ap-in-flight:0 rs-in-flight:0 | |
volume:0 replication:Established peer-disk:UpToDate resync-suspended:no |
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 list | |
╭───────────────────────────────────────────────────────────────────────────────╮ | |
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊ | |
╞═══════════════════════════════════════════════════════════════════════════════╡ | |
┊ my_ssd_res ┊ node1 ┊ 7000 ┊ Unused ┊ Ok ┊ Diskless ┊ 2021-02-13 11:18:12 ┊ | |
┊ my_ssd_res ┊ node2 ┊ 7000 ┊ Unused ┊ Ok ┊ Diskless ┊ 2021-02-13 17:04:50 ┊ | |
┊ my_ssd_res ┊ node3 ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-13 11:18:13 ┊ | |
┊ my_ssd_res ┊ node4 ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2021-02-13 11:18:13 ┊ | |
╰───────────────────────────────────────────────────────────────────────────────╯ | |
root@node1:~# linstor volume list |
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@lxdmosaic:~# time ./installLxdMosaic.sh | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
curl is already the newest version (7.68.0-1ubuntu2.4). | |
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
## Installing the NodeSource Node.js 10.x repo... | |
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
avg-cpu: %user %nice %system %iowait %steal %idle | |
2.77 2.56 5.33 0.20 0.00 89.14 | |
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util | |
loop0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 | |
loop1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 | |
loop2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 | |
loop3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 | |
loop4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 | |
loop5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 |
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 volume list | |
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ | |
┊ Node ┊ Resource ┊ StoragePool ┊ VolNr ┊ MinorNr ┊ DeviceName ┊ Allocated ┊ InUse ┊ State ┊ | |
╞═════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ | |
┊ node1 ┊ my_ssd_res ┊ pool_ssd ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ 2.00 GiB ┊ Unused ┊ UpToDate ┊ | |
┊ node2 ┊ my_ssd_res ┊ pool_ssd ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ 2.00 GiB ┊ Unused ┊ UpToDate ┊ | |
┊ node3 ┊ my_ssd_res ┊ DfltDisklessStorPool ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ ┊ Unused ┊ Diskless ┊ | |
┊ node4 ┊ my_ssd_res ┊ DfltDisklessStorPool ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ ┊ Unused ┊ Diskless ┊ | |
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ |
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 node list | |
╭───────────────────────────────────────────────────────╮ | |
┊ Node ┊ NodeType ┊ Addresses ┊ State ┊ | |
╞═══════════════════════════════════════════════════════╡ | |
┊ node1 ┊ COMBINED ┊ 192.0.2.124:3366 (PLAIN) ┊ Online ┊ | |
┊ node2 ┊ SATELLITE ┊ 192.0.2.120:3366 (PLAIN) ┊ Online ┊ | |
┊ node3 ┊ SATELLITE ┊ 192.0.2.58:3366 (PLAIN) ┊ Online ┊ | |
┊ node4 ┊ SATELLITE ┊ 192.0.2.60:3366 (PLAIN) ┊ Online ┊ | |
╰───────────────────────────────────────────────────────╯ |