6.2.3.1 cellcli
Execute a CellCLI command on a cell.
Purpose
The cellcli
command enables you to run a CellCLI command on a specified Exadata storage server.
Syntax
cellcli --cell cell-name [ --xml ] [ -e ] CellCLI-command
Command Options
The options for the cellcli
command are:
-
cell-name: Specifies the name of cell that is the subject of the operation.
The cell must be identified by its name. Use the
lscell
command to find all cell names. -
--xml
: Generates XML-formatted command output. -
-e CellCLI-command
: Specifies the CellCLI command. The-e
argument is optional.
Usage Notes
To run the cellcli
command in ESCLI, the Exascale user must have the
cl_admin
privilege. On the Exadata storage server, the command
runs with the privilege of the celladmin
user.
Examples
Example 6-2 Run a CellCLI command
In the following examples, the list cell
command is run
on CELL1
. Both commands perform the same function. However, the
second command specifies the optional -e
argument.
@> cellcli --cell CELL1 list cell
@> cellcli --cell CELL1 -e list cell
Example 6-3 Run a CellCLI command and generate XML-formatted output
In this example, the list cell
command is run on
CELL1
and the command output is rendered using XML.
@> cellcli --cell CELL1 --xml list cell
Parent topic: Service and Cluster Management