7.1.1 Starting CellCLI

You can start CellCLI from the operating system command line on the cell that you want to manage or remotely from a network-attached client using Secure Shell (SSH).

Syntax

The command-line syntax is as follows:

cellcli [-n] [-m] [-x] [ --xml | --json ] [ -e command ]

Options

The following options can be used with the CellCLI command:

  • -n — Runs the CellCLI utility in non-interactive mode. This option suppresses the command prompt and disables the command-line editing features.

  • -m — Runs CellCLI in monitor (read-only) mode.

  • -x — Suppresses the banner.

  • --xml — Causes command output to be displayed in XML format.

  • --json — Causes command output to be displayed in JSON format.

  • -e command — Runs the specified CellCLI command. For example:

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

    CellCLI exits after running the command.

Authentication

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.