Google+
Home > Storage, Technology > ECC, Symcli

ECC, Symcli


ECC General Commands

Command Options Notes

symmConsole

-f Refresh database
-k Kill existing SymmConsole processes
symcfg discover (must run first time)

inq

Symm ser. # = SSVVVDDP
SS Symm ser. Num
V Symm dev. Num
DD Symm dir. num.
P Symm port

Syminq

PdevName Issue SCSI inq command on one or all devices
-bcv
-la
-nocapacity
-sym

symcli Cmd’s Common Options

-h
Online help

-offline
Offline flag (obtain info from local host database)

-sid
Unique Symm ID, last 2 digits of ser num

-v
Verbose output

symcli cmd’s Example

symdg -type RDF1 create DgName
symld -g DgName -sid ## add dev ###
symbcv list pd
symbcv -g DgName associate dev ###
symmir -g DgName -full establish LdevName bcv dev SymDevName
symrdf -g DgName refresh R# -force
symmir -g DgName -full restore –remote

-remote on target will restore the data on R2 from
bcv, then with link resumed the data will be copied
to all devices on the source side.

ECC paths & misc stuff

symlmf
Symm Lic. Mgmt. Facility

PATH
/usr/emc/ECC/bin
/usr/symcli/bin
/usr/symcli is a link to /opt/emc/SYMCLI/4.#.#/

MANPATH
/usr/emc/ECC/man
/usr/symcli/man

SYMMAPPS_DIR
/usr/emc/ECC

symmappsrc.sh or .csh add to .profile or .dtprofile
/usr/emc/ECC/Symmappsrc.sh or .csh
upate if necessaru for /usr/symcli path

passwords
vi /usr/emc/ECC/data/swdata/symmWINpasswd

symcli –env

Symmetrix Command Line Interface (SYMCLI)

SYMCLI optional environmental variables:

SYMCLI_SID
can be set as the default Symmetrix ID.

SYMCLI_DG
can be set as the default device group name.

SYMCLI_CG
can be set as the default consistency group name.

SYMCLI_VG
can be set as the default logical volume group name.

SYMCLI_NOLOGGING
can be set to 1 to disable logging.

SYMCLI_OFFLINE
can be set to 1 for offline access.

SYMCLI_NOPROMPT
can be set to 1 to disable prompting.

SYMCLI_VERBOSE
can be set to 1 to enable verbose mode for SRDF and BCV control operations.

SYMCLI_UPPERCASE
can be set to 1 to convert names that the user enters to uppercase.

SYMCLI_DB_FILE
can be set to the host’s Symmetrix database pathname.

SYMCLI_SKIP_ON_FAILURE
can be set to 1 to cause discover to skip loading devices from any Symmetrix units when errors are encountered when loading from those units.

SYMCLI_WAIT_ON_GK
can be set to 1 to cause the SYMCLI to block when getting information from the Symmetrix if all GateKeeper devices are currently busy. The process will wait until a GateKeeper becomes available.

SYMCLI_WAIT_ON_DB
can be set to 1 to cause the SYMCLI to block when it needs to exclusively lock the symapi database file. The process will wait until the lock on the database file can be obtained. The default is to NOT wait on the lock.

SYMCLI_CTL_ACCESS
can be set to either EXCLUSIVE or PARALLEL to specify how to obtain a lock on the symapi database file before starting a Symmetrix control operation. The default is to obtain an EXCLUSIVE lock.

SYMCLI_LDEV_NAMING
can be set to DEFAULT, SYMDEV or PDEV to specify the naming
preference for Logical Device Names. The default is to name devices DEV001, DEV002 for standard devices and BCV001, BCV002…. for BCV devices.

SYMCLI_CONNECT
can be set to specify the SYMAPI Server connection information.

SYMCLI_CONNECT_TYPE
can be set to specify the SYMAPI Server connection type. Valid values are: LOCAL, REMOTE, and REMOTE_CACHED. The default is LOCAL when SYMCLI_CONNECT is not set. When it is set, the default is REMOTE_CACHED When the SYMAPI full client is installed and the default is REMOTE when the SYMAPI thin client is installed.

SYMCLI_MODE
can be set to specify compatibility mode for SYMCLI utilities output. Valid modes are limited to ‘V32’ and V40.

SYMCLI_BCV_PAIR_POLICY
Specifies the BCV pair cancel policy, that SYMCLI uses when establishing A new BCV pair and the maximum number of BCV pairs has been reached. Can be set to CANCEL_OLDEST, CANCEL_NEWEST or
DON’T_CANCEL. The default is to automatically cancel the oldest BCV
Pair.

SYMCLI_MAX_BCV_PAIRS
By default, SYLCLI allows up to 8 BCV pairs to be incrementally paired
With a standard device. This variable can be used to set a new maximum (other than 8) in the range of 1 to 16.

SYMCLI_RETURN_MODE
Prints return code mnemonics and error strings concluding the execution of SYMCLI commands. Possible values are DEFAULT and FORMATTED. DEFAULT is equivalent to an unset SYMCLI_RETURN_MODE. FORMATTED enables the printing of return code mnemonics and error Strings

SYMCLI_RDB_TYPE
can be set as the default relational database type.

SYMCLI_RDB_CONNECT
can be set as the default relational database connection information. Format: user/passwd@service.

SYMCLI_RDB_NAME
can be set as the default relational database name.

SYMCLI_SCHEMA_NAME
can
be set as the default relational database schema name.

SYMCLI_TBS_NAME
can be set as the default relational database table space name.

SYMCLI_OSM_VERSION
can be set as the version reported by the SYMCLI OSM SRDF Compatibility Mode.