Wednesday, September 2, 2009

AIX Network Installation (NIM)

NIM Installation and configuration for aix 5.3

This configuration has to be done in server machine

Step 1: Select a machine to be the master
Step 2: Install AIX for the NIM master

Install a completely fresh copy of the latest AIX release and level you have, to
avoid inheriting problems. It is recommended you start with the highest possible
AIX level to avoid having to update it later on.

Step 3: Check the software requirements

The following steps are used to satisfy the minimum requirements for your NIM
master:
_ The level of AIX 5L that is installed on the NIM master
oslevel -r or oslevel -s
_ Available disk space
lspv and lsattr -El hdisk*
_ Network adapters
lscfg and netstat -in

Step 4: Install these NIM filesets

Make sure install nim package on nim server
1. Bos.symgmt.nim.server
2. Bos.symgmt.nim.client
3. Bos.symgmt.nim.spot

Step 5: Configure the selected machine as a NIM master

smitty nimconfig
Example 2-19 SMIT panel to configure an AIX machine as a NIM master
Configure Network Installation Manager Master Fileset
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Network Name [NET_EN0]
* Primary Network Install Interface [en0] +
Allow Machines to Register Themselves as Clients? [yes] +
Alternate Port Numbers for Network Communications
(reserved values will be used if left blank)
Client Registration [] #
Client Communications [] #
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do

Network name -> user defined
Primary network install interface -> en0 you need to select which interface configured ip address

Step 6: Creating the file systems for NIM

lpp_source and the SPOT resources are directories and the related file systems
must be created

Step 7: Defining basic resources

smitty nim_mkres
Or
smitty nim-> Configure the NIM Environment-> configure a
Basic NIM Environment (Easy Startup
* Resource Name [LPP_53_ML4] - > nim user define name
* Resource Type lpp_source ->
* Server of Resource [master] + -> master
* Location of Resource [/nim/aix53ml4/lppsour> / -> /nim/aix52/lppsource -> userdefine
Architecture of Resource [] +
Source of Install Images [cd0] +/ -> ariel/os/AIXoscds/dvd
Names of Option Packages []/
Show Progress [yes] +
Comments []
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
Define spot resource:
Smitty nim_mkres


* Resource Name [SPOT_53_ML4] -> userdefine name
* Resource Type spot -> spot
* Server of Resource [master] + -> master
* Source of Install Images [LPP_53_ML4] + -> nim
* Location of Resource [/nim/aix53ml4/] / -> /nim/aix520/spot
Expand file systems if space needed? yes +
Comments []
installp Flags
COMMIT software updates? no +
SAVE replaced files? yes +
AUTOMATICALLY install requisite software? yes +
OVERWRITE same or newer versions? no +
lsnim –l spot name

Step 8: Defining the client

add ipaddress and hostname to dns server
smitty nim_mkmac

Example 2-22 SMIT panel to define a NIM client
Define a Machine
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* NIM Machine Name [LPAR3] -> client machine hostname
* Machine Type [standalone] +
* Hardware Platform Type [chrp] +
Kernel to use for Network Boot [mp] +
Communication Protocol used by client [] +
Primary Network Install Interface
* Cable Type tp +
Network Speed Setting [] +
Network Duplex Setting [] +
* NIM Network NET_EN1
* Host Name lpar3 -> client machine hostname
Network Adapter Hardware Address [0]
Network Adapter Logical Device Name []

Step 9: Start the client installation

smitty nim_task_inst
1 select Install the Base Operating System on Standalone Clients
2 rte as installation method
3 you need to give what you have created above
4 you need to give spot name what you have created above
5

Example 2-23 Starting base operating system installation on a client
Install the Base Operating System on Standalone Clients
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* Installation Target LPAR3
34 NIM from A to Z in AIX 5L
* Installation TYPE rte
* SPOT
SPOT_53_ML4
LPP_SOURCE [LPP_53_ML4] +
MKSYSB
BOSINST_DATA to use during installation [] +
IMAGE_DATA to use during installation [] +
RESOLV_CONF to use for network configuration [] +
Customization SCRIPT to run after installation [] +
Customization FB Script to run at first reboot [] +
ACCEPT new license agreements? [yes] +
Remain NIM client after install? [yes] +
PRESERVE NIM definitions for resources on [yes] +
this target?
FORCE PUSH the installation? [no] +
Initiate reboot and installation now? [no] +
-ORSet
bootlist for installation at the [no] +
next reboot?
[MORE...22]
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do

Step 10: Additional checks

Perform the following checks before starting the client installation.
Verify that the bos_inst operation is correctly set up. There are three things to
always check before you actually perform the installation:
_ Verify that the correct entry has been added in the /etc/bootptab file.
Example 2-24 shows, in highlighted text, the LPAR3 client entry.
Example 2-24 Content of the /etc/bootptab file
{nimmast}:/ # tail /etc/bootptab
...........
# T179 -- (xstation only) -- XDMCP host
Remember: Accept the licence


Step 10: Additional checks

{nimmast}:/ # tail /etc/bootptab
...........
# T179 -- (xstation only) -- XDMCP host
Remember: Accept the licence agreements and change the value of
Initiate reboot and installation now? from yes to no. Also, because this is
the very first time installing this machine, client network boot must be manually
initiated (to allow the client to “pull” resources from the server).
Chapter 2. Network Installation Manager definitions and concepts 35
# T180 -- (xstation only) -- enable virtual screen
lpar3:bf=/tftpboot/lpar3:ip=10.1.1.13:ht=ethernet:sa=10.1.1.1:sm=255.255.255.0
ls -l /tftpboot

Step 11: Start the client installation

Power on the machine
1 go to sms menu->3 continue password entry
2 select remote ipl -> select network interface -> bootp -> assign client and server ip gateway and subnetmask.
3 check adapter setting
4 ping test
Come back to sms menu
5 select boot options 1 -. Select 6-. Network -> select first network interface -.2 normal mode and it will start client installation

No comments:

Post a Comment