NBU6.0 基于 linux as4 安装日志
最近的备份问题多多,而本人对veritas又不了解,特别的痛苦。从veritas工程师处要了介质后在自己的虚拟机上折腾了一个,以后就可以自己做做测试啦。我拿到的介质是Veritas,NetBackup.Enterprise.Server.v6.0-Linux.iso,里面有如下的内容:client gzip.exe ics install linux rebuild.bat不
最近的备份问题多多,而本人对veritas又不了解,特别的痛苦。从veritas工程师处要了介质后在自己的虚拟机上折腾了一个,以后就可以自己做做测试啦。
我拿到的介质是Veritas,NetBackup.Enterprise.Server.v6.0-Linux.iso,里面有如下的内容:
client gzip.exe ics install linux rebuild.bat
不知道为什么这个rebuild.bat和gzip.exe文件都是windows下的,(大概是D版吧,^_^)。所以我只好在windows下先rebuild,再up到我的虚拟机里了。
安装时报了一个错误,按照它的提示安装了VRTSpbx包后正常,下面是详细的安装过程。
[root@oracle veritas]# ./install
VERITAS Installation Script
Copyright 1993 - 2005 VERITAS Software Corporation, All Rights Reserved.
Installing NetBackup Server Software
NOTE: To install only NetBackup Client software locally on this machine
or to load additional UNIX client software on this server, insert
the NetBackup UNIX Clients cdrom.
Do you wish to continue? [y,n] (y)
The NetBackup and Media Manager software is built for use on LINUX hardware.
Do you want to install NetBackup and Media Manager files? [y,n] (y)
NetBackup and Media Manager are normally installed in /usr/openv.
The existing /usr/openv directory will be used for NetBackup and Media Manager.
Reading NetBackup files from /tmp/veritas/linux/anb
usr/openv/NB-Java.tar.Z
usr/openv/db/bin/
usr/openv/db/bin/create_nbdb
......
usr/openv/man/man1/vxlogmgr.1.gz
usr/openv/man/man1/vxlogview.1.gz
Reading Media Manager files from /tmp/veritas/linux/anb
usr/openv/volmgr/bin/goodies/drive_mount_notify
usr/openv/volmgr/bin/goodies/drive_unmount_notify
usr/openv/volmgr/bin/mmcrawl
......
usr/openv/man/man1/tlmd.1.gz
usr/openv/volmgr/bin/make_scsi_dev
Done executing NB.inst.
If you ran NB.inst instead of <cdrom_path>/install, you must
run /usr/openv/netbackup/bin/install_bp to initiate NetBackup.
Running /usr/openv/netbackup/bin/install_bp
Copying RedHat2.4 Client Binaries
openv/
openv/lib/
openv/lib/libVmangle.so
openv/lib/libVnbatST.so_new
openv/lib/libVnbat.so
......
openv/msg/
openv/msg/.conf
Installing NB-Java.
/bin/tar: Read 2048 bytes from -
+ /bin/cp ./nbj.conf /usr/openv/java
A NetBackup Server or Enterprise Server license key is needed
for installation to continue.
Enter license key: XXXXXXXX
XXXXXXXX:
NetBackup Enterprise Server Base product with all the features enabled
has been registered.
All additional keys should be added at this time.
Do you want to add additional license keys now? [y,n] (y) n
Use /usr/openv/netbackup/bin/admincmd/get_license_key
to add, delete or list license keys at a later time.
Installing NetBackup Enterprise Server version: 6.0
If this machine will be using a different network interface than the
default (oracle), the name of the preferred interface should be used
as the configured server name. If this machine will be part of a
cluster, the virtual name should be used as the configured server name.
The domainname of your server appears to be "(none)".
You may choose to use this domainname in your configured NetBackup server
name, or simply use "oracle" as the configured NetBackup server name.
Would you like to use "oracle.(none)" as the configured
name of the NetBackup server? [y,n] (y) n
Enter the name of the NetBackup server: NetBackup
Is NetBackup the master server? [y,n] (y)
Do you have any media servers? [y,n] (n)
Checking /etc/services for the needed NetBackup and Media Manager services.
Copying original /etc/services file to /etc/services.NBU_041708.09:09:01
Editing /etc/services to update NetBackup and Media Manager services.
/etc/services will be updated to add the following entries for
NetBackup/Media Manager.
bprd 13720/tcp bprd
bpcd 13782/tcp bpcd
bpdbm 13721/tcp bpdbm
vnetd 13724/tcp vnetd
vopied 13783/tcp vopied
bpjobd 13723/tcp bpjobd
bpjava-msvc 13722/tcp bpjava-msvc
NB_dbsrv 13785/tcp NB_dbsrv
vmd 13701/tcp vmd
acsd 13702/tcp acsd
tl8cd 13705/tcp tl8cd
tldcd 13711/tcp tldcd
odld 13706/tcp odld
tl4d 13713/tcp tl4d
tshd 13715/tcp tshd
tlmd 13716/tcp tlmd
tlhcd 13717/tcp tlhcd
rsmd 13719/tcp rsmd
/etc/services has been updated to contain NetBackup and Media
Manager services.
WARNING: ypwhich: can't get local yp domain: Local domain name not set
WARNING: ypcat: can't get local yp domain: Local domain name not set
Found the necessary NetBackup services in /etc/services.
Sending SIGHUP to xinetd process.
Reloading configuration: [ OK ]
To make NetBackup start up automatically when
the system is restarted, the netbackup script found in
/usr/openv/netbackup/bin/goodies has been placed in /etc/rc.d/init.d,
with links to it placed in the /etc/rc.d/rc2.d directory.
To make NetBackup start up automatically when
the system is restarted, the netbackup script found in
/usr/openv/netbackup/bin/goodies has been placed in /etc/rc.d/init.d,
with links to it placed in the /etc/rc.d/rc3.d directory.
To make NetBackup start up automatically when
the system is restarted, the netbackup script found in
/usr/openv/netbackup/bin/goodies has been placed in /etc/rc.d/init.d,
with links to it placed in the /etc/rc.d/rc5.d directory.
To make NetBackup shut down automatically when
the system is restarted, the netbackup script found in
/usr/openv/netbackup/bin/goodies has been placed in /etc/rc.d/init.d,
with links to it placed in the /etc/rc.d/rc0.d directory.
To make NetBackup shut down automatically when
the system is restarted, the netbackup script found in
/usr/openv/netbackup/bin/goodies has been placed in /etc/rc.d/init.d,
with links to it placed in the /etc/rc.d/rc6.d directory.
NetBackup maintains a centralized catalog (separate from the image
catalog) for data related to media and device configuration, device
management, storage units, hosts and host aliases, media server status,
NDMP credentials, and other information. This is managed by the
Enterprise Media Manager server.
Enter the Enterprise Media Manager server (default: NetBackup):
VERITAS DBMS Server 9.0.1 is being installed
bin/
bin/dbbackup
......
scripts/wdata/sales_oi.dat
tix/
tix/default.tix
tar: Read 1024 bytes from -
**********************************************************************
********************* ALERT - ACTION REQUIRED ************************
**********************************************************************
This installation could fit one of two scenarios.
Follow the instructions that fit your situation.
**********************************************************************
1. It appears NetBackup is being installed with the intention of
using a different network interface than the default (oracle).
NetBackup daemons will be shut down. Additional entries must
be added to /usr/openv/netbackup/bp.conf and
/usr/openv/volmgr/vm.conf. The entry and the file affected
are as follows:
REQUIRED_INTERFACE=NetBackup (bp.conf)
REQUIRED_INTERFACE=NetBackup (vm.conf)
DEVICE_HOST=NetBackup (vm.conf)
After these entries have been added, start the NetBackup and Media
Manager daemons by executing the following command:
/usr/openv/netbackup/bin/goodies/netbackup start
**********************************************************************
OR
**********************************************************************
2. This machine appears to be a member of a cluster. NetBackup
daemons will be shut down. Do not install any NetBackup add-on
or database agent products on this machine until after the
NetBackup server has been configured to run in a cluster. After
NetBackup server installation activities have occurred on all
members of the cluster, execute the following command on the
primary node:
/usr/openv/netbackup/bin/cluster/cluster_config
**********************************************************************
File /usr/openv/tmp/install_trace.2583 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
/* 这里的报错说是我使用了另一个network interface,大概是因为我取的NetBackup server名称不是默认的吧,
按照它的提示编辑了/usr/openv/netbackup/bp.conf和/usr/openv/volmgr/vm.conf后,手工启动。*/
[root@oracle veritas]# more /usr/openv/netbackup/bp.conf
SERVER = NetBackup
CLIENT_NAME = oracle
EMMSERVER = NetBackup
[root@oracle veritas]# vi /usr/openv/netbackup/bp.conf
SERVER = NetBackup
CLIENT_NAME = oracle
EMMSERVER = NetBackup
~
~
SERVER = NetBackup
CLIENT_NAME = oracle
"/usr/openv/netbackup/bp.conf" 4L, 91C written
[root@oracle veritas]# more /usr/openv/volmgr/vm.conf
/usr/openv/volmgr/vm.conf: No such file or directory
[root@oracle veritas]# cd /usr/openv
[root@oracle openv]# ls
bin db java lib logs man msg NB-Java.tar.Z netbackup resources share tmp var volmgr
[root@oracle openv]# cd volmnr
-bash: cd: volmnr: No such file or directory
[root@oracle openv]# cd volmgr
[root@oracle volmgr]# ls
bin database help MediaMgr_DeviceConfig_Guide.txt misc
[root@oracle volmgr]# vi vm.conf
~
~
"vm.conf" [New] 2L, 50C written
[root@oracle volmgr]# more vm.conf
EQUIRED_INTERFACE=NetBackup
DEVICE_HOST=NetBackup
[root@oracle volmgr]# /usr/openv/netbackup/bin/goodies/netbackup start
NetBackup Database Server started.
NetBackup Notification Service started.
NetBackup Enterprise Media Manager started.
NetBackup Resource Broker started.
Rebuilding device nodes.
Media Manager daemons started.
NetBackup request daemon started.
NetBackup compatibility daemon started.
NetBackup Job Manager started.
NetBackup Policy Execution Manager started.
NetBackup Service Layer started.
NetBackup is not configured for clustering.
NetBackup Service Monitor started.
[root@oracle volmgr]#
至此,veritas服务器就安装好了。
更多推荐
所有评论(0)