Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 38

cellcli To Manage the Exadata cell Storage [root@uaexacell1 init.d]# cellcli CellCLI: Release 11.2.3.2.

1

Production on Tue Nov 18 02:16:03 GMT+05:30 2014 Copyright (c) 2007, 2012, Oracle. All rights reserved. Cell Efficiency Ratio
ad
The video player is currently playing an ad. You can skip the ad in 5 sec with a mouse or keyboard

LIST CELLDISK <CELLDISK> detail TO list the Specific celldisk detail CellCLI> LIST CELLDISK FD_00_uaexacell1 detail name: FD_00
ad

LIST IORMPLAN DETAIL To list the IORMPLAN in DETAIL CellCLI> LIST IORMPLAN DETAIL name: uaexacell1_IORMPLAN catPlan:
To get the I/O’s
second for all the objects CellCLI> LIST METRICCURRENT CD_BY_FC_DIRTY CD_DISK00_uaexacell1 0.000 MB CD_BY_FC_DIRTY
CREATING the Exadata Storage cell Objects (CREATE)
The below commands will be used most commonly on exadata storage to create the virtual objects.
CREATE CELL <CELL_NAME> interconnect1=<ethx> Configures the cell network CellCLI> CREATE CELL uaexacell1 interconnect1
Starting CELLSRV services…
The STARTUP of CELLSRV services was successful. Flash cell disks, FlashCache, and FlashLog will be created.
ad

CREATE CELLDISK <CELLDISK_NAME> <LUN> Creates cell disk(s) according to attributes provided. CREATE CELLDISK UADBG1 L
celldisk=”Flash_celldisk1″
Creates flash cache for IO requests on specific flashdisk CellCLI> CREATE FLASHCACHE
celldisk=”FD_00_uaexacell1,FD_01_uaexacell1″,
size=500M CREATE FLASHCACHE ALL size = <size> Creates flash cache for IO requests on all devices with specific size CREATE F
celldisk=”Flash_celldisk1″
Creates flash log for logging requests on specified flashdisk CellCLI> CREATE FLASHLOG
celldisk=”FD_00_uaexacell1,FD_01_uaexacell1″,
size=500M CREATE FLASHLOG ALL size = <size> Creates flash log for logging requests on all devices with specific size CREATE F
ad

CREATE GRIDDISK ALL FLASHDISK PREFIX=<Disk_Name>, size=<size> Create Grid disks on all the flashdisk with specific size. Ce
quarantineType=<“SQLID” or “DISK REGION”
or \
“SQL PLAN” or “CELL OFFLOAD”>
attributename=value Define the attributes for a new quarantine entity CellCLI> CREATE QUARANTINE
quarantineType=”SQLID”, sqlid=”5xnjp4cutc1s8″
Quarantine successfully created. CellCLI> CREATE THRESHOLD <Thersold1> attributename=value Defines conditions for gener
comparison=’>’, critical=120
Threshold db_io_rq_sm_sec.db123 successfully created CellCLI>
DELETING the Exadata Storage cell Objects (DROP)
The below mentioned cellcli commands will help you to remove the various objects on the exadata storage cell. Be
carefully with “force” option since it can remove the object even though it is in use.

DROP ALERTHISTORY <ALER1>, <ALERT2> Removes the specific


alert from the cell’s alert
history. CellCLI> DROP ALERTHISTORY 2 Alert 2 successfully dropped CellCLI> DROP ALERTHISTORY ALL Removes all alert from
the cell’s alert history.
CellCLI> DROP ALERTHISTORY ALL Alert 1_1 successfully dropped Alert 1_2 successfully dropped Alert 1_3 successfully drop
ad

DROP QUARANTINE <quarantine1> Removes quarantine from the cell CellCLI> DROP QUARANTINE QADB1 DROP QUARANTIN
Modifying the Exadata Storage cell Objects (ALTER)
The below mentioned commands will help you to modify the cell attributes and various objects setting. ALTER command will b
ALTER ALERTHISTORY 123 examinedby=<user_name> Sets the examinedby attribute of alerts ALTER ALERTHISTORY 123 exam
ad

services will be started ALTER CELL STARTUP SERVICES < RS | MS | CELLSRV > To start specific Service CellCLI>ALTER CELL STA
Stopping CELLSRV services…
The SHUTDOWN of CELLSRV services was successful. CellCLI> CellCLI> ALTER CELL flashCacheMode=WriteBack Cell UAEXACEL
celldisk=”FD_00_uaexacell1,FD_01_uaexacell1″,
size=500M ALTER CELL interconnect1=<Network_Interface> To set the network interface for cell stroage. CellCLI> ALTER CELL
ALTER CELL smtpServer='<SMTP_SERVER>’
Set the SMTP server CellCLI> ALTER CELL
smtpServer=’myrelay.unixarena.com’
ALTER CELL smtpFromAddr='<
myaddress@mydomain.com>’
Set the Email From Address CellCLI> ALTER CELL
smtpFromAddr=’uacell@unixarena.com’
ALTER CELL
smtpToAddr='<myemail@mydomain.com>’
Send the alrets to this Email Address CellCLI> ALTER CELL
smtpToAddr=’lingeshwaran.rangasamy@gmail.com’

ALTER CELL smtpFrom='<myhostname>’


Alias host name for email
CellCLI> ALTER CELL smtpFrom=’uaexacell1′

ALTER CELL smtpPort=’25’


Set the SMTP port
CellCLI> ALTER CELL smtpPort=’25’

ALTER CELL smtpUseSSL=’TRUE’


Make the smtp to use SLL
CellCLI> ALTER CELL smtpUseSSL=’TRUE’
ALTER CELL
notificationPolicy=’critical,warning,clear’
Send the alrets for critical,warning and clear CellCLI> ALTER CELL
notificationPolicy=’critical,warning,clear’

ALTER CELL notificationMethod=’mail’


Set the notification method as email
CellCLI> ALTER CELL notificationMethod=’mail’
ALTER CELLDISK <existing_celldisk_name>
name='<new_cell_name>’,

comment='<comments>’
Modify’s the celldisk name
CellCLI> ALTER CELLDISK CD_DISK00_uaexacell1
name=’UACELLD’, comment=’Re
-named for
UnixArena’
CellDisk UACELLD successfully altered ALTER CELLDISK ALL HARDDISK FLUSH Dirty blocks for all harddisk will be flushed CellCL
ad
s reserved. Cell Efficiency Ratio: 1CellCLI> LIST CELL List the Cell Status CellCLI> LIST CELL uaexacell1 online CellCLI> LIST LUN To list all the p

uaexacell1 detail name: FD_00_uaexacell1 comment: creationTime: 2014-11-15T01:46:56+05:30 LIST CELLDISK where disktype=harddisk T

aexacell1_IORMPLAN catPlan: dbPlan: objective: basic status: active LIST METRICCURRENT

l1 0.000 MB CD_BY_FC_DIRTY CD_DISK01_uaexacell1 0.000 MB CD_BY_FC_DIRTY CD_DISK02_uaexacell1 0.000 MB CD_BY_FC_DIRTY CD_

CELL uaexacell1 interconnect1=eth1 Cell uaexacell1 successfully created

be created.

. CREATE CELLDISK UADBG1 LUN=00_00 CREATE CELLDISK ALL HARDISK Creates cell disk(s) on all the harddisks CellCLI> CREATE CELLDISK

ces with specific size CREATE FLASHCACHE ALL size = 10G CREATE FLASHLOG

es with specific size CREATE FLASHLOG ALL size = 252M CREATE GRIDDISK <GRIDDISK_NAME> CELLDISK=<celldisk> Creates grid disk on sp

flashdisk with specific size. CellCLI> CREATE GRIDDISK ALL FLASHDISK PREFIX=UAFLSHDB, size=100M GridDisk UAFLSHDB_FD_00_uaexace

e Defines conditions for generation of a metric alert. CellCLI> CREATE THRESHOLD db_io_rq_sm_sec.db123

ata storage cell. Be

ORY ALL Removes all alert from

ed Alert 1_3 successfully dropped Alert 1_4 successfully dropped Alert 1_5 successfully dropped Alert 1_6 successfully dropped DROP T
NE QADB1 DROP QUARANTINE ALL Removes all the quarantine from the cell CellCLI> DROP QUARANTINE ALL DROP GRIDDISK <Griddisk_N

setting. ALTER command will be used to perform the start/stop/restart the MS/RS/CELLSRV services as well.
ALTER ALERTHISTORY 123 examinedby=<lingesh> ALTER CELL RESTART SERVICES ALL All(RS+CELLSRV+MS) services are restarted CellCLI>A

ervice CellCLI>ALTER CELL STARTUP SERVICES RS CellCLI>ALTER CELL STARTUP SERVICES MS CellCLI>ALTER CELL STARTUP SERVICES CELLSR

ode=WriteBack Cell UAEXACELL1 successfully altered CellCLI> CellCLI> CREATE FLASHCACHE

ll stroage. CellCLI> ALTER CELL INTERCONNECT1=eth1 A restart of all services is required to put new network configuration into effect. M
harddisk will be flushed CellCLI> ALTER CELLDISK ALL HARDDISK FLUSH
ellCLI> LIST LUN To list all the physical Drive & Flash drives LIST PHYSICALDISK To list all the physical Drive & Flash drives LIST LUN where ce

ISK where disktype=harddisk To list the celldisk which are created using harddisk CellCLI> LIST CELLDISK where disktype=harddisk CD_DISK

000 MB CD_BY_FC_DIRTY CD_DISK03_uaexacell1 0.000 MB LIST METRICCURRENT cl_cput, cl_runq detail To list the RUNQ CellCLI> list met

sks CellCLI> CREATE CELLDISK ALL HARDDISK CellDisk CD_DISK00_uaexacell1 successfully created CellDisk CD_DISK01_uaexacell1 successf

elldisk> Creates grid disk on specific disk CellCLI> CREATE GRIDDISK UADBDK1 CELLDISK=CD_DISK00_uaexacell1 GridDisk UADBDK1 succes

k UAFLSHDB_FD_00_uaexacell1 successfully created GridDisk UAFLSHDB_FD_01_uaexacell1 successfully created GridDisk UAFLSHDB_FD_

successfully dropped DROP THRESHOLD <THERSOLD> Removes specific threshold from the cell CellCLI> DROP THRESHOLD db_io_rq_sm_
LL DROP GRIDDISK <Griddisk_Name> Removes the specific grid disk from the cell CellCLI> DROP GRIDDISK UADBDK1 GridDisk UADBDK1 su

ervices are restarted CellCLI>ALTER CELL RESTART SERVICES ALL ALTER CELL RESTART SERVICES < RS | MS | CELLSRV > To restart specific s

ELL STARTUP SERVICES CELLSRV ALTER CELL NAME=<Name> To Set the Name/Re-name to the Exadata Storage Cell CellCLI> ALTER CELL N

rk configuration into effect. MS-CELLSRV communication may be hampered until restart.Cell UAEXACELL1 successfully altered ALTER CELL
Flash drives LIST LUN where celldisk = <celldisk> To list the LUN which is mapped to specific disk CellCLI> LIST LUN where celldisk = FD_13_

ere disktype=harddisk CD_DISK00_uaexacell1 normal CD_DISK01_uaexacell1 normal CD_DISK02_uaexacell1 normal LIST CELLDISK where d

list the RUNQ CellCLI> list metriccurrent cl_cput, cl_runq detail name: CL_CPUT alertState: normal collectionTime: 2014-11-18T02:42:26+0

D_DISK01_uaexacell1 successfully created CellDisk CD_DISK02_uaexacell1 successfully created CREATE CELLDISK ALL Creates cell disk(s) on

ell1 GridDisk UADBDK1 successfully created CellCLI> CREATE GRIDDISK <GRIDDISK_NAME> CELLDISK=<celldisk>, size=<size> Creates grid d

eated GridDisk UAFLSHDB_FD_02_uaexacell1 successfully created GridDisk UAFLSHDB_FD_03_uaexacell1 successfully created GridDisk UA

OP THRESHOLD db_io_rq_sm_sec.db123 Threshold db_io_rq_sm_sec.db123 successfully dropped CellCLI> DROP THRESHOLD ALL Remove
ADBDK1 GridDisk UADBDK1 successfully dropped CellCLI> DROP GRIDDISK ALL PREFIX=<GRIDDISK_STARTNAME> Removes the set of grid d

CELLSRV > To restart specific services CellCLI>ALTER CELL RESTART SERVICES RS CellCLI>ALTER CELL RESTART SERVICES MS CellCLI>ALTER

rage Cell CellCLI> ALTER CELL NAME=UAEXACELL1 Cell UAEXACELL1 successfully altered CellCLI> ALTER CELL flashCacheMode=WriteBack

ccessfully altered ALTER CELL LED OFF The chassis LED is turned off. CellCLI> ALTER CELL LED OFF ALTER CELL LED ON The chassis LED is t
T LUN where celldisk = FD_13_uaexacell1 FLASH13 FLASH13 normal LIST CELL DETAIL List the cell Status with all attributes CellCLI> LIST CE

normal LIST CELLDISK where disktype=flashdisk To list the celldisk which are created using Flashdisk CellCLI> LIST CELLDISK where disktype

nTime: 2014-11-18T02:42:26+05:30 metricObjectName: uaexacell1 metricType: Instantaneous metricValue: 4.7 % objectType: CELLname:

DISK ALL Creates cell disk(s) on all the harddisks & flashdisks CellCLI> CREATE CELLDISK ALL CellDisk CD_DISK00_uaexacell1 successfully cre

sk>, size=<size> Creates grid disk on specific disk with specific size CellCLI> CREATE GRIDDISK UADBDK2 CELLDISK=CD_DISK02_uaexacell1,

ccessfully created GridDisk UAFLSHDB_FD_04_uaexacell1 successfully created GridDisk UAFLSHDB_FD_05_uaexacell1 successfully created

ROP THRESHOLD ALL Removes all threshold from the cell CellCLI> DROP THRESHOLD ALL
ME> Removes the set of grid disks from the cell by using the prefix CellCLI> DROP GRIDDISK ALL PREFIX=UAFLSHDB GridDisk UAFLSHDB_F

T SERVICES MS CellCLI>ALTER CELL RESTART SERVICES CELLSRV ALTER CELL SHUTDOWN SERVICES ALL All(RS+CELLSRV+MS) services will b

L flashCacheMode=WriteBack To Modify the flashcache mode to writeback from writethrough. To perform this,You need to drop the flash

LL LED ON The chassis LED is turned on. CellCLI> ALTER CELL LED ON
h all attributes CellCLI> LIST CELL DETAIL name: uaexacell1 bbuTempThreshold: 60 bbuChargeThreshold: 800 bmcType: absent LIST CELL att

LIST CELLDISK where disktype=flashdisk FD_00_uaexacell1 normal FD_01_uaexacell1 normal FD_02_uaexacell1 normal LIST CELLDISK wh

4.7 % objectType: CELLname: CL_RUNQ alertState: normal collectionTime: 2014-11-18T02:42:26+05:30 metricObjectName: uaexacell1 me

00_uaexacell1 successfully created CREATE CELLDISK ALL FLASHDISK Creates cell disk(s) on all the flashdisks CellCLI> CREATE CELLDISK ALL

DISK=CD_DISK02_uaexacell1, SIZE=100M GridDisk UADBDK2 successfully created CellCLI> CREATE GRIDDISK ALL HARDDISK PREFIX=<Disk_

uaexacell1 successfully created GridDisk UAFLSHDB_FD_06_uaexacell1 successfully created GridDisk UAFLSHDB_FD_07_uaexacell1 succes
FLSHDB GridDisk UAFLSHDB_FD_00_uaexacell1 successfully dropped GridDisk UAFLSHDB_FD_01_uaexacell1 successfully dropped GridDisk

S+CELLSRV+MS) services will be halted CellCLI>ALTER CELL SHUTDOWN SERVICES ALTER CELL SHUTDOWN SERVICES < RS | MS | CELLSRV

this,You need to drop the flashcache & Stop the cellsrv .Then you need to create the new Flashcache CellCLI> DROP flashcache Flash cache
bmcType: absent LIST CELL attributes <attribute> To list the specific cell attributes CellCLI> LIST CELL attributes flashCacheMode WriteThr

cell1 normal LIST CELLDISK where freespace > SIZE To list the celldisks which has more than specificed size CellCLI> LIST CELLDISK where fr

ricObjectName: uaexacell1 metricType: Instantaneous metricValue: 12.2 objectType: CELL LIST QUARANTINE To list the QUARANTINE disk

CellCLI> CREATE CELLDISK ALL FLASHDISK CellDisk FD_00_uaexacell1 successfully created CREATE FLASHCACHE

ALL HARDDISK PREFIX=<Disk_Name>, size=<size> Create Grid disks on all the harddisk with specific size. CellCLI> CREATE GRIDDISK ALL H

HDB_FD_07_uaexacell1 successfully created GridDisk UAFLSHDB_FD_08_uaexacell1 successfully created GridDisk UAFLSHDB_FD_09_uaex


successfully dropped GridDisk UAFLSHDB_FD_02_uaexacell1 successfully dropped GridDisk UAFLSHDB_FD_03_uaexacell1 successfully dr

SERVICES < RS | MS | CELLSRV > To shutdown specfic service CellCLI>ALTER CELL SHUTDOWN SERVICES RS CellCLI>ALTER CELL SHUTDOW

> DROP flashcache Flash cache UAEXACELL1_FLASHCACHE successfully dropped CellCLI> CellCLI> ALTER CELL SHUTDOWN SERVICES CELLS
tes flashCacheMode WriteThrough LIST CELLDISK List all the cell Disks CellCLI> LIST CELLDISK CD_DISK00_uaexacell1 normal CD_DISK01_u

ellCLI> LIST CELLDISK where freespace > 50M FD_00_uaexacell1 normal FD_01_uaexacell1 normal LIST FLASHCACHE To list the configured

E To list the QUARANTINE disk LIST QUARANTINE detail To list the QUARANTINE disk in detail LIST THRESHOLD To list the thersold limits LI

lCLI> CREATE GRIDDISK ALL HARDDISK PREFIX=UADBPROD, size=100M Cell disks were skipped because they had no freespace for grid disk

dDisk UAFLSHDB_FD_09_uaexacell1 successfully created GridDisk UAFLSHDB_FD_10_uaexacell1 successfully created CREATE KEY Creates
_03_uaexacell1 successfully dropped GridDisk UAFLSHDB_FD_04_uaexacell1 successfully dropped GridDisk UAFLSHDB_FD_05_uaexacell1

CellCLI>ALTER CELL SHUTDOWN SERVICES MS CellCLI>ALTER CELL SHUTDOWN SERVICES CELLSRV ALTER CELL STARTUP SERVICES ALL All(R

L SHUTDOWN SERVICES CELLSRV


exacell1 normal CD_DISK01_uaexacell1 normal LIST CELLDISK DETAIL List all the cell Disks with Detailed information CellCLI> LIST CELLDISK

HCACHE To list the configured FLASHCACHE LIST FLASHCACHE DETAIL To list the configured FLASHCACHE in detail LIST FLASHLOG To list th

LD To list the thersold limits LIST THRESHOLD DETAIL To list the thersold limits in detail LIST ACTIVEREQUEST To list the active Requests LIS

y had no freespace for grid disks: CD_DISK00_uaexacell1. GridDisk UADBPROD_CD_DISK01_uaexacell1 successfully created GridDisk UADB

y created CREATE KEY Creates and displays random key for use in assigning client keys. CellCLI> CREATE KEY 1820ef8f9c2bafcd12e15ebfe2
UAFLSHDB_FD_05_uaexacell1 successfully dropped DROP GRIDDISK <GRIDDISK> ERASE=1pass Removes the specific grid disks from the cel

LL STARTUP SERVICES ALL All(RS+CELLSRV+MS) CellCLI>ALTER CELL STARTUP SERVICES


rmation CellCLI> LIST CELLDISK detail name: FD_13_uaexacell1 comment: creationTime: 2014-11-15T01:46:57+05:30 deviceName: 0_0 dev

detail LIST FLASHLOG To list the configured FLASHLOG LIST FLASHLOG DETAIL To list the configured FLASHLOG in detail LIST FLASHCACHEC

To list the active Requests LIST ALERTHISTORY To list the alerts

ssfully created GridDisk UADBPROD_CD_DISK02_uaexacell1 successfully created GridDisk UADBPROD_CD_DISK03_uaexacell1 successfully

1820ef8f9c2bafcd12e15ebfe267abad CellCLI> CREATE QUARANTINE


specific grid disks from the cell and Performs secure data deletion on the grid disk CellCLI> DROP GRIDDISK UADBPROD_CD_DISK10_uaexa
57+05:30 deviceName: 0_0 devicePartition: 0_0 diskType: FlashDisk

OG in detail LIST FLASHCACHECONTENT To list the Flashcache content LIST GRIDDISK To list the griddisks CellCLI> LIST GRIDDISK DATA01_C

DISK03_uaexacell1 successfully created GridDisk UADBPROD_CD_DISK04_uaexacell1 successfully created GridDisk UADBPROD_CD_DISK05


UADBPROD_CD_DISK10_uaexacell1 ERASE=1pass GridDisk UADBPROD_CD_DISK10_uaexacell1 successfully dropped CellCLI> DROP GRIDD
CLI> LIST GRIDDISK DATA01_CD_DISK00_uaexacell1 active DATA01_CD_DISK01_uaexacell1 active LIST GRIDDISK DETAIL To list the griddis

dDisk UADBPROD_CD_DISK05_uaexacell1 successfully created GridDisk UADBPROD_CD_DISK06_uaexacell1 successfully created GridDisk


dropped CellCLI> DROP GRIDDISK <GRIDDISK> FORCE Drops grid disk even if it is currently active. CellCLI> DROP GRIDDISK UADBPROD_CD
DISK DETAIL To list the griddisks in detail CellCLI> LIST GRIDDISK DETAIL name: DATA01_CD_DISK00_uaexacell1 availableTo: cachingPolicy

successfully created GridDisk UADBPROD_CD_DISK07_uaexacell1 successfully created GridDisk UADBPROD_CD_DISK08_uaexacell1 succe


OP GRIDDISK UADBPROD_CD_DISK08_uaexacell1 FORCE GridDisk UADBPROD_CD_DISK08_uaexacell1 successfully dropped DROP GRIDDI
ell1 availableTo: cachingPolicy: default cellDisk: CD_DISK00_uaexacell1 LIST GRIDDISK <GRIDDISK_NAME> To list the specific Griddisk CellC

_CD_DISK08_uaexacell1 successfully created GridDisk UADBPROD_CD_DISK09_uaexacell1 successfully created GridDisk UADBPROD_CD_D


essfully dropped DROP GRIDDISK ALL HARDDISK Drops griddisks which are created on top of hardisk DROP GRIDDISK ALL HARDDISK
o list the specific Griddisk CellCLI> LIST GRIDDISK DATA01_CD_DISK00_uaexacell1 DATA01_CD_DISK00_uaexacell1 active LIST GRIDDISK <G

ted GridDisk UADBPROD_CD_DISK10_uaexacell1 successfully created


RIDDISK ALL HARDDISK
acell1 active LIST GRIDDISK <GRIDDISK_NAME> detail To list the specific Griddisk in detail CellCLI> LIST GRIDDISK DATA01_CD_DISK00_uae
DISK DATA01_CD_DISK00_uaexacell1 detail name: DATA01_CD_DISK00_uaexacell1 availableTo: cachingPolicy: default cellDisk: CD_DISK0
cy: default cellDisk: CD_DISK00_uaexacell1 LIST GRIDDISK where size > SIZE To list the griddisk which size is higher than specified value Ce
higher than specified value CellCLI> LIST GRIDDISK where size > 750M DATA01_CD_DISK00_uaexacell1 active LIST IBPORT To list the inifini
e LIST IBPORT To list the inifiniband Port LIST IORMPLAN To list the IORMPLAN CellCLI> LIST IORMPLAN uaexacell1_IORMPLAN active
acell1_IORMPLAN active

You might also like