Anda di halaman 1dari 3

Nim configuration Install the base filesets for nim master and spot bos.sysmgt.nim.master bos.sysmgt.nim.

spot Create # crfs # crfs INLINE # crfs NE the following filesystems -v jfs2 -g rootvg -a size=64M -m /tftpboot -A yes -p rw -a logname=INLINE -v jfs2 -g rootvg -a size=4G -m /export/lpp_source -A yes -p rw a logname= -v jfs2 -g rootvg -a size=1G -m /export/spot -A yes -p rw -a logname=INLI

Now mount the filesystems # mount /tftpboot #mount /export/lpp_source #mount /export/sopt now give the permissions # chmod 600 /tftpboot # chmod 600 /export/lpp_source #chmod 600 /export/spot Now configure the nim master #smitty nimconfig give network name net_192_168_10 give primary network install interface en0 Allow machines to register NO now edit /etc/environment file and add the following entry NSORDER=local,bind Edit /etc/netsvc.conf file and add the following entry hosts=local,bind now edit /etc/irs.conf file and add the following entry hosts local continue hosts dns edit /etc/hosts file and the following entry 192.168.10.6 test2 Check TFTPD and BOOTPS services are started #lssrc -ls inetd If TFTP and BOOTPS services are not showing than edit the file /etc/inetd.conf a nd uncomment the lines having bootps and tftp #vi /etc/inetd.conf After uncommenting the lines bootps and tftp refresh the inetd service. # refresh -s inetd Now you see tftp and bootp services are active while listing the subservices of inetd . After this check the entries for bootps and tftp in /etc/services files if these entries are commented than uncomment it. vi /etc/services bootps 67/tcp # Bootstrap Protocol Server tftp 69/udp # Trivial File Transfer Now edit the /etc/bootptab file and add the following entry.

test2:bf=/tftpboot/test2:ip=192.168.10.6:ht=ethernet:sa=192.168.10.5:sm=255.255. 255.0: the first field is Hostname or full domain name (for the NIM client) bf Boot file name (in the NIM boot resource directory) ip Host IP address (for the NIM client) ht Hardware type sa TFTP server IP address for the boot file sm Subnet mask (for the NIM client) Now create a new file named /etc/tftpaccess.ctl and add the following entries # NIM access for network boot allow:/tftpboot The tftpd daemon uses the /etc/tftpaccess.ctl file to determine which directory hierarchy is allowed to share Now create the base level lppsource for the nim client To create i use smitty bffcreate fastpath . #smitty bffcreate In this we put device directory to /dev/cd0 Software package to copy All Directory for storing softwares /export/lpp_source/lpp530070 (iam giving lpp5300 70 because iam installing aix 5.3 with TL7) Use /tmp for temporary directory Extend FS yes Process multiplr volumes to Yes Now we have to define the nim lppsource object by issueing the follwing command #nim -o define -t lpp_source -a server=master -a location=/export/lpp_source/lpp 530070 lpp530070 Now we have to create nim spot object issue the following command this will create and define the spot object #nim -o define -t spot -a server=master -a location=/export/spot -a source=lpp5 30070 -a installp_flags=-aQg spot530070 Now check the contents of spot issue the following command # nim -o lppchk -a show_progress=yes spot530070 Now define a nim client #smitty nim_mkmac Give the machine name (test2) in nim machine name field and press enter. Now you will get following screen just change the cable type from bnc to tp. Define the boot files for the nim client in /tftpboot directory #smitty nim_bosinst than select the target for installation to test2 Than select the install type to rte than select the lpp source to lpp530070 than select the spot to spot530070 than accept all the licences and intiate reboot and installation now to NO than press enter

now this will create the bootfiles in /tftpboot directory with name of the nim c lient. # cd /tftpboot # ls -ltr total 26096 drwxr-xr-x 2 root -rw-r--r-- 1 root -rw-r--r-- 1 root lrwxrwxrwx 1 root 530070.chrp.mp.ent

system system system system

256 13353472 1045 32

Aug Aug Aug Aug

22 23 23 23

12:44 00:11 00:11 00:11

lost+found spot530070.chrp.mp.ent test2.info test2 -> /tftpboot/spot

Now refresh the inetd services and check all the files and parameters in the fil e once again. After completing the check boot the client into the SMS mode and give the IP par ameters for client, boot server, netmak and gateway . Note-> If your client and server are on same network than g ive the gateway ip same as server IP. and after giving all the parameters boot the client with the network.

Anda mungkin juga menyukai