Atom feed of this document
  
 
 Enable the HP LeftHand/StoreVirtual iSCSI driver in standard mode

The HPLeftHandISCSIDriver is installed with the OpenStack software.

  1. Install the hplefthandclient Python package on the OpenStack Block Storage system.

    # pip install 'hplefthandclient>=1.0.2,<2.0'
  2. If you are not using an existing cluster, create a cluster on the HP LeftHand storage system to be used as the cluster for creating volumes.

  3. Make the following changes in the /etc/cinder/cinder.conf file:

    ## REQUIRED SETTINGS
    
    # LeftHand WS API Server URL
    hplefthand_api_url=https://10.10.0.141:8081/lhos
    
    # LeftHand Super user username
    hplefthand_username=lhuser
    
    # LeftHand Super user password
    hplefthand_password=lhpass
    
    # LeftHand cluster to use for volume creation
    hplefthand_clustername=ClusterLefthand
    
    # LeftHand iSCSI driver
    volume_driver=cinder.volume.drivers.san.hp.hp_lefthand_iscsi.HPLeftHandISCSIDriver
    
    ## OPTIONAL SETTINGS
    
    # Should CHAPS authentication be used (default=false)
    hplefthand_iscsi_chap_enabled=false
    
    # Enable HTTP debugging to LeftHand (default=false)
    hplefthand_debug=false
                        

    You can enable only one driver on each cinder instance unless you enable multiple back-end support. See the Cinder multiple back-end support instructions to enable this feature.

    If the hplefthand_iscsi_chap_enabled is set to true, the driver will associate randomly-generated CHAP secrets with all hosts on the HP LeftHand/StoreVirtual system. OpenStack Compute nodes use these secrets when creating iSCSI connections.

    [Important]Important

    CHAP secrets are passed from OpenStack Block Storage to Compute in clear text. This communication should be secured to ensure that CHAP secrets are not discovered.

    [Note]Note

    CHAP secrets are added to existing hosts as well as newly-created ones. If the CHAP option is enabled, hosts will not be able to access the storage without the generated secrets.

  4. Save the changes to the cinder.conf file and restart the cinder-volume service.

The HP LeftHand/StoreVirtual driver is now enabled in standard mode on your OpenStack system. If you experience problems, review the Block Storage service log files for errors.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...