Previous Topic: Simple Shell CommandsNext Topic: grid info Output


Grid Control

This section contains the following topics:

grid get

grid get_acl

grid info

grid modify_acl

grid net_discover

grid power_cycle

grid put_acl

grid reboot

grid set

grid shutdown

grid get

Retrieve grid configuration parameter.

Syntax
grid get/tt> param | --all [--batch] grid get <param> | --all [--batch]
Arguments
param

Name of grid configuration parameter to get. The following parameters may be retrieved:- recovery_password: Recovery GUI password

--all

Retrieve all configurable grid parameters

--batch

Display output in UDL format

Example
grid get recovery_password  

Retrieve recovery GUI password

Grid Get Output

The output of this command is the following:

<parameter>   : <val>
...
If --batch option is specified, the output is the following: 
configuration
   {
   <parameter> = "<val>"
   ...
   }

This section contains the following topics:

grid get Output

grid get Output

The output of this command is the following:

<parameter>   : <val>
...
If --batch option is specified, the output is the following: 
configuration
   {
   <parameter> = "<val>"
   ...
   }
grid get_acl

Display the grid ACL or that portion of the grid ACL which relates to a particular principal or internal ID.

Syntax
grid get_acl [ <principal> ] [ --batch ]  
Parameters
<principal>

Display only that portion of the grid ACL which pertains to the specified principal. <principal> is in the following form:

<name>

Local user or group.

/<name>

Global user or group.

<scope>:<type>:<name>

A fully qualified principal name where where <scope> is 'global' or 'local', <type> is 'group' or 'user', and <name> is the group or user name.

--batch

Display output in UDL format.

Examples
grid get_acl

Display the grid ACL.

grid get_acl local:user:admin

Display the grid ACL entry for local user 'admin'.

grid get_acl admin

Display the grid ACL entry for local user 'admin'.

Output

The output of this command is as follows:

1. Non-batch output:

--- Owner Information ---
ID                                    Scope    Type    Name
-------------------------------------------------------------------------
val                                   val      val     val
--- Entry Information ---
ID                                    Scope    Type    Name              Access
--------------------------------------------------------------------------------
val                                   val      val     val               val
...

The value of Scope is local or global. The value of Type is user or group. The value of Access is a comma separated list of access levels or permissions.

1. Batch output:

acl
   {
   owner       : id="val"   # scope type name
   entries
      [
	id="val", access_level1, ... access_levelN, permission1, 	... permissionN   # scope type name
      ...
      ]
   }
grid info

Retrieve grid status and information

Syntax
grid info [ --batch ] [ --verbose ] 
Arguments
--batch

Display output in UDL format

--verbose

Display additional information

Examples
grid info  

Retrieve grid status and information

Notes:
Typical Output
Grid Name                   : petunia
Grid Description            :

SysteCA 3Tera AppLogic Version   : 3.0.12 eja_JPm Uptime               : 4 days, 3 hours, 2 minutes
Controller Uptime           : 4 days, 2 hours, 55 minutes
Last Server Failure Time    : Thu 24 Mar 2011 11:21:55 AM PDT (srv1)
Grid Reboot Required        : no
Controller Reboot Required  : no
HA State                    : ok
   Application HA State     : ok
   Controller HA State      : ok
   Backbone Network HA State: disabled
   External Network HA State: disabled
Total Servers               : 2
Servers Running             : 2
Servers Enabled             : 2
Applications Running        : 1
Resource Information        :
Pool   Resource Count     Total        Alloc      Hypervisor         Free
------------------------------------------------------------------------------
grid   CPU      4         16.00         0.05               -        15.85
       MEM      -         64.00 GB    128.00 MB            -        61.39 GB
       BW       -          4.00 Gbps  100.00 Mbps          -         3.90 Gbps
       DISK     2          3.40 TB    667.13 GB            -         2.73 TB

This section contains the following topics:

grid info Output