- 论坛徽章:
- 0
|
安装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不太懂。 |
|