免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-17 11:20 |只看该作者 |倒序浏览
安装BMR 4.7 For AIX5.2-005故障排除!\r\n\r\n前几天配BMR4.7 for AIX5.2-005碰上了点麻烦,费了半天劲才搞定。\r\n1. 安装BMR4.7的时候报错,错误信息如下。\r\nwbportal:/usr/lpp/BareMetal./bmrsetupclient\r\n\r\nBare Metal Restore Client Configuration\r\n\r\nVerifying environment...\r\nVerification successful.\r\n\r\nEnter BMR main server\'s IP hostname that resolves to an IP address\r\nusable for routine BMR communications []: bakupsvr\r\nEnter the BMR main server port number [8362]: \r\nEnter this NetBackup client name [wbportal_bkup]: \r\nRunning bmrsavecfg for the first time (this may take a few minutes).\r\n/dev/ipldevice not found\r\n\r\n0301-150 bosboot: Invalid or no boot device specified!\r\nusage:  bosboot {-a | -v} [-d device] [-p proto] [-k kernel] [-l lvdev]\r\n                  [-b file] [-M serv|norm|both] [-D|-I] [-LTq]\r\n       Where:\r\n       -a              Create boot image and write to device or file.\r\n       -v              Verify, but do not build boot image.\r\n       -d device       Device for which to create the boot image.\r\n       -p proto        Use given proto file for RAM disk file system.\r\n       -k kernel       Use given kernel file for boot image.\r\n       -l lvdev        Target boot logical volume for boot image.\r\n       -b file         Use given file name for boot image name.\r\n       -D              Load kernel debugger.\r\n       -I              Load and Invoke kernel debugger.\r\n       -M norm|serv|both       Boot mode - normal or service.\r\n       -T platform     Specifies the hardware platform type.\r\n       -q              Query disk space required to create boot image.\r\n       -L              Enable MP locks instrumentation.\r\nexpr: syntax error\r\n/usr/bin/mkvgdata[406]: test: argument expected\r\nsyntax error The source line is 1.\r\nThe error context is\r\n               {print $4 + >;>;>;  } <<< \r\nawk: The statement cannot be correctly parsed.\r\nThe source line is 1.\r\nexpr: syntax error\r\nexpr: syntax error\r\n/usr/bin/mkvgdata[739]: test: argument expected\r\nexpr: syntax error\r\nexpr: syntax error\r\nbmrsavecfg completed without errors.\r\n\r\nThe BMR command \'bmrsavecfg\' must be run before each backup of this system.\r\nNetBackup calls the bpstart_notify script (found in /usr/openv/netbackup/bin)\r\neach time the client starts a backup operation. Hence, running \'bmrsavecfg\'\r\nfrom the bpstart_notify script will ensure that \'bmrsavecfg\' runs before\r\neach backup of this system.\r\n\r\n\r\nConfiguration of client wbportal_bkup,bakupsvr completed successfully.\r\nBefore a system restore can take place, at least one complete\r\nsystem backup must be taken from the backup server.\r\nwbportal:/usr/lpp/BareMetal\r\n\r\n2. 解决方法:\r\n错误提示中又\"/dev/ipldevice not found\",一查再这台机器上还真没有,到别的机器上一看都有。看来是这的问题了。听V的人说bmrsavecfg会调用mkszfile,单独运行这个命令报同样的错。\r\nwbportal:/mkszfile\r\n/dev/ipldevice not found\r\n\r\n0301-150 bosboot: Invalid or no boot device specified!\r\nusage:  bosboot {-a | -v} [-d device] [-p proto] [-k kernel] [-l lvdev]\r\n                  [-b file] [-M serv|norm|both] [-D|-I] [-LTq]\r\n       Where:\r\n       -a              Create boot image and write to device or file.\r\n       -v              Verify, but do not build boot image.\r\n       -d device       Device for which to create the boot image.\r\n       -p proto        Use given proto file for RAM disk file system.\r\n       -k kernel       Use given kernel file for boot image.\r\n       -l lvdev        Target boot logical volume for boot image.\r\n       -b file         Use given file name for boot image name.\r\n       -D              Load kernel debugger.\r\n       -I              Load and Invoke kernel debugger.\r\n       -M norm|serv|both       Boot mode - normal or service.\r\n       -T platform     Specifies the hardware platform type.\r\n       -q              Query disk space required to create boot image.\r\n       -L              Enable MP locks instrumentation.\r\n\r\nwbportal:/wbportal:/\r\n\r\n看来问题不是出在BMR上,是AIX的问题。\r\n查了查IBM的手册/dev/ipldevice,应该再安装完OS的时候就自动创建了。\r\n\r\n用下面的方法可以重新创建/dev/ipldevice。\r\n1. make sure which is boot device\r\nlslv -m hd5\r\n\r\nthis command will returned following. So hdisk0 is boot device in this sample.\r\n# lslv -m hd5\r\nhd5:N/A\r\nLP    PP1  PV1               PP2  PV2               PP3  PV3\r\n01 0001 hdisk0   \r\n\r\n2. Re-link boot device to /dev/ipldevice\r\nln rhdisk0 /dev/ipldevice\r\n# ls -l ipldevice rhdisk0\r\ncrw-------   2 root     system       14,  2 Sep 20 2004  ipldevice\r\ncrw-------   2 root     system       14,  2 Sep 20 2004  rhdisk0\r\n\r\n创建完 /dev/ipldevice,bmr终于安装成功。\r\n\r\n如果说的不对的地方,请提示!我对AIX不太懂。

论坛徽章:
0
2 [报告]
发表于 2007-06-17 12:09 |只看该作者
好呀!怎么没人顶呀!我顶!

论坛徽章:
0
3 [报告]
发表于 2007-06-17 12:19 |只看该作者
谢谢提供这么详细的资料!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP