Symcfg Commands
symcfg List -v ~ Lists whether the Symmetrix director has device masking turned on
symcfg List -FA all List ~ Lists all fibre directors in a Symmetrix system
symcfg List -dir all -address -sid 1924 ~ identify the address information for devices
symcfg List -dir all -address -available ~ sid 1924 ~ returns the next available LUN
address
Symconfigure Commands
symconfigure -sid -f prepare
Symmaskdb Commands
Symmask Commands
symmask add devs ~ adds a device to the List of devices that a WWN can access in
the database
symmask remove devs ~ removes a device from the List of devices that a WWN can
access in the database
symmask delete ~ deletes all access rights for a WWN in the database
symmask login ~ Lists for each Fibre director which hosts and HBA’s are logged in to
a Symmetrix system
symmask List HBA’s ~ Lists the WWN of the Fibre HBAs on this host
symmask -sid SymmID set lunoffset on offset base \ -awwn awwn -dir # -p # ~
offset high lun numbers
symsan ~List ports and LUN WWNs seen from a specific Symmetrix director and port
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.
NAVICLI COMMANDS
navicli -h register ~registers host with Clariion and tests agent install
navicli -h getrg -lunList ~ List all existing raid groups and LUNS
POWERPATH COMMANDS
INQ
INQ
switchDisable ~ offline
cfgEnable “Test_cfg”
cfgClear ~ clears all zoning information/ must disable the effective configuration
Show> switch
Show> switch
Show> nameserver
Show> loginServer
Show> nameServer
Show.Fabric> nodes
Config.Zoning> addWwnMem:
Config.Zoning> renameZone:
Config.Zoning> deleteWwnMem ~
Config.Zoning> renameZoneSet ~
vxdisk List ~ List all disks under volume manager control and give there status.
esxcfg-vswitch ~
vmkfstools ~
Windows HOST COMMANDS
Netstat ~ Displays active TCP connections, ports on which the computer is Listening
fcinfo /details ~ if fcinfo is installed ,this will List the HBA’s wwns
Diskpart rescan ~ Locates new disks that may have been added to the computer
Diskpart List disk ~ Displays a List of disks and information about them,
Diskpart select disk ~ Selects the specified disk and shifts the focus to it.
Diskpart detail disk ~ Displays the properties of the selected disk and the volumes
on that disk.
Diskpart assign ~ Assigns a drive letter or mount point to the volume with focus.
Diskpart extend ~ Extends the volume with focus into next contiguous unallocated
space
Diskpart import ~ Imports a foreign disk group into the local computer's disk group
Format /FS:filesystem ~ Specifies the type of the file system (FAT, FAT32, or NTFS).
Cursor movements
k ~ up one line
d ~ delete
ZZ ~ save and exit (hold down shift and press "z" twice)
FTP COMMANDS
close ~ save and exit (hold down shift and press "z" twice)
(1) chdev -l fcsX -a init_link=pt2pt -P ~ “To change INIT Link flags parameter”
smit iscsi
mkvg -y myvg -s 16 hdisk2 ~ groups one or more physical devices into a volume
group
navicli -h register ~registers host with Clariion and tests agent install
HP SAN Commands
/etc/exports ~file controls which file systems are exported to remote hosts and
specify options
pvdisplay ~ display info about physical volumes within an LVM volume group
ls -l /dev/*/group ~List the minor number of each vg in 6th field (all not Listed are
available)
PROCEDURES
symmask List hba -v ~to List your servers paths to the symm
symmask -wwn -dir -p add dev ~(use wwn, dir, p values from above command) run
command for each hba to FA zone
symmask -wwn -dir -p set heterogeneous on HP_UX ~use wwn from the (symmask
List hba -v )
symmask refresh
insf -e
symcfg dis
sympd List
Install NaviAgent
insf -e
/sbin/init.d/agent stop
rm /etc/log/HostIdFile.txt
/sbin/init.d/agent start
navicli -h register ~registers host with Clariion and tests agent install
# insf -e
# symcfg discover
# powermt config
# powermt save
rpm -hiv
/etc/exports ~file controls which file systems are exported to remote hosts and
specify options
df -a ~display filesystems
pvdisplay ~ allows you to see the attributes of one or more physical volumes
pvscan ~ scans all supported LVM block devices in the system for physical volumes
shareall -F nfs ~ command to excute that will read /etc/dfs/dfstab and share to the
network
*** Format and lable all devices before using zpool ***
zpool create spoon c3t6d9 ~create & mounts storage pool named spoon and mounts
it at /spoon (no slice #)
zpool create spoon mirror emcpower3c emcpower4c ~create a RAID1 storage pool
mounted at /spoon
zfs create spoon/fs ~creates ZFS file system spoon/fs, automatically mounted at
/spoon/fs.
sympd List ~ Lists the Symmetrix devices that the host OS can see
sympd List -vcm ~ Lists all the physical device name in the device masking database
symdev List pd ~ Lists the Symmetrix devices that the host OS can see