打印

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

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

安装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不太懂。

TOP

不错,不错

TOP

好呀!怎么没人顶呀!我顶!

TOP

谢谢提供这么详细的资料!

TOP

不错!

TOP

看完了,不错

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-11-22 11:00 京ICP证060528 号

Designed By 17DST