Monday 11 March 2013

Symdi Commands

symapierr - Used to translate SYMAPI error code numbers into SYMAPI error messages.

symaudit
– List records from a symmetrix audit log file.


symbcv
– Perform BCV support operations on Symmetrix BCV devices.


symcfg
– Discover or display Symmetrix configuration information. Refresh the host’s Symmetrix database file or remove Symmetrix info from the file. Can also
be used to view or release a ‘hanging’ Symmetrix exclusive lock.

symchg
– Monitor changes to Symmetrix devices or to logical objects stored on Symmetrix devices.


symcli
- Provides the version number and a brief description of the commands included in the Symmetrix Command Line


symdev
– Perform operations on a device given the device’s Symmetrix name. Can also be used to view Symmetrix device locks.


symdg – Perform operations on a device group (dg).


symdisk - Display information about the disks within a Symmetrix.


symdrv – List DRV devices on a Symmetrix.


symevent - Monitor or inspect the history of events within a Symmetri


symgate - Perform operations on a gatekeeper device.


symhost – Display host configuration information and performance statistics.


syminq – Issues a SCSI Inquiry command on one or all devices. Interface.


symlabel - Perform label support operations on a Symmetrix device.


symld – Perform operations on a device in a device group (dg).


symlmf – Registers SYMAPI license keys.


sympd – Perform operations on a device given the device’s physical name.


symstat – Display statistics information about a Symmetrix, a Director, a device group, or a device.


symreturn – Used for supplying return codes in pre-action and post-action script files.


SYMCLI CONTROL Commands

symacl - Administer symmetrix access control information.

symauth – Administer symmetrix user authorization information.


symcg – Perform operations on an composite group (cg).


symchksum – Administer checksum checks when an Oracle database writes data files on Symmetrix devices.


symclone – Perform Clone control operations on a device group or on a device within the device group.

symconfigure – Perform modifications on the Symmetrix configuration.


symconnect – Setup or Modify Symmetrix Connection Security functionalit


symmask - Setup or Modify Symmetrix Device Masking functionality.


symmaskdb – Backup, Restore, Initialize or Show the contents of the device masking database.


symmir – Perform BCV control operations on a device group or on a device within the device group.


symoptmz – Perform Symmetrix Optimizer control operations.


symqos – Perform Quality of Service operations on Symmetrix Devices


symrdf – Perform RDF control operations on a device group or on a device within the device group.


symreplicate – Perform automated, consistent replication of data given a pre-configured SRDF/Timefinder setup.


symsnap – Perform Symmetrix Snap control operations on a device group or on devices in a device file.


symstar – Perform SRDF STAR management operations.


symrcopy – Perform Symmetrix Rcopy control operations on devices in a device file.

pan>

SYMCLI SRM(Mapping) Commands

symhostfs – Display information about a host File, Directory, or host File System.

symioctl – Send IO control commands to a specified application.

symlv – Display information about a volume in Logical Volume Group (vg).
sympart - Display partition information about a host device.

symrdb – Display information about a third-party Relational Database.


symrslv – Display detailed Logical to Physical mapping information about a logical object stored on Symmetrix devices.


symvg – Display information about a Logical Volume Group (vg).

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

2 comments:

  1. Hi There,
    Thank you for sharing a knowledgeable blog with us I hope that you will post many more blog with us :)
    We are providing the best IT consulting services with shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands in whole USA as shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx, san zoning, unix flavors, timefinder snapvx, san storage explained, storage provisioning steps, emc snapvx, san zoning, symsg commands, how to backup brocade switch config, snapvx step by step, vmax snapvx, san zoning steps, gatekeeper device, zoning explained, emc vmax3, vsan vs zoning, dell emc vmax3, difference between vmax and vmax3, thin provisioning explained, data sovereignty requirements.
    Click here for more information:- gatekeeper device

    ReplyDelete
  2. Hi There,
    Thank you so much for the post you do and also I like your post,we have a well-detailed comparison guide on all major blogging sites and the most comprehensive guide on choosing the best blogging platform, here you can see VMware vSAN 6.6 Technical Overview.
    Click here for Read more

    ReplyDelete