About CellCLI Object Commands

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

目的: The  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.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.

示例:
Example shows the 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

       修改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]...
  }

1.3 ALTER CELLDISK

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']...














评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值