Monday, May 30, 2016

cellcli Continued...

Cellcli - Describe

It Will display all attributes

CellCLI> describe cell
CellCLI> describe physicaldisk
CellCLI> describe lun
CellCLI> describe celldisk
CellCLI> describe griddisk
CellCLI> describe flashcache
CellCLI> describe flashcachecontent
CellCLI> describe metriccurrent
CellCLI> describe metricdefinition
CellCLI> describe metrichistory 

Cellcli - List

CellCLI> help list 

Enter HELP LIST <object_type> for specific help syntax. 

<object_type>: {ACTIVEREQUEST | ALERTDEFINITION | ALERTHISTORY | CELL | CELLDISK | FLASHCACHE | FLASHCACHECONTENT | GRIDDISK | IBPORT | IORMPLAN | KEY | LUN | METRICCURRENT | METRICDEFINITION | METRICHISTORY | PHYSICALDISK | QUARANTINE | THRESHOLD } 

CellCLI> list cell - Will display Oracle Exadata Storage Servers/Cells information 

CellCLI> list cell detail 
CellCLI> list cell attributes all 
CellCLI> list cell attributes rsStatus 
CellCLI> list physicaldisk - Will display physical disks information 
CellCLI> list physicaldisk detail 
CellCLI> list physicaldisk 34:5 
CellCLI> list physicaldisk 34:11 detail 
CellCLI> list physicaldisk attributes all 
CellCLI> list physicaldisk attributes name, id, slotnumber 

CellCLI> list physicaldisk attributes name, disktype, makemodel, physicalrpm, physicalport, status 

CellCLI> list physicaldisk attributes name, disktype, errCmdTimeoutCount, errHardReadCount, errHardWriteCount 

CellCLI> list physicaldisk where diskType='Flashdisk' 

CellCLI> list physicaldisk attributes name, id, slotnumber where disktype="flashdisk" and status != "not present" 

CellCLI> list physicaldisk attributes name, physicalInterface, physicalInsertTime where disktype = 'Harddisk'

CellCLI> list physicaldisk where diskType=flashdisk and status='poor performance' detail 

CellCLI> list lun  
CellCLI> list lun detail 
CellCLI> list lun 0_8 detail 
CellCLI> list lun attributes all 
CellCLI> list lun attributes name, cellDisk, raidLevel, status 
CellCLI> list lun where disktype=flashdisk 
CellCLI> list celldisk - Will display cell disks information 
CellCLI> list celldisk detail 
CellCLI> list celldisk FD_01_cell07 
CellCLI> list celldisk FD_01_cell13 detail 
CellCLI> list celldisk attributes all 
CellCLI> list celldisk attributes name, devicePartition 
CellCLI> list celldisk attributes name, devicePartition where size>20G
CellCLI> list celldisk attributes name,interleaving where disktype=harddisk 
CellCLI> list griddisk - Will display grid disks information 
CellCLI> list griddisk detail
CellCLI> list griddisk DG_01_cell03 detail 
CellCLI> list griddisk attributes all 
CellCLI> list griddisk attributes name, size
CellCLI> list griddisk attributes name, cellDisk, diskType 
CellCLI> list griddisk attributes name, ASMDeactivationOutcome, ASMModeStatus 

CellCLI> list griddisk attributes name,cellDisk,status where size=476.546875G
CellCLI> list griddisk attributes name where asmdeactivationoutcome != 'Yes' 
CellCLI> list flashcache - Will display flash cache information 
CellCLI> list flashcache detail 
CellCLI> list flashcache attributes all 
CellCLI> list flashcache attributes degradedCelldisks 
CellCLI> help list FLASHCACHECONTENT 

Usage: LIST FLASHCACHECONTENT [<filters>] [<attribute_list>] [DETAIL] 
Purpose: Displays specified attributes for flash cache entries. 
Arguments: 
<filters>: An expression which determines the entries to be displayed. 
<attribute_list>: The attributes that are to be displayed. ATTRIBUTES {ALL | attr1 [, attr2]... } 
[DETAIL]: Formats the display as an attribute on each line, with an attribute descriptor preceding each value. 


CellCLI> list flashcachecontent - Will display flash cache content information
CellCLI> list flashcachecontent detail 
CellCLI> list flashcachecontent where objectnumber=161441 detail
CellCLI> list flashcachecontent where dbUniqueName like 'EX.?.?' and hitcount > 100 attributes dbUniqueName, objectNumber, cachedKeepSize, cachedSize
CellCLI> list flashcachecontent where dbUniqueName like 'EX.?.?' and objectNumber like '.*007'
CellCLI> list flashcachecontent where dbUniqueName like '.*X.?.?' and objectNumber like '.*456' detail 

CellCLI> list metriccurrent - Will display metrics information 
CellCLI> list metriccurrent gd_io_rq_w_sm 
CellCLI> list metriccurrent n_nic_rcv_sec detail 
CellCLI> list metriccurrent attributes name,metricObjectName,metricType, metricValue,objectType where alertState != 'normal' 
CellCLI> list metriccurrent attributes name,metricObjectName,metricType, metricValue,alertState where objectType = 'HOST_INTERCONNECT' 
CellCLI> list metriccurrent attributes all where objectType = 'CELL'
CellCLI> list metriccurrent attributes all where objectType = 'GRIDDISK' - 
> and metricObjectName = 'DATA_CD_09_cell01' and metricValue > 0 

CellCLI> list metricdefinition 
CellCLI> list metricdefinition cl_cput detail 
CellCLI> list metricdefinition attributes all where objecttype='CELL' 

CellCLI> list metrichistory - Will display metric's history
CellCLI> list metrichistory cl_cput 
CellCLI> list metrichistory where objectType = 'CELL' 
CellCLI> list metrichistory where objectType = 'CELL' and name = 'CL_TEMP'

CellCLI> list metrichistory cl_cput where collectiontime > '*2011-10-15T22:56:04-04:00*' 
CellCLI> list alertdefinition detail - Will display alert's definitions 
CellCLI> list alertdefinition attributes all where alertSource!='Metric'

CellCLI> list alerthistory - Will display alert's history

CellCLI> list alerthistory detail
CellCLI> list alerthistory where notificationState like '[023]' and severity like '[warning|critical]' and examinedBy = NULL;


CellCLI> list activerequest 

CellCLI> list ibport - Will display InfiniBand configuration details
CellCLI> list ibport detail 
CellCLI> list iormplan - Will display IORM plan details 
CellCLI> list key
CellCLI> list quarantine 
CellCLI> list threshold - Will display threshold details

No comments:

Post a Comment