Create the file
/etc/cinder/cinder_emc_config.xml
.
You do not need to restart the service for this
change.
For VMAX, add the following lines to the XML file:
<?xml version='1.0' encoding='UTF-8'?> <EMC> <StorageType>xxxx</StorageType> <MaskingView>xxxx</MaskingView> <EcomServerIp>x.x.x.x</EcomServerIp> <EcomServerPort>xxxx</EcomServerPort> <EcomUserName>xxxxxxxx</EcomUserName> <EcomPassword>xxxxxxxx</EcomPassword> </EMC<
For VNX, add the following lines to the XML file:
<?xml version='1.0' encoding='UTF-8'?> <EMC> <StorageType>xxxx</StorageType> <EcomServerIp>x.x.x.x</EcomServerIp> <EcomServerPort>xxxx</EcomServerPort> <EcomUserName>xxxxxxxx</EcomUserName> <EcomPassword>xxxxxxxx</EcomPassword> </EMC<
To attach VMAX volumes to an OpenStack VM, you must create a Masking View by using Unisphere for VMAX. The Masking View must have an Initiator Group that contains the initiator of the OpenStack compute node that hosts the VM.
StorageType is the thin pool where user wants to create the volume from. Only thin LUNs are supported by the plug-in. Thin pools can be created using Unisphere for VMAX and VNX.
EcomServerIp and EcomServerPort are the IP address and port number of the ECOM server which is packaged with SMI-S. EcomUserName and EcomPassword are credentials for the ECOM server.