mwidemann
2 Bronze

List Cluster GUID via CLI

Jump to solution

Hello,

i need to find a way to Display the Cluster GUID via the Command Line. Within the WebGUI i can find it, but i can´t find a CLI Command to Display it.

Any Idea´s?

regards,

Martin

0 Kudos
1 Solution

Accepted Solutions
IsilonAl
2 Bronze

Re: List Cluster GUID via CLI

Jump to solution

Use the command-line interface

  1. Open an SSH connection on any node in the cluster and log on using the "root" account.
  2. Run the following command from the command line:

    grep -A1 serial /etc/ifs/array.xml | grep guid
    Output similar to the following is displayed:<guid>001b21914dfcf4db774e300f0dff9f712c34</guid>

Alternatively, you can run a python script if you need to retrieve the GUID programmatically:

  • Run the following command from the command line:

    python -c "import isi.config.arrcfg as ac;cfg = ac.config_load(); print cfg.guid"
    Output similar to the following is displayed:001b21914dfcf4db774e300f0dff9f712c34

View solution in original post

2 Replies
IsilonAl
2 Bronze

Re: List Cluster GUID via CLI

Jump to solution

Use the command-line interface

  1. Open an SSH connection on any node in the cluster and log on using the "root" account.
  2. Run the following command from the command line:

    grep -A1 serial /etc/ifs/array.xml | grep guid
    Output similar to the following is displayed:<guid>001b21914dfcf4db774e300f0dff9f712c34</guid>

Alternatively, you can run a python script if you need to retrieve the GUID programmatically:

  • Run the following command from the command line:

    python -c "import isi.config.arrcfg as ac;cfg = ac.config_load(); print cfg.guid"
    Output similar to the following is displayed:001b21914dfcf4db774e300f0dff9f712c34

View solution in original post

muri
1 Copper

Re: List Cluster GUID via CLI

Jump to solution

Hello

you can find GUID also via GUI, under General Settings.

 

cheers,

0 Kudos