Knowledge Base

 
Search the Knowledge Base   View by Article ID
 

Configuring HP StorageWorks D2D & VLS virtual tape libraries on ESX 3.x (Partner Support)

Details

This article provides instructions for Partner Support for:
  • Configuring the HP StorageWorks D2D Backup System and HP StorageWorks Virtual Library System (VLS) with ESX 3.x and ESXi 3.5 (for vSphere 4.x see KB 1017757)
  • Creating, presenting, and accessing virtual tape library (VTL) devices on both the ESX host and virtual machine layer for backup operations
HP offers two unique disk-based data protection systems:
  • The HP StorageWorks D2D Backup Systems (D2D) provides for small or medium-sized data centers and distributed environments, supporting both iSCSI and Fibre Channel interfaces.    
  • The HP StorageWorks Virtual Library System (VLS) provides for medium or large data centers with a multi-node scalable enterprise disk-based system using Fibre Channel interfaces. 
Multi-LUN tape devices are not supported in ESX. This article shows you how to use the HP D2D and VLS systems without the need for Multi-LUN devices.
 
Note:

Partner support implies that the solution is not directly supported by VMware and customer will have to contact HP for issues with this configuration. VMware will offer best effort support to the partner to fix vSphere related problems that may be found in the field. The partner will have to verify proper functioning of the configuration with any future vSphere major and minor release as VMware doesn’t guarantee that compatibility with future major/minor releases will be maintained.

Solution

Notes:
  • Present HP D2D iSCSI devices directly to the ESX host or virtual machine iSCSI initiator for use by the host or virtual machine respectively.
  • Present HP D2D and VLS FC devices to the ESX host for use by the ESX host or virtual machine.
  • Present the VTL only on a single iSCSI or FC path. Multi-pathing is not supported, even experimentally, with this configuration.
  •  iSCSI connectivity must be at least 1 GigE

There are four ways to configure and use HP D2D and VLS devices:

Present a D2D iSCSI VTL to the ESX host for use by the ESX host (COS only)

To present a D2D iSCSI VTL to the ESX host and make it available to the COS:

  1. Configure the ESX host iSCSI initiator as directed by the VMware iSCSI SAN Configuration Guide. Be sure to configure the HP D2D device as an iSCSI target.
  2. Create the VTL using the HP D2D Backup System web-based GUI by clicking the Virtual Tape Devices tab and selecting Create library.

    When the library is created the ESX host iSCSI initiator name (IQN) must be entered. The ESX host iSCSI initiator name (IQN) is obtained from the VMware Infrastructure (VI) or vSphere Client.
    1. Login to the VI or vSphere Client as an administrative user.
    2. In Hosts and Clusters select the ESX host.
    3. Click the Configuration tab.
    4. Click Storage Adapters in the Hardware section.
    5. Click the appropriate iSCSI adapter.
       
  3. Make sure the VTL is available on the ESX host by using the VI or vSphere Client.
    1. Select the appropriate iSCSI adapter.
    2. Right-click on the adapter and select Rescan.
    3. The VTL tape and media changer devices are listed under the storage adapter devices and look similar to:

      Note: The appearance varies by ESX version.

      Name                                            Runtime Name      LUN  Type
      HP iSCSI Tape (naa.5001438003dd1ec4)            vmhba32:C0:T5:L0  0    tape
      HP iSCSI Medium Changer (naa.5001438003dd1f84)  vmhba32:C0:T6:L0  0    media changer
       
  4. Check that the service console sees the tape drive with the command:

    # cat /proc/scsi/scsi

    The output appears similar to:

    Host: scsi3 Channel: 00 Id: 08 Lun: 00
    Vendor: HP Model: Ultrium 4-SCSI Rev: ED41


    Note: If you are using ESX 3.5 Update 5, the Service Console will NOT have access to these devices and there is no known workaround for that. This configuration will not work with Update 5.

    Note: If the ESX host console sees the tape device, install the ESX host specific backup software agent that has support for your tape device. If no ESX host specific backup agent is provided by your backup software vendor, try to install the backup agent your vendor supplies for Red Hat Enterprise Linux. Follow the backup software instructions for configuring the media changer. Test this agent on an ESX host test bed before installing it on your ESX host production system. For more information, see Backup Software Compatibility For ESX Server 3.5 and ESXi Server 3i.
The VTL devices are now ready for use by the ESX host.
 
Note: iSCSI connectivity must be at least 1 GigE

Present a D2D iSCSI VTL to the virtual machine for use by the virtual machine

To present a D2D iSCSI VTL to a virtual machine:

  1. Create the VTL using the HP D2D Backup System web-based GUI by clicking on the Virtual Tape Devices tab and selecting Create library.

    When the library is created the virtual machine iSCSI initiator name (IQN) must be entered. For a Windows virtual machine running the Microsoft iSCSI initiator the iSCSI initiator name is obtained with these steps:
    1. Open the Microsoft iSCSI Initiator properties window. For Windows 2003, run iscsicpl.cpl. For Windows 2008, run iscsicpl.exe.
    2. Click the General tab to view the initiator name. It looks similar to:

      iqn.1991-05.com.microsoft.virtualmachinename
       
  2. Configure the virtual machine software iSCSI initiator. A Windows virtual machine running the Microsoft iSCSI initiator is configured using these steps:
    1. Open the Microsoft iSCSI Initiator properties window. For Windows 2003, run iscsicpl.cpl. For Windows 2008, run iscsicpl.exe.
    2. Click the Discovery tab and add the HP D2D IP address and port number. The default port number is port 3260.
    3. Click the Targets tab and log on to the HP D2D target devices. There is a target device for the media changer and each tape drive configured in the VTL. You may have to click Refresh to get a complete list.
    4. When configuring the VTL device log on select the option to automatically reestablish the connection when the computer starts.
       
  3. Make sure the VTL is available on the virtual machine by checking in the Windows device manager:
    1. Start the Windows device manager by running:

      mmc.exe devmgmt.msc

       
    2. Double-click Medium Changers or Medium Changer Devices to verify a new media changer device exists.
    3. Double-click Tape Drives to verify a new tape devices exists.
    4. If the devices do not exist, click the Action menu and select Scan for hardware changes.

      Note: It is possible for a tape device to be listed under Other devices in the Windows device manager if a tape driver is not installed. In that case, install the proper HP tape driver and the device is moved to Tape drives.
The VTL devices are now ready for use by the virtual machine.
 
Note: iSCSI connectivity must be at least 1GigE

Present the FC VTL to the ESX host for use by the ESX host (COS only)

To present a D2D or VLS FC VTL to the ESX host and make it available to the COS:

  1. Create the VTL using the HP D2D or VLS web based GUI.

    Note: On the HP VLS, to ensure single-LUN devices are created:
    • A VTL must not contain more devices than physical FC host ports on the VLS.
    • All VTL devices must be presented from a different VLS FC host port. For example, a VTL with a media changer and a single tape drive is setup with the media changer on FC port 0 and the tape drive on FC port 1.
       
  2. If SAN zoning is enabled ensure that the D2D or VLS FC world-wide names are added to the proper ESX host zone.

    Note: The HP D2D uses NPIV to create a unique world-wide name for each D2D virtual device.
     
  3. Make sure the tape library is available on the ESX host:
    1. Log in to the VI or vSphere Client as an administrative user. 
    2. In Hosts and Clusters select the ESX host.
    3. Click the Configuration tab.
    4. Click Storage Adapters in the Hardware section.
    5. Select the appropriate SCSI adapter.
    6. Right-click on the adapter and click Rescan.
    7. The VTL tape and media changer devices are listed under the storage adapter devices and look similar to:

      Note: The appearance varies by ESX version.

      Name                                                    Runtime Name     LUN  Type
      HP Fibre Channel Tape (naa.5001438003dd1ed4)            vmhba1:C0:T3:L0  0    tape
      HP Fibre Channel Medium Changer (naa.5001438003dd1f88)  vmhba1:C0:T2:L0  0    media changer
       
  4. Check that the service console sees the tape drive with the command

    # cat /proc/scsi/scsi

    The output of the command appears similar to:

    Host: scsi3 Channel: 00 Id: 10 Lun: 00
    Vendor: HP Model: Ultrium 4-SCSI Rev: ED41


    Note: If you are using ESX 3.5 Update 5, you may have to reboot the ESX host first for the COS to see the tape device.

    Note: If the ESX host COS sees the tape device, install the ESX host specific backup software agent that has support for your tape device. If no ESX host specific backup agent is provided by your backup software vendor, try to install the backup agent your vendor supplies for Red Hat Enterprise Linux. Follow the backup software instructions for configuring the media changer. Test this agent on an ESX host test bed before installing it on your ESX host production system. For more information, see Backup Software Compatibility For ESX Server 3.5 and ESXi Server 3i.
    The VTL devices should now be ready for use by the ESX host.
Note: When using VTL devices on an ESX host, the following rules apply:
  • VTL devices presented to and in use by the ESX host may not be made available to a virtual machine. 
  • VTL devices presented to the ESX host and made available to a virtual machine may not be used by the ESX host.
  • VTL devices presented to the ESX host and made available to a virtual machine may only be made available to a single virtual machine at a time.

Present the FC VTL to the ESX or ESXi host for use by the virtual machine

To present the FC VTL to the ESX or ESXi host for use by the virtual machine:
  1. Follow steps 1-3 in Present the FC VTL to the ESX host for use by the ESX host (COS only), then follow these steps to make the FC VTL devices available to the virtual machine.
  2. Log in to the VI or vSphere Client as an administrative user.
  3. In Hosts and Clusters right-click on the virtual machine and click Edit Settings.
  4. On the Hardware tab, click Add.
  5. Choose SCSI Device as the type of device to add.
  6. Select Media – HP SCSI device for the media changer or Tape – HP SCSI device for the tape drive.
  7. Click Next and verify the selections, then click Finish.
  8. Repeat steps 1-6 for each media changer and tape device to be used by the virtual machine.

Helpful HP Links

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • (8 Ratings)

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Email address (optional)
  • (8 Ratings)
Actions