causes the symmetrix system to refresh its WWN related memory tables with the contents of the database NOTE:If you update the VCMDB you must run this command to see your changes
# symmask -sid 1234 refresh
discover hba
discovers the HBA on the host and assigns AWWN to the login history table entries for thoses WWNs that are not set
# symmask discover hba
list logins
lists foreach fibre director which hosts and HBAs are logged into the symmetrix. (displays the login history table contents)
# symmask -sid 1234 list logins (whole array)
# symmask -sid 1234 list logins -dir 3a -p 0 (on given port)
list hba
lists WWNs of the fibre HBAs on this host.
# symmask list hba
# symmask list hba -v
SYMCONFIGURE
Table 6 — SYMCONFIGURE commands
sub-command
Comments / Example
verify
verify that we have access to the symmetrix and we can make changes
# symconfigure -sid 1234 -f <filename> verify
preview
confirm that the syntax is correct (since we use a mapping files)
# symconfigure -sid 1234 -f <filename> preview
commit
commit the changes to the database
# symconfigure -sid 1234 -f <filename> commit
Contol File & Log File locations
Table 7 — Common control file and log file locations
Location
Comments
/var/symapi/db/symapi_db.bin
default symapi database file
/var/symapi/config/netcnfg
lists the network services available from that host
/var/symapi/config/options
the options file contains behavior parameters that can be set tocritically change default behavior of SYMCLI operations, SYMAPI calls and their control actions
/var/symapi/config/symavoide
identifies devices to skip over when looking for devices
/var/symapi/config/gkavoid
identifies devices not chosen as gatekeepers
/var/symapi/config/inqfile
lists devices to be added to the symapi database
/var/symapi/log/symapi-<date>.log
logfile for symcli.symapi functions, calls, activities
Examples
VCMDB
Initialize the VCMDB
# symmaskdb -sid 1234 init -f newinit.db
Note: This command only needs to be run once otherwis SAN configuration is lost, also make sure the database is up regularly.
Backup the VCMDB
# symmaskdb -sid 1234 -file <filename> backup
Restore the VCMDB
# symmaskdb -sid 1234 -file <filename> restore
Refresh the database
# symmask -sid 1234 refresh
Note: Remember any changes to the VCMDB have to be uploaded to the symmetrix memory, otherwise you will loose your changes
List the database
# symmaskdb -sid 1234 list database
List a specific device
# symmaskdb -sid 1234 -dev abcd list assignment -v
FA Ports
List currently configured FA port settings
# symcfg -sa <##|all> [-p <#>] list -v
List currently visable devices on a FA port
# symcfg -side 1234 -FA 13D -address list
Disk Devices
List all devices within the array
# symdev list
# inq
List a specific device within the array
# symmaskdb -sid 1234 -dev 0029 list assignment -v