首页 > 学技术 > 技术网文 > 存储备份之家 > 正文

[保留] 安装BMR 4.7 For AIX5.2-005故障排除!


来源 chinaunix.net 酷勤网整理

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



 龙鸽 回复于:2005-05-10 16:55:51

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


 roninlin 回复于:2005-05-31 21:19:09

弱弱地问一声,啥个叫BMR


 day_dream 回复于:2005-06-06 19:25:53

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




原文链接:http://bbs.chinaunix.net/viewthread.php?tid=530152
转载请注明作者名及原文出处



收藏本页到: