ViPR 2.2 - Configure third-party block storage ports for ViPR
Table of Contents
ViPR discovery of third-party block storage ports
The OpenStack API does not provide the storage port World Wide Port Name (WWPN) for Fibre Channel connected storage systems, or the IQN for iSCSI connected storage systems. Therefore, ViPR cannot retrieve the storage port WWPNs, or IQNs during discovery.
After ViPR discovers a third-party block storage array, a default storage port is created for the storage system, and appears in the Storage Port page, with the name Default, and storage port identifier: Openstack+<storagesystemserialnumber>+Port+Default.
Fibre Channel configured storage ports
ViPR export operations cannot be performed on an FC connected storage system, which has been added to ViPR without any WWPNs assigned to the storage port. Therefore, ViPR system administrators must manually add at least one WWPN to the default storage port before performing any export operations on the storage system. WWPNs can be added to ViPR through the ViPR CLI and UI.
After the WWPN is added to the storage port, you can perform export operations on the storage system from ViPR. At the time of the export, ViPR reads the export response from the Cinder service. The export response will include the WWPN, which was manually added by the system administrator from the ViPR CLI, and any additional WWPNs listed in the export response. ViPR then creates a storage port for each of the WWPNs listed in the export response during the export operation.
After a successful export operation is performed, the Storage Port page displays any newly created ports, in addition to the Default storage port.
Each time another export operation is performed on the same storage system, ViPR reads the Cinder export response. If the export response presents WWPNs, which are not present in ViPR, then ViPR creates new storage ports for every new WWPN.
iSCSI configured storage ports
The default storage port is used to support the storage system configuration until an export is performed on the storage system. At the time of the export, ViPR reads the export response from the Cinder service, which includes the iSCSI IQN. ViPR then modifies the default storage port's identifier with the IQN received from the Cinder export response.
Each time another export operation is performed on the same storage system, ViPR reads the Cinder export response. If the export response presents an IQN, which is not present in ViPR, then ViPR creates a new storage port.Back to Top
You will need to get at least one valid WWPN for the storage port before continuing.
Use the following CLI commands to add a WWPN to the storage port.
- Get the last three digits of the storage system serial number from the list of storage systems.
C:\Users\<username>viprcli storagesystem list NAME PROVIDER_NAME SYSTEM_TYPE SERIAL_NUMBER IBMSVC-FC_StorwizeSVCDriver+11111111234 myProviderName openstack 11111111234
- Get the port network ID for the Default storage port. The storage port network ID (PORT_NETWORK_ID) will be an invalid value.
C:\Users\<username>viprcli storageport list -t openstack -sn 234 PORT_NAME TRANSPORT_TYPE NETWORK_NAME PORT_NETWORK_ID REGISTRATION_STATUS DEFAULT FC FABRIC_name-fabric <some invalid value> REGISTERED
- Add the WWPN (50:01:02:34:05:06:FE:07 in this example) to the storage port.
C:\Users\<username>viprcli storageport update -t openstack -sn 234 -pn DEFAULT -tt FC -pnwid "50:01:02:34:05:06:FE:07"
- Repeat step 2, to validate the value was added to the storage port (PORT_NETWORK_ID).
C:\Users\<username>viprcli storageport list -t openstack -sn 234 PORT_NAME TRANSPORT_TYPE NETWORK_NAME PORT_NETWORK_ID REGISTRATION_STATUS DEFAULT FC FABRIC_name-fabric 50:01:02:34:05:06:FE:07 REGISTERED
Refer to the EMC ViPR CLI Reference guide for more information.Back to Top