Professional Documents
Culture Documents
Search
EMC PowerPath/VE (Virtual Edition) for VMware vSphere Install Reference Guide
September 13, 2010
End of Page 1
Page 2
The output will look similar to: Note PowerPath is not listed until it is installed.
Following these instructions are all that are required for a successful install. PowerPath/VE installation command is: replace the server name, install path and version where needed. Its best to copy this string into Notepad and then into the CLI to remove any formatting. 3) vihostupdate.pl server yourvspherehost install bundle=\\your-uncpath\EMCPower.VMWARE.5.4.SP1.b033.zip After this command executes (it takes approx. 2 minutes to complete), you will see the following:
DO NOT REBOOT at this point. If the host you are performing the install on is attached to an EMC Symmetrix or CLARiiON array, you must follow the procedures described on pages 5 thru 8 before rebooting. Claim rules can ONLY be modified on I/O active LUNs after PowerPath is installed and prior to the post install reboot.
The output will look similar to: Note PowerPath/VE is now listed.
Once defined, the host can be licensed using the following command: rpowermt host= yourvspherehost register Once registered, verify by this command: rpowermt host= yourvspherehost check_registration
The output will be similar to this: PowerPath License Information: Host ID Type State : some ID hash here : unserved (uncounted) : licensed
Days until expiration : (non-expiring) License search path: E:\PowerPathVE\Licenses License file(s): E:\PowerPathVE\Licenses\license.lic E:\PowerPathVE\Licenses\ license.lic
End The ESX or ESXi host should now have PowerPath/VE installed and is licensed in unserved mode. PowerPath/VE will be set as the owner of all Datastore LUNs. During installation on ESX hosts attached to EMC Symmetrix with LUNZ presented (C0:T0:L0), ESX claimrules must be altered to account for this. EMC CLARiiON attached hosts are not affected. LUNZ is also known as LUN Zero (0). The presence of these devices causes several issues and errors on the ESX console. See error:
Use the vSphere CLI for executing commands and queries against an ESX 4.0 vSphere hosts. Below is a post PowerPath/VE installation corestorage claimrule definition. Note that PowerPath owns rules 250 and above after the installation. esxcli server yourvspherehost corestorage claimrule list
ESX 4 vSphere now has a concept of a PSA pluggable storage architecture. VMware corestorage claim rules control how the ESX/ESXi server utilizes storage presented to it. These claim rules are stored in the esx.conf file and is parsed during each reboot or rescan of an HBA device by the host. Refer to page 83 from the VMware esxcli reference guide: http://www.vmware.com/pdf/vsphere4/r40/vsp_40_vcli.pdf Also, refer to VMware kb 1015084: Unpresenting a LUN containing a Datastore from ESX 4.x and ESXi 4.x http://kb.vmware.com/selfservice/microsites/search.do? language=en_US&cmd=displayKC&externalId=1015084 Run the following commands in this order specific to an individual ESX/ESXi host. Replace the hostname in the examples below with the desired host name. Claim rule altering commands must be performed on each HBA device on the host that is attached to the SAN. Refer to HBA1 and HBA2. 1) esxcli server yourvspherehost corestorage claimrule list This command is to list the claim rules for review. 2) esxcli server yourvspherehost corestorage claimrule add plugin MASK_PATH rule 102 type location -A vmhba1 -C 0 -T 0 -L 0 This command creates a new claim rule 102 that masks LUNZ from the host on HBA1. 3) esxcli server yourvspherehost corestorage claimrule add plugin MASK_PATH rule 103 type location -A vmhba2 -C 0 -T 0 -L 0
not the runtime rule until a reboot occurs. Before reboot output: 102 file location MASK_PATH adapter=vmhba1 channel=0 target=0 lun=0 103 file location MASK_PATH adapter=vmhba2 channel=0 target=0 lun=0 After reboot output: 102 runtime location MASK_PATH adapter=vmhba1 channel=0 target=0 lun=0 102 file location MASK_PATH adapter=vmhba1 channel=0 target=0 lun=0 103 runtime location MASK_PATH adapter=vmhba2 channel=0 target=0 lun=0 103 file location MASK_PATH adapter=vmhba2 channel=0 target=0 lun=0 5) esxcli server yourvspherehost corestorage claimrule load This command loads the new claim rules into memory. 6) esxcli server yourvspherehost corestorage claimrule run This command runs the new esx.conf corestorage claimrule definitions. 7) Reboot the ESX/ESXi host and verify that the desired LUN is masked by looking in vCenter > Configuration tab > Storage Adapters. Highlight vmhba1 and vmhba2 separately and verify that the LUN you wanted masked does not appear.
After claim rules are set to mask the LUNZ devices on each hosts HBA following the instructions above. The console errors cease and the LUNZ device is no longer being presented to the host
If you skipped licensing, go back and complete the steps on pages 3 and 4 PowerPath/VE licensing and rpowermt remote administration.
A vmhba1 -C 0 -T 0 -L 0 esxcli server yourvspherehostcorestorage claimrule add plugin MASK_PATH rule 103 type location A vmhba2 -C 0 -T 0 -L 0 esxcli server yourvspherehostcorestorage claimrule list esxcli server yourvspherehostcorestorage claimrule load esxcli server yourvspherehostcorestorage claimrule run If deletion of a claimrule is required: esxcli server yourvspherehostcorestorage claimrule delete rule ###
End of Page 8
Calendar
July 2011 M T WT F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Sep
Pages
Home photos vSphere Stuff
Categories
ESX Admins
Archives
September 2010
Meta
Log in Powered by WordPress | Designed by Switchroyale