免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: atianyu

[备份软件] linux 上 netbackup安装问题 [复制链接]

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
发表于 2010-01-11 20:42 |显示全部楼层
看来LZ上道了。

论坛徽章:
0
发表于 2010-01-12 09:39 |显示全部楼层

回复 #11 无牙 的帖子

版主过奖了,哪有呀
不过我还是觉得哪里不对劲,总觉得可能是还有些软件没装,不知道怎么使用这个界面
但是当我去尝试备份某个文件时总是报错,不知道什么原因,版主有这方面的操作手册吗?指点一下

论坛徽章:
0
发表于 2010-01-12 19:44 |显示全部楼层
新鲜出炉的问题来了,将继续上面的话题,见如下靓图,不知道怎么回事,总觉得少了些什么,
当我去备份那个aa文件,点击backup时,就弹出第二张图的报错
另外我把安装过程中出现的一个疑难问题发给大家看看
Starting the NetBackup Notification Service.

Database server is VERITAS_NB_jieli.(none)
Creating the NetBackup database
Creating NetBackup data files in: /usr/openv/db/data
Creating /usr/openv/db/data
Creating NetBackup index files in: /usr/openv/db/data
Creating NetBackup transaction log file in: /usr/openv/db/data
Adaptive Server Anywhere Start Server In Background Utility Version 9.0.1.1965
Database "/usr/openv/db/data/NBDB.db" created successfully
Adaptive Server Anywhere Stop Engine Utility Version 9.0.1.1965
Starting the NetBackup database
Authenticating the NetBackup database
VXDBMS_NB_DATA entry in bp.conf updated successfully.
Setting of database authentication for NBDB successful.
Change of dba password for NBDB successful.
Creating the NetBackup database files
Database [NBDB] is alive and well on server [VERITAS_NB_jieli.(none)].


Starting the NetBackup database manager process (bpdbm).
等待时间较长
<16>bpauthorize main: Function connect_to_remote_server(jieli.(none)) failed: 11
system call failed

You do not have the proper authorization to perform
this task.  Please resolve and try again.

cannot connect on socket (25)

Policy conversion summary:
        Number of original policies:                    0
        Number of non-snapshot policies skipped:        0
        Number of policies not needing conversion:      0
        Number of policies converted to
          'auto' snapshot method:                       0
        Number of policies converted:                   0
        Number of new policies created due to
          multiple clients in a policy that had
          different snapshot method configurations:     0

Starting the NetBackup compatibility daemon.
为保证能给清楚的帮我分析问题,干脆把我的整个安装过程做为附件发出来,各位看官能指点一下吗?讨论讨论吗?非常谢谢啦

[ 本帖最后由 atianyu 于 2010-1-12 19:54 编辑 ]
20.jpg
21.jpg

netbackup安装.rar

3.82 KB, 下载次数: 27

论坛徽章:
0
发表于 2010-01-12 22:07 |显示全部楼层
为啥就木有人顶了,版主,帮忙看看吧

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
发表于 2010-01-12 23:35 |显示全部楼层
需要先创建一个策略,里面添加一个user backup类型的调度,然后再试一试。

论坛徽章:
0
发表于 2010-01-13 09:12 |显示全部楼层

回复 #14 atianyu 的帖子

问题是我找不到创建策略的选项,我找了很久的,烦请再说一说吧

论坛徽章:
0
发表于 2010-01-13 10:22 |显示全部楼层
安装时你的masterserver name 是什么?
ping masterserver name 看是否返回127.0.0.1  ?
如果是的话: bp.kill_all  停止nbu  修改/etc/hosts ,保证ping masterserver 返回正确IP  ,bp.start_all 看看登陆画面有没有变化?

论坛徽章:
0
发表于 2010-01-13 11:01 |显示全部楼层

回复 #17 onion 的帖子

我安装的时候有关master server如下,我选的默认
Would you like to use "jieli.(none)" as the configured
name of the NetBackup server? [y,n] (y)
Is jieli.(none) 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.
Found the necessary NetBackup services in /etc/services.

然后我PING如下
[root@jieli ~]# ping jieli.com
PING jieli.com (172.16.11.74) 56(84) bytes of data.
64 bytes from jieli.com (172.16.11.74): icmp_seq=0 ttl=64 time=0.027 ms
64 bytes from jieli.com (172.16.11.74): icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from jieli.com (172.16.11.74): icmp_seq=2 ttl=64 time=0.026 ms
64 bytes from jieli.com (172.16.11.74): icmp_seq=3 ttl=64 time=0.025 ms
64 bytes from jieli.com (172.16.11.74): icmp_seq=4 ttl=64 time=0.026 ms
64 bytes from jieli.com (172.16.11.74): icmp_seq=5 ttl=64 time=0.027 ms

/etc/hosts文件内容如下

[root@jieli ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
172.16.11.74            jieli.com            jieli

我怎么只有bp.kill_all,没有bp.start_all
[root@jieli bin]# ./bp.kill_all

Looking for NetBackup processes that need to be terminated.
Stopping nbsvcmon...
Stopping nbsl...
Stopping bpcompatd...

Looking for Media Manager processes that need to be terminated.
Stopping ltid...

The following processes are still active
root      9259     1  0 15:32 ?        00:00:02 /usr/openv/volmgr/bin/ltid
Do you want this script to attempt to kill them? [y,n] (y)
Killing remaining processes...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
Waiting for processes to terminate...
There are processes still running.
[root@jieli bin]# ps -ef|grep netbackup
root      8993     1  0 15:00 ?        00:00:00 /usr/openv/netbackup/bin/nbnos
root      9210     1  0 15:17 ?        00:00:02 /usr/openv/netbackup/bin/nbemm
root      9237     1  0 15:20 ?        00:00:01 /usr/openv/netbackup/bin/nbrb
root     10765  9259  0 17:37 ?        00:00:00 /usr/openv/netbackup/bin/bpclntcmd -gethostname
root     10842 10563  0 17:38 pts/3    00:00:00 grep netbackup
[root@jieli bin]# kill -9 8993
[root@jieli bin]# kill -9 9210
[root@jieli bin]# kill -9 9237
[root@jieli bin]# ps -ef|grep netbackup
root     10853 10563  0 17:42 pts/3    00:00:00 grep netbackup


[root@jieli bin]# ./bp.start_all
-bash: ./bp.start_all: No such file or directory

只能去init.d下启动,但是发现启动速度是极其的慢,截止发这封贴前,还没启动完毕
[root@jieli init.d]# ./netbackup start
NetBackup Notification Service started.

[ 本帖最后由 atianyu 于 2010-1-13 11:09 编辑 ]

论坛徽章:
0
发表于 2010-01-13 12:51 |显示全部楼层

回复 #18 atianyu 的帖子

more /usr/openv/netbackup/bp.conf
/usr/openv/netbackup/bin/bpclntcmd -gethostname  
看看 主机名后是否都带“ . " ?

论坛徽章:
0
发表于 2010-01-13 13:09 |显示全部楼层

回复 #19 onion 的帖子

谢谢这位坛友的热情跟贴
经过半个小时的时间,我用如下命令把netbackup给起来了
[root@jieli init.d]# ./netbackup start
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@jieli init.d]# ps -ef|grep netbackup
root     10869     1  0 17:42 ?        00:00:00 /usr/openv/netbackup/bin/nbnos
root     10882     1  0 17:46 ?        00:00:00 /usr/openv/netbackup/bin/nbemm
root     10903     1  0 17:49 ?        00:00:00 /usr/openv/netbackup/bin/nbrb
root     10939     1  0 17:53 ?        00:00:00 /usr/openv/netbackup/bin/bpcompatd
root     10974     1  0 18:18 ?        00:00:00 /usr/openv/netbackup/bin/nbsl
root     10982     1  0 18:18 ?        00:00:00 /usr/openv/netbackup/bin/nbsvcmon
root     11048 10563  0 18:28 pts/3    00:00:00 grep netbackup
但是,发现登录到控制台的界面没什么区别,备份的结果也是那个报错

另外见如下两命令输出
[root@jieli netbackup]# more bp.conf
SERVER = jieli.(none)
CLIENT_NAME = jieli.(none)
EMMSERVER = jieli
VXDBMS_NB_DATA = /usr/openv/db/data
[root@jieli netbackup]# /usr/openv/netbackup/bin/bpcl
bpclimagelist  bpclntcmd      
[root@jieli netbackup]# /usr/openv/netbackup/bin/bpclntcmd -gethostname
jieli
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP