Sei sulla pagina 1di 17

Cheat Sheet 1.Useful links..............................................................2 SAN Switch Configuration.........................................2 1.1.Brocade.................................................................2 1.1.1.Initial Setup........................................................2 1.1.2.Initial FOS Setup................................................3 1.1.3.Zoning................................................................3 1.2.Cisco.....................................................................

3 1.2.1.Useful Commands..............................................3 1.2.2.VSAN creation...................................................4 1.2.3.Port configuration..............................................4 1.2.4.Port-Channel configuration................................5 1.2.5.Alias creation.....................................................5 1.2.6.Zone creation.....................................................5 1.2.7.Loading Firmware..............................................5 1.2.8.Loading license..................................................5 1.2.9.FC ISL configuration.........................................5 1.2.10.FCIP ISL configuration....................................6 1.3.McData..................................................................7 2.EMC DMX...............................................................8 2.1.Generally useful commands..................................8 2.2.mapfile lun modification.......................................9 2.2.1.lun allocation......................................................9 2.2.2.lun unallocation..................................................9 2.3.Volume Logics......................................................9 2.3.1.Setup..................................................................9 2.3.2.Verification........................................................9 2.4.Symacl.................................................................10 2.4.1.Symacl site information for EMC setup..........10 2.4.2.Symacl setup....................................................10 2.4.3.Symacl verification..........................................10 2.5.SRDF...................................................................11 2.5.1. Syncronous Setup ...........................................11 2.5.2.SRDF-A Setup.................................................11 2.5.3.RDF Verification.............................................12 3.EMC CX................................................................12 4.HDS........................................................................12 4.1.AMS 1000...........................................................12 4.2.Array Setup.........................................................12 4.3.Array Deployment (DPI)....................................13 4.4.USPv...................................................................14 4.4.1.Array installation.............................................14 4.4.2.Array Configuration.........................................14 5.Host Deployment...................................................14 5.1.1.Linux................................................................14 5.1.2.Sun...................................................................14 5.1.3.AIX HBA Replacement / failed path...............15 6.Excel......................................................................16 6.1.1.Vlookup............................................................16 6.1.2.Concatenate......................................................16 6.1.3.Pull down lists..................................................16

1.

Useful links Livelink Approved Standards EMIS Standards and Best Practices Storage Support Matrix Shortcut to Array host settings

SAN Switch Configuration 1.1. Brocade 1.1.1. Initial Setup timeout 60 ipaddrset cp 0 ipaddrset cp 1 ipaddrset sw 0 ifmodeset eth0 (set to 100/full. Needs to be done on both CPs) switchname cdc1c001f01 switchdisable configure yes to fabric param set domain id yes to insistent domain id ctrl-d to end switchenable tstimezone interactive (select approp timezone) tstimezone America/New_York tsclockserver 169.86.40.180 (use ip address for time.amer.jpmchase.net) syslogdipadd 169.81.16.48 syslogdipadd 155.180.250.164 syslogdipshow auditcfg --class 1,2,3,4,5 auditcfg --enable auditcfg --show aaaconfig --add 204.27.45.69 -conf radius -p 1812 -s 2@\8ml245e"&"139 -a pap -t 20 aaaconfig --add 204.27.45.5 -conf radius -p 1812 -s 2@\8ml245e"&"139 -a pap -t 20 aaaConfig --authspec "radius;local" fosconfig --disable iscsi authutil --set -a dhchap bannerset *** IT IS AN OFFENSE TO CONTINUE WITHOUT THE CORRECT AUTHORIZATION *** Individuals using this computer system with or without proper authority are subject to having all of their activities monitored and recorded and should have no expectation of privacy unless local law, regulation or contract provide otherwise. Anyone using this system expressly consents to such monitoring and to all appropriate disclosure of any evidence of criminal activity to law enforcement officials, as well as appropriate disclosure of any evidence of violation of the firm's rules policies procedures or standards of conduct to management. Individuals using this computer system have a legal obligation to treat all information on the system as strictly confidential and not to disclose or allow such information to be disclosed to any third party. This obligation survives any termination of employment with JPMorganChase. Using keyboard-interactive authentication. . secauthsecret --set local and remote key is Br0c@d3s secauthsecret --show

1.1.2. Initial FOS Setup For a new fabric, configure on Core 1 fabricprincipal -f 1 secpolicycreate "FCS_POLICY", "1;100;102;200" secpolicysave secpolicyactivate distribute -p "FCS" -d "*" secpolicydump secauthsecret --set secauthsecret --show authutil --policy -sw ON distribute -p "AUTH" -d "*" secpolicycreate "SCC_POLICY", "*" secpolicysave secpolicyactivate fddcfg --fabwideset "SCC:S;FCS"

firmwaredownload use firmwaredownloadstatus to monitor


Type of Firmware: Select FOS (should be default option) Server Name of IP Address: Enter FTP/SCP Server name or IP Address Network Protocol Enter 1 for Auto Select, 2 for FTP or 3 for SCP User Name Enter FTP User name File Name Enter Firmware File name & Path (Ex. ./v6.0.0c or ./v6.0.0c/release.plist) Password Enter FTP Server Password

TO BE DONE AFTER IRC review and prior to production.

snmpconfig --set mibcapability snmpconfig --set accesscontrol defzone --noaccess 1.1.3. Zoning cfgtransshow alicreate "emc21262fa9bbaix", "50060482cc198bb8" alicreate "cdcbet11fcs", "10000000c93fa01e" cfgsave zonecreate "cdcbet11fcs_emc21262fa9bbaix", "cdcbet11fcs; emc21262fa9bbaix" zoneadd "cdcbet11fcs_emc21262fa9bbaix", " emc21262fa11bbaix; emc21262fa10bbaix" cfgadd "cdc2_fab2", "cdcbet11fcs_emc21262fa9bbaix" cfgsave cfgenable "cdc2_fab2" 1.2. Cisco ******NOTE: Always cut zoneset name from show zoneset active vsan xxx output ***** 1.2.1. Useful Commands sh port internal info interface fc2/2 shows part and sn of SFP along with a ton of other stuff sh interface |inc "long wave" p 1 lists all long wave ports in the switch copy run tftp://10.31.186.50/switchname.cfg term len 0 this command will allow you to issue a command and have it run w/ having to hit space bar. Good for tech show collections. show port-resource module 4 shows resources available by port group

-Checking Port indexes cdc2rc01f01# sh port index-allocation Module index distribution:


------------------------------------------------------+ Slot | Allowed | Allotted indices info | | range | Total | Index values | -----|-----------|--------|------------------------------| 1 | ----- | - | (None) | 2 | 0- 255| 24 | 0-23 | 3 | 0- 255| 24 | 32-55 | 4 | 0- 255| 24 | 64-87 | 5 | 0- 255| 24 | 192-215 | 6 | 0- 255| 24 | 224-247 | 9 | 0- 255| 24 | 160-183 | 10 | 0- 255| 24 | 96-119 | 11 | 0- 255| 32 | 128-159 | 12 | 0- 255| 4 | 24-27 | 13 | 0- 255| 4 | 28-31 | SUP | 253-255 | 3 | 253-255 |

cdc2rc01f01# sh module 1 recovery-steps Please insert module in slot 1 and retry - Clearing a config lock
carrc01f01floor1# sh device-alias status Fabric Distribution: Enabled Database:- Device Aliases 967 Mode: Basic Locked By:- User "v005445" SWWN 20:00:00:0d:ec:3a:81:40 carrc01f01floor1# clear device-alias session carrc01f01floor1# sh device-alias status Fabric Distribution: Enabled Database:- Device Aliases 967 Mode: Basic

sh ips stats hw-comp all sh fcip counters clear counters fcip xx 1.2.2. VSAN creation vsan database vsan 100 name "vsan0100" exit zone mode enhanced vsan 100 fcdomain priority 60 vsan 100 (set priority to same as domain number) fcdomain domain 60 static vsan 100 fcdomain restart disruptive vsan 100 1.2.3. Port configuration config t vsan database vsan 200 interface fc2/13 int fc2/13 switchport speed 2000 switchport description e03859r3da no shut

1.2.4. Port-Channel configuration interface interface fc4/1, fc7/1, fc8/1, fc4/9, fc7/9, fc8/9 switchport mode E channel-group 2 interface port-channel 2 switchport description "To switch1 PortChannel2" switchport trunk mode on switchport trunk speed 2000 switchport trunk allowed vsan 100 switchport trunk allowed vsan add 105 To add an interface to an existing port-channel interface fc1/1 channel-group 1 force 1.2.5. Alias creation device-alias database device-alias name cdc1-e03859r3da_vsan200 pwwn 50:06:04:8a:d5:30:4c:d2 exit device-alias commit 1.2.6. Zone creation zone name cdc1-e03859r3da_vsan200_cdc2-e03893r3da_vsan200 vsan 200 member device-alias cdc1-e03859r3da_vsan200 member device-alias cdc2-e03893r3da_vsan200 exit zoneset name cdc1-cdc2_vsan200_f01 vsan 200 member cdc1-e03859r3da_vsan200_cdc2-e03893r3da_vsan200 exit zoneset activate name cdc1-cdc2_vsan200_f01 vsan 200 zone commit vsan 200 1.2.7. Loading Firmware copy tftp://10.28.188.30/m9500-sf2ek9-kickstart-mz.3.2.3a.bin bootflash:m9500-sf2ek9-kickstart-mz.3.2.3a.bin copy tftp://10.28.188.30/m9500-sf2ek9-mz.3.2.3a.bin bootflash:m9500-sf2ek9-mz.3.2.3a.bin install all kickstart bootflash:m9500-sf2ek9-kickstart-mz.3.2.3a.bin system bootflash:m9500-sf2ek9-mz.3.2.3a.bin show install status 1.2.8. Loading license copy tftp://10.31.186.50/MDS20080804113538459.lic bootflash:MDS20080804113538459.lic install license bootflash:MDS20080804113538459.lic 1.2.9. FC ISL configuration
Switch1# config t Switch1# vsan database Switch1# vsan 1009 name "BE800-Carlstadt" Switch1# exit Switch1# zone mode enhanced vsan 1009 Switch1# fcdomain domain 90 static vsan 1009 Switch1# fcdomain priority 90 vsan 1009 Switch1# fcdomain restart disruptive vsan 1009

#set priority to same as domain id so lower is principal#

Switch1# int port-channel 91 Switch1# switchport description Port-Channel be800rc01f02-carrc01f02 Switch1# switchport mode e Switch1# switchport trunk mode on Switch1# switchport trunk allow vsan 1009 Switch1# switchport speed 2000 Switch1# channel mode active Switch1# exit

Switch1# int fc 11/1, fc13/1 Switch1# switchport rate-mode dedicated Switch1# switchport mode e Switch1# switchport trunk mode on Switch1# switchport trunk allow vsan 1009 Switch1# switchport speed 2000 Switch1# channel-group 91 Switch1# no shut Switch2# config t Switch2# vsan database Switch2# vsan 1009 name "BE800-Carlstadt" Switch2# zone mode enhanced vsan 1009 Switch2# fcdomain domain 100 static vsan 1009 Switch2# fcdomain priority 100 vsan 1009 Switch2# fcdomain restart disruptive vsan 1009

#set priority to same as domain id so lower is principal#

Switch2# int port-channel 91 Switch2# switchport description Port-Channel be800rc01f02-carrc01f02 Switch2# switchport mode e Switch2# switchport trunk mode on Switch2# switchport trunk allow vsan 1009 Switch2# switchport speed 2000 Switch2# channel mode active Switch2# int fc 9/2, fc10/2 Switch2# switchport rate-mode dedicated Switch2# switchport trunk mode on Switch2# switchport trunk allow vsan 1009 Switch2# switchport speed 2000 Switch2# switchport mode e Switch2# channel-group 91 Switch2# no shut

1.2.10. FCIP ISL configuration Calculating IP route. Use IP calculator. Using the peer ip address, calculate the subnet ID. This will be the first value in the command. The next value is the subnet mask of the peer ip address. For the third value you use the local IP address and use the first ip address in the host range. ip route 155.180.168.0 255.255.254.0 169.81.30.1 o peer ip 155.180.168.154 subnet for this address is 155.180.168.0 o peer subnet mask - 255.255.254.0 o local ip address 169.81.30.251 first available address in that network is 169.81.30.1 sh ip route configured # to verify that the correct interface is used # http://www.subnet-calculator.com/ Network switch config should look like for IOS
mtu 9216 no ip address switchport switchport access vlan 410 switchport mode access

Network switch config should look like for Cat-OS


set port negotiation 3/7 disable set port jumbo 3/7 enable set spantree portfast 3/7 If the VSAN you are going to use does not exist..create it first Switch1# config t Switch1(config) # fcip enable # enables fcip on the switch Switch1(config) # interface gigabitethernet 2/1 Switch1(config-if) # ip address 10.1.1.1 255.255.255.252 Switch1(config-if) # switchport description to-switch2-8/2 Switch1(config-if) # switchport mtu 2300 Switch1(config-if) # no switchport auto-negotiate May or may not be needed depending on network switch config Switch1(config-if) # no shut Switch1(config-if) # exit Switch2# config t Switch2(config) # fcip enable Switch2(config) # interface gigabitethernet 8/2 Switch2(config-if) # ip address 10.1.1.2 255.255.255.252

Switch2(config-if) # switchport description to-switch1-2/1 Switch2(config-if) # switchport mtu 2300 Switch2(config-if) # no switchport auto-negotiate Switch2(config-if) # no shut Switch2(config-if) # exit *** test connection by pinging remote switch port IP address now. *** Switch1(config) # fcip profile 21 # creates fcip profile (range 1 to 255) Switch1(config-profile) # ip address 10.1.1.1 # associates profile 21 with ip address Switch1(config-profile) # do ips measure-rtt 10.1.1.2interface gigabitethernet 2/1 # use to measure round trip for rtt time below Switch1(config-profile)# tcp max-bandwidth-mbps 1000 min-available-bandwidth-mbps 900 round-trip-time-ms 28 Switch1(config-profile) # exit Switch2(config) # fcip profile 22 Switch2(config-profile) # ip address 10.1.1.2 Switch2(config-profile)# tcp max-bandwidth-mbps 1000 min-available-bandwidth-mbps 900 round-trip-time-ms 28 Switch2(config-profile) # exit Switch1 (config) # interface fcip 21 # creates FCIP interface 21 Switch1 (config-if) # switchport mode E Switch1 (config-if) # switchport trunk mode on Switch1 (config-if) # switchport description to-switch2-fcip21 Switch1 (config-if) # switchport trunk allowed vsan 2121 Switch1 (config-if) # use-profile 21 # assigns profile 21 to fcip interface 21 Switch1 (config-if) # peer-info ipaddr 10.1.1.2 # assigns peer ip address (of switch 2) Switch1 (config-if) # no shut Switch2 (config) # interface fcip 21 Switch2 (config-if) # switchport mode E Switch2 (config-if) # switchport trunk mode on Switch2 (config-if) # switchport description to-switch1-fcip21 Switch2 (config-if) # switchport trunk allowed vsan 2121 Switch2 (config-if) # ip-compression mode1 Switch2 (config-if) # use-profile 21 Switch2 (config-if) # peer-info ipaddr 10.1.1.1 Switch2 (config-if) # no shut

1.3. McData Root> config zoning # verify that there are no pending zones Config.Zoning> show pending Default Zone Enabled: False There are no zones in pending zoneset. # this copies the current zoneset into scratch area for modification Config.Zoning> replacezoneset . # verify that active zone is copied into scratch area. Config.Zoning> show pending
Default Zone Enabled: False Zone Set: MCC-1 Zone: Binr900h0_e02999fa3aa Zone Member: 10:00:00:00:C9:71:DD:B8 Zone Member: 50:06:04:82:D5:2F:75:C2 Zone: aml-ntdb-dr-01h0_h10742sp1a Zone Member: 10:00:00:00:C9:40:AD:3E Zone Member: 50:06:0E:80:04:29:F6:00 # # Lines removed # Zone: tsmccursr02h0_e70047fa3ca Zone Member: 10:00:00:00:C9:44:DE:26 Zone Member: 50:06:04:8A:CC:AA:D7:C2 Zone: ttypde1-027h0_e80702fa4ba Zone Member: 10:00:00:00:C9:4B:A4:5B Zone Member: 50:06:04:82:CC:B5:3F:93

# Add new zones creates zoneset in scratch area Config.Zoning> addZone bakmedmcchh0_tape Config.Zoning> addWwnMem bakmedmcchh0_tape 10:00:00:00:C9:3F:2A:28 Config.Zoning> addWwnMem bakmedmcchh0_tape 50:05:07:63:0F:40:5A:06 Config.Zoning> addWwnMem bakmedmcchh0_tape 50:05:07:63:0F:40:5A:11

Config.Zoning> addWwnMem bakmedmcchh0_tape 50:05:07:63:0F:40:5A:12 Config.Zoning> addZone bakmedmccih0_tape Config.Zoning> addWwnMem bakmedmccih0_tape 10:00:00:00:C9:3D:0C:55 Config.Zoning> addWwnMem bakmedmccih0_tape 50:05:07:63:0F:40:5A:01 Config.Zoning> addWwnMem bakmedmccih0_tape 50:05:07:63:0F:40:5A:02 Config.Zoning> addWwnMem bakmedmccih0_tape 50:05:07:63:0F:40:5A:03 # verify that new zone is copied into scratch area. Config.Zoning> showpending
Default Zone Enabled: False Zone Set: MCC-1 Zone: Binr900h0_e02999fa3aa Zone Member: 10:00:00:00:C9:71:DD:B8 Zone Member: 50:06:04:82:D5:2F:75:C2 Zone: aml-ntdb-dr-01h0_h10742sp1a Zone Member: 10:00:00:00:C9:40:AD:3E Zone Member: 50:06:0E:80:04:29:F6:00 Zone: ana0bl-d0026s00h0_h10742sp3a Zone Member: 10:00:00:00:C9:62:91:A6 Zone Member: 50:06:0E:80:04:29:F6:20 # # Lines removed # Zone: bakmedmcchh0_tape Zone Member: 10:00:00:00:C9:3F:2A:28 Zone Member: 50:05:07:63:0F:40:5A:06 Zone Member: 50:05:07:63:0F:40:5A:11 Zone Member: 50:05:07:63:0F:40:5A:12 Zone: bakmedmccih0_tape Zone Member: 10:00:00:00:C9:3D:0C:55 Zone Member: 50:05:07:63:0F:40:5A:01 Zone Member: 50:05:07:63:0F:40:5A:02 Zone Member: 50:05:07:63:0F:40:5A:03

# Activate modified zoneset in scratch area Config.Zoning> activatezoneset # Verify new zones are in active zoneset Config.Zoning> showactive
Default Zone Enabled: False Zone Set: MCC-1 Zone: Binr900h0_e02999fa3aa Zone Member: 10:00:00:00:C9:71:DD:B8 Zone Member: 50:06:04:82:D5:2F:75:C2 Zone: aml-ntdb-dr-01h0_h10742sp1a Zone Member: 10:00:00:00:C9:40:AD:3E Zone Member: 50:06:0E:80:04:29:F6:00 # # Lines removed # Zone: bakmedmccjh0_tape Zone Member: 10:00:00:00:C9:3F:2C:00 Zone Member: 50:05:07:63:0F:40:5A:15 Zone Member: 50:05:07:63:0F:40:5A:16 Zone Member: 50:05:07:63:0F:40:5E:06 Zone Member: 50:05:07:63:0F:40:5E:11 Zone Member: 50:05:07:63:0F:40:5E:12

Config.Zoning> .. Config> .. Root> logout #Now need to go into EFCM. Backup current zoneset in EFCM database. Import active fabric zoneset into EFCM. 2. EMC DMX 2.1. Generally useful commands symcfg -sid -ra 3d online - turns on an RA port symcfg -sid -sa 3d p 0 online turns on an FA port

2.2. mapfile lun modification 2.2.1. lun allocation First perform: symdev list -sid xxxx -noport (list devices that are not currently allocated) symcfg list -sid xxxx -sa 8a -p 0 -address -available (list available luns) symcfg list -sid xxxx -sa 9a -p 0 -addresses (list luns on the FA 9aa) create a map file that contains luns to be added to the FA path: mapfile.txt: (Don't forget the ; at the end - a common mistake) map dev 2A1 to dir 8a:0, lun=038; map dev 2A5 to dir 8a:0, lun=039; map dev 2A9 to dir 8a:0, lun=03a; map dev 2AD to dir 8a:0, lun=03b; map dev 2B1 to dir 8a:0, lun=03c; To run the map file symconfigure -sid xxxx -f c\mapfile.txt preview symconfigure -sid xxxx -f c\mapfile.txt prepare symconfigure -sid xxxx -f c\mapfile.txt commit 2.2.2. lun unallocation Luns must be disabled before they can be removed. symdev -sid xxxx write_disable 2A1 symdev -sid xxxx write_disable 2A5 symdev -sid xxxx write_disable 2A9 Mapfile example for creating meta form meta from dev 009, config=striped stripe_size=1920; add dev 00A to meta 009 add dev 00B to meta 009 Create a mapfile that contains luns to be removed from the FA path: mapfile.txt (Don't forget the ; at the end - a common mistake) unmap dev 2A1 from dir 8a:0; unmap dev 2A5 from dir 8a:0; unmap dev 2A9 from dir 8a:0; Mapfile example for changing hot spare..should be Temporary - can be done nondisruptively set symmetrix hot_swap_policy=TEMPORARY|PERMANENT 2.3. Volume Logics 2.3.1. Setup symmaskdb sid xxxx init f mmddyyinit.db symmask -sid 0141 -wwn 10000000c93fa01e add devs 2A1,2A5,2A9,2AD,2B1 symmask -sid 0141 -wwn 10000000c93fa01e rename cdc1bet11/fcs1 symmask sid 0001 set hba_flags on C,D enable wwn 10000000c93fa01e dir 8a p 0 symmask -sid 0141 refresh -noprompt 2.3.2. Verification Sympd list sid xxxx symcfg list -sid xxxx -sa 9a -p 0 -addresses (list luns on the FA 9aa) symmaskdb -sid 0141 list database -v -dir 8a -p 0 symmask -sid 0141 list logins -dir 8a -p 0 symcfg -sid 0141 -connections list symmaskdb list database -wwn 10000000c9561aa2 v symmask -sid 03859 list logins |find /i "hba" symmask -sid 1296 list logins | egrep "c9535b8d|c94e593d|c9488604|c94885dd|c93462fd|c94885dd|c951e318" symmaskdb -sid 03859 list capacity -host ret2f001 symcfg -sid 0141 -FA 8a -p 0 list (shows wwn of FA) symaudit -sid 0141 list -u (shows command history + server who issued) symgate sid xxxx define dev 0001 (must be 4 digit device ID)

symmask -sid 0141 -wwn old_wwn replace new_wwn symmaskdb -sid 0141 -wwn 10000000c93fa01e list devs symcfg -sid 0736 -FA 3a -p 0 list v Shows what flags are set on FA symcfg -sid 638 -lockn all list (shows current locks on array) symmask -sid 4527 -wwn 5006048ad5310fc9 delete login (dir 3a p 0) removes login on FA 2.4. Symacl Provide EMC CE with Access ID, Unique ID, and Access PIN for the initial setup on the array. The Access ID is the SSID of the server in IMS. o [v005445@gti0l001 ~]$ adw_query h dss0l004 Unique ID is a value unique to the host and retrieved from the host o [v005445@gti0l001 ~]$ symacl unique Access PIN is always 3lions3lions 2.4.1. Symacl site information for EMC setup
CDC1 (ino0w279 / ino0s184) Access Pin - 3lions3lions Access ID = I283478 - Unique ID 245303A9-554288C9-993C7572 Access ID = I283485 - Unique ID 2F5802A9-554489C9-9F3C757A CDC2 (ino0w285 / ino0s185) Access Pin - 3lions3lions Access ID = I282758 - Unique ID 2C5F05AF-53408BCA-9B3F7578 Access ID = I282675 - Unique ID 2F5802A9-554489CA-933C757A MCC (dss0l085 / dss0l089) Access Pin - 3lions3lions Access ID = I313342 - Unique ID 2C5306AF-57428CC1-933E7C7E Access ID = I516221 - Unique ID 2C5A02AF-5D418DCF-9D3E7C7E

2.4.2. Symacl setup Overview Setup config on array, Create admin group and add san management hosts to it. Create ECC group and add all ECC hosts to it. Delete unknown group, create Base group and add default user to it. ***these files are created on gti0l001/home/v005445*** symacl -sid 04272 preview -file symacl.add.admingrp.txt symacl -sid 04375 prepare -file symacl.add.admingrp.txt symacl -sid 04375 commit -file preview symacl.add.admingrp.txt symacl -sid 04375 preview -file symacl.add.eccgrp.txt symacl -sid 04375 prepare -file symacl.add.eccgrp.txt symacl -sid 04375 commit -file preview symacl.add.eccgrp.txt symacl -a 3lions3lions -sid 04375 preview -file UnknwGrp.de.txt symacl -a 3lions3lions -sid 04375 prepare -file UnknwGrp.de.txt symacl -a 3lions3lions -sid 04375 commit -file UnknwGrp.de.txt to create base group create a file and run create accgroup BaseGrp; add default unknown name unknown to accgroup BaseGrp; grant access=Base to accgroup BaseGrp for ALL DEVS; 2.4.3. Symacl verification If symacl isnt set up on a box it will look like this Symacl list sid 0549
Symmetrix ID: 000187700594 Access Session Control Locked Time Last Updated -------- ------- -------------------------

Disabled N/A Enabled No

N/A Thu Nov 13 14:27:54 2008

(if symacl is disabled) (if symacl is enabled)

Symacl sid 1234 list v Symacl sid 1234 list accgroup Symacl sid 1234 list -accpool Symacl sid 1234 list acl Using the show actions when you dont have administrative rights, you only see access objects that are associated with the access group to which your host belongs. Symacl sid show accgroup AdminGrp Symacl sid show accgroup ECCGrp 2.5. SRDF 2.5.1. Syncronous Setup

2.5.2. SRDF-A Setup The following are the procedures to implement SRDFA: Step1 Run and connect Fibre cables from the EMC frame to the Cisco Switches Step2 If there no RAs defined, have EMC perform a bin file change to convert some of the D ports to RF ports (Dynamic SRDF) and enable the FF bit on both the source and target box. Step3 Zone the source and target RFs on the CISCO switches. Step4 Run symconfigure and set both the R1 & R2 devices to dynamic rdf. o example: set dev 81b, attribute=dyn_rdf; Step5 Create and label the dynamic groups on both the source and target boxes. Make sure that you specify the source and target RFs you are going to use. Also, the dynamic group you are going to create must not be used in both the source and target location. o example: symrdf addgrp -label HOSTNAME -rdfg 19 -sid 906 -dir 7d,10d -remote_rdfg 19 -remote_sid 702 -remote_dir 4d,13d -link_limbo 60 -rem_link_limbo 60 Step6 Run create pair and establish the R1 to R2 relationship. You must create a file that has all the R1 devices starting in column 1 and all the R2 devices starting in Column 2. o example: symrdf createpair file xxxxx.xxxxx sid 906 rdfg 19 type rdf1 -establish Step7 Set the session priority. o example: set rdf group 19, session_priority=30 Step8 Create the device group on the R1 side. o example: symdg type RDF1 create mfn1endr12_SRDFA Step9 Add the R1 devices to the device group you just created. o example: symld sid 906 g mfn1endr12_SRDFA add dev c4a Step10 Begin the replication process by setting the group to Adaptive Copy. o for example: symrdf g mfn1endr12_SRDFA set mode acp_disk Step11 Once all devices are synchronized set mode to async. o example: symrdf g mfn1endr12_SRDFA set mode async Step12 Enable consistency protection. o example: symrdf g mfn1endr12_SRDFA enable

Example setup script


***** run all scripts from this point on from frame 4272 **** 1. script to create a new label for servers nacasu001. Need to change the rdfg group number and the FA's you are going to use. symrdf addgrp -label nacasu001 -rdfg 3 -sid 4272 -dir 3d,14d -remote_rdfg 3 -remote_sid 4541 -remote_dir 3d,14d -link_limbo 60 -rem_link_limbo 60 2. script to run the createpair. Need to change the rdfg group number and the file you are going to place the R1 & R2 devices. symrdf createpair file nacasu001-to-namcsu001-car-to-mcc-d11122008-Frame4272-to-Frame4541.srdfsetup sid 4272 rdfg 3 type rdf1 -establish -rdf_mode acp_disk 0AC6 0404 0AC7 0405 0AC8 0406 0AC9 0407 0ACA 0408 0ACB 0409 0ACC 040a

0ACD 040b 0ACE 040c 0ACF 040d 0AD0 040e 0AD1 040f 0AD2 0410 0AD3 0411 0AD4 0412 0AD5 0413 3. script to set the session priority. Need to change the rdf group number. set rdf group 3, session_priority=30 4. script to set the mode to adaptive copy. The file name should be the same name as what you created in step 2. Also, need to change the rdfg group number. symrdf -sid 4272 -file nacasu001-to-namcsu001-car-to-mcc-d11122008-Frame4272-to-Frame4541.srdfsetup -rdfg 3 set mode acp_disk 5. script to set the mode to async once all devices are synchronized. Need to change the rdfg group number. symrdf -sid 4272 -file nacasu001-to-namcsu001-car-to-mcc-d11122008-Frame4272-to-Frame4541.srdfsetup -rdfg 3 set mode async 6. script to enable consistency. Need to change the rdfg group number. symrdf -sid 4272 -file nacasu001-to-namcsu001-car-to-mcc-d11122008-Frame4272-to-Frame4541.srdfsetup -rdfg 3 enable 7. script to query the devices. symrdf -sid 4272 -file nacasu001-to-namcsu001-car-to-mcc-d11122008-Frame4272-to-Frame4541.srdfsetup -rdfg 3 query 8. create symdg group symdg create nacasu001 -type RDF1 9. Add devs into group symld -g nacasu001 -sid 4272 addall -range 0ac6:0ad5 dev or symld -g nacasu001 -sid 4272 addall -rdfg 3 dev 10. list group symld -g nacasu001 list 11. symrdf -g nacasu001 query

2.5.3. RDF Verification symcfg -ra all list -sid 3859


Symmetrix ID: 000190103859 SYMMETRIX RDF DIRECTORS Remote Local Remote Ident Symb Num Slot Type Attr SymmID RA Grp RA Grp Status RF-3D 03D RF-4D 04D RF-7D 07D RF-8D 08D RF-9D 09D RF-10D 10D RF-13D 13D RF-14D 14D 51 52 55 56 57 58 61 62 3 RDF-R1 - 000190103893 1 (00) 1 (00) Online 4 RDF-R1 - 000190103893 1 (00) 1 (00) Online 7 RDF-BI-DIR - 1 (00) Online 8 RDF-BI-DIR - 1 (00) Online 9 RDF-BI-DIR - 1 (00) Online 10 RDF-BI-DIR - 1 (00) Online 13 RDF-R1 - 000190103893 1 (00) 1 (00) Online 14 RDF-R1 - 000190103893 1 (00) 1 (00) Online

symcfg -sid -ra 3d online 3. EMC CX Use Sais spreadsheet to generate a script. Save script as name.bat Issue name.bat >output.txt 2>&1 to run all commands and save output to file 4. HDS 4.1. AMS 1000 4.2. Array Setup
Addition to Hi-Track Log into Hi-Track Monitor using bluekey password as Administrator Log in to appropriate HDM via web interface Log in using SSO

Select subsystems in left pain Select add subsystem in right pain Fill out IP address and user/passwd It will now show up in list as ams1000@ipaddress Select it in list and modify properties to correct name when enabling the ACCOUNT License you will need to log back in with a password. The default array account is root/storage log back in and create a new account jpmcadm / (password is site unique and can be gotten from Tom Hope) Addition to Storage Navigator Modular - Get password from Nicole Ait Oudhia or Mike Maxwell Add array by IP address Select Detailed and add array name and group at the same time Under Logical Status / License Keys Enable SNMP-Agent Enable Account This will log you out. when enabling the ACCOUNT License you will need to log back in with a password. The default array account is root/storagelog back in and create a new account jpmcadm / (password is site unique and can be gotten from Tom Hope) Setting Access Mode HDM / Logical Status / Access Mode / Host Group Security Right click on port and select modify HDM / Logical Status / Access Mode / Mapping Mode Right click select modify (enable)

4.3. Array Deployment (DPI)


Raid group Config o Config for DPI SIR array First shelf (Fiber Channel Drives) 4 drives 2 x 2 (Raid 1+0) 1 x 250GB lun and 1 x 1GB lun with default controller 0 1 x 250GB lun and 1 x 1GB lun with default controller 1. All remaining Shelves (ATA Drives) 14 drives 12+2 (Raid6) 15th drive is Hot Spare 6 1830Gb luns created. All on same default controller Alternate default controller every other shelf. o Config for DPI VTL array First shelf (Fiber Channel Drives) 4 drives 2 x 2 (Raid 1+0) 1 x 6GB lun per VTL server with default controller 0 (delete all created luns on RG-00 All remaining Shelves (ATA Drives) 14 drives 12+2 (Raid6) 15th drive is Hot Spare 6 1830Gb luns created. All on same default controller Alternate default controller every other shelf. #### REMEMBER TO FORMAT LUNS AFTER CREATION ### Host group Config o The host group (create or rename to match hostname) Right click Port to create a new host group Right click existing host group to rename o Options (defines host type) Select Simple Settings Button & change Platform box to Linux Select Detail Button and check UA(06/2A00) suppress Mode o Logical Unit (defines storage to be seen by host) Select Modify Mapping button in bottom right Select the luns from the Available Logical Units list at bottom. (can use CTRL and SHIFT for multiple selections) Hit UP arrow to add them to Mapping Information section then hit OK Make FC luns H-LUN address 000 First SIR array allocate one 250GB lun to first sir host on port A allocate one 250GB lun to sir host on port B allocate one 1GB lun to sir host on port C allocate one 1GB lun to sir host on port D Allocate all ATL luns to all 5 sir hosts Second SIR array allocate one 1GB lun to first sir host on port A allocate one 1GB lun to host on port B allocate one 250GB lun to host on port C allocate one 250GB lun to host on port D Allocate all ATL luns to all 5 SIR hosts VTL arras allocate one unique 6GB lun to each VTL host the ATL raid groups are divided by the number of VTLs. Each VTL receives all luns from a raid group. The odd raid groups will be left unused for emergency deployment The last few configs have had luns from RG 1 through 5 for VTLserver1 from both arrays. RG 6-10 from both arrays to VTLserver2 RG 11-15 from both arrays to VTLserver3

WWN (defines host to see storage) Hit Modify WWN Information button at bottom right Choose WWN in Assignable WWN section and select Add WWN will move to Assigned WWN box. Select it again and select Change button Add hostname in box and hit OK

Access Mode Config o Enable Mapping Mode right click right pain and select enable o Enable Host Group Security for all ports right click right pain and select enable on each port

4.4. USPv 4.4.1. Array installation 4.4.2. Array Configuration

5.

Host Deployment 5.1.1. Linux


[v005445@dss0l085 bin]$suexec /usr/sbin/lpfc/lun_scan all Password: Scanning lpfc HBA instance with scsi host number : 0 Scanning lpfc HBA instance with scsi host number : 1 Scanning lpfc HBA instance with scsi host number : 2 Scanning lpfc HBA instance with scsi host number : 3 Scanning lpfc HBA instance with scsi host number : 4 Scanning lpfc HBA instance with scsi host number : 5 [v005445@dss0l085 bin]$suexec symcfg discover Password:

5.1.2. Sun Steps for adding luns to a Solaris host without rebooting. Must have admin or sudo rights to accomplish
sudo /usr/sbin/lpfc/lputil Main Menu -> Opt 2. Adapter Information ->Opt 4. IEEE Address -> go through each one to determine WWN of adapters to be used MAIN MENU 1-List Adapters 2-Adapter Information 3-Firmware Maintenance 4-Reset Adapter 5-Persistent Bindings 0-Exit Enter choice => 5 PERSISTENT BINDINGS MENU 1-Display Current Bindings 2-Display All Nodes 3-Duplicate Adapter Bindings 4-Bind Target Manually 5-Bind Automapped Targets 6-Delete Binding(s) 0-Return to Main Menu Enter choice => 5 1-lpfc0 2-lpfc1 3-lpfc2 4-lpfc3 Select an adapter => 1 Automapped FCP Nodes: Node Target WWPN WWNN

--------- ---------------Automapped FCP Node 1 50-06-04-82-cc-37-06-49 50-06-04-82-cc-37-06-49 Press the Enter or Return key to continue: Bind all auto-mapped targets? (Y/N) => y ### Document target value...this will be needed in sd.conf update ######### PERSISTENT BINDINGS MENU Display Current Bindings Display All Nodes Duplicate Adapter Bindings Bind Target Manually Bind Automapped Targets Delete Binding(s) Return to Main Menu Enter choice => 5 lpfc0 lpfc1 lpfc2 lpfc3 Select an adapter => 2 Automapped FCP Nodes: Node Target WWPN WWNN --------- ---------------Automapped FCP Node 1 50-06-04-82-cc-37-06-46 50-06-04-82-cc-37-06-46 Press the Enter or Return key to continue: Bind all auto-mapped targets? (Y/N) => y

### Document target value...this will be needed in sd.conf update #########


Return to Main Menu Exit [CDC1] sudo vi /kernel/drv/sd.conf add lines for target discovered above and lun id converted from hex to decimal # Added by Sai for EMC51449 name="sd" parent="lpfc" target=1 lun=240; name="sd" parent="lpfc" target=1 lun=241; name="sd" parent="lpfc" target=1 lun=242; [CDC1] sudo /usr/sbin/update_drv -f sd Cannot unload module: sd Will be unloaded upon reboot. Forcing update of sd.conf. root@ino0s184:/: [CDC1] sudo devfsadm [CDC1] sudo symcfg discover This operation may take up to a few minutes. Please be patient... [CDC1] sudo symcfg list

5.1.3. AIX HBA Replacement / failed path


In AIX with EMC Powerpath, If the following attributes are not at default and look like, Fast I/O Failure for FC adapters fc_err_recov=fast_fail (Default delayed_fail) Dynamic tracking of FC adapters dyntrk=yes (Default no) Logical track group size for the base devices that form power devices max_transfer=0x100000 / 0x80000 (Default 0x40000) Use this in the event of HBA / Path failure to avoid I/O errors on the LVs and file system unavailability. Remove the adapter from power path. powermt remove adapter=N Remove all base hard drives (hdiskNs) which is available on that paths lsdev Ccadapter|grep fcsN|awk {print $3}|while read LOC do lsdev Ccdisk|grep $LOC|awk {print $1}||xargs n1 rmdev Rdl done

Replace the adapter and using diag utiility, remove the old adapter from the slot and reconfigure the new adapter. Get the WWN for the new adapter lscfg vl fcsN|grep Network Before zoning and masking updates, change the dyntrk and fc_err_recov attributes for the corresponding fscsiN. chdev a dyntrk=yes a fc_err_recov=fast_fail l fscsiN Do necessary zoning and masking changes. Once the SAN path issues are resolved Now run config manager on the specific adapter only. cfgmgr l fcsN Before adding these devices to power path, change the max_transfer value for the new base hard drives that are detected on this adapter. lsdev Ccadapter|grep fcsN|awk {print $3}|while read LOC do lsdev Ccdisk|grep $LOC|awk {print $1}||xargs n1 chdev a max_transfer=<recommendation> -l done After changing max_transfer value of the base hard drives, run powermt config and add these device to the power path. powermt config And we are back to business.

6.

Excel 6.1.1. Vlookup Example {=VLOOKUP(E127,'Sheet 2'!A2:L397,10,FALSE)} E127 = cell on current sheet to be looked up 'Sheet 2'!A2:L397 = range on other tab to search 10 = column number to return value from 6.1.2. Concatenate

=CONCATENATE(ref!B6,ref!D6,ref!A4,ref!C6,'Port Reservation Data'!G8,ref!D6)


6.1.3. Pull down lists

Data / Validation allow=list Source Must be on same page so create a column that does a vlookup from another list and reference it

Potrebbero piacerti anche