EMC Symmetrix Steps

 

Collect Host Information

  • hostname
  • server vendor
  • os and version
  • new or existing server
  • does it already have san storage
  • what san storage arrays does it already use

HBA Information

  • for each hba port to be used:
    • hba port x pwwn
    • switch and port hba is connected
    • alias name of server/hba port
    • zoneset or configuration name for zoning on fabric
    • create or record zone info for server hba port

HBA to FA Information

  • determine FA/ports currently used or
  • determine which FA/ports to use
  • Note: Disk/Dev availability first determined via reservation database

  • get list of available devices (check below)

Determine Available devices

  • check if devs are available
  • symmask -sid #### -dev ####:#### list assignment -v
  • check for existing device mappings
  • symmdev sid #### show | grep "Front Director Paths"
  • if dev is mapped, it will return a value
  • if not mapped, then no matching text found

Determine available LUNs

  • export SYMCLI_CONNECT=datacenter
  • symcfg -sid #### -dir ## -p # -address -available list

Zoning (brocade, if required or applicable)

  • perform for each fabric to which server hbas are connected:
    • create aliases
    • alicreate "servername_hba_alias", "10:00:00:00:c9:xx:xx:xx"

    • create zones
    • zonecreate "zonename", "member_hba; member_fa"

    • add zones to config and save
    • cfgadd "fab_cfg", "zone_name"
    • cfgsave

    • activate saved configuration
    • cfgenable "fab1_cfg"

Convert DEVs to 2-way mirrors if applicable

  • symdev -noprompt -sid #### not_ready ####
  • cat > convert_sid_servername.txt <<EOF
  • #*start*
  • convert dev #### to 2-Way-Mir;
  • convert dev #### to 2-Way-Mir;
  • convert dev #### to 2-Way-Mir;
  • #*end*
  • EOF
  • symconfigure -sid #### -f convert_sid_servername.txt preview
  • symconfigure -sid #### -f convert_sid_servername.txt commit
  
  

Dissolve old METAs if applicable
- not ready DEVs
- symdev -noprompt -sid #### not_ready ####

- cat > dissolve_sid_servername.txt <<EOF
- #*start*
- convert dev #### to 2-Way-Mir;
- convert dev #### to 2-Way-Mir;
- convert dev #### to 2-Way-Mir;
- unmap dev #### from dir ##:#;
- unmap dev #### from dir ##:#;
- dissolve meta dev ####;
- dissolve meta dev ####;
- #*end*
- EOF

- symconfigure -sid #### -f dissolve_sid_servername.txt preview
- symconfigure -sid #### -f dissolve_sid_servername.txt commit

Unmap if applicable
- not ready DEVs
- symdev -noprompt -sid #### not_ready ####

- cat > unmap_sid_servername.txt <<EOF
- #*start*
- unmap dev #### from dir ##:#;
- unmap dev #### from dir ##:#;
- unmap dev #### from dir ##:#;
- #*end*
- EOF

- symconfigure -sid #### -f unmap_sid_servername.txt preview
- symconfigure -sid #### -f unmap_sid_servername.txt commit

Create METAs if applicable
- find available devices to use to create metas

- cat > metas_sid_servername.txt <<EOF
- #*start*
- form meta from dev #### config=striped;
- add dev ### to meta ####;
- add dev ### to meta ####;
- #*end*
- EOF

- symconfigure -sid #### -f metas_sid_servername.txt preview
- symconfigure -sid #### -f metas_sid_servername.txt commit

- validate the METAs just created:
- symdev -sid #### show ####

Mapping
- map the devices found/created to FA directors and ports, assigning LUNs

- cat > map_sid_servername.txt <<EOF
- #*start*
- map dev #### to dir ##:#, lun=####;
- map dev #### to dir ##:#, lun=####;
- #*end*
- EOF

- symconfigure -sid #### -f map_sid_servername.txt preview
- symconfigure -sid #### -f map_sid_servername.txt commit

- validate mapping
- symdev -sid #### show ####

Masking
- define what devices are visible to server HBAs through which FA ports

- backup the masking db
- symmaskdb -sid #### backup -file backup_sid_servername.bkup

- symmask -sid #### -dir ## -p # -wwn 10000000c9xxxxxx add devs #### -noprompt
- symmask -sid #### -dir ## -p # -wwn 10000000c9xxxxxx add devs #### -noprompt
- symmask -sid #### refresh

- validate masking
- symmaskdb -sid #### -wwn 10000000c9xxxxxx list database
- symmaskdb -sid #### -wwn 10000000c9xxxxxx list database

Device Status Check
- verify devices are in correct state
- symdev -sid #### show #### | grep "Device Status"

Symacl Configuration
* if this is a new deploy, then create accgroup

- cat > add.lob.hosts.txt<<EOF
- #*start*
- create accgroup <ssid>;
- add host accid <uniq id> name <ssid> to accgroup <ssid>;
- create accpool <ssid>;
- add dev <devs or dev range> to accpool <ssid>;
- grant access=BASE to accgroup <ssid> for ALL DEVS;
- grant access=BASECTRL to accgroup <ssid> for accpool <ssid>;
- grant access=RDF to accgroup <ssid> for accpool <ssid>;
- grant access=BCV to accgroup <ssid> for accpool <ssid>;
- grant access=SNAP to accgroup <ssid> for accpool <ssid>;
- #*end*

- symacl -a <symacl_access_pin> -sid #### preview -file add.lob.host.txt
- symacl -a <symacl_access_pin> -sid #### prepare -file add.lob.host.txt
- symacl -a <symacl_access_pin> -sid #### commit -file add.lob.host.txt

* for allocation to an existing prod server, add new devs to device pool

- symacl -sid #### list -accpool

- cat > add.prod.devs.txt <<EOF
- #*start*
- add devs <devs or dev range> to accpool <ssid>;
- #*end*

- symacl -a <symacl_access_pin> -sid #### preview -file add.prod.devs.txt
- symacl -a <symacl_access_pin> -sid #### prepare -file add.prod.devs.txt
- symacl -a <symacl_access_pin> -sid #### commit -file add.prod.devs.txt

 

Host Validation (are LUNs visible to server)

*Windows*
- rescan disks in windows disk management twice
- run powermt display dev=all (or check powerpath administrator)
- still not visible?...
- reboot host
- run powermt display dev=all (or check powerpath administrator)

*LINUX*
- lun_scan all
- powermt config
- powermt display dev=all

*AIX*
- cfgmgr
- powermt config
- powermt display dev=all

*Solaris*
- note: assumes sd.conf is fully populated, if not:
- reboot -- -r
- or touch /reconfigure and then reboot normally

- run devfsadm -C

- for powerpath ->
- powercf -q
- powermt config
- powermt display dev=all

- for veritas vm ->
- vxdctl enable

*HP-UX*
- ioscan -fnC disk
- insf -e
- powermt config
- powermt display dev=all