SANRAD V-Switch Switch User Manual


 
Sample Configurations 279
volume create mirror –vol Mirror1 –nbc 2 –ch Simple1 –ch
Simple2
Use the CLI command volume create mirror to create a mirrored
volume, Mirror2, from simple volumes Simple3 and Simple4.
volume create mirror –vol Mirror2 –nbc 2 –ch Simple3 –ch
Simple4
STEP 18. C
REATE ISCSI TARGET AND LUN
After creating the final virtual volume that you want to expose to the network host,
you need to create an iSCSI target for the volumes as well as attach LUN0 to each
target volume. Use the CLI command
volume expose -new to create each
iSCSI target and attach LUN0 to each mirrored volume, Mirror1 and Mirror2.
volume expose -new –vol Mirror1 –ta billing –tn
billing.sanrad –device VSwitch1
volume expose -new –vol Mirror2 –ta musicbox –tn
musicbox.sanrad –device VSwitch2
STEP 19. C
REATE SIMPLE VOLUMES ON V-SWITCH 2
Now you will repeat the volume configurations on VSwitch2 to mimic the
configurations on VSwtich1. Use the CLI command
volume create
simple
to create four simple virtual volumes – one from each physical disk.
Note that, using the WWUI to identify each disk, Simple1 is built on default
storage 2 and Simple 2 is built on default storage 1.
volume create simple –vol Simple1 –d Stor_2
volume create simple –vol Simple2 –d Stor_1
volume create simple –vol Simple3 –d Stor_3
volume create simple –vol Simple4 –d Stor_4
STEP 20. C
REATE MIRRORED VOLUMES (RAID 0)
Use the CLI command volume create mirror to create a mirrored
volume, Mirror1, from simple volumes Simple1 and Simple2.
volume create mirror –vol Mirror1 –nbc 2 –ch Simple1 –ch
Simple2
Use the CLI command volume create mirror to create a mirrored
volume, Mirror2, from simple volumes Simple3 and Simple4.
volume create mirror –vol Mirror2 –nbc 2 –ch Simple3 –ch
Simple4