exadata cellcli

cellcli [port_number] [-n] [-m] [-xml] [-v | -vv | -vvv] [-x] [-e command]

The following table lists the options that can be used with the CellCLI command:

Option Description

-n

Runs the CellCLI utility in noninteractive mode. This option suppresses the command prompt and disables the command-line editing features.

-m

Runs CellCLI monitor (read-only) mode.

-xml

Causes output to be displayed in XML format for the Oracle Enterprise Manager.

-v-vv, and -vvv

Sets the log level. The -v option is for fine, -vv is for finer, and -vvv is for the finest level.

-x

Suppresses the banner.

-e command

Runs the specified CellCLI command. CellCLI exits after running the command. For example:

$ cellcli -e list cell detail
$ cellcli -e "list celldisk attributes name where name   -
  like '.*cell01'"

CellCLI does not have a login parameter or a connect command. CellCLI uses the cell operating system authentication. The directory from which CellCLI is invoked is the default directory for unqualified file access in CellCLI SPOOL and START commands.

When starting CellCLI, a banner is displayed showing the cell efficiency ratio. Cell efficiency ratio is the ratio between data accessed by the storage cell and data processed by the database for the cell. Larger values mean more offloading to the cell. The cell efficiency ratio is the same as the value displayed for the offloadEfficiency attribute in the CellCLI LIST CELL command.

使用:

检查当前cell节点是否可以关闭:

CellCLI> list griddisk attributes name where asmdeactivationoutcome != 'Yes'

DATA_CD_00_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_01_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_02_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_03_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_04_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_05_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_06_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_07_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_08_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_09_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_10_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"
DATA_CD_11_dm01cel02 "Cannot de-activate due to other offline disks in the diskgroup"

猜你喜欢

转载自www.cnblogs.com/windtalker/p/9013216.html