MO jukebox, DLT tape libraries
Biblioteka: po ID na devajs i ID na robota (robotu - mladshij id - s nizkim
prioritetom)
Na SCSI veshaetsya ne bolee odnoj biblioteki. MO => SESCSI
HP 12000e DDS Autochanger seSCSI 1 id (lun 0 . lun 1)
* PROVERKA I PODGOTOVKA *
V kachestve proverki: rabota s "syrymi" MO bez HP OS
Vklyuchit' v yadre dravera sctl(700)/spt(800), ssrfc, schgr, autox0
Teper' "bliny" mozhno montirovat'
/dev/ac/c0t0d0_1a <-- a ili b - storony "blina"
^
+--- Id robota-avtochenndzhera
/dev/rac/* /dev/ac/*
1. Vkonfigurit' v yadro draver SPT Scsi Pass-Thru
Udalit' dravery obespechivayushchie "syroj dostup k avtochendzheru":
srfc, schdr, autox0 -
Dobavit' draver SPT (SCSI Path Throu)
700 & D-servers 800-servers
Tip dravera | nazvanie | nazvanie
------------+---------------+------------
SPT sctl spt
tape: stape tape2
MO: sdisk disk3
Pridetsya tak zhe vnesti dopolnenie v yadro vruchnuyu
ioscan -fn # uznat' hardvarnyj adres robota
naprimer 56/52.1.0 i togda:
cp /stand/system /stand/build/system
echo draver 56/52.3.0 sctl >> /stand/build/system
cd /stand/build
/usr/sbin/config -f system
mk_kernel -s system
what vmunix_test | grep scsi
mv ../vmunix ../vmunix.prev
mv vmunix_test ../vmunix
mv ../system ../system.prev
mv system ../system
cd /
shutdown -y -r 0
sam --> software install --> Omnistorage server, client, documentation
Ne zabyt' prostavit' patch PHKL_12088/9 ili ego zamenyayushchij
proverit':
swlist -R -a state OMS # dolzhno byt' "configured"
swconfig OMS # eto ne potrebuetsya
3. Konfiguracionnye fajly operacionnoj sistemy
3.1. Dobavit' v fajl /etc/services tri porta
qr 8001/tcp
jmd 8002/tcp
OMS_DED 8003/tcp
3.2. Dobavit' v /etc/PATH
:/opt/omnistorage/bin:/opt/omnistorage/sbin
3.3. Dobavit' v /etc/MANPATH
:/opt/omnistorage/man
3.4. Zapusk OS-GUI na udalennoj mashine trebuet razresheniya na remote shell
v fajl /.rhosts dobavit'
remote.host.name root
remote.host2.name root
3.5. Ubeditsya, chto zapuskaetsya NFS
/etc/rc.config.d/nfsconf :
NFS_SERVER=1
NFS_CLIENT=1
4. Na servere: razreshit' dostup s udalennyh klientov
V fajl /etc/opt/omnistorage/jhosts vpisat' imena vseh klientov
Dobavit' v fajl /etc/opt/omnistorage/jmcfg
JMD_MACHINE sever.host.name
Naprimer vpisat' v /var/opt/ifor/nodelock
7. Skonfigurirovat' Biblioteki
installchanger
Dlya MO fx i st vybrat' HP_SUNSPOT_Disk_Library
zshutdown # ostanov vsego OS
zstartup # zapusk vsego OS
libo
qqr -k ; qr
qjmd -k ; jmd
xhsm # zapusk GUI
swremove OMS
reinstallirovat' jfs
I podchistit' v yadre - otredaktirovat' systems
1. Sozdat' vxfs-nuyu fajlovuyu sistemu
mkdir /max
lvcreate -L 500 -n max /dev/vg00
Dobavit' v fajl /etc/fstab :
/dev/vg00/max /max vxfs nolagefiles,rw,suid 0 2
mount /max
hsm_admin -I 1 /max # gde 1 - unikal'nyj id fajlovoj sistemy v OS
3. Inicializirovat' "bliny" i razdat' ih po VolSet'am
Zapustit' xhsm
1. Import (vstavit' v mailslot i zatyanut' v bazu)
2. Format
3. Cnange state -- > Internal
4. Set Owner = HSM
Set GroupId = /max ili freepool
5. Razdat' bliny po VolSet
6. Bind (zakrepit' VolSet'y za svoimi fajlovymi sistemami
7. Zakrepit' FreePool VolSet v kachestve podmogi za konkretnymi VolSet'ami
Voprosy po zakrepleniyu materiala
Mozhno li fsid'id' podkatalogi fajlovoj sistemy
Net
Na vtoroj sloj mozhno stalkivat' dannye tol'ko ruchnymi komandami?
Da. ager -bulk
Podbiraet li inkremental'nyj backup fajly "pod" predydushchej datoj?
Ne znayu
Kak zagruzit' pachku MO ne po odnomu cherez mailslot, a optom?
pogasit' jmd,
zagruzit' diskety
vypolnit' komandu inventory.
Vprochem pri starte jmd avtomaticheski zapuskaetsya inventory
Kak smenit' id diskety?
formatp
Libo ej mozhno zadat' chitabel'nyj alias i ispol'zovat' ego
Kak formatirovat' diskety optom?
paketnymi komandami - iz sobstvennoruchno napisannogo skripta
formatp
Kak peredat' disketku ili VolSet v druguyu fajlovuyu sistemu?
chgid ili cherez xhsm
CHto pri etom budet s dannymi
|to vasha problema
Mozhno li smeshivat' diskety i lenty v odnom VolSet
Net. Odin iz atributov VolSet - tip nositelej
Kak sozdat' VolSet?
Udobnee vsego cherez xhsm
Mozhno li razdavat' VolSet na neskol'ko raznyh fs?
??? Vrode kak mozhno. Tol'ko zachem togda volset'y? !
Fsid unikalen na kliente ili na servere
Na kliente
CHto esli unbind disketku s dannymi vsadm -u
Mozhno. No luchshe tak ne delat'.
Last-modified: Sun, 10 Oct 1999 16:01:19 GMT