AIX nim 备份client rootvg 的配置

周末给客户装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 &nbs...显示全部
周末给客户装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:2:once:/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:2:once:/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的话,就可以安装成功的。

原因正在找...收起
参与10

查看其它 9 个回答lynxw的回答

lynxwlynxw系统工程师cosnetbj
问题解决,在客户端上执行:
niminit -a master_port=1058 -a master=NIMserverName -a name=ClientName -a connect=nimsh
系统集成 · 2014-04-08
浏览4387

回答者

lynxw
系统工程师cosnetbj

lynxw 最近回答过的问题

回答状态

  • 发布时间:2014-04-08
  • 关注会员:0 人
  • 回答浏览:4387
  • X社区推广