About CellCLI Object Commands
This section describes the CellCLI object commands, object types, and object attributes. The following CellCLI commands operate on Oracle Exadata Storage Server Software objects:
1.ALTER
ALTER
command performs an action on or changes attributes of a single cell object or multiple Oracle Exadata Storage Server Software objects. The
ALTER
command can be used to change an attribute or to take an action upon the object.
ALTER { object_type object_name [, object_name]... operation | attribute_name = attribute_value [, attribute_name = attribute_value]... }
用法说明:
相关命令参数如下
-
object_type 范围如下:
-
ALERTHISTORY
-
CELL
-
CELLDISK
-
FLASHCACHE
-
GRIDDISK
-
IBPORT
-
IORMPLAN
-
LUN
-
PHYSICALDISK
-
QUARANTINE
-
THRESHOLD
-
USER
-
-
object_name 包括 an alert history, cell, cell disk, grid disk, interdatabase plan, LUN, or threshold.
-
operation 是对于指定object_type的有效操作.
当一条alter命令操作多个对象时, 也许只有部分成功. 如果报错,则命令终止, 余下的对象不会改变.
See Also:
-
1.2 "ALTER CELL"
-
1.3 "ALTER CELLDISK"
-
1.5 "ALTER GRIDDISK"
-
1.6 "ALTER IBPORT"
-
1.7 "ALTER IORMPLAN"
-
1.8 "ALTER LUN"
-
1.10 "ALTER QUARANTINE"
-
1.11 "ALTER THRESHOLD"
-
1.12 "ALTER USER"
-
1.13 "About CellCLI Object Types" for a description of the object types
1.1 ALTER ALERTHISTORY
修改所有或部分警告日志的属性语法:
ALTER ALERTHISTORY { ALL | alertid1 [,alertid2 ...]} examinedBy=user_name用法说明:
-
alertidn
: The identifier of the alerts to be changed. -
user_name
: The name of the user who acknowledged the alert.
ALTER
command used with the ALERTHISTORY
object to update the examinedBy
attribute. The examinedBy
attribute is the onlyALERTHISTORY
attribute that can be modified.CellCLI> ALTER ALERTHISTORY 1671443714 - examinedBy="jdoe" CellCLI> ALTER ALERTHISTORY ALL examinedBy="jdoe"
1.2 ALTER CELL
ALTER CELL { | SHUTDOWN SERVICES { RS | MS | CELLSRV | ALL } [IGNORE REDUNDANCY] | RESTART SERVICES { RS | MS | CELLSRV | ALL } [IGNORE REDUNDANCY] | RESTART BMC | STARTUP SERVICES { RS | MS | CELLSRV | ALL } | LED {ON | OFF} | VALIDATE { ASR | MAIL | SNMP | CONFIGURATION } | VALIDATE SYSLOGCONF selector.node | CONFIGUREBMC | BBU { DROP FOR REPLACEMENT | REENABLE } | attribute_name = attribute_value [, attribute_name = attribute_value]... }
ALTER CELLDISK { ALL [FLASHDISK | HARDDISK] | cdisk_name [, cdisk_name]... } {{FLUSH | CANCEL FLUSH} [NOWAIT]} | { attribute_name = attribute_value [, attribute_name = attribute_value]... }
1.4 ALTER FLASHCACHE
ALTER FLASHCACHE { ALL | CELLDISK="cdisk1 [,cdisk2] ..."} {SIZE} {FLUSH | CANCEL FLUSH} [NOWAIT] }
1.5 ALTER GRIDDISK
ALTER GRIDDISK { ALL [FLASHDISK | HARDDISK] |gdisk_name1 [, gdisk_name2]... } { ACTIVE |INACTIVE | {FLUSH [NOWAIT] | CANCEL FLUSH} | attribute_name = attribute_value [, attribute_name = attribute_value]... [NOWAIT]
1.6 ALTER IBPORT
ALTER IBPORT {ALL | ibport_name [, ibport_name] ...} RESET COUNTERS
1.7 ALTER IORMPLAN
ALTER IORMPLAN [dbPlan=(directive1[, directive2]...),] [catPlan=( directive1[, directive2]...)]} [objective='iorm_objective']1.8 ALTER LUN
ALTER LUN { ALL | lun1 [ , lun2] ... }
REENABLE FORCE
1.9 ALTER QUARANTINE
ALTER QUARANTINE { ALL | quarantine1 [,quarantine2] ... } attribute_name = attribute_value [, attribute_name = attribute_value]...
1.10 ALTER THRESHOLD
ALTER THRESHOLD { ALL |threshold_name [, threshold_name ...] } attribute_name = attribute_value [, attribute_name = attribute_value]..
1.11 ALTER USER
ALTER USER user1 attribute_name1 = attribute_value1 \ [, attribute_name2 = attribute_value2, ...]
ASSIGN KEY
ASSIGN KEY FOR 'client1' = 'key-value1' [, 'client2' = 'key-value2']...