Jump to: navigation, search

Difference between revisions of "How to deploy cinder with EMC plug-in"

Line 1: Line 1:
'''The following guide describe how to steps to configure and deploy cinder with EMC plug-in.'''  
+
<sup>'''The following guide describe how to steps to configure and deploy cinder with EMC plug-in.'''</sup>
  
[[File:Cinder emc.jpeg|framed|center]]
+
[[File:Cinder emc.jpeg|thumbnail|center]]
  
 
'''<big>Intro</big>:'''
 
'''<big>Intro</big>:'''
Line 8: Line 8:
 
Cinder supports different volume drivers, those drivers allows creation and modification of volumes directly on related storage Vendor (type).
 
Cinder supports different volume drivers, those drivers allows creation and modification of volumes directly on related storage Vendor (type).
 
in our case, EMC driver.
 
in our case, EMC driver.
 +
 +
note that configuration is not that strait-forward, so please make sure to follow all steps required.
 +
 +
'''Setup:'''
 +
 +
- Cinder machine installed with RHEL6.4
 +
  * note: we are using basic AIO topology
 +
 +
- Dedicated physical machine installed with RHEL6.4 (64bit)
 +
  * note: this machine will be used to host the SMI-S agent
 +
 +
- EMC storage (we are using EMC VNX5300)
 +
  * address of both SPA and SPB controllers
 +
  * user and password for both controllers
 +
  * dedicated storage pool (in our example: call it - "OpenStack")
 +
 +
'''Configuration:'''
 +
 +
 +
SMI-S machine:
 +
- install the following pachages
 +
    * yum install -y libgcc_s.so.1 glibc.i686 *pywbem* compat-libstdc++-33.x86_64
 +
- download SMI-S (solution provider) from EMC site and install it (kit name: se7510-Linux-i386-SMI.tar)
 +
- unpack and install SMI-S agent:
 +
    * tar -xvf se7510-Linux-i386-SMI.tar
 +
    * ./se7510_install.sh -install -host
 +
-
 +
 +
- on cinder machine, perform the following actions:
 +
  * edit /etc/cinder/cinder.conf
 +
        iscsi_target_prefix = iqn.1992-04.com.emc
 +
        iscsi_ip_address = 1.1.1.104
 +
        volume_driver = cinder.volume.drivers.emc.emc_smis_iscsi.EMCSMISISCSIDriver
 +
        cinder_emc_config_file = /etc/cinder/cinder_emc_config.xml
 +
 +
  * create the following file and append the configuration:
 +
      <?xml version='1.0' encoding='UTF-8'?>
 +
      <EMC>
 +
      <StorageType>OpenStack</StorageType>
 +
      <EcomServerIp>1.1.1.10</EcomServerIp>
 +
      <EcomServerPort>5985</EcomServerPort>
 +
      <EcomUserName>admin</EcomUserName>
 +
      <EcomPassword>#1Password</EcomPassword>
 +
      </EMC

Revision as of 11:12, 18 July 2013

The following guide describe how to steps to configure and deploy cinder with EMC plug-in.

Cinder emc.jpeg

Intro:

Cinder is responsible for management of block storage in openstack, and handles volume management related tasks. Cinder supports different volume drivers, those drivers allows creation and modification of volumes directly on related storage Vendor (type). in our case, EMC driver.

note that configuration is not that strait-forward, so please make sure to follow all steps required.

Setup:

- Cinder machine installed with RHEL6.4

 * note: we are using basic AIO topology 

- Dedicated physical machine installed with RHEL6.4 (64bit)

 * note: this machine will be used to host the SMI-S agent

- EMC storage (we are using EMC VNX5300)

  * address of both SPA and SPB controllers 
  * user and password for both controllers 
  * dedicated storage pool (in our example: call it - "OpenStack")

Configuration:


SMI-S machine: - install the following pachages

   * yum install -y libgcc_s.so.1 glibc.i686 *pywbem* compat-libstdc++-33.x86_64 

- download SMI-S (solution provider) from EMC site and install it (kit name: se7510-Linux-i386-SMI.tar) - unpack and install SMI-S agent:

   * tar -xvf se7510-Linux-i386-SMI.tar
   * ./se7510_install.sh -install -host

-

- on cinder machine, perform the following actions:

  * edit /etc/cinder/cinder.conf 
       iscsi_target_prefix = iqn.1992-04.com.emc
       iscsi_ip_address = 1.1.1.104
       volume_driver = cinder.volume.drivers.emc.emc_smis_iscsi.EMCSMISISCSIDriver
       cinder_emc_config_file = /etc/cinder/cinder_emc_config.xml
  * create the following file and append the configuration:
      <?xml version='1.0' encoding='UTF-8'?>
      <EMC>
      <StorageType>OpenStack</StorageType>
      <EcomServerIp>1.1.1.10</EcomServerIp>
      <EcomServerPort>5985</EcomServerPort>
      <EcomUserName>admin</EcomUserName>
      <EcomPassword>#1Password</EcomPassword>
      </EMC