Setting the Active/Optimized path for iSCSI volumes

To set an Active/Optimized path for an iSCSI volume, use the vstorage-target vol-set command. It will only work if the specified node is STABLE.

Make sure the new preferred node is reachable by the initiator.

# vstorage-target vol-set -id 3d8364f5-b830-4211-85af-3a19d30ebac4 \
-pref-node bbfd0e7a26b1406d

This command sets the Active/Optimized path for the volume with the ID 3d8364f5-b830-4211-85af-3a19d30ebac4 to the node with the ID bbfd0e7a26b1406d.