+ -
当前位置:首页 → 问答吧 → min 配置client 端 步骤-- 失败

min 配置client 端 步骤-- 失败

时间:2011-06-01

来源:互联网

周末给客户装nim 的client 端,主要是为了备份client端server 的os:

step1:
Verify that if bos.sysmgt.nim.client and bos.sysmgt.nim.spot filesets are installed by typing the
following:

lslpp -L bos.sysmgt.nim.client

# lslpp -L bos.sysmgt.nim.client
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  bos.sysmgt.nim.client     5.3.0.40    C     F    Network Install Manager -
                                                   Client Tools

If the bos.sysmgt.nim.client fileset is not installed, then install the fileset from the AIX volume 1 CD by typing the following (or using smitty):

# installp –acXd /dev/cd0 bos.sysmgt.nim.client


# lslpp -L bos.sysmgt.nim.spot
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  bos.sysmgt.nim.spot       5.3.0.40    C     F    Network Install Manager - SPOT

If the bos.sysmgt.nim.spot fileset is not installed, then install the fileset from the AIX volume 1 CD by typing the following (or using smitty):

# installp –acXd /dev/cd0 bos.sysmgt.nim.spot

step2

And the label and IP address of NIM master server's and client server.

#vi /etc/hosts
IP master_server_hostname_nim
ip clinet_server_hostname_nim

在两段的 /etc/hosts 文件都要写,为了互相解析。
写好后: 在client: ping master_server_hostname_nim
                                 在master: ping client_server_hostname_nim
                                 
step3:
检查一些os 层面的设置:
  ulimit -a  (确保root file umilit = -1)
  oslevel -r (确保客户端的版本是大于server 端的)
  
  Edit /etc/services 文件,确保一下的设置是开启的:
  
  tftp                        69/udp
nimsh                        3901/tcp                # NIM Service Handler
nimsh                        3901/udp                # NIM Service Handler
nimaux                        3902/tcp                # NIMsh Auxiliary Port
nimaux                        3902/udp                # NIMsh Auxiliary Port

step4:
smit 安装:
smit niminit
Machine Name         client_host_nim
Primary network intall Interface        en1
host name of network Inatall Master        master_host_nim

Hardware platform Type        chrp
kernel to use for network Boot        mp
communication protocol used by client nimsh
..
Network Speed setting 1000
network Duplex Setting full
..

要确保:nimsh 服务启动:
# /usr/bin/startsrc –s nimsh                                (for nimsh)


step5;
Ensure the following line is in /etc/inittab.

nimsh:2:wait:/usr/bin/startsrc -g nimclient >/dev/console 2>&1                (for nimsh)
nimclient:2nce:/usr/sbin/nimclient -S running > /dev/console 2>&1        (for nimsh)

        Or, add them to /etc/inittab if necessary.
# mkitab “nimsh:2:wait:/usr/bin/startsrc -g nimclient >/dev/console 2>&1”
# mkitab “nimclient:2nce:/usr/sbin/nimclient -S running > /dev/console 2>&1”

step6:
装好后:会在:/etc/niminsfo 文件
注意;
生成/niminfo 的同时,会增加一条route,装好后要delete default.
但是再高的aix 版本,不会增加一条route,
可以通过:
netstat -nr 来看一下啊。

step7:
下面进行备份命令的测试:
nim -o define -t mksysb -a server=master -a source=client_host_nim -a mk_image=yes -a location=/systemimage/mksysb.client_host mksysb_client_host

就开始报错了:

0042-001 nim: processing error encountered on "master":
0042-006 m_showres: (From_Master) connect Error 0

特别声明:
如果client 原来没有配过nim的话,就可以安装成功的。

原因正在找...

现在还找不到啊

作者: shp2010   发布时间: 2011-06-01

装过nim的,把/niminfo删掉,重设置一下master

作者: orian   发布时间: 2011-06-01

好的,问题是删掉后,还是有同样的错误啊。

作者: shp2010   发布时间: 2011-06-01