Monday, May 30, 2016

Cellcli Utility

What is cellcli utility?

Full form – Cell Command Line Interface

Cellcli used to manage the cell through the cell command line utility.

To invoke the cellcli utility, login to the cell storage through root, celladmin or cellmonitor and type cellcli.

Export                 CellCLI> export celldisk 
Import                 CellCLI> import celldisk 
Assign                  CellCLI> assign key 
Calibrate              CellCLI> calibrate
                           CellCLI> calibrate force 
Set
CellCLI> help set 
Usage: SET <variable> <value> 
Purpose: Sets a variable to alter the CELLCLI environment settings for your current session. 
Arguments: variable and value represent one of the following clauses: 
DATEFORMAT { STANDARD | LOCAL } 
ECHO { ON | OFF } 

CellCLI> set dateformat local
CellCLI> set dateformat standard 
CellCLI> set echo on 
CellCLI> set echo off 

Spool 
CellCLI> spool myCellCLI.txt 
CellCLI> spool myCellCLI.txt append 
CellCLI> spool myCellCLI.txt replace 
CellCLI> spool off 
CellCLI> spool --- Will give spool file name 
Scripts execution 
CellCLI> @listdisks.cli 
CellCLI> start listdisks.cli 
Comments 
REM This is a comment 
REMARK This is another comment 
-- This is yet another comment 
Continuation Character 
CellCLI> list metriccurrent attributes name,metricObjectName,metricValue, - 
objectType where alertState != 'normal' --- continuation character for queries spanned in multiple lines 

Exit/Quit 
CellCLI> exit 
CellCLI> quit 

Available cellcli commands:

        ALTER
        ALTER ALERTHISTORY
        ALTER CELL
        ALTER CELLDISK
        ALTER GRIDDISK
        ALTER IBPORT
        ALTER IORMPLAN
        ALTER LUN
        ALTER PHYSICALDISK
        ALTER QUARANTINE
        ALTER THRESHOLD
        ASSIGN KEY
        CALIBRATE
        CREATE
        CREATE CELL
        CREATE CELLDISK
        CREATE FLASHCACHE
        CREATE GRIDDISK
        CREATE KEY
        CREATE QUARANTINE
        CREATE THRESHOLD
        DESCRIBE
        DROP
        DROP ALERTHISTORY
        DROP CELL
        DROP CELLDISK
        DROP FLASHCACHE
        DROP GRIDDISK
        DROP QUARANTINE
        DROP THRESHOLD
        EXPORT CELLDISK
        IMPORT CELLDISK
        LIST
        LIST ACTIVEREQUEST
        LIST ALERTDEFINITION
        LIST ALERTHISTORY
        LIST CELL
        LIST CELLDISK
        LIST FLASHCACHE
        LIST FLASHCACHECONTENT
        LIST GRIDDISK
        LIST IBPORT
        LIST IORMPLAN
        LIST KEY
        LIST LUN
        LIST METRICCURRENT
        LIST METRICDEFINITION
        LIST METRICHISTORY
        LIST PHYSICALDISK
        LIST QUARANTINE
        LIST THRESHOLD
        SET
        SPOOL
        START

No comments:

Post a Comment