254 Posts

June 7th, 2018 10:00

You'd have to script that, preferably with a trusted SSH key.

117 Posts

June 7th, 2018 11:00

You can use pssh on a Linux client (although you will lose the coloring from the isi status -q output).  In the example below I'm doing this from a Linux host and getting output from 3 clusters.  I have ssh keys configured so I don't need to worry about passwords.

[root@weber ~]# pssh -i -h ./lab_clusters.pssh isi status -q

[1] 14:04:08 [SUCCESS] root@yfvm-721x

Cluster Name: yfvm-721x

Cluster Health:     [  OK ]

Cluster Storage:  HDD                 SSD Storage

Size:             56G (56G Raw)       0 (0 Raw)

VHS Size:         0

Used:             16G (28%)           0 (n/a)

Avail:            40G (72%)           0 (n/a)


                   Health  Throughput (bps)  HDD Storage      SSD Storage

ID |IP Address     |DASR |  In   Out  Total| Used / Size     |Used / Size

-------------------+-----+-----+-----+-----+-----------------+-----------------

  1|192.168.1.4    | OK  |  66K|  11M|  11M| 5.2G/  19G( 28%)|(No Storage SSDs)

  2|192.168.1.3    | OK  |    0|   32|   32| 5.2G/  19G( 28%)|(No Storage SSDs)

  3|192.168.1.5    | OK  |    0|   53|   53| 5.3G/  19G( 28%)|(No Storage SSDs)

-------------------+-----+-----+-----+-----+-----------------+-----------------

Cluster Totals:          |  66K|  11M|  11M|  16G/  56G( 28%)|(No Storage SSDs)


     Health Fields: D = Down, A = Attention, S = Smartfailed, R = Read-Only

[2] 14:04:11 [SUCCESS] root@yfvm-810xs

Cluster Name: yfvm-810xs

Cluster Health:     [  OK ]

Cluster Storage:  HDD                 SSD Storage

Size:             18.7G (18.7G Raw)   0 (0 Raw)

VHS Size:         0

Used:             4.8G (26%)          0 (n/a)

Avail:            13.9G (74%)         0 (n/a)


                   Health  Throughput (bps)  HDD Storage      SSD Storage

ID |IP Address     |DASR |  In   Out  Total| Used / Size     |Used / Size

---+---------------+-----+-----+-----+-----+-----------------+-----------------

  1|192.168.1.57   | OK  | 149k| 2.9M| 3.1M| 4.8G/18.7G( 26%)|(No Storage SSDs)

---+---------------+-----+-----+-----+-----+-----------------+-----------------

Cluster Totals:          | 149k| 2.9M| 3.1M| 4.8G/18.7G( 26%)|(No Storage SSDs)


     Health Fields: D = Down, A = Attention, S = Smartfailed, R = Read-Only

[3] 14:04:14 [SUCCESS] root@yfvm-800x

Cluster Name: yfvm-800x

Cluster Health:     [  OK ]

Cluster Storage:  HDD                 SSD Storage

Size:             56.2G (56.2G Raw)   0 (0 Raw)

VHS Size:         0

Used:             29.9G (53%)         0 (n/a)

Avail:            26.3G (47%)         0 (n/a)


                   Health  Throughput (bps)  HDD Storage      SSD Storage

ID |IP Address     |DASR |  In   Out  Total| Used / Size     |Used / Size

---+---------------+-----+-----+-----+-----+-----------------+-----------------

  1|192.168.1.26   | OK  | 492k|58.6M|59.1M|10.0G/18.7G( 53%)|(No Storage SSDs)

  2|192.168.1.27   | OK  |    0|    0|    0|10.0G/18.7G( 53%)|(No Storage SSDs)

  3|192.168.1.28   | OK  | 1.1k|    0| 1.1k|10.0G/18.7G( 53%)|(No Storage SSDs)

---+---------------+-----+-----+-----+-----+-----------------+-----------------

Cluster Totals:          | 493k|58.6M|59.1M|29.9G/56.2G( 53%)|(No Storage SSDs)


     Health Fields: D = Down, A = Attention, S = Smartfailed, R = Read-Only

[root@weber ~]# cat lab_clusters.pssh

root@yfvm-721x

root@yfvm-800x

root@yfvm-810xs

No Events found!

Top