25
:: MDS-SERIES (CISCO) COMMANDS :: MDS-SERIES Switch Commands ip address 191.168.123.234 255.255.255.0 View = show running-conf show environment shows status of show flogi database shows database l show fcns database shows database l show vsan membership shows list of VS show interface brief lists the interf MDS-SERIES Zoning Commands config terminal Enters configurati zone name TestZone1 vsan 4 creates a zone member pwwn 10:01:10:01:10:ab:cd:ef adds node to the no member pwwn <colon separated wwn> deletes member fro zoneset name Zoneset1 vsan 4 creates a zonese member <zone name> adds zone to the Z no zone name <zone name> vsan <vsan Id> Deletes a zone zoneset activate name Zoneset1 vsan 4 zone copy active-zoneset full-Zoneset1 vsan 4 copy running-config start-up config copy from source vsan database go into vsan conf vsan 4 interface fc3/21 move port 21 on mo show zoneset shows all zoneset show zone vsan <#> shows all zones show zoneset active displays the act show vsan shows the vsans show zoneset active vsan <vsan Id> Shows active zone :: B-SERIES (BROCADE) COMMANDS :: B-SERIES Switch Commands switchDisable offline ipAddrSet set the IP address switchShow display switch i supportShow full detailed sw portShow # display port inf nsShow Name server cont nsAllShow NS for full fabr fabricShow fabric informati ad --create create a new Admin ad -apply enforce the new Ad B-SERIES Zoning Commands aliCreate "Alias", "20:00:00:e0:69:40:07:08" zoneCreate "Zone1", "20:00:00:e0:69:40:07:08; 50:06:04:82:b8:90:c1:8d" cfgCreate "Test_cfg", "Zone1; Zone2" cfgSave saves zoning inf cfgEnable "Test_cfg" zoneShow or cfgShow shows defined an

Commands v1.6.5

Embed Size (px)

Citation preview

Page 1: Commands v1.6.5

:: MDS-SERIES (CISCO) COMMANDS ::

MDS-SERIES Switch Commandsip address 191.168.123.234 255.255.255.0View = show running-config show environment shows status of all installed hardware componentsshow flogi database shows database list of all FLOGI eventsshow fcns database shows database list of all N-ports logged inshow vsan membership shows list of VSAN membersshow interface brief lists the interfaces and status

MDS-SERIES Zoning Commandsconfig terminal Enters configuration terminalzone name TestZone1 vsan 4 creates a zonemember pwwn 10:01:10:01:10:ab:cd:ef adds node to the zone aboveno member pwwn <colon separated wwn> deletes member from zonezoneset name Zoneset1 vsan 4 creates a zonesetmember <zone name> adds zone to the ZoneSet aboveno zone name <zone name> vsan <vsan Id> Deletes a zonezoneset activate name Zoneset1 vsan 4zone copy active-zoneset full-Zoneset1 vsan 4copy running-config start-up config copy from source to startup configurationvsan database go into vsan configuration modevsan 4 interface fc3/21 move port 21 on module 3 to vsan 4show zoneset shows all zonesets that are activeshow zone vsan <#> shows all zones active in vsanshow zoneset active displays the active zoneset show vsan shows the vsans on the switchshow zoneset active vsan <vsan Id> Shows active zoneset

:: B-SERIES (BROCADE) COMMANDS ::

B-SERIES Switch CommandsswitchDisable offlineipAddrSet set the IP address of a Brocade switchswitchShow display switch infosupportShow full detailed switch infoportShow # display port infonsShow Name server contentsnsAllShow NS for full fabricfabricShow fabric informationad --create create a new Admin Domain.ad -apply enforce the new Admin Domain configuration.

B-SERIES Zoning CommandsaliCreate "Alias", "20:00:00:e0:69:40:07:08"zoneCreate "Zone1", "20:00:00:e0:69:40:07:08; 50:06:04:82:b8:90:c1:8d"cfgCreate "Test_cfg", "Zone1; Zone2"cfgSave saves zoning information across rebootscfgEnable "Test_cfg"zoneShow or cfgShow shows defined and effective zones and configurationszoneAdd adds a member to a zonezoneRemove removes a member from a zonezoneDelete deletes a zone

Page 2: Commands v1.6.5

cfgAdd adds a zone to a zone configurationcfgRemove removes a zone from a zone configurationcfgDelete deletes a zone from a zone configurationcfgClear clears all zoning information/ must disable the effective configuration

:: M-SERIES (McDATA) COMMANDS ::

M-SERIES Switch CommandsView= config ip showConfig> ip (new IP and Subnet mask)Show> switchShow> switchShow > systemShow> nameserverShow> loginServerShow> nameServerShow.Fabric> nodesMaint > system > setOnlineState

M-SERIES Zoning CommandsConfig.Zoning> addWwnMem: <zoneName> <wwn>Config.Zoning> addZone add a new zone to the working area Config.Zoning> activateZoneset activation of changesConfig.Zoning> showactive shows actively connected running zonesetConfig.Zoning> clearZone clear WWNs in a zoneConfig.Zoning> deletezone remove zone from the running configConfig.Zoning> showPending show pending zonesConfig.Zoning> renameZone:<oldzonename><newzonename>Config.Zoning> deleteWwnMem <zonename><wwn>Config.Zoning> renameZoneSet <zoneSetName>

::Veritas VM HOST COMMANDS ::http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273Veritas VM Device Commandsvxdisk list List all disks under volume manager control and give there status.vxdiskadd c1t2d3 add or bring a disk under volume manager controlvxdiskadmin Interactive front end to the vxdisk program

Veritas VM Filesystem commandsvxdisk init Initialize Physical Volumevxdg init mydg mydg-01=c1t11d0 Create Disk Groupvxassist -g mydg make myvol <size> Create Logical Volumemkfs -F vxfs /dev/vx/rdsk/mydg/myvol create file systemvxvol -g mydg stopall stop a volumevxdg deport mydg deport disk groupvxdg import mydg import disk groupvxvol -g mydg startall starting a imported volume

::VMware ESX HOST COMMANDS ::http://www.b2v.co.uk/b2vguide2vmware.htmhttp://b2v.co.uk/b2vguide2vmware3.htm

VMware ESX Device Commandsesxcfg-rescan <vmkernel adpter> scan for new disks

Page 3: Commands v1.6.5

esxcfg-swiscsi -e enable iSCSI initiatormore /proc/scsi/lpfc/X wwn of HBAesxcfg-vswitch

VMware ESX Filesystem Commandsvmkfstools

:: Windows HOST COMMANDS ::http://support.microsoft.com/default.aspx/ph/3198?sid=26

Windows 2003 server SP1 Device CommandsSystemInfo Displays detailed configuration information about a computer and its operating systemShutdown /r /f forced rebootNetstat Displays active TCP connections, ports on which the computer is listeningmstsc /v: 255.255.255.255 /console launches a Remote desktop Connectionnet use \\ComputerName\ShareName\volume Connects a computer to a computer shared resourceFC compares two files and displays the differencesChkDsk check and repair disk problemsRecover Recover a damaged file from a defective disk.fcinfo /details if fcinfo is installed ,this will list the HBA's wwns

Windows 2003 server SP1 LVM Commands Diskpart rescan Locates new disks that may have been added to the computerDiskpart 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 create partition primary align=64 create a properly offset partitionMountVol Creates, deletes, or lists a volume mount point.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 spaceDiskpart import Imports a foreign disk group into the local computer's disk groupFormat /FS:filesystem Specifies the type of the file system (FAT, FAT32, or NTFS).FSutil volume dismount:: VI COMMANDS ::Cursor movements h left one character l right one character j down one line k up one line w right one word b back one word

Deleting, Yanking, and Pastingd deletex delete character cursor is onr replace one character y yank (copy into temporary buffer) Y yank line cursor is on p paste below cursor line (deleted or copied text)

Page 4: Commands v1.6.5

Saving and Exiting u undo last editing commandZZ save and exit (hold down shift and press "z" twice) :wq! write and quit even if it is read-only

:: FTP COMMANDS ::open <IP address> undo last editing commandclose <IP address> save and exit (hold down shift and press "z" twice) bin set to transfer for binary and text fileshash display progress during get mget mutiple get - download files in to current directorymput multiple pu - upload files from current directory

:: AIX/IBM HOST COMMANDS ::http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic

AIX Software Installation/usr/lpp Software Directorylslpp -L all List installed softwarelslpp -f fileset List all filesinstfix -i List installed patchescp *.lpp /usr/sys/inst.images copy lpp software to the install directorysmit installp Install a software packagermdev Remove a device

AIX Device Commandslscfg lists all comfigured componentssmit or smitty system management utilitylscfg -v l <interface> lists all attributes (WWN's) for a deviceemc_cfgmgr configures symmetrix devicesmkbcv makes BCV visable to AIX to avoid locking during boot(1) chdev -l fcsX -a init_link=pt2pt -P "To change INIT Link flags parameter"(2) chdev -l fscsiX -a fc_err_recov=fast_fail -P "Fabric Event Error RECOVERY Policy"(3) cfgmgr -v cofigures devices and optionally installs device software

AIX NFS Commandsexportfs Lists all exported filesystems exportfs -a Exports all fs's in /etc/exports file exportfs -u (filesystem) Un-exports a filesystem mknfs Configures and starts NFS services rmnfs Stops and un-configures NFS services mknfsexp -d /directory Creates an NFS export directory mknfsmnt Creates an NFS mount directory mount hostname:/filesystem /mount-point Mount an NFS filesystem nfso -a Display NFS Options

AIX iSCSI Commandssmit iscsi

AIX Filesystem Commands http://the-welters.com/professional/aix/jfs-lvm.htmllsdev -Cc disk Device Listing and statusmkdev configures a disk device masking sue it is available as a physical volumechdev -l hdisk# -a pv=yes Initialize Physical Volumelspv -l hdisk# Disk Label

Page 5: Commands v1.6.5

mkvg -y myvg -s 16 hdisk2 groups one or more physical devices into a volume groupmirrorvg Creates mirror volumes for all volumes in a volume group.extendvg myvg hdisk3 hdisk4 Extend Volume Gouplsvg -l vgname displays volumes, with a specified volume groupmklv -y mylv myvg 16 Make logical volumemklvcopy hd1 2 hdisk1 (2) makes a copy of lv should be followed up by syncvg command lslv List Logical Volumechfs -a freeze writes all dirty file system metadata and user data to the disk (use before BC & DR)crfs -v jfs -d mylv -m /myfsmount mounts a filesystemvaryoffvg myvg Deactivate Volume Groupexportvg myvg Export Volume Groupimportvg -y myvg -f /dev/hdisk9 Import Volume Groupvaryonvg myvg Activate Volume Group

:: HP/UX HOST COMMANDS ::http://www.docs.hp.com/en/B2355-90681/index.html

HP/UX Software Installationsysdef analyzes current running systemswlist -l bundle displays version and type of HP-UXswlist -l patch List installed patchesswreg -l depot /full/path/to/your/depot_file Register a depot package for installswinstall Install the Software depot

HP/UX Device Commandsinsf -e install special device filesioscan -fnC disk scans system hardwaresam System administration tooldd if=/dev/rdsk/c34t15d0 of=/dev/zero count=1 makes HP register with a Clariion thru LUNZ devicenavicli -h <SP IP> register registers host with Clariion and tests agent installlsdev -C disk list device drivers in the systemmknod makes a directory, special, or ordinary file/stand/system system configuration file

HP SAN Commandsfcmsutil /dev/fcd0 List HBA wwntdutil /dev/td0 List HBA wwn

HP iSCSI Commandshttp://docs.hp.com/en/T1452-90011/T1452-90011.pdf

HP NFS Commands/etc/exports file controls which file systems are exported to remote hosts and specify options/exported/directory example.emc.com Exports directory to host example.emc.com (found in /etc/exports)exportfs -a command to read /etc/export and export filesystemmount shadowman.emc.com:/misc/export /misc/local mount an NFS export from shadowman.emc.com to the dir /misc/local

HP/UX Filesystem commandspvcreate /dev/rdsk/c1t0d2 creates a physical volume within a LVM volume grouppvdisplay display info about physical volumes within an LVM volume groupls -l /dev/*/group list the minor number of each vg in 6th field (all not listed are available)mkdir /dev/myvg Create directory entry in /dev for Volume Group

Page 6: Commands v1.6.5

mknod /dev/myvg/group c 64 0x010000 Create a file for Volume Groupvgcreate -s 16 /dev/myvg /dev/dsk/c1t0d0 creates a LVM volume groupvgextend /dev/myvg /dev/dsk/c1t0d1 add disk to VGvgchange -a y myvg Avtivate VGvgscan scan physical volumes for LVM volume groupsvgdisplay displays info about LVM volume groupslvcreate -l 16 -n mylv /dev/myvg creates LVM logical volumeslvcreate -m mylv /dev/myvg creates mirrored logical volumeslvdisplay displays LVM logical volumesnewfs /dev/myvg/rmylv Create file systemmount /dev/myvg/mylv /myfs Mount file system

vgchange -a n myvg Deactivate Volume Groupvgexport myvg Export Volume Groupvgimport /dev/myvg /dev/dsk/c1t0d0 Import Volume Group

:: PROCEDURES ::zone hp server to symmsymmask list hba -v to list your servers paths to the symmsymmask -wwn -dir -p add dev (use wwn, dir, p values from above command) run command for each hba to FA zonesymmask -wwn -dir -p set heterogeneous on HP_UX use wwn from the (symmask list hba -v )symmask refreshioscan -fnC diskinsf -esymcfg dissympd list

To get HPUX to register with Clariion if using NaviAgentInstall NaviAgentEdit agent.config file

ioscan -fnC diskinsf -e

/sbin/init.d/agent stop rm /etc/log/HostIdFile.txt /sbin/init.d/agent start

dd if=/dev/rdsk/c34t15d0 of=/dev/zero count=1 makes HP register with a Clariion thru LUNZ devicenavicli -h <SP IP> register registers host with Clariion and tests agent install

Page 7: Commands v1.6.5

# rmsf path ( The paths are showing NO_HW or not sensing).# ioscan -fnc disk (check)# insf -e# symcfg discover# powermt display ( check for any dead path)# powermt check (checks and corrects dead path).# powermt config# powermt save

:: Linux HOST COMMANDS ::http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/

Linux Software Installation rpm -hiv

Linux Device Commandsmodeinfo lpfc | grep parm Emulex hba parameterslsmod | grep lpfc look for Emulex HBAsmodprobe -r lpfcdfc unload Emulex driver follow by "modprobe -r lpfc"modprobe -r lpfc discover new disk dmsetp ls list devices managed my MPIO/sys/class/scsi_host/host1/issue_lip discover new diskdmesg |grep scsi list scsi devices/sys/class/scsi_host/host1/scan discover new disk/usr/sbin/lpfc lun_scan all

Linux FC SAN Commandshbacmd list list Emulex hbahbacmd allnodeinfo xx:xx:xx:xx:xx:xx:xx:xx detail hba wwn info & device listmore /sys/class/scsi_host/hostX/port_name wwn on RHEL4more /sys/class/fc_host/hostX/port_name wwn on RHEL5 Linux iSCSI Commandsyum install iscsi-initiator-utils install iSCSI soft initiatorrpm -q srvadmin-deng iscsi-initiator-utils install iSCSI soft initiatorrpm -ql iscsi-initiator-utils confiure iSCSI soft initiatoriscsi-iname discover iqniscsi-ls list adaptersiscsiadm -m discovery -t -p 192.168.1.100 discover iSCSI targetiscsiadm --mode node --targetname iqn

Linux NFS Commands/etc/exports file controls which file systems are exported to remote hosts and specify options/exported/directory example.emc.com Exports directory to host example.emc.com (found in /etc/exports)exportfs -a command to read /etc/export and export filesystemmount shadowman.example.com:/misc/export /misc/local mount an NFS exportredhat-config-nfs RedHat NFS tool

Linux Filesystem commands http://linux.about.com/od/commands/l/blcmdl_8m.htmpvcreate /dev/emcpowerX initializes PhysicalVolume for later use by the Logical Volume Managervgcreate VG_Name /dev/emcpowerX creates a new volume group

Page 8: Commands v1.6.5

lvcreate --size 2000m --name LV_Name /dev/VG_Name creates 2000MB logical volume mkfs -t ext2 /dev/VG_Name/LV_Name Make a file system on a logical volumemount -t ext2 /dev/VG_Name/LV_Name /mnt/FS_MountPoint mount File systemdf -a display filesystemsFdisk /dev/sda partition table manipulationpvdisplay 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 vgdisplay display attributes of volume groupsvgextend allows you to add one or more initialized physical volumesvgscan scan physical volumes for LVM volume groupsvgexport make volume groups unknown to the system vgimport make volume groups known to the system lvdisplay display attributes of a logical volume lvextend Extend logigal volumefsck Command used to check and repair a Linux filesystem

:: SUN/SOLARIS HOST COMMANDS ::http://developers.sun.com/openstorage/articles/opensolaris_storage_server.htmlSOLARIS Software Installation ptree -a Shows all running processes in a tree format showrev -p Displays currently installed Solaris patchesprtconf prints system configurationspkginfo lists installed software packagespkgadd install software packagespkgrm removes installed software packages

Solaris Device Commandscfgadm -a list all cfgadm -c configure c4 configure StorEdge Leadville driver.(Search for new devices)devfsadm -vC searches for devices and also cleans up oldupdate_drv -f sd -d -I searches for devicesdrvconfig generates special device filesreboot -- -r reboots system to discover configuration changes, and rebuild special files/etc/system system files/kernel/drv/sd.conf lists of available target ids and luns/kernel/drc/lpfc.conf used for persistent binding on Emulex (qla22xx.conf for Qlogic)/var/adm/messages system messages

Solaris iSCSI Commandsiscsiadm add static-config iqn.1999-08.com.array:sn.01234567,192.168.1.3:3260map targetiscsiadm add discovery-address 192.168.1.13:3260iscsiadm modify discovery --isns enableiscsiadm list target -vS Target: iqn.1986-03.comdevfsadm -Cv -i iscsi

Solaris FC SAN Commandsfcinfo hba-port Lists information and WWNsfcinfo remote-port -p 10000000c937694f -ls Lists the remote-port informationfcadm create-fcoe-port -t nxge0 Creates a FCoE target port

Solaris NFS Commandsshare -F nfs -d "Cartman dir" / share2

Page 9: Commands v1.6.5

mount -F nfs cartman:/share2 /cartmanshare -F nfs -o ro=sun.ucs.indiana.edu,rw=teak.uwsg.indiana.edu /reports export (share) /reports /etc/dfs/dfstab file to edit to make a share permanent shareall -F nfs command to excute that will read /etc/dfs/dfstab and share to the network

SOLARIS Filesystem Commands*** 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 /spoonzpool destroy -f spoon destroy a zpoolzfs create spoon/fs creates ZFS file system spoon/fs, automatically mounted at /spoon/fs.zpool list list poolsformat Disk partitioning and maintenance programsysdef Device Listingprtvtoc Disk Labelmetadevadm Checks device ID configuration.metainit Configures volumes. metastat Displays the status of volumes or hot spare pools. metaset Administers disk sets.newfs -v makes a UFS filesystem on disk drive or partition within a diskdrive

:: SOLUTIONS ENABLER COMMANDS ::Commands to see devicessyminq list all devides seen by host OSsyminq -cids list Clariion devicessyminq hba -fibre list HBAsyminq -pdevfile List the location of devicessympd list lists the Symmetrix devices that the host OS can seesympd list -vcm lists all the physical device name in the device masking databasesymdev list pd lists the Symmetrix devices that the host OS can seesymdisk

Symdev Commandssymdev list list all devices on symmsymdev -sa -p list list devices maped to that one FAsymdev list -noport list devices not mapped to any FE portssymdev list -clariion symdev show 0123 -v vebose listing of one devicesymdev list -RANGE 0001:0123 -v vebose listing of a rage of devices

Symcfg Commandssymcfg discover discover the storage environmentsymcfg list list local and remote symmetrixessymcfg list -clariion list clariionssymcfg list -v lists whether the Symmetrix director has device masking turned onsymcfg list -FA all list lists all fibre directors in a Symmetrix systemsymcfg list -dir all -address -sid 6196 identify the address information for devicessymcfg list -dir all -address -available sid 6196 returns the next available LUN addresssymcfg list -lockn all list of visible Symm exclusive lockssymcfg -sid 098712341357 -lockn 15 release release a lock on a Symmetrix array.

Symconfigure Commands

Page 10: Commands v1.6.5

symconfigure -sid <sid> -f <filename> preview checks file to make sure it is ok to exesymconfigure -sid <sid> -f <filename> commit makes the changes from filesymconfigure -sid <sid> -f <filename> prepare

Symmaskdb Commandssymmaskdb list devs lists all devices accessible to an HBA on a specified Symmetrix system symmaskdb remove removes the meta member devicessymmaskdb restore restores a database from a specified filesymmaskdb backup backs up a database to a specified filesymmaskdb init deletes and creates a new VCMDBsymmaskdb list assignment lists deives already assignedsymmaskdb list no_assignment lists deives not yet assigned

Symmask Commandssymmask add devs adds a device to the list of devices that a WWN can access in the databasesymmask remove devs removes a device from the list of devices that a WWN can access in the databasesymmask delete deletes all access rights for a WWN in the databasesymmask replace allows one HBA to replace anothersymmask refresh refresh vcmdb to all FA portssymmask login lists for each Fibre director which hosts and HBA's are logged in to a Symmetrix systemsymmask list HBA's lists the WWN of the Fibre HBAs on this hostsymmask -sid 381 -wwn 50060B000024F9F6 -dir 16C -p 1 set heterogeneous on HP_UXsymmask -sid SymmID set lunoffset on offset base \ -awwn awwn -dir # -p # offset high lun numberssymmask -wwn add devs -lun xxx allows HVE to be seen by an HBA using different LUN # than in BIN filesymmask -wwn add devs -dynamic_lun allows HVE to be seen by an HBA using different LUN 0+

Other SYMCLI Commandssymsan list ports and LUN WWNs seen from a specific Symmetrix director and portsymdg creates/deletes/renames device groupssymld addes & removes devices to a deivce groupsymbcv associates/disassociate BCV with device groupssymmir performs (split/establish/restore) BCV mirror commands against device groupssymclone performs (split/establish/restore/activate/terminate/recreate)symsnap performs (restore/activate/terminate/recreate)symrdf performs (split/establish/restore/failover/update/failback/suspend/resume) against RDF device groupssymcg Performs operations on a Symmetrix RDF composite groupsymrslv Displays logical-to-physical mapping information about a logical object that is stored on a disk.symstat Displays statistics information about a Symmetrix, any or all directors, a device group, a disk, or a device.symioctl sends I/O control commands to application

:: NAVICLI COMMANDS ::

navicli -h <SP IP> getsp verify connectivitynavicli -h <SP IP> register registers host with Clariion and tests agent installnavicli -h <SP IP> storagegroup list all info about existing groupsnavicli -h <SP IP> getrg -lunlist list all existing raid groups and LUNSnavicli -h <SP IP> getdisk shows numbers of disks in storage arraynavicli -h <SP IP> getrg <rg id> shows the number of raid groupsnavicli -h <SP IP> get lun <lun id> lists all the disksnavicli -h <SP IP> storagegroup -list displays storage groupsnavicli -h <SP IP> getcache shows the cache

Page 11: Commands v1.6.5

navicli -h <SP IP> storagegroup -create -gname <name> creates a new storage groupnavicli -h <SP IP> storagegroup -addhlu -gname <name> -hlu <#> -alu <#> assigns LUNs to storage groupnavicli -h <SP IP> storagegroup -connecthost -host <hname> -gname <gname> assigns host to storage group

:: POWERPATH COMMANDS ::

powermt manage powerpath environmentpowercf configure powerpath devicespowermt display dev=all display PowerPath controlled devicespowermt checkpowermt configemcpreg manage powerpath license registrationemcpupgrade convert powerpath configuration files

:: INQ ::ftp://ftp.lss.emc.com/pub/symm3000/inquiry/Inq -h list options and syntaxInq -hba list hba wwnInq -btl display Bus Target and LunInq -show_vol display Symmetrix Volume Number.Inq -winvol show Windows filesystems Inq -clariion display CLARiiON device informationinq -dev \\.\physicaldrive1 -page0 Raw unformatted data on a single device

Page 12: Commands v1.6.5

show running-config shows status of all installed hardware components shows database list of all FLOGI events shows database list of all N-ports logged in shows list of VSAN members lists the interfaces and status

Enters configuration terminal

adds node to the zone abovedeletes member from zone

adds zone to the ZoneSet above

copy from source to startup configuration go into vsan configuration modemove port 21 on module 3 to vsan 4 shows all zonesets that are active shows all zones active in vsan displays the active zoneset shows the vsans on the switch Shows active zoneset

set the IP address of a Brocade switch

full detailed switch info

Name server contents

create a new Admin Domain.enforce the new Admin Domain configuration.

saves zoning information across reboots

shows defined and effective zones and configurations adds a member to a zone removes a member from a zone

Page 13: Commands v1.6.5

adds a zone to a zone configuration removes a zone from a zone configuration deletes a zone from a zone configuration clears all zoning information/ must disable the effective configuration

(new IP and Subnet mask)

add a new zone to the working area activation of changes shows actively connected running zoneset clear WWNs in a zone remove zone from the running config show pending zones

http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273

List all disks under volume manager control and give there status. add or bring a disk under volume manager control Interactive front end to the vxdisk program

Initialize Physical Volume

Create Logical Volume

starting a imported volume

Page 14: Commands v1.6.5

Displays detailed configuration information about a computer and its operating system

Displays active TCP connections, ports on which the computer is listening launches a Remote desktop Connection Connects a computer to a computer shared resource compares two files and displays the differences check and repair disk problems Recover a damaged file from a defective disk. if fcinfo is installed ,this will list the HBA's wwns

Locates new disks that may have been added to the computer Displays a list of disks and information about them, Selects the specified disk and shifts the focus to it. Displays the properties of the selected disk and the volumes on that disk.create a properly offset partition Creates, deletes, or lists a volume mount point. Assigns a drive letter or mount point to the volume with focus. Extends the volume with focus into next contiguous unallocated space Imports a foreign disk group into the local computer's disk group Specifies the type of the file system (FAT, FAT32, or NTFS).

delete character cursor is on replace one character yank (copy into temporary buffer) yank line cursor is on paste below cursor line (deleted or copied text)

Page 15: Commands v1.6.5

undo last editing command save and exit (hold down shift and press "z" twice) write and quit even if it is read-only

undo last editing command save and exit (hold down shift and press "z" twice) set to transfer for binary and text filesdisplay progress during get mutiple get - download files in to current directorymultiple pu - upload files from current directory

List installed software

List installed patches copy lpp software to the install directory Install a software package

lists all comfigured components system management utility lists all attributes (WWN's) for a device configures symmetrix devices makes BCV visable to AIX to avoid locking during boot "To change INIT Link flags parameter" "Fabric Event Error RECOVERY Policy" cofigures devices and optionally installs device software

Lists all exported filesystems Exports all fs's in /etc/exports file Un-exports a filesystem Configures and starts NFS services Stops and un-configures NFS services Creates an NFS export directory Creates an NFS mount directory Mount an NFS filesystem

Device Listing and status configures a disk device masking sue it is available as a physical volume Initialize Physical Volume

Page 16: Commands v1.6.5

groups one or more physical devices into a volume groupCreates mirror volumes for all volumes in a volume group. Extend Volume Goup displays volumes, with a specified volume group

(2) makes a copy of lv should be followed up by syncvg command

writes all dirty file system metadata and user data to the disk (use before BC & DR)

Deactivate Volume Group Export Volume Group Import Volume Group Activate Volume Group

analyzes current running system displays version and type of HP-UX List installed patches Register a depot package for install Install the Software depot

install special device files scans system hardware System administration tool makes HP register with a Clariion thru LUNZ deviceregisters host with Clariion and tests agent install list device drivers in the system makes a directory, special, or ordinary file system configuration file

file controls which file systems are exported to remote hosts and specify optionsExports directory to host example.emc.com (found in /etc/exports)command to read /etc/export and export filesystemmount an NFS export from shadowman.emc.com to the dir /misc/local

creates a physical volume within a LVM volume group display info about physical volumes within an LVM volume grouplist the minor number of each vg in 6th field (all not listed are available)Create directory entry in /dev for Volume Group

Page 17: Commands v1.6.5

Create a file for Volume Group creates a LVM volume group

scan physical volumes for LVM volume groups displays info about LVM volume groups creates LVM logical volumes creates mirrored logical volumes displays LVM logical volumes

Deactivate Volume Group Export Volume Group Import Volume Group

to list your servers paths to the symm(use wwn, dir, p values from above command) run command for each hba to FA zoneuse wwn from the (symmask list hba -v )

makes HP register with a Clariion thru LUNZ deviceregisters host with Clariion and tests agent install

Page 18: Commands v1.6.5

Emulex hba parameterslook for Emulex HBAsunload Emulex driver follow by "modprobe -r lpfc"

list devices managed my MPIO

detail hba wwn info & device list

install iSCSI soft initiatorinstall iSCSI soft initiatorconfiure iSCSI soft initiator

file controls which file systems are exported to remote hosts and specify optionsExports directory to host example.emc.com (found in /etc/exports)command to read /etc/export and export filesystem

initializes PhysicalVolume for later use by the Logical Volume Manager creates a new volume group

Page 19: Commands v1.6.5

creates 2000MB logical volume Make a file system on a logical volume

partition table manipulation allows you to see the attributes of one or more physical volumes scans all supported LVM block devices in the system for physical volumes display attributes of volume groups allows you to add one or more initialized physical volumes scan physical volumes for LVM volume groupsmake volume groups unknown to the system make volume groups known to the system display attributes of a logical volume Extend logigal volumeCommand used to check and repair a Linux filesystem

Shows all running processes in a tree format Displays currently installed Solaris patches prints system configurations lists installed software packages install software packages removes installed software packages

configure StorEdge Leadville driver.(Search for new devices) searches for devices and also cleans up old searches for devices generates special device files reboots system to discover configuration changes, and rebuild special files

lists of available target ids and luns used for persistent binding on Emulex (qla22xx.conf for Qlogic)

Lists information and WWNs Lists the remote-port informationCreates a FCoE target port

Page 20: Commands v1.6.5

export (share) /reports file to edit to make a share permanent command to excute that will read /etc/dfs/dfstab and share to the network

create & mounts storage pool named spoon and mounts it at /spoon (no slice #)create a RAID1 storage pool mounted at /spoon

creates ZFS file system spoon/fs, automatically mounted at /spoon/fs.

Disk partitioning and maintenance program

Checks device ID configuration. Configures volumes. Displays the status of volumes or hot spare pools. Administers disk sets. makes a UFS filesystem on disk drive or partition within a diskdrive

list all devides seen by host OS

List the location of devices lists the Symmetrix devices that the host OS can see lists all the physical device name in the device masking database lists the Symmetrix devices that the host OS can see

list all devices on symm list devices maped to that one FA list devices not mapped to any FE ports

vebose listing of one device vebose listing of a rage of devices

discover the storage environment list local and remote symmetrixes

lists whether the Symmetrix director has device masking turned on lists all fibre directors in a Symmetrix system identify the address information for devices

returns the next available LUN address list of visible Symm exclusive locks release a lock on a Symmetrix array.

Page 21: Commands v1.6.5

checks file to make sure it is ok to exe makes the changes from file

lists all devices accessible to an HBA on a specified Symmetrix system removes the meta member devices restores a database from a specified file backs up a database to a specified file deletes and creates a new VCMDBlists deives already assignedlists deives not yet assigned

adds a device to the list of devices that a WWN can access in the database removes a device from the list of devices that a WWN can access in the database deletes all access rights for a WWN in the database allows one HBA to replace another refresh vcmdb to all FA ports lists for each Fibre director which hosts and HBA's are logged in to a Symmetrix system lists the WWN of the Fibre HBAs on this host

offset high lun numbers allows HVE to be seen by an HBA using different LUN # than in BIN file allows HVE to be seen by an HBA using different LUN 0+

list ports and LUN WWNs seen from a specific Symmetrix director and port creates/deletes/renames device groups addes & removes devices to a deivce group associates/disassociate BCV with device groups performs (split/establish/restore) BCV mirror commands against device groups performs (split/establish/restore/activate/terminate/recreate) performs (restore/activate/terminate/recreate) performs (split/establish/restore/failover/update/failback/suspend/resume) against RDF device groups Performs operations on a Symmetrix RDF composite group Displays logical-to-physical mapping information about a logical object that is stored on a disk. Displays statistics information about a Symmetrix, any or all directors, a device group, a disk, or a device. sends I/O control commands to application

registers host with Clariion and tests agent install list all info about existing groups list all existing raid groups and LUNS shows numbers of disks in storage array shows the number of raid groups

displays storage groups

Page 22: Commands v1.6.5

creates a new storage group assigns LUNs to storage group assigns host to storage group

manage powerpath environment configure powerpath devicesdisplay PowerPath controlled devices

manage powerpath license registration convert powerpath configuration files

list options and syntax

display Bus Target and Lun display Symmetrix Volume Number. show Windows filesystems display CLARiiON device information Raw unformatted data on a single device