본문 바로가기

IBM/powerVM

NIM(교육)

update NIM clients - client 업데이트 용도로 사용 할 수 있다.

NIM 서버 OS 버전(TL포함)은 client 보다 같거나 높아야 한다.

RTE(RunTime Environment)

#lsnim -c [classes]

#lsnim -t lpp_source

#lsnim -l [object]

#lsnim -P : List all predefined NIM classes

#lsnim -P -c [class] : List all predefined NIM class object types

#lsnim -c [class] : List all defined class objects(machine object names)

#lsnim -t lpp_source : List all nim resource objects of type lpp_source

#lsnim -o master : List NIM operations that can be performed against the master machine object

#lsnim -p -a lpp_source -a Rstate : Explore the meaning of an object attribute

classes

  • machines
  • resoureces
  • networks
  • groups

NIM master = server

standalone = client

mksysb가 가지고 있는 TL 버전과 spot TL은 같아야 한다.

NIM master

NIM Client

  • standalone
  • diskless
  • dataless
  • wpar

NIM Resource server

Resource types

  • lpp_source : Contains software to be installed(보통 OS 데이타 를 가진다)
  • spot(Shared Pruduct Object Tree) : Provides code used by the client during the installation or maintenance process(OS 설치 할 때 반드시 필요, /usr 스트럭쳐를 포함(설치에 필요한 명령어들이 들어 있다.)
  • mksysb : Contains a system backup image
  • bosinst_data : Provides information used to automate the installation(OS 설치 시 선택되어지는 option들이 들어 있음. prompt=yes 되있으면 option들을 물어봄. prompt=no 는 안물어봄)
  • script
  • installp_bundle

/etc/niminfo = #nimconfig

/etc/objrepos/nim_attr

/etc/objrepos/nim_object

/etc/objrepos/nim_pdattr

nimesis : Daemon that runs on the NIM master (lssrc -s nimesis)

lsnim : Displays NIM-related information

nim : Performs operation on NIM objects

nimadapters

nimclient

nimconfig (/etc/niminfo) : Initializes the Network Installation Management(NIM) master package

nimdef

niminit

NIM utility scripts

  • nim_clients_setup
  • nim_master_recover
  • nim_master_setup
  • nim_update_all
  • nimadm
  • niminv
  • nimquery

NIM dependencies

  • TCP/IP communications
  • Name resolution
  • Bootstrap protocol(BOOTP) : Client가 어떤 ip와 어떤 서버에서 리소스를 받을 지 정의 된 상태에서 사용된다
  • Trivial file transfer protocol(TFTP) : 별도의 인증 절차 없음, UDP 사용
  • Object Data Manager(NFS)
  • Remote shell protocol(RSH)
  • System Resource Controller(SRC)

multihomed : 다른 대역의 네트웍을 사용 할 수 있다(네트웍카드 2장을 이용하여)

lpp_source와 spot은 TL당 하나씩 있어야 한다.

동시에 백업은 되지 않는다

lpp_source resources : 3GB per AIX version or TL

spot resources : 1GB per AIX version or TL

mksysb resources : 4GB(average), 1-7GB(range)

other : 1GB

naming convention를 잘 해라(OS버전 TL 버전 표기)

NIM fileset

  • bos.sysmgt.nim.client : Normally installed when AIX is installed,
  • bos.sysmgt.nim.master
  • bos.sysmgt.nim.spot : Required if client resource server will serve spot resources

smitty nim

smitty eznim

smitty nim_config_env

  • Remove all newly added NIM definitions             [yes]      <- yes로 해주면 좋다
      and filesystems if any part of this
      operation fails?

Other setup methods

  • smitty nimconfig : Do basic configuration of the NIM master
  • smitty nim_mkres : Define lpp_source and spot resources
  • smitty nim_master_setup : script
  • Define lpp_source and spot resources using the nim command

     

Unconfiguring the NIM master

   #nim -o unconfigure master

  • Stops nimesis daemon
  • Removes nimesis subsystem from SRC
  • Deletes NIM database
  • Does not remove NIM resources from th file system

 

Manual RTE installation

 Requires a minimum set of resources

  • lpp_source
  • spot

 

/etc/hosts에 정의가 안되 있으면 client를 구성 할 때 네트워크 설정을 요구한다.

+--------------------------------------------------------------------------+
     |      Type of Network Attached to Primary Network Install Interface       |
     |                                                                          |
     | Move cursor to desired item and press Enter.                             |
     |                                                                          |
     |   tok     = token ring network                                           |
     |   ent     = ethernet network                                             |
     |   fddi    = FDDI network                                                 |
     |   generic = generic network (no network boot capability)                 |
     |   atm     = ATM network                                                  |
 +--------------------------------------------------------------------------+
 Kernel to use for Network Boot                     [32]         <- P5는 32로 변경, aix5도 변경

 Cable Type                                        bnc                <- 아무거나 선택 해도 됨

nimsh = nim service handler

NIM는 IP 변경 시 client 정보를 다시 구성 해야 할 수 있으므로 가급적 변경 하지 말것

smitty nim_bosinst

 

fb_script(fb=first boot)

showres

bosinst.data : /var/adm/ras 및에 있음, mksysb를 받으면 / 밑에 생김

 

NIM backups and restores

Defining a mksysb resource

 #smitty nim_mkres

#lsmksysb -l  -f /export/mksysb/msb_chandler234

 Define a Resource

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Resource Name                                      []
* Resource Type                                       lpp_source
* Server of Resource                                 []                      +
* Location of Resource                               []                       /
  NFS Client Security Method                         []                      +
  NFS Version Access                                 []                      +
  Architecture of Resource                           []                      +
  Source of Install Images                           []                      +/ <- 보통 CD
  Names of Option Packages                           []                     <- all을 하면 CD 전체를 copy
  Show Progress                                      [yes]                   +
  Comments                                           []

 

mksysb는 licenced accept 하지 않아도 된다.

 

AIX5.3 mksysb에서 spot 생성시 mp로 되어 있으면 client도 mp로 되있어야 한다.

 

exclude_files

#vi /export/exclude_files/c234_exclude

/completed_projects

/obsolete_information

 

 lppmgr

 

 nim -o showres lpp_source6100

 

 df -gI

 

cd에서 spot을 선택 하면 모든 다른 머신에 설치 할 수 있고 mksysb에서 spot을 생성하면 꼭 둘이 쌍을 이뤄야 사용 가능(mksysb_source = )

lpp_sourc에서 spot을 생성 할 수 있다.

 

/usr/sys/inst.images <- installation images /lpp에 복사됨

'IBM > powerVM' 카테고리의 다른 글

P7_VIOS지원버전  (0) 2012.11.09
NIM  (0) 2012.11.09
000-108시험  (0) 2012.11.09
Dlpar않될때  (0) 2011.12.07
[POWER7/POWER6] LPAR 구성시 필요한 H/W Feature(Quick Reference)  (0) 2011.11.08
PowerVM NPIV / IBM Switch Configuration  (0) 2011.09.30
alt_disk_install로 여러 개의 LPAR 구성 시 주의 사항  (0) 2011.07.21
Answers to VIOS frequently asked questions  (0) 2011.04.06
PowerVM QuickStart  (0) 2011.04.06