This is the driver that allows openstack to talk to DS8K.
All volumes are thin provisioned by default, if the machine is licensed for it. This can be overridden by creating a volume type and specifying a key like so: #> cinder type-create my_type #> cinder type-key my_type set drivers:thin_provision=False #> cinder create –volume-type my_type 123
Sample settings for cinder.conf: —> enabled_backends = ibm_ds8k_1, ibm_ds8k_2 [ibm_ds8k_1] proxy = cinder.volume.drivers.ibm.ibm_storage.ds8k_proxy.DS8KProxy volume_backend_name = ibm_ds8k_1 san_clustername = P2,P3 san_password = actual_password san_login = actual_username san_ip = foo.com volume_driver =
cinder.volume.drivers.ibm.ibm_storage.ibm_storage.IBMStorageDriver
chap = disabled connection_type = fibre_channel replication_device = backend_id: bar,
san_ip: bar.com, san_login: actual_username, san_password: actual_password, san_clustername: P4, port_pairs: I0236-I0306; I0237-I0307
[ibm_ds8k_2] proxy = cinder.volume.drivers.ibm.ibm_storage.ds8k_proxy.DS8KProxy volume_backend_name = ibm_ds8k_2 san_clustername = P4,P5 san_password = actual_password san_login = actual_username san_ip = bar.com volume_driver =
cinder.volume.drivers.ibm.ibm_storage.ibm_storage.IBMStorageDriver
chap = disabled connection_type = fibre_channel <—
Bases: cinder.volume.drivers.ibm.ibm_storage.proxy.IBMStorageProxy
Create a consistency group snapshot.
Create a consistency group.
Create a consistencygroup from source.
Parameters: |
|
---|
:return model_update, volumes_model_update
Create generic volume group.
Create volume group from volume group or volume group snapshot.
Create volume group snapshot.
Delete a consistency group snapshot.
Delete a consistency group.
Delete group and the volumes in the group.
Delete volume group snapshot.
Fail over the volume back and forth.
if secondary_id is ‘default’, volumes will be failed back, otherwize failed over.
Notify the backend that it’s frozen.
Attach a volume to the host.
retype the volume.
Parameters: |
|
---|
Detach a volume from a host.
Notify the backend that it’s unfrozen/thawed.
Add or remove volume(s) to/from an existing consistency group.
Update generic volume group.
Bases: object
provide group information for driver from group db object.