页面

Wednesday, February 2, 2011

Configure a PowerPath Logical Device

Powerpath need to reconfigure after after host-storage connectivity or logical device identification
For example:
◆ Fibre Channel switch zone changes
◆ Adding or removing Fibre Channel switches
◆ Adding or removing HBAs or storage-system ports
◆ Adding or removing logical devices
◆ Redeploying existing logical devices

Add new path or new logical device
1. # powermt display dev=all    (To confirm which new path will be added)
2. a. Map the logical device to additional storage-system ports
   b. Add new HBAs.
   c. Attach cable
   d. Rezone FC switch
3. Make new path available to host
4. run "emc_cfgmgr" script
5. # powermt config
6. # powermt display dev=all    (The new path should be displayed)
7. # powermt restore    (test all paths)
8. # powermt save    (save new configuration)


Remove path or logical device or Entire HBAs

Once device is removed from PowerPath,you can remove it from AIX, and then replace hardware as needed.
Note: Can also use this to delete PowerPath configuration as part of an ODM cleanup;change logical unit number on storage devices;restore mksysb from one host to another.
1. # powermt display dev=all    (Confirm the current configuration)
2. # powermt remove    (To unmap device you want to,it'll update information in powerpath0 driver)
HBA - remove entire HBA
Device - remove all paths to the specific logical device
HBA and device - remove a single path to specific logical device
3. # rmdev -dl device    (remove the device from previous step)
4. # savebase -v    (update attribute in the boot logical volume)
5. # powermt display dev=all
6. # powermt save

No comments:

Post a Comment