In recent past we have been involved in multiple projects and the most interesting one was multi-node HP StoreVirtual 4730 implementation. The entire setup had multiple sites involved and took more time than expected as we ran into some issues during the implementation.
Showing posts with label HP P9500. Show all posts
Showing posts with label HP P9500. Show all posts
How to generate license for HP Storage Products
Whenever we purchase a new storage equipment, before using that, we need to activate the license associated with the device. This is applicable for all products irrespective of vendors. HP also has a mechanism through which the customer can activate the licenses associated with their storage product.
Remove HP P9500 ldev reservation
Have you ever faced issues while deleting an ldev from HP XP or P9500 storage arrays? if yes, this is the right spot where you can find a solution. Most of the time the issue is related to lun reservation either caused by system software or cluster resources and you may not be able to delete it until you remove the reservation. There is an easy method to remove the lun reservation by using a utility which gets installed along with the HP DSM multipathing software, which we install for effectively load balancing the disk.
The utility is called HPprutil.exe, which is usually get installed under C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86 along with HP DSM software.
The command HPPRUTIL DEVICES displays the type of reservation active on each device.
The following are the types of reservation:
1. SCSI - Indicates a SCSI reservation on the device.
2. PR - Indicates a persistent reservation on the device.
3. None - Indicates the device is not reserved.
4. SCSI/PR - Indicates that a SCSI or persistent reservation exists on the device.
In the above example, you could see that device#6 has persistent reservation and if you try to remove the ldev using management console, it will fail. We can clear the reservation using HPPRUTIL command.
Let see how!
Command to Display and remove reservations present on devices are as follows,
HPPRUTIL DEVICES : Displays details of reservation on devices.
HPPRUTIL CLEAR DEVICE=<#> : Clears the reservation present on device #
open command prompt and change the directory to the source where the HPPRUTIL is located and use HPPRUTIL CLEAR DEVICE command.
You can see that the lun reservation has been cleared by the command. Run the command HPPRUTIL DEVICES to verify the status.
Persistent reservation on the device has been removed. You can delete the lun from console without any issues now.
The utility is called HPprutil.exe, which is usually get installed under C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86 along with HP DSM software.
The command HPPRUTIL DEVICES displays the type of reservation active on each device.
C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86>HPprutil.exe devices
The requested operation is in progress.Please wait......
Device# Device Name Scsi Address Reservation NT Disk#
--------------------------------------------------------------------------
1 HP OPEN-V-CM 1.0.0.0 None Disk 1
2 HP OPEN-V-CM 1.0.1.1 None Disk 2
3 HP OPEN-V-CM 1.0.2.0 None Disk 3
4 HP OPEN-V-CM 1.0.2.1 None Disk 4
5 HP OPEN-V 1.0.2.4 None Disk 5
6 HP OPEN-V 0.0.2.10 PR Disk 6
The following are the types of reservation:
1. SCSI - Indicates a SCSI reservation on the device.
2. PR - Indicates a persistent reservation on the device.
3. None - Indicates the device is not reserved.
4. SCSI/PR - Indicates that a SCSI or persistent reservation exists on the device.
In the above example, you could see that device#6 has persistent reservation and if you try to remove the ldev using management console, it will fail. We can clear the reservation using HPPRUTIL command.
Let see how!
Command to Display and remove reservations present on devices are as follows,
HPPRUTIL DEVICES : Displays details of reservation on devices.
HPPRUTIL CLEAR DEVICE=<#> : Clears the reservation present on device #
open command prompt and change the directory to the source where the HPPRUTIL is located and use HPPRUTIL CLEAR DEVICE command.
C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86>HPprutil.exe clear device=6
The requested operation is in progress.Please wait......
HPPRUTIL will attempt to clear the reservation on device 6.
Are you sure you want to continue (y/n)? y
Attempting to clear the reservation on device 6...
Successfully cleared the reservation on device.
C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86>
You can see that the lun reservation has been cleared by the command. Run the command HPPRUTIL DEVICES to verify the status.
C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86>HPprutil.exe devices
The requested operation is in progress.Please wait......
Device# Device Name Scsi Address Reservation NT Disk#
--------------------------------------------------------------------------
1 HP OPEN-V-CM 1.0.1.0 None Disk 1
2 HP OPEN-V-CM 0.0.0.1 None Disk 2
3 HP OPEN-V-CM 0.0.2.0 None Disk 3
4 HP OPEN-V-CM 0.0.2.1 None Disk 4
5 HP OPEN-V 1.0.2.4 None Disk 5
6 HP OPEN-V 0.0.2.10 None Disk 6
C:\Program Files\Hewlett-Packard\HP MPIO DSM\XP DSM\X86>
Persistent reservation on the device has been removed. You can delete the lun from console without any issues now.
HP XP/P9500 and Hitachi(HDS) Terminology Comparison
Most of us are already aware that the difference between Hitachi USP-V/VSP and HP XP storage is mainly with the front-end interface which we use to manage these devices. I have come across multiple situations where I got confused with the software terminologies between these two vendors. Those situations made me to think and prepare a chart to compare the software features between these two. Hope this will be useful for many others.

