|
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
|
|
|