DSCLI - How to create failover host connection
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Below is a simple steps using DSCLI on how to create a failed over host connection for SAN storage.
New Host Connect (Failover)
============================
Step 1. - Check the existing group and host connection
lsvolgrp <Vid>
lshostconnectStep 2. - Rename the failed host connection
chhostconnect -name <hname0-failed> <host connection id>
chhostconnect -name <hname1-failed> <host connection id>Step 3. - Create 2 host connection
mkhostconnect -wwname <wnn> -hosttype winxxxx -volgrp <Vid> -ioport all <hname0>
mkhostconnect -wwname <wnn> -hosttype winxxxx -volgrp <Vid> -ioport all <hname1>Step 4. - Check the host connection
lshostconnect
(make sure the new and failhost connection exist, take note of the ID)Step 5. - Remove the failhost connection
rmhostconnect <host connection id>Step 6. - Check the host connection
lshostconnect
(make sure only the new host connection exist)






