免费注册 查看新帖 |

Chinaunix

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

安装BMR 4.7 For AIX5.2-005故障排除! [复制链接]

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-14 12:58 |只看该作者 |倒序浏览
安装BMR 4.7 For AIX5.2-005故障排除!

前几天配BMR4.7 for AIX5.2-005碰上了点麻烦,费了半天劲才搞定。
1. 安装BMR4.7的时候报错,错误信息如下。
wbportal:/usr/lpp/BareMetal./bmrsetupclient

Bare Metal Restore Client Configuration

Verifying environment...
Verification successful.

Enter BMR main server's IP hostname that resolves to an IP address
usable for routine BMR communications []: bakupsvr
Enter the BMR main server port number [8362]:
Enter this NetBackup client name [wbportal_bkup]:
Running bmrsavecfg for the first time (this may take a few minutes).
/dev/ipldevice not found

0301-150 bosboot: Invalid or no boot device specified!
usage:  bosboot {-a | -v} [-d device] [-p proto] [-k kernel] [-l lvdev]
                  [-b file] [-M serv|norm|both] [-D|-I] [-LTq]
       Where:
       -a              Create boot image and write to device or file.
       -v              Verify, but do not build boot image.
       -d device       Device for which to create the boot image.
       -p proto        Use given proto file for RAM disk file system.
       -k kernel       Use given kernel file for boot image.
       -l lvdev        Target boot logical volume for boot image.
       -b file         Use given file name for boot image name.
       -D              Load kernel debugger.
       -I              Load and Invoke kernel debugger.
       -M norm|serv|both       Boot mode - normal or service.
       -T platform     Specifies the hardware platform type.
       -q              Query disk space required to create boot image.
       -L              Enable MP locks instrumentation.
expr: syntax error
/usr/bin/mkvgdata[406]: test: argument expected
syntax error The source line is 1.
The error context is
               {print $4 + >;>;>;  } <<<
awk: The statement cannot be correctly parsed.
The source line is 1.
expr: syntax error
expr: syntax error
/usr/bin/mkvgdata[739]: test: argument expected
expr: syntax error
expr: syntax error
bmrsavecfg completed without errors.

The BMR command 'bmrsavecfg' must be run before each backup of this system.
NetBackup calls the bpstart_notify script (found in /usr/openv/netbackup/bin)
each time the client starts a backup operation. Hence, running 'bmrsavecfg'
from the bpstart_notify script will ensure that 'bmrsavecfg' runs before
each backup of this system.


Configuration of client wbportal_bkup,bakupsvr completed successfully.
Before a system restore can take place, at least one complete
system backup must be taken from the backup server.
wbportal:/usr/lpp/BareMetal

2. 解决方法:
错误提示中又"/dev/ipldevice not found",一查再这台机器上还真没有,到别的机器上一看都有。看来是这的问题了。听V的人说bmrsavecfg会调用mkszfile,单独运行这个命令报同样的错。
wbportal:/mkszfile
/dev/ipldevice not found

0301-150 bosboot: Invalid or no boot device specified!
usage:  bosboot {-a | -v} [-d device] [-p proto] [-k kernel] [-l lvdev]
                  [-b file] [-M serv|norm|both] [-D|-I] [-LTq]
       Where:
       -a              Create boot image and write to device or file.
       -v              Verify, but do not build boot image.
       -d device       Device for which to create the boot image.
       -p proto        Use given proto file for RAM disk file system.
       -k kernel       Use given kernel file for boot image.
       -l lvdev        Target boot logical volume for boot image.
       -b file         Use given file name for boot image name.
       -D              Load kernel debugger.
       -I              Load and Invoke kernel debugger.
       -M norm|serv|both       Boot mode - normal or service.
       -T platform     Specifies the hardware platform type.
       -q              Query disk space required to create boot image.
       -L              Enable MP locks instrumentation.

wbportal:/wbportal:/

看来问题不是出在BMR上,是AIX的问题。
查了查IBM的手册/dev/ipldevice,应该再安装完OS的时候就自动创建了。

用下面的方法可以重新创建/dev/ipldevice。
1. make sure which is boot device
lslv -m hd5

this command will returned following. So hdisk0 is boot device in this sample.
# lslv -m hd5
hd5:N/A
LP    PP1  PV1               PP2  PV2               PP3  PV3
01 0001 hdisk0   

2. Re-link boot device to /dev/ipldevice
ln rhdisk0 /dev/ipldevice
# ls -l ipldevice rhdisk0
crw-------   2 root     system       14,  2 Sep 20 2004  ipldevice
crw-------   2 root     system       14,  2 Sep 20 2004  rhdisk0

创建完 /dev/ipldevice,bmr终于安装成功。

如果说的不对的地方,请提示!我对AIX不太懂。

论坛徽章:
0
2 [报告]
发表于 2005-05-10 16:55 |只看该作者

安装BMR 4.7 For AIX5.2-005故障排除!

很好啊。看不出对aix不懂~~~

论坛徽章:
0
3 [报告]
发表于 2005-05-31 21:19 |只看该作者

安装BMR 4.7 For AIX5.2-005故障排除!

弱弱地问一声,啥个叫BMR

论坛徽章:
0
4 [报告]
发表于 2005-06-06 19:25 |只看该作者

安装BMR 4.7 For AIX5.2-005故障排除!

就是veritas的一套软件,可以备份os,这样系统崩溃的时候就可以从备份的地方快速恢复安装,尤其适合在很多相同机型的环境中,安装恢复很快,结合nbu软件使用。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP