Chapter 6. Test Your Configuration
After configuring the Block Storage service to use the new ETERNUS back ends, declare a volume type for each one. Volume types allow you to specify which back end to use when creating new volumes. The following commands create two volume types: FJFC (for the fibre channel back end) and FJISCSI (for the iSCSI back end):
# cinder type-create FJFC # cinder type-create FJISCSI
Next, map these volume types to their respective back ends (as defined in Chapter 4, Create the Environment File):
# cinder type-key FJFC set volume_backend_name=FJFC # cinder type-key FJISCSI volume_backend_name=FJISCSI
Verify your configuration by creating a 1GB iSCSI volume named test_iscsi:
# cinder create --volume_type FJISCSI --display_name test_iscsi 1
To test the fibre channel back end:
# cinder create --volume_type FJFC --display_name test_fc 1
