Thinking inside the box...

-
Current Location
-

TriParadigm
  Business Continuity Methdology


Join our Data Center Automation Group on LinkedIn.

Procedure to configure VIO fiber channel, fscsi devices, and virtual disks.

Fiberchannel and fscsi parameters to change (Assumes "fcs" adapters numbered from 0-2):

#!/usr/bin/ksh93
################################################################
for (( i=0; i<=2; ++i ))
do
  chdev -l fcs${i} -a init_link=pt2pt -P
  chdev -l fscsi${i} -a dyntrk=yes -P
  chdev -l fscsi${i} -a fc_err_recov=fast_fail -P
done

virtual disk parameters to change:

(Assumes "hdisk" disks numbered from 0-15):


#!/usr/bin/ksh93
################################################################
for (( i=0; i<=15; ++i ))
do
  chdev -l hdisk${i} -a reserve_policy=no_reserve -P
  chdev -l hdisk${i} -a algorithm=round_robin -P
  chdev -l hdisk${i} -a hcheck_interval=20 -P
  chdev -l hdisk${i} -a queue_depth=16 -P
done

-
VIO fcs/fscsi/hdisk parms
-
 

-

digg Digg this page
del.icio.us Post to del.icio.us
Slashdot Slashdot it!