4.4. list

4.4.1. list cluster

rocks list cluster [cluster...] [status=bool]

Lists a cluster, that is, for each frontend, all nodes that are associated with that frontend are listed.

arguments

[cluster]

Zero, one or more frontend names. If no frontend names are supplied, information for all clusters will be listed.

parameters

[status=bool]

If true, then for each VM-based cluster node, output the VM's status (e.g., 'active', 'paused', etc.).

examples

$ rocks list cluster frontend-0-0

List the cluster associated with the frontend named 'frontend-0-0'.

$ rocks list cluster

List all clusters.

4.4.2. list host vm

rocks list host vm [host...] [showdisks=bool] [status=bool]

Lists the VM configuration for hosts.

arguments

[host]

Zero, one or more host names. If no host names are supplied, information for all hosts will be listed.

parameters

[showdisks=bool]

If true, then output VM disk configuration. The default is 'false'.

[status=bool]

If true, then output each VM's status (e.g., 'active', 'paused', etc.).

examples

$ rocks list host vm compute-0-0

List the VM configuration for compute-0-0.

$ rocks list host vm compute-0-0 compute-0-1

List the VM configuration for compute-0-0 and compute-0-1.

4.4.3. list host vm boot

rocks list host vm boot [host...]

Lists the names of the install and run bootprofiles for [host(s)] . The a named profile describes the combination of kernel, ramdisk args that would be used if that profile where referenced for by the The RunProfile references the combination when a VM is booted for running (usually this is None). The InstallProfile references the combination when the nodes is booted in install mode. When the RunProfile is None, the VM node will boot from the kernel defined in its image.

arguments

[host]

Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.

examples

$ rocks list host vm boot compute-0-0-0

List the active run and install profiles defined for compute-0-0-0.

$ rocks list host vm boot

List the active run and install profiles defined all known VM hosts.

4.4.4. list host vm bootprofile

rocks list host vm bootprofile [host...] [global=bool] [profile=string]

Lists the current VM Profiles available for hosts. For each host supplied on the command line print the hostname and defined profiles available to that host The Profile describes the combination of kernel, ramdisk args that would be used if that profile where referenced for by the Host as either a RunProfile or an InstallProfile Usually, the RunProfile is empty and the VM node will boot from the kernel defined in its image.

arguments

[host]

Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.

parameters

[global=bool]

If true, ignore the list of hosts and only return information about global bootprofiles. Default is 'n'

[profile=string]

List only the profile named 'profile'

examples

$ rocks list host vm bootprofile compute-0-0-0

List the profiles available to compute-0-0-0.

$ rocks list host vm bootprofile

List the profiles available for all known VM hosts.

$ rocks list host vm bootprofile global=yes

List only the globally-defined profiles without generating a list of hosts.