Version 6 (modified by pruth, 6 years ago)


IBM DS3512 configuration notes

The IBM DS3512 is the iSCSI device model that is part of the ExoGENI rack design This page describes the configuration of the ORCA aggregate handler for the DS3512.


NEuca Storage jpg

The figure above represents the standard ExoGENI iSCSI architecture using a shared vlan for access to iSCSI targets.

The IBM DS3512 has 4 network ports. In our configuration, two of the ports are connected to traditional VLAN ports of the data plan switch which is in hybrid mode. These ports are on vlan 1009.

Virtual machines access iSCSI targets through an extra virtual NIC. The extra NIC is connected to the OpenStack? worker's 'storage' interface using existing Quantum NEuca mechanism for plumbing virtual networks. The only difference is that the vlan is statically configured with tag 1009 using the storage interface.

The ORCA controller is responsible for requesting the additional network interface and for assigning an IP within the correct subnet but not conflicting with any existing IP on that network (other VMs or the iSCSI device itself). In addition, the ORCA controller must include information related to the iSCSI target so that it can be delivered to the NEuca tools withing the VMs (i.e. through the userdata mechanism).

IBM DS Handler

The IBM DS handler is responsible for creating and deleting storage targets (luns) on the iSCSI device. It uses the regular join/leave mechanism as many other handlers.

In order to create a target the controller must include the following properties:

EC2 Handler

Useful SMcli commands

/opt/IBM_DS/client/SMcli <ip of ds3512> -p 'password' -c "create logicalDrive array[pool0] raidLevel=5 userLabel=\"test-lun0\" owner=A segmentSize=128 capacity=100 MB;"

/opt/IBM_DS/client/SMcli <ip of ds3512> -c "show AllLogicalDrives;"

/opt/IBM_DS/client/SMcli <ip of ds3512> -p  'password' -c "set logicalDrive[\"test-lun0\"] logicalUnitNumber=0 host=\"host-name\";"

/opt/IBM_DS/client/SMcli <ip of ds3512> -p 'password' -c "delete logicalDrive [\"test-lun0\"];"