Wednesday, August 7, 2013

NIM setup

1. Check the following filesets on server which will be used as NIM Master
   bos.sysmgt.nim.master
   bos.sysmgt.nim.client
   bos.sysmgt.nim.spot

2. Make sure five NFS and one NIM daemons should be running on NIM Master
   # lssrc -g nfs
   Subsystem                       Group            PID                Status
    biod                                   nfs              790678              active
    nfsd                                   nfs              364704              active
    rpc.mountd                        nfs              766126              active
    rpc.statd                            nfs              770182              active
    rpc.lockd                           nfs              487468              active
    nfsrgyd                               nfs                                          inoperative
    gssd                                   nfs                                           inoperative

# lssrc -s nimesis                          // It starts only after smitty nim_config step is completed.
Subsystem         Group            PID          Status
 nimesis          nim              327800       active

3. Make sure tftp and bootps are uncommented in /etc/inetd.conf
   # grep tftp /etc/inetd.conf
   tftp    dgram  udp6    SRC     nobody  /usr/sbin/tftpd         tftpd –n
   # grep bootps /etc/inetd.conf
   bootps  dgram   udp     wait    root    /usr/sbin/bootpd       bootpd /etc/bootptab

4. Make sure an entry is there for client in /etc/hosts on NIM Master.

5. On NIM Master run the command
   # smitty nim_config


Enter on Configure a Basic NIM Environment (Easy Startup)

Provide Primary Network Interface for NIM Master – en1 and Input device for installation images – cd0


Provide Client Machine’s Hostname e.g. lpar3


Enter after typing hostname as lpar3 and select Cable Type as tp



Use the lsnim to check Client Machine’s NIM details. Cstate should be “ready for a NIM operation”

# lsnim -l lpar3
lpar3:
   class                   = machines
   type                    = standalone
   connect             = shell
   platform           = chrp
   netboot_kernel = mp
   if1                        = network1 lpar3 0
   cable_type1    = tp
   Cstate                = ready for a NIM operation
   prev_state       = not running
   Mstate               = currently running
   cpuid                  = 00CEC19A4C00
   Cstate_result  = success



Make ready for bos-installation:

# smitty nim_bosinst








Accept the license agreement (twice) and set “Initiate reboot and installation now” as “no”



Use the lsnim to check Client Machine’s NIM details. Cstate should be “BOS installation has been enabled”


# lsnim -l lpar3
lpar3:
   class          = machines
   type           = standalone
   connect        = shell
   platform       = chrp
   netboot_kernel = mp
   if1            = network1 lpar3 0
   cable_type1    = tp
   Cstate         = BOS installation has been enabled
   prev_state     = ready for a NIM operation
   Mstate         = currently running
   boot           = boot
   lpp_source     = lpp_source1
   nim_script     = nim_script
   spot           = spot1
   cpuid          = 00CEC19A4C00
   control        = master


Now boot the Client machine in SMS mode and select first boot device as network – en1.






















No comments:

Post a Comment