- Sun Storage Virtual Tape Library VTL User Guide

Managing virtual libraries
72 VTL User Guide May 2008 G • 96267
5. Editthefile/usr/kernel/drv/mchanger.conf,adding anentryforeachvirtual
librarythatth eoepratingsys te m discovered.
Eachlibraryentryincludesadrivername(mchanger),aparentdriver(fp,the
SolarisFibreChannelportdriver),adriverclass(scsi),alogica lunitnum ber(lun),
andaWorld
WideNamefortheremoteFibreChannelport(fc-port-wwn):
6. Unloadtheunattach ed drivermchanger:
7. Changetotheinstal lsubdirectoryoftheACSSShomedirectory,$ACSSS_HOME,
andexecutethedriverinstallationscript,install_scsi_sol.sh.
Thedefaultlocationof $ACSSS_HOME is
/export/home/ACSSS.
8. Whenthescriptfailstofindlibrariesandasksifanyareattached, enter y (yes).
9. Enter aspacedelimitedlistoftarget:LUNpairs,onepairforeachlibrary.
[ACSLS_server]root:# vi /usr/kernel/drv/mchanger.conf
name="mchanger" class="scsi" target="is" lun="by"
name="mchanger" class="scsi" target=0 lun=0;
name="mchanger" class="scsi" target=0 lun=1;
name="mchanger" class="scsi" target=0 lun=2;
name="mchanger" parent="fp" class="scsi" lun=0 fc-port-wwn="210000e08b8a0bc2";
name="mchanger" parent="fp" class="scsi" lun=1 fc-port-wwn="210000e08b8affc2";
name="mchanger" parent="fp" class="scsi" lun=2 fc-port-wwn="210100e08ba57d7c";
:wq
[ACSLS_server]root:#
[ACSLS_server]root:# ./rem_drv mchanger
[ACSLS_server]root:# cd /export/home/ACSSS/install
[ACSLS_server]root:# ./install_scsi_sol.sh
Installing 64-bit mchanger
Probing for libraries...
/export/home/ACSSS/utils/probeFibre.sh[46]: test: argument expected
Unable to auto-sense any fibre-attached libraries.
Are there additional libraries attached? (y or n): y
Enter the target:LUN pair corresponding to each library.
Separate target:LUN pairs with a space.
example: 4:0 5:0 5:1 5:2
==> 0:0 0:1 0:2# General form = Target:LUN e.g. 0:1
Use target 0 LUN 0
Use target 0 LUN 1
Use target 0 LUN 2