免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1859 | 回复: 0
打印 上一主题 下一主题

SUN主机上磁带库(Legato管理)的配置过程 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-12 11:59 |只看该作者 |倒序浏览
首先,需要将磁带库连接到主机上。确认连接正常的情况下修改主机的/kernel/drv/st.conf。修改的内容如下:
tape-config-list =
"IBM ULTRIUM-TD1","IBM Ultrium","LTO_Ultrium",
"IBM ULT3580-TD1","IBM 3580 Ultrium","LTO_Ultrium";
LTO_Ultrium =1,0x24,0,0x45863d,2,0x00,0x01,0;
"HP Ultrium 1-SCSI", "HP Ultrium", "ULTRIUM",
ULTRIUM = 1,0x3b,0,0xd639,4,0x00,0x00,0x00,0x40,3;
name="st" class="scsi"
        target=0 lun=0;
name="st" class="scsi"
        target=0 lun=1;
name="st" class="scsi"
        target=0 lun=2;
name="st" class="scsi"
        target=0 lun=3;
name="st" class="scsi"
        target=0 lun=4;
name="st" class="scsi"
        target=1 lun=0;
name="st" class="scsi"
        target=1 lun=1;
name="st" class="scsi"
        target=1 lun=2;
name="st" class="scsi"
        target=1 lun=3;
name="st" class="scsi"
        target=1 lun=4;
# This line adds support for Fibre Channel Tapes
#name="st" parent="fp" target=0;
name="st" parent="fp" target=0 lun=0;
name="st" parent="fp" target=0 lun=1;
name="st" parent="fp" target=0 lun=2;
name="st" parent="fp" target=0 lun=3;
name="st" parent="fp" target=0 lun=4;
name="st" parent="fp" target=0 lun=5;
                  fp
name="st" parent="fp" target=1 lun=0;
name="st" parent="fp" target=1 lun=1;
name="st" parent="fp" target=1 lun=2;
name="st" parent="fp" target=1 lun=3;
name="st" parent="fp" target=1 lun=4;
name="st" parent="fp" target=1 lun=5;
(本人是全部添加了,在这里只是去了一小部分的例子)
软件包的安装过程
root@happy # cd /cdrom/networker_vol_1/solaris
root@happy # pkgadd -d .
The following packages are available:
  1  LGTOclnt     NetWorker for Solaris (Backup/Recover) Client
                  (sparc) 6.1.1.Build.238
  2  LGTOdrvr     NetWorker for Solaris (Backup/Recover) Device Drivers
                  (sparc) 6.1.1.Build.238
  3  LGTOlicm     NetWorker for Solaris (Backup/Recover) Licensing Manager
                  (sparc) 6.1.1.Build.238
  4  LGTOman      NetWorker for Solaris (Backup/Recover) Man
                  (sparc) 6.1.1.Build.238
  5  LGTOnode     NetWorker for Solaris (Backup/Recover) Storage Node
                  (sparc) 6.1.1.Build.238
  6  LGTOserv     NetWorker for Solaris (Backup/Recover) Server
                  (sparc) 6.1.1.Build.238
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:  
Processing package instance ; from ;
NetWorker for Solaris (Backup/Recover) Client
(sparc) 6.1.1.Build.238
Legato Systems, Inc.
NetWorker(TM) - Release 6.1.1.Build.238
Copyright (c) 1990-2001, Legato Systems, Inc.  All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
To set up a NetWorker storage node, licensing manager or client, you
need to supply a directory for the nsrexecd state file.
Below is a list of some of the filesystems, with their free space, which you
might consider:
/home                         :14200365
/oracle                       : 8176003
/                             : 6509292
Directory to use for client, licensing and server information [/home/nsr]?  
The nsrexecd program restricts access to a select set of NetWorker
servers.  Please enter the names of each computer running a NetWorker
server that will back up this computer, one name at a time.  If a
computer has more than one network interface, please enter each
interface's name (one at a time).
Enter the first NetWorker server's name [no more]:  
Allowing access to all NetWorker servers.
Start NetWorker daemons at end of install [yes]? no
Using ; as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of ; [y,n,?] y
Installing NetWorker for Solaris (Backup/Recover) Client as ;
## Installing part 1 of 1.
/lib/X11/app-defaults/Networker
/usr/bin/networker ;
/usr/bin/nsrfile
/usr/bin/nsrports
/usr/bin/nsrwatch
/usr/bin/nwadmin
/usr/bin/nwarchive ;
/usr/bin/nwbackup
/usr/bin/nwrecover
/usr/bin/nwretrieve
/usr/bin/preclntsave
/usr/bin/pstclntsave
/usr/bin/recover
/usr/bin/save
/usr/bin/savepnpc ;
/usr/lib/X11/app-defaults/Networker
/usr/lib/nsr/C/nsr.help
/usr/lib/nsr/client.nsrrequest
/usr/lib/nsr/de_de/nsr.help
/usr/lib/nsr/gls/cm/registry
/usr/lib/nsr/gls/lc/os/portable/C
/usr/lib/nsr/nw_client.txt
/usr/lib/nsr/nw_server.txt
/usr/lib/nsr/nw_snode.txt
/usr/lib/nsr/poin.cln
/usr/lib/nsr/poin.snd.gems
/usr/lib/nsr/poin.srv
/usr/lib/nsr/product.res
/usr/lib/nsr/prrm.cln
/usr/lib/nsr/prrm.snd.gems
/usr/lib/nsr/prrm.srv
/usr/lib/nsr/server.nsrrequest
/usr/lib/nsr/snode.nsrrequest
/usr/lib/nsr/uasm
/usr/sbin/LGTO.clnt.rtr
/usr/sbin/LGTO.serv.rtr
/usr/sbin/lcmap.sc30
/usr/sbin/mminfo
/usr/sbin/mmlocate
/usr/sbin/mmpool
/usr/sbin/networker.cluster
/usr/sbin/nsr_shutdown
/usr/sbin/nsr_support ;
/usr/sbin/nsradmin
/usr/sbin/nsralist
/usr/sbin/nsrarchive
/usr/sbin/nsrclone
/usr/sbin/nsrdmpix
/usr/sbin/nsrexec
/usr/sbin/nsrexecd
/usr/sbin/nsrinfo
/usr/sbin/nsrmm
/usr/sbin/nsrndmp_2fh
/usr/sbin/nsrndmp_recover
/usr/sbin/nsrndmp_save
/usr/sbin/nsrretrieve ;
/usr/sbin/nsrsup
/usr/sbin/preclntsave ;
/usr/sbin/pstclntsave ;
/usr/sbin/save ;
/usr/sbin/savefs
/usr/sbin/savepnpc ;
[ verifying class ; ]
## Executing postinstall script.
Installing NetWorker home directory in /home/nsr
nsr-izing system files
nsr-izing system files
Initializing //nsr/res/servers
Creating /etc/init.d/networker
Creating /etc/rc2.d/S95networker
Creating /etc/rc0.d/K05networker
Completing Installation
NetWorker successfully installed on `happy'!
Installation of ; was successful.
Processing package instance ; from ;
NetWorker for Solaris (Backup/Recover) Device Drivers
(sparc) 6.1.1.Build.238
Copyright (c) 1990-2001, Legato Systems, Inc.
All Rights Reserved.
Using ; as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of ; [y,n,?] y
Installing NetWorker for Solaris (Backup/Recover) Device Drivers as ;
## Executing preinstall script.
## Installing part 1 of 1.
/etc/LGTOuscsi/algnelem
/etc/LGTOuscsi/ascdcode
/etc/LGTOuscsi/changers
/etc/LGTOuscsi/dpy120
/etc/LGTOuscsi/dpy210
/etc/LGTOuscsi/erase
/etc/LGTOuscsi/exacln
/etc/LGTOuscsi/format
/etc/LGTOuscsi/hpflip
/etc/LGTOuscsi/ielem
/etc/LGTOuscsi/inquire
/etc/LGTOuscsi/ldunld
/etc/LGTOuscsi/lrescan
/etc/LGTOuscsi/lreset
/etc/LGTOuscsi/lus_add_fp_devs
/etc/LGTOuscsi/lusbinfo
/etc/LGTOuscsi/lusdebug
/etc/LGTOuscsi/msense
/etc/LGTOuscsi/ndmpjbconf
/etc/LGTOuscsi/pmode
/etc/LGTOuscsi/rcap
/etc/LGTOuscsi/rdyinp
/etc/LGTOuscsi/relem
/etc/LGTOuscsi/sjiielm
/etc/LGTOuscsi/sjiinq
/etc/LGTOuscsi/sjimm
/etc/LGTOuscsi/sjirdp
/etc/LGTOuscsi/sjirdtag
/etc/LGTOuscsi/sjirelem
/etc/LGTOuscsi/sjirjc
/etc/LGTOuscsi/tur
/etc/LGTOuscsi/wipe64
/etc/LGTOuscsi/writebuf
/usr/kernel/drv/lus
/usr/kernel/drv/lus.conf
/usr/kernel/drv/lus32
/usr/kernel/drv/op
/usr/kernel/drv/op.conf
/usr/kernel/drv/sparcv9/lus
/usr/kernel/drv/sparcv9/op
/usr/lib/nsr/libscsi.so ;
/usr/lib/nsr/libscsi.so.1
/usr/lib/nsr/libscsi27.so.1
/usr/lib/nsr/libsji.so ;
/usr/lib/nsr/libsji.so.1
/usr/lib/nsr/libstlemass.so
/usr/lib/nsr/libstlibm.so
/usr/lib/nsr/libstlstk.so
[ verifying class ; ]
## Executing postinstall script.
/usr/kernel/drv/lus
/usr/kernel/drv/lus32
/usr/lib/nsr/libscsi.so.1
/usr/lib/nsr/libscsi27.so.1
Legato SCSI passthrough driver configured and loaded
Legato optical driver configured - will load at next boot.
Installation of ; was successful.
Processing package instance ; from ;
NetWorker for Solaris (Backup/Recover) Licensing Manager
(sparc) 6.1.1.Build.238
Legato Systems, Inc.
NetWorker(TM) - Release 6.1.1.Build.238
Copyright (c) 1990-2001, Legato Systems, Inc.  All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
To set up a NetWorker storage node, licensing manager or client, you
need to supply a directory for the nsrexecd state file.
Directory /nsr exists, it will be used as the default.
Below is a list of some of the filesystems, with their free space, which you
might consider:
/home                         :14200274
/oracle                       : 8176003
/                             : 6457297
Directory to use for client, licensing and server information [/nsr]?  
Start NetWorker daemons at end of install [yes]? no
Using ; as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of ; [y,n,?] y
Installing NetWorker for Solaris (Backup/Recover) Licensing Manager as ;
## Installing part 1 of 1.
/nsr/lic/res/lictype.res
/usr/nsr/lic/res/lictype.res
/usr/sbin/lgtolic
/usr/sbin/lgtolmd
[ verifying class ; ]
## Executing postinstall script.
       nsr-izing system files
/etc/rpc already nsr-ized
Completing Installation
NetWorker successfully installed on `happy'!
Installation of ; was successful.
Processing package instance ; from ;
NetWorker for Solaris (Backup/Recover) Man
(sparc) 6.1.1.Build.238
Legato Systems, Inc.
Using ; as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of ; [y,n,?] y
Installing NetWorker for Solaris (Backup/Recover) Man as ;
## Installing part 1 of 1.
/usr/share/man/man1m/EMASS_silo.1m
/usr/share/man/man1m/IBM_silo.1m
/usr/share/man/man1m/STK_silo.1m
/usr/share/man/man1m/ansrd.1m
/usr/share/man/man1m/changers.1m
/usr/share/man/man1m/dasadmin.1m
/usr/share/man/man1m/ddmgr.1m
/usr/share/man/man1m/emcdiscover.1m
/usr/share/man/man1m/erase.1m
/usr/share/man/man1m/hpflip.1m
/usr/share/man/man1m/ielem.1m
/usr/share/man/man1m/inquire.1m
/usr/share/man/man1m/jbconfig.1m
/usr/share/man/man1m/jbexercise.1m
/usr/share/man/man1m/jbinfo.1m
/usr/share/man/man1m/jbverify.1m
/usr/share/man/man1m/ldunld.1m
/usr/share/man/man1m/lgtolic.1m
/usr/share/man/man1m/lgtolmd.1m
/usr/share/man/man1m/libscsi.1m
/usr/share/man/man1m/libsji.1m
/usr/share/man/man1m/libstlemass.1m
/usr/share/man/man1m/libstlibm.1m
/usr/share/man/man1m/libstlstk.1m
/usr/share/man/man1m/lrescan.1m
/usr/share/man/man1m/lreset.1m
/usr/share/man/man1m/lusbinfo.1m
/usr/share/man/man1m/lusdebug.1m
/usr/share/man/man1m/lusmode.1m
/usr/share/man/man1m/mini_el.1m
/usr/share/man/man1m/mminfo.1m
/usr/share/man/man1m/mmlocate.1m
/usr/share/man/man1m/mmpool.1m
/usr/share/man/man1m/mmrecov.1m
/usr/share/man/man1m/msense.1m
/usr/share/man/man1m/ndmpjbconf.1m
/usr/share/man/man1m/networker.1m
/usr/share/man/man1m/nsr.1m
/usr/share/man/man1m/nsr_crash.1m
/usr/share/man/man1m/nsr_ize.1m
/usr/share/man/man1m/nsr_shutdown.1m
/usr/share/man/man1m/nsradmin.1m
/usr/share/man/man1m/nsralist.1m
/usr/share/man/man1m/nsrarchive.1m
/usr/share/man/man1m/nsrcap.1m
/usr/share/man/man1m/nsrcat.1m
/usr/share/man/man1m/nsrck.1m
/usr/share/man/man1m/nsrclone.1m
/usr/share/man/man1m/nsrd.1m
/usr/share/man/man1m/nsrexec.1m
/usr/share/man/man1m/nsrexecd.1m
/usr/share/man/man1m/nsrhsmck.1m
/usr/share/man/man1m/nsrhsmclear.1m
/usr/share/man/man1m/nsrhsmd.1m
/usr/share/man/man1m/nsrhsmls.1m
/usr/share/man/man1m/nsrhsmnfs.1m
/usr/share/man/man1m/nsrhsmrc.1m
/usr/share/man/man1m/nsrhsmrecall.1m
/usr/share/man/man1m/nsrib.1m
/usr/share/man/man1m/nsriba.1m
/usr/share/man/man1m/nsrim.1m
/usr/share/man/man1m/nsrindexasm.1m
/usr/share/man/man1m/nsrindexd.1m
/usr/share/man/man1m/nsrinfo.1m
/usr/share/man/man1m/nsrjb.1m
/usr/share/man/man1m/nsrlic.1m
/usr/share/man/man1m/nsrls.1m
/usr/share/man/man1m/nsrmig.1m
/usr/share/man/man1m/nsrmm.1m
/usr/share/man/man1m/nsrmmd.1m
/usr/share/man/man1m/nsrmmdbasm.1m
/usr/share/man/man1m/nsrmmdbd.1m
/usr/share/man/man1m/nsrmon.1m
/usr/share/man/man1m/nsrndmp_recover.1m
/usr/share/man/man1m/nsrndmp_save.1m
/usr/share/man/man1m/nsrpmig.1m
/usr/share/man/man1m/nsrports.1m
/usr/share/man/man1m/nsrretrieve.1m
/usr/share/man/man1m/nsrssc.1m
/usr/share/man/man1m/nsrstage.1m
/usr/share/man/man1m/nsrtrap.1m
/usr/share/man/man1m/nsrwatch.1m
/usr/share/man/man1m/nwadmin.1m
/usr/share/man/man1m/nwarchive.1m
/usr/share/man/man1m/nwbackup.1m
/usr/share/man/man1m/nwrecover.1m
/usr/share/man/man1m/nwretrieve.1m
/usr/share/man/man1m/oraemcasm.1m
/usr/share/man/man1m/oraemcmap.1m
/usr/share/man/man1m/pmode.1m
/usr/share/man/man1m/preclntsave.1m
/usr/share/man/man1m/pstclntsave.1m
/usr/share/man/man1m/recover.1m
/usr/share/man/man1m/relem.1m
/usr/share/man/man1m/save.1m
/usr/share/man/man1m/savefs.1m
/usr/share/man/man1m/savegrp.1m
/usr/share/man/man1m/savepnpc.1m
/usr/share/man/man1m/scanner.1m
/usr/share/man/man1m/sjidopen.1m
/usr/share/man/man1m/sjiielm.1m
/usr/share/man/man1m/sjiinq.1m
/usr/share/man/man1m/sjirdp.1m
/usr/share/man/man1m/sjirdtag.1m
/usr/share/man/man1m/sjirelem.1m
/usr/share/man/man1m/sjirjc.1m
/usr/share/man/man1m/ssi.1m
/usr/share/man/man1m/stk_eject.1m
/usr/share/man/man1m/stli.1m
/usr/share/man/man1m/sym2xdm.1m
/usr/share/man/man1m/tapeexercise.1m
/usr/share/man/man1m/tur.1m
/usr/share/man/man1m/uasm.1m
/usr/share/man/man1m/writebuf.1m
/usr/share/man/man3/nsr_getdate.3
/usr/share/man/man5/mm_data.5
/usr/share/man/man5/nsr.5
/usr/share/man/man5/nsr_archive_request.5
/usr/share/man/man5/nsr_client.5
/usr/share/man/man5/nsr_data.5
/usr/share/man/man5/nsr_device.5
/usr/share/man/man5/nsr_directive.5
/usr/share/man/man5/nsr_group.5
/usr/share/man/man5/nsr_jukebox.5
/usr/share/man/man5/nsr_label.5
/usr/share/man/man5/nsr_layout.5
/usr/share/man/man5/nsr_license.5
/usr/share/man/man5/nsr_migration.5
/usr/share/man/man5/nsr_notification.5
/usr/share/man/man5/nsr_policy.5
/usr/share/man/man5/nsr_pool.5
/usr/share/man/man5/nsr_regexp.5
/usr/share/man/man5/nsr_resource.5
/usr/share/man/man5/nsr_schedule.5
/usr/share/man/man5/nsr_service.5
/usr/share/man/man5/nsr_stage.5
/usr/share/man/man5/nsr_storage_node.5
/usr/share/man/man5/pathownerignore.5
/usr/share/man/man5/resource.5
[ verifying class ; ]
## Executing postinstall script.
Creating /usr/lib/nsr/nsr_man
Installation of ; was successful.
Processing package instance ; from ;
NetWorker for Solaris (Backup/Recover) Storage Node
(sparc) 6.1.1.Build.238
Legato Systems, Inc.
NetWorker(TM) - Release 6.1.1.Build.238
Copyright (c) 1990-2001, Legato Systems, Inc.  All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
Start NetWorker daemons at end of install [yes]? no
Using ; as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of ; [y,n,?] y
Installing NetWorker for Solaris (Backup/Recover) Storage Node as ;
## Installing part 1 of 1.
/usr/sbin/dasadmin
/usr/sbin/jb_config
/usr/sbin/jbconfig
/usr/sbin/jbexercise
/usr/sbin/jbverify
/usr/sbin/mini_el
/usr/sbin/nsrcnct
/usr/sbin/nsrjb
/usr/sbin/nsrmmd
/usr/sbin/scanner
/usr/sbin/ssi
/usr/sbin/stk_eject
/usr/sbin/tapeexercise
[ verifying class ; ]
## Executing postinstall script.
Completing Installation
NetWorker successfully installed on `happy'!
Installation of ; was successful.
Processing package instance ; from ;
NetWorker for Solaris (Backup/Recover) Server
(sparc) 6.1.1.Build.238
Legato Systems, Inc.
NetWorker(TM) - Release 6.1.1.Build.238
Copyright (c) 1990-2001, Legato Systems, Inc.  All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
Start NetWorker daemons at end of install [yes]? Using ; as the package base directory.
## Processing package information.
## Processing system information.
   1 package pathname is already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of ; [y,n,?] y
Installing NetWorker for Solaris (Backup/Recover) Server as ;
## Installing part 1 of 1.
/usr/lib/nsr/nsrindexasm
/usr/lib/nsr/nsrmmdbasm
/usr/lib/nsr/oldindexasm
/usr/lib/nsr/oldmmdbasm
/usr/lib/nsr/v5xindexasm
/usr/lib/nsr/v5xmmdbasm
/usr/sbin/ansrd
/usr/sbin/mmrecov
/usr/sbin/networker.fm_start
/usr/sbin/networker.fm_stop
/usr/sbin/networker.start
/usr/sbin/networker.stop
/usr/sbin/nsrcap
/usr/sbin/nsrcat
/usr/sbin/nsrck
/usr/sbin/nsrd
/usr/sbin/nsrim
/usr/sbin/nsrindexd
/usr/sbin/nsrlic
/usr/sbin/nsrlmc
/usr/sbin/nsrls
/usr/sbin/nsrmmdbd
/usr/sbin/nsrmon
/usr/sbin/nsrssc
/usr/sbin/nsrstage
/usr/sbin/nsrtrap
/usr/sbin/nw_ux.lc
/usr/sbin/nw_ux.lc.imp
/usr/sbin/savegrp
[ verifying class ; ]
## Executing postinstall script.
Modifying /etc/rpc
Modifying /etc/syslog.conf
Restarting syslog daemon
Completing Installation
Starting NetWorker daemons
NetWorker successfully installed on `happy'!
Installation of ; was successful.
The following packages are available:
  1  LGTOclnt     NetWorker for Solaris (Backup/Recover) Client
                  (sparc) 6.1.1.Build.238
  2  LGTOdrvr     NetWorker for Solaris (Backup/Recover) Device Drivers
                  (sparc) 6.1.1.Build.238
  3  LGTOlicm     NetWorker for Solaris (Backup/Recover) Licensing Manager
                  (sparc) 6.1.1.Build.238
  4  LGTOman      NetWorker for Solaris (Backup/Recover) Man
                  (sparc) 6.1.1.Build.238
  5  LGTOnode     NetWorker for Solaris (Backup/Recover) Storage Node
                  (sparc) 6.1.1.Build.238
  6  LGTOserv     NetWorker for Solaris (Backup/Recover) Server
                  (sparc) 6.1.1.Build.238
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
到这里软件就安装完成了。
检查Legato Networker的进程是否启动正常
root@happy # ps -ef|grep nsr
    root  2922  2911  0 11:15:54 ?        0:00 /usr/sbin/nsrmmdbd
    root  2906     1  1 11:15:51 ?        0:00 /usr/sbin/nsrexecd
    root  2911     1  1 11:15:54 ?        0:00 /usr/sbin/nsrd
    root  2908     1  1 11:15:51 ?        0:00 /usr/sbin/lgtolmd -p /nsr/lic -n 1
    root  2923  2911  0 11:15:56 ?        0:00 /usr/sbin/nsrindexd
    root  2910  2906  1 11:15:51 ?        0:00 /usr/sbin/nsrexecd
    root  2924  2911  0 11:15:58 ?        0:00 /usr/sbin/nsrmmd -n 1
然后开始对legato进行配置:
1、首先,先将带库设置到offline的状态。
2、然后,登陆到结算的主机将/dev/rmt/下的文件删除,然后通过devfsadm和tapes命令重新生成新的驱动器设备号。然后,在相应主机上通过tar命令的方法来验证驱动器的顺序号。得到正确的驱动器的顺序号。
3、找到正确的驱动器顺序号以后,开始进行leagto的配置。登陆到机器happy上。
4、然后在happy机器上执行命令jbconfig执行过程如下(举例):
root@happy #jbconfig
1) Install a SmartMedia Jukebox.
         2) Install an Autodetected SCSI Jukebox.
         3) Install an Autodetected NDMP SCSI Jukebox.
         4) Install an SJI Jukebox.
         5) Install an STL Silo.
What kind of Jukebox are you installing? [1] 2
These are the SCSI Jukeboxes currently attached to your system:
  1) scsidev@3.0.1: Standard SCSI Jukebox, Vendor ;, Product ;
Which one do you want to install? 1
Installing an 'Standard SCSI Jukebox' jukebox.
Name you would like to assign to the jukebox device? ADIC
A brief description of the jukebox device? [scsidev@3.0.1: Standard SCSI Jukebox]  
Pathname of the control port for the jukebox device? [scsidev@3.0.1]  
Do you want automated device cleaning support enabled? (yes/no) yes
Will media drive 1 be shared by multiple device paths? (yes/no) yes
Enter hostname that owns media drive 1: ? [happy]  
An example of a valid device name for this OS is '/dev/rmt/1cbn'
Enter pathname of media drive 1: ? /dev/rmt/0cbn
using '/dev/rmt/0cbn' as device name
Should the drive be configured as a NDMP device? (yes/no) no
This media device has not been configured yet.  Please
select a media device type for /dev/rmt/0cbn.
         1) 3480                        23) dst                     
         2) 3570                        24) dst (NT)                 
         3) 3590                        25) dtf                     
         4) 4890                        26) file                     
         5) 4mm                         27) himt                     
         6) 4mm 12GB                    28) logical                  
         7) 4mm 20GB                    29) LTO Ultrium              
         8) 4mm 4GB                     30) optical                  
         9) 4mm 8GB                     31) qic                     
        10) 8mm                         32) SD3                     
        11) 8mm 20GB                    33) sdlt                     
        12) 8mm 5GB                     34) SLR                     
        13) 8mm AIT                     35) tkz90                    
        14) 8mm AIT-2                   36) tz85                     
        15) 8mm Mammoth-2               37) tz86                     
        16) 9490                        38) tz87                     
        17) 9840                        39) tz88                     
        18) 9940                        40) tz89                     
        19) dlt                         41) tzs20                    
        20) dlt1                        42) vhs                     
        21) dlt7000                     43) VXA                     
        22) dlt8000                  
Choice? 29
Will media drive 1 be shared by multiple device paths? (yes/no) yes
Enter hostname that owns media drive 1: ? [xxxx]  
An example of a valid device name for this OS is '/dev/rmt/1cbn'
Enter pathname of media drive 1: ? /dev/rmt/1cbn
using '/dev/rmt/0cbn' as device name
Should the drive be configured as a NDMP device? (yes/no) no
This media device has not been configured yet.  Please
select a media device type for /dev/rmt/0cbn.
         1) 3480                        23) dst                     
         2) 3570                        24) dst (NT)                 
         3) 3590                        25) dtf                     
         4) 4890                        26) file                     
         5) 4mm                         27) himt                     
         6) 4mm 12GB                    28) logical                  
         7) 4mm 20GB                    29) LTO Ultrium              
         8) 4mm 4GB                     30) optical                  
         9) 4mm 8GB                     31) qic                     
        10) 8mm                         32) SD3                     
        11) 8mm 20GB                    33) sdlt                     
        12) 8mm 5GB                     34) SLR                     
        13) 8mm AIT                     35) tkz90                    
        14) 8mm AIT-2                   36) tz85                     
        15) 8mm Mammoth-2               37) tz86                     
        16) 9490                        38) tz87                     
        17) 9840                        39) tz88                     
        18) 9940                        40) tz89                     
        19) dlt                         41) tzs20                    
        20) dlt1                        42) vhs                     
        21) dlt7000                     43) VXA                     
        22) dlt8000                  
Choice? 29
Will media drive 1 be shared by multiple device paths? (yes/no) yes
Enter hostname that owns media drive 1: ? [xxxx]  
An example of a valid device name for this OS is '/dev/rmt/1cbn'
Enter pathname of media drive 1: ? /dev/rmt/139mnb
using '/dev/rmt/0cbn' as device name
Should the drive be configured as a NDMP device? (yes/no) no
This media device has not been configured yet.  Please
select a media device type for /dev/rmt/0cbn.
         1) 3480                        23) dst                     
         2) 3570                        24) dst (NT)                 
         3) 3590                        25) dtf                     
         4) 4890                        26) file                     
         5) 4mm                         27) himt                     
         6) 4mm 12GB                    28) logical                  
         7) 4mm 20GB                    29) LTO Ultrium              
         8) 4mm 4GB                     30) optical                  
         9) 4mm 8GB                     31) qic                     
        10) 8mm                         32) SD3                     
        11) 8mm 20GB                    33) sdlt                     
        12) 8mm 5GB                     34) SLR                     
        13) 8mm AIT                     35) tkz90                    
        14) 8mm AIT-2                   36) tz85                     
        15) 8mm Mammoth-2               37) tz86                     
        16) 9490                        38) tz87                     
        17) 9840                        39) tz88                     
        18) 9940                        40) tz89                     
        19) dlt                         41) tzs20                    
        20) dlt1                        42) vhs                     
        21) dlt7000                     43) VXA                     
        22) dlt8000                  
Choice? 29
Will media drive 1 be shared by multiple device paths? (yes/no) yes
Enter hostname that owns media drive 1: ? [xxxx]  
An example of a valid device name for this OS is '/dev/rmt/1cbn'
Enter pathname of media drive 1: ? /dev/rmt/137mnb
using '/dev/rmt/0cbn' as device name
Should the drive be configured as a NDMP device? (yes/no) no
This media device has not been configured yet.  Please
select a media device type for /dev/rmt/0cbn.
         1) 3480                        23) dst                     
         2) 3570                        24) dst (NT)                 
         3) 3590                        25) dtf                     
         4) 4890                        26) file                     
         5) 4mm                         27) himt                     
         6) 4mm 12GB                    28) logical                  
         7) 4mm 20GB                    29) LTO Ultrium              
         8) 4mm 4GB                     30) optical                  
         9) 4mm 8GB                     31) qic                     
        10) 8mm                         32) SD3                     
        11) 8mm 20GB                    33) sdlt                     
        12) 8mm 5GB                     34) SLR                     
        13) 8mm AIT                     35) tkz90                    
        14) 8mm AIT-2                   36) tz85                     
        15) 8mm Mammoth-2               37) tz86                     
        16) 9490                        38) tz87                     
        17) 9840                        39) tz88                     
        18) 9940                        40) tz89                     
        19) dlt                         41) tzs20                    
        20) dlt1                        42) vhs                     
        21) dlt7000                     43) VXA                     
        22) dlt8000                  
Choice? 29
Will media drive 1 be shared by multiple device paths? (yes/no) no
如果,你的磁带库的驱动器不是共享的,在Will media drive 1 be shared by multiple device paths? (yes/no)直接选择no
上面是举了jbconfig大概配置的一个例子。
将以上的结果执行完以后然后需要执行一下:
root@happy # nsrjb –vHE
进行一下同步然后,在执行nwadmin命令进入图形界面开始对相应的备份策略和机制进行配置。配置完成以后,就可以进行正常的备份了。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18842/showart_111656.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP