================================================================================ INSTALL Need to have "Common Serial Number Mode" enabled/config'd on the Symm. (C & D director flags) If powerpath and DMP on same node: install DMP first, then PP, PP settings must be after DMP in /etc/system file. /etc/system *EMCpower - manual add (60s timeout) set sd:sd_io_time=0x3c /usr/sbin/emcpreg -install Give KEY if AIX cfgmgr lsdev -Cc disk diag Advanced sys ver select each fcsX no to plug should have not troubles found F10 /usr/lpp/Symmetrix/bin/emc_cfgmgr fi if AIX /usr/lpp/Symmetrix/bin/emc_cfgmgr /usr/lpp/EMC/Symmetrix/bin/inq.aixXX fi powermt config if AIX cfgmgr lsdev -Cc disk fi if Solaris devfsadm fi powermt display dev=all powermt display ports powermt display paths VERIFY pkginfo -l EMCpower modinfo | grep emcp /opt/EMCpower/bin/powermt display dev=all if not good powercf -q (optional - deprecated) powermt config powermt display dev=all vxddladm listjbod IF vxdctl enable looses powerpath, try powervxvm online ================================================================================ emcpmgr powermt Manages a PowerPath environment. powercf Configures PowerPath devices. emcpreg Manages PowerPath license registration. emcpminor Checks for free minor numbers. emcpupgrade Converts PowerPath configuration files. powermt check Checks for, and optionally removes, dead paths. powermt check_registration Checks the state of the PowerPath license. powermt config Configures logical devices as PowerPath devices. powermt display powermt watch Displays the state of HBAs configured for PowerPath. powermt watch is deprecated. powermt display options Displays the periodic autorestore setting. powermt load Loads a PowerPath configuration. powermt remove Removes a path from the PowerPath configuration. powermt restore Tests and restores paths. powermt save Saves a custom PowerPath configuration. powermt set mode Sets paths to active or standby mode. powermt set periodic_autorestore Enables or disables periodic autorestore. powermt set policy Changes the load balancing and failover policy. powermt set priority Sets the I/O priority. powermt set transparent Enables or disables load balancing and failover. This command is deprecated. powermt set write_throttle Enables or disables I/O write throttling to a logical device. powermt set write_throttle_queue Sets the write throttling queue depth for a storage system. powermt version Returns the number of the PowerPath version for which powermt was created. powercf -q updates the PowerPath driver configuration file. -Z configures an SRDF-enabled server to be bootable from an R2 mirror of a Symmetrix-based emcpower boot disk by a remote host. emcpreg [-f pathname] -add key [ key ...] emcpreg [-f pathname] -check key [ key ...] emcpreg [-f pathname] -edit emcpreg [-f pathname] -install [-noinput] emcpreg [-f pathname] -list emcpreg [-f pathname] -remove key [ key ...] emcpminor check minor [ minor] emcpminor get [-n N] [-b base] emcpminor check Checks whether a minor number, or set of minor numbers, is free. emcpminor get Returns the first available minor number or set of minor numbers. emcpupgrade check [-f filename] [-c] emcpupgrade convert [-f filename] [-c] emcpupgrade validate [-v] [-c] emcpupgrade check Compares the saved PowerPath 2.x or 3.x configuration against the system configuration. emcpupgrade convert Converts the saved PowerPath 2.x or 3.x configuration files to PowerPath 4.0 files. emcpupgrade validate Checks the validity of the converted configuration. ================================================================================ To reread powerpath devices: powercf -q powermt config powerpath license install: /etc/emcpreg -install /usr/sbin/emcpreg -install ================================================================================ Solaris setup: In the /etc/system file, make sure the timeout value is set to 60 seconds. This minimizes path failover time without compromising online storage-system microcode or base code upgrades. The entry must be a hexadecimal number. For native or generic Sun HBA drivers: set ssd:ssd_io_time=0x3C For Emulex or Qlogic HBA drivers: set sd:sd_io_time=0x3C Config HBAs Persistent binding /usr/sbin/lpfc/lptutil 5 - persistent binding 5 - bind automapped targets loop for each adapter Yes to bind all auto-mapped targets 2 - bind by port name reboot -- -r Config sd.conf Label drives If VX and Powerpath - install and config VX first. If both, make sure vx drivers occur first (before) powerpath in /etc/system. Install PP s/w /etc/emcpreq -install reboot -- -r /opt/EMCpower powermt display dev=all If some disks are not PP config'd powercf -q powermt config powermt display dev=all ================================================================================ Recover a falied path: Q. How do I recover a failed path on AIX? Run the following Powerpath command to display the failed path: #powermt display Example of the output: Symmetrix logical device count=0 CLARiiON logical device count=199 ******************************************************************************** ----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------ ### HW Path Summary Total Dead IO/Sec Q-IOs Errors ******************************************************************************** 0 fscsi5 optimal 98 0 - 0 0 1 fscsi6 optimal 101 0 - 0 0 2 fscsi9 failed 98 98 - 0 98 3 fscsi10 optimal 101 0 - 0 0 Work with Open System Storage Management team . They may instruct you to try a restore of the HBA. The example above shows hba 2 (fscsi9) is having the problem. #powermt restore hba=2 If the restore command is successful you will get your prompt back . The Open System Storage Management team will see the devices trespass back. Otherwise you may see the following errors: Warning: CLARiiON device path hdisk201 is currently dead. Warning: CLARiiON device path hdisk202 is currently dead. Warning: CLARiiON device path hdisk203 is currently dead. Warning: CLARiiON device path hdisk204 is currently dead. Further problem determination is required. Possible issues could be: . unix system adapter . fibre cabling . EMC port failure Once the physically issue has been addressed do the following: #powermt display In this example the failed hba is 2 Run the following to remove path to the dead hdisks from Powerpath: #powermt check hba=2 Warning: CLARiiON device path hdisk201 is currently dead. Do you want to remove it (y/n/a/q)? Type, a This will remove all devices. The output example now looks as follows. hba 2 has been removed: #powermt display Symmetrix logical device count=0 CLARiiON logical device count=199 ******************************************************************************** ----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------ ### HW Path Summary Total Dead IO/Sec Q-IOs Errors ******************************************************************************** 0 fscsi5 optimal 98 0 - 0 0 1 fscsi6 optimal 101 0 - 0 0 3 fscsi10 optimal 101 0 - 0 0 Now determine the hdisk assocated with hba fcs9. #lsdev C | grep fcs9 (Note the location code and use it in the next grep) #lsdev C | grep 2M-08 These hdisks need to be removed from AIX. #rmdev -dl hdisk201 #rmdev -dl hdisk202 #rmdev -dl hdisk203 #rmdev -dl hdisk204 Remove the remaining devices until only the adapter fcs9 remains. #rmdev -dl fcnet9 #rmdev -dl fscsi9 #lsdev -C|grep 2M-08 fcs9 Available 2M-08 FC Adapter Next you will run diag. Work this Open System Storage Management team to see if the port logs into the fabric. Diag Diagnostice routines System Verification Arrow down to the adapter and press . Note + sign appears F7 (this will start diag running) If Open System Storage Mgmt does not see the adapter you will need to remove it and run cfgmgr. #lsdev C | grep 2M-08 #rmdev -dl fcnet9 #rmdev -dl fscsi9 #rmdev -dl fcs9 #cfgmgr v Check the adapter. If it looks like the following ask Open Systems Storage Mgmt if they see it logged into the fabric. #lsdev -C|grep 2M-08 fcnet9 Defined 2M-08-02 Fibre Channel Network Protocol Device fcs9 Available 2M-08 FC Adapter fscsi9 Available 2M-08-01 FC SCSI I/O Controller Protocol Device hdisk201 Available 2M-08-01 EMC CLARiiON FCP LUNZ Disk Open Systems Storage mgmt performs a procedure for registering a new hba. When notified that it is ok to continue, remove the hdiskxxx called EMC CLARiiON FCP LUNZ Disk and run cfgmgr again. #rmdev -dl hdisk201 #cfgmgr v Check the adapter and see if you know have all the hdisks again. #lsdev -C|grep 2M-08 Check Powerpath. Are all paths there and showing optimal? #powermt display Symmetrix logical device count=0 CLARiiON logical device count=199 ******************************************************************************** ----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------ ### HW Path Summary Total Dead IO/Sec Q-IOs Errors ******************************************************************************** 0 fscsi5 optimal 98 0 - 0 0 1 fscsi6 optimal 101 0 - 0 0 2 fscsi9 optimal 98 0 - 0 0 3 fscsi10 optimal 101 0 - 0 0 The LUNs may still be trespassed on the Clariion, Run the following Powerpath command to cause them to trespass back. Your prompt should come back cleanly. On the Open System Storage Mgmt side they will see the trespass occurring and will take a few minutes to complete. #powermt restore hba=2 End of procedure ================================================================================ One path mode is "unlic". Set policy=SymmOpt (so). # powermt display dev=all Pseudo name=emcpower0a Symmetrix ID=000187720661 Logical device ID=01D2 state=alive; policy=BasicFailover; priority=0; queued-IOs=0 ^^^^^^^^^^^^^ ============================================================================== ---------------- Host --------------- - Stor - -- I/O Path - -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 2304 pci@1c/lpfc@1 c3t0d48s0 FA 8aA unlic alive 0 ^^^^^ 0 2305 pci@1d/lpfc@1 c4t0d48s0 FA 9aA active alive 0 0 ********************************** # powermt set policy=so dev=all # powermt save ********************************** # powermt display dev=all Pseudo name=emcpower0a Symmetrix ID=000187720661 Logical device ID=01D2 state=alive; policy=SymmOpt; priority=0; queued-IOs=0 ^^^^^^^ ============================================================================== ---------------- Host --------------- - Stor - -- I/O Path - -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 2304 pci@1c/lpfc@1 c3t0d48s0 FA 8aA active alive 0 ^^^^^^ 0 2305 pci@1d/lpfc@1 c4t0d48s0 FA 9aA active alive 0 0 ================================================================================