Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

Configuring the NIM Server LPAR

QPS01 IBM PowerVM on System p - 090

Copyright IBM Corporation 2008 Course materials may not be reproduced in whole or in part without written permission.

IBM PowerVMon System p

LAB: Configure the NIM Partitions


1. 2. 3. 4. 5. 6. Check the network setup Define the NIM Master Create the lpp_source resource (preloaded to disk) Create the spot resource (from the lpp_source resource) Define the AIX client Prepare the NIM server for deployment of the AIX client

IBM System p

This Lab covers the configuration of the student NIM Master We will be displaying just one of the students environment

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

The Partition is installed and at the login prompt


IBM System p

AIX Version 6 Copyright IBM Corporation 1982, 2007.

Console login: root Roots Password: ibmaix

Login: root Password: ibmaix

**************************************************************************** * * * * * Welcome to AIX Version 6.1! * * * * * * Please see the README file in /usr/lpp/bos for information pertinent t * * this release of the AIX Operating System. * * * * * **************************************************************************** #

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Check the initial AIX device configuration


# lsdev -Cc adapter ent0 Available Virtual I/O Ethernet Adapter (l-lan) vsa0 Available LPAR Virtual Serial Adapter vscsi0 Available Virtual SCSI Client Adapter vscsi1 Available Virtual SCSI Client Adapter

IBM System p

# lsdev -Cc disk hdisk0 Available hdisk1 Available

Virtual SCSI Disk Drive Virtual SCSI Disk Drive

# lsvg -p rootvg rootvg: PV_NAME hdisk0 PV_NAME hdisk1

PV STATE active PV STATE active

TOTAL PPs 63 TOTAL PPs 63

FREE PPs 23 FREE PPs 23

FREE DISTRIBUTION 12..05..00..00..06 FREE DISTRIBUTION 12..05..00..00..06

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Add second disk to rootvg


# lspv hdisk0 hdisk1 00c07ebf474989f6 none rootvg None

IBM System p

active

hdisk0 hdisk1

none 00c07ebf47498f4b

None rootvg

active

# extendvg f rootvg hdisk1

# extendvg f rootvg hdisk0

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Check the initial AIX device configuration

IBM System p

# lsvg l rootvg
rootvg: LV NAME hd5 hd6 hd8 hd4 hd2 hd9var hd3 hd1 hd10opt fslv00 TYPE boot paging jfs2log jfs2 jfs2 jfs2 jfs2 jfs2 jfs2 jfs2 LPs 1 4 1 1 13 1 1 1 1 16 PPs 1 4 1 1 13 1 1 1 1 16 PVs 1 1 1 1 1 1 1 1 1 1 LV STATE closed/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd MOUNT POINT N/A N/A N/A / /usr /var /tmp /home /opt /export/lpp_source

# mirrorvg rootvg

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Mirror the root volume group

Run topas in VIO partition to view load during mirroring You will notice small load on CPU

IBM System p

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Mirror rootvg and set bootlist for next boot


# mirrorvg rootvg
0516-1804 chvg: The quorum change takes effect immediately. 0516-1126 mirrorvg: rootvg successfully mirrored, user should perform bosboot of system to initialize boot records. Then, user must modify bootlist to include: hdisk0 hdisk1.

IBM System p

Mirrorvg message when running AIX 5.3 and below:

0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this to take effect for rootvg 0516-1126 mirrorvg: rootvg successfully mirrored, user should perform bosboot of system to initialize boot records. Then, user must modify bootlist to include: hdisk0 hdisk1.

# bosboot a
bosboot: Boot image is 35841 512 byte blocks.

# bootlist m normal hdisk0 hdisk1 # bootlist m normal o


hdisk0 blv=hd5 hdisk1 blv=hd5
Copyright IBM Corporation 2008 QPS01 090 NIM_Config 8

IBM PowerVMon System p

Check logical volumes for number of PVs


# lsvg l rootvg
rootvg: LV NAME hd5 hd6 hd8 hd4 hd2 hd9var hd3 hd1 hd10opt fslv00 TYPE boot paging jfs2log jfs2 jfs2 jfs2 jfs2 jfs2 jfs2 jfs2 LPs 1 4 1 1 13 1 1 1 1 16 PPs 2 8 2 2 26 2 2 2 2 32 PVs 2 2 2 2 2 2 2 2 2 2

IBM System p

Type lsvg l rootvg Look t number of PVs


LV STATE closed/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd open/syncd MOUNT POINT N/A N/A N/A / /usr /var /tmp /home /opt /export/lpp_source

# lsvg -p rootvg
rootvg: PV_NAME hdisk0 hdisk1

See that the FREE PPs are equal on both disks


TOTAL PPs 63 63 FREE PPs 23 23 FREE DISTRIBUTION 12..05..00..00..06 12..05..00..00..06

PV STATE active active

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Verify the IP configuration with ifconfig and ping


IBM System p

# ifconfig a en0: flags=1e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING, MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD,CHAIN> inet 10.31.197.XXX, netmask 0xffff000 broadcast 10.31.207.255 tcp_sendspace 262144 tcp_sendspace 262144 rfc1323 1 lo0: flags=e08084bUP,BROADCAST,NOTRAILERS,RUNNING, MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD,CHAIN> inet 127.0.0.1, netmask 0xff000000 broadcast 127.255.255.255 tcp_sendspace 131072 tcp_sendspace 131072 rfc1323 1

Network should still be configured from NIM

ping the gateway


# ping 10.31.192.1 PING 10.31.192.1 (10.31.192.1): 56 data bytes 64 bytes from 10.31.192.1: icmp_seq=1 ttl=255 time=0 ns 64 bytes from 10.31.192.1: icmp_seq=2 ttl=255 time=0 ns 64 bytes from 10.31.192.1: icmp_seq=3 ttl=255 time=0 ns ^C --- 10.31.192.1 ping statistics 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max =0/0/0 ms

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

10

IBM PowerVMon System p

NIM Resources
NIM master always required LPP_SOURCE contains source files (like CDROM)
Normally loaded to disk from the AIX install CDs

NIM installation uses defined resource stored in the NIM database

IBM System p

SPOT Shared Product Object Tree


Temporary /usr filesystem to mount during install

Machine client machine definitions


One of these is created for each client you plan to install These also must be enabled with smitty nim_bosinst

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

11

IBM PowerVMon System p

Verify the resources


Make sure that the lpp_source directory is populated
# ls l /export/lpp_source/installp/ppc
1.

IBM System p

ls l /export/lpp_source Check Make sure that the NIM master filesets are installed for files in directory If filesets are missing install from /export/lpp_source
# lslpp l | grep nim
bos.sysmgt.nim.client bos.sysmgt.nim.master bos.sysmgt.nim.spot bos.sysmgt.nim.client 6.1.0.0 6.1.0.0 6.1.0.0 6.1.0.0 COMMITTED COMMITTED COMMITTED COMMITTED

2. lslpp l | grep Network Install Manager nim Check NIM Manager Network Install server installed Network Install Manager - SPOT Network Install Manager -

Make sure that your NIM server and clients are resolved # host sys##_aix## (example: host sys01_aix1 (student 1))
3. host sys##_aix# Odd: _aix1, Even _aix2 Must resolve to create definition Example: student 1: sys01_aix1
Copyright IBM Corporation 2008 QPS01 090 NIM_Config 12

IBM PowerVMon System p

Other things to try if name resolution fails?


# vi /etc/hosts Add entry for your AIX client
#10.2.0.2 127.0.0.1 10.31.197.YY 10.31.197.166 10.31.197.XX x23sample # x.25 name/address loopback localhost sys##_nim# sys16_nim1 sys##_aix#

IBM System p

Add entry for your AIX LPAR

If needed, install missing filesets


smitty install_all Enter /export/lpp_source for source directory Use F4 to select software /nim to search for NIM filesets Choose NIM server and spot filesets Press enter

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

13

IBM PowerVMon System p

Configure the NIM Environment


# smitty nim
1. Type smitty

IBM System p

nim

Network Installation Management Move cursor to desired item and press Enter.

Configure the NIM Environment


Perform NIM Software Installation and Maintenance Tasks Perform NIM Administration Tasks Create IPL ROM Emulation Media NIM POWER5 Tools 2. Select Thin Server Maintenance

Configure the NIM Environment 3. Press Enter

F1=Help F9=Shell
Copyright IBM Corporation 2008

F2=Refresh F10=Exit

F3=Cancel Enter=Do
QPS01 090 NIM_Config

F8=Image

14

IBM PowerVMon System p

Configure the NIM Environment


Configure the NIM Environment
Move cursor to desired item and press Enter. Configure a Basic NIM Environment (Easy Startup) Advanced Configuration

IBM System p

4. Select Advanced Configuration Press Enter ------------------------------------ Next Screen --------------------------------------------------------

Advanced Configuration
Move cursor to desired item and press Enter. 5. Select

Initialize the NIM Master Initialize the NIM Master Only Press Enter Create Basic Installation Resources Create Diskless/Dataless Client Resources Create NIM System Bundles for Installation Define NIM Client Machines

Only

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

15

IBM PowerVMon System p

Specify Network name and interface

IBM System p

Configure Network Installation Management Master Fileset Type or select values in entry fields. Press Enter AFTER making all desired changes.

6. Type in ethXX, where XX is your student ID


[Entry Fields] [eth01] [en0] [yes]

* Network Name * Primary Network Install Interface Allow Machines to Register Themselves as Clients? Alternate Port Numbers for Network Communications (reserved values will be used if left blank) Client Registration Client Communications

+ +

[] []

# #

7. Pick the en0 interface by using F4 or <esc>4 8. Press Enter

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

16

IBM PowerVMon System p

Returns OK if runs good


Multiple NIM services start

IBM System p

COMMAND STATUS
Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below

0513-071 The nimesis Subsystem has been added. 0513-071 The nimd Subsystem has been added 0513-059 The nimesis Subsystem has been started.

Subsystem PID is 540914

9. Press F3 until main NIM menu or exit smit and retype # smitty nim
Copyright IBM Corporation 2008 QPS01 090 NIM_Config 17

IBM PowerVMon System p

Creating Resources
Network Installation Management
10. Select Move cursor to desired item and press Enter. and press Enter

IBM System p

Perform NIM Admin.. Tasks

Configure the NIM Environment Perform NIM Software Installation and Maintenance Tasks Perform NIM Administration Tasks Create IPL ROM Emulation Media NIM POWER5 Tools

----------------------------------------------Perform NIM Administration Tasks


Move cursor to desired item and press Enter. Manage Networks Manage Machines Manage Resources Manage Groups Backup/Restore the NIM Database Configure NIM Environment Options Rebuild the niminfo File on the Master Change the Master's Primary Interface Manage Alternate Master Environment Unconfigure NIM
Copyright IBM Corporation 2008

11. Select Manage Resources and press Enter

QPS01 090 NIM_Config

18

IBM PowerVMon System p

Defining the lpp_source resource


Manage Resources
Move cursor to desired item and press Enter. List All Network Install Resources Define a Resource Change/Show Characteristics of a Resource Show the Contents of a Resource Remove a Resource Perform Operations on Resources Verify Resources

IBM System p

12. Select Define a Resource and press Enter

13. Select lpp_source and press Enter

------------------- spot root paging dump home shared_home tmp exclude_files lpp_source = = = = = = = = =

next screen --------------------------

Resource Type
Shared Product Object Tree - equivalent to /usr file parent directory for client / (root) directories parent directory for client paging files parent directory for client dump files parent directory for client /home directories /home directory shared by clients parent directory for client /tmp directories files to be excluded when creating a mksysb or savev source device for optional product images

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

19

IBM PowerVMon System p

Provide options for lpp_source


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

IBM System p

14. Type lppaix61 for Resource Name


[Entry Fields]

* Resource Name * Resource Type * Server of Resource * Location of Resource Architecture of Resource Source of Install Images Names of Option Packages 15. Use F4 to select master Show Progress Comments for Server of Resource

[lppaix61] lpp_source [master] + [/export/lpp_source] [] + [] + [] [yes] + []

Source files for lpp_source were preloaded in mksysb file

16. Type /export/lpp_source for Location of Resource


Copyright IBM Corporation 2008

17. Press Enter


QPS01 090 NIM_Config 20

IBM PowerVMon System p

System will check for Minimal install resources


IBM System p

COMMAND STATUS
Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below Preparing to copy install images (this will take several minutes). .. Now checking for missing install images... All required install images have been found.

This lpp_source is now ready

The system will check to see if the directory you specified contains all of the resources required to create a SPOT

18. Press F3 to return to Manage Resources Screen

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

21

IBM PowerVMon System p

Defining the spot resource


Manage Resources
Move cursor to desired item and press Enter. List All Network Install Resources Define a Resource Change/Show Characteristics of a Resource Show the Contents of a Resource Remove a Resource Perform Operations on Resources Verify Resources

IBM System p

19. Select Define a Resource and press Enter 20. Select spot and press Enter

22

------------------- spot root paging dump home shared_home tmp exclude_files lpp_source installp_bundl [MORE...11]

next screen ---------------------------

Resource Type
= = = = = = = = = = Shared Product Object Tree - equivalent to /usr file parent directory for client / (root) directories parent directory for client paging files parent directory for client dump files parent directory for client /home directories /home directory shared by clients parent directory for client /tmp directories files to be excluded when creating a mksysb or savev source device for optional product images an installp bundle file

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

IBM PowerVMon System p

Do I have all filesets of an SP


instfix i | grep ML instfix i | grep SP instfix icqk 5300-06-01_AIX_ML | grep :-: instfix icqk 6.1.0.0_AIX_ML | grep :-:

IBM System p

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

23

IBM PowerVMon System p

Specify SPOT options


Define a Resource
Move cursor to desired item and press Enter. Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] * Resource Name * Resource Type * Server of Resource * Source of Install Images * Location of Resource Expand file systems if space needed? Comments installp Flags COMMIT software updates? SAVE replaced files? AUTOMATICALLY install requisite software? OVERWRITE same or newer versions? VERIFY install and check file sizes? [spotaix61] spot [master] [lppaix61]

IBM System p

21. Enter spotaix61 for Resource Name 22. Select master with F4 for Server of Resource 23. Select lppaix61 with F4 Source of Install Images 24. Enter /export/spot for Location of Resources 25. Press enter +
+ + + + / + +

[/export/spot] yes []

no yes yes no no

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

24

IBM PowerVMon System p

Check activity in the VIO server with viostat


Use VIOS 1.4 viostat command to view activity $ viostat adapter
Vadapter: Vhost0 Vtargets/Disks: #vnim1_vdisk0_vtscsi Vadapter: Vhost3 Vtargets/Disks: #vnim1_vdisk0_vtscsi Vadapter: Vhost2 Vtargets/Disks: #vnim1_vdisk0_vtscsi Kbps 26.7 Kbps 0.0 Kbps 60.5 tps 5.7 tps 65.1 tps 0.0 tps 0.0 tps 1.4 tps Login 0.7 bkread 2.8 bread 76.6K bkread 0.0 bread 0.0 bkread 0.7 bkwrtn 2.8 bwrtn 342.4K bkwrtn 0.0 bwrtn 0.0 bkwrtn 0.7

IBM System p

bwrtn tobreadServer VIO Check1.7K activity 25.7K

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

25

IBM PowerVMon System p

VIO performance during NIM partition install


$ topas
Topas Monitor for host: Tue Jan 2 16:33:31 2007 Kernel User Wait Idle Physc = Network en4 lo0 Disk hdisk0 hdisk1 7.6 0.2 0.1 92.2 0.02 KBPS 0.3 0.0 Busy% 5.0 0.0 sys05_vio1 Interval: 2 EVENTS/QUEUES Cswitch 644 Syscall 63 Reads 1 Writes 1 Forks 0 Execs 0 Runqueue 0.0 Waitqueue 0.0 PAGING Faults Steals PgspIn PgspOut PageIn PageOut Sios FILE/TTY Readch Writech Rawin Ttyout Igets Namei Dirblk

IBM System p

|### | |# | |# | |########################### | %Entc= 8.6 I-Pack 5.5 0.0 KBPS 1860.0 0.0 CPU% 0.3 0.1 0.0 0.0 0.0 O-Pack 0.5 0.0 KB-In 0.3 0.0 KB-Out 0.1 0.0

2 258 0 256 0 0 0

TPS KB-Read KB-Writ 15.5 0.0 1860.0 0.0 0.0 0.0 PgSp 0.1 0.9 0.1 0.0 0.2 Owner root root root root root

Name seaproc topas gil xmgc rpc.lock

PID 258272 278544 65568 45078 184428

0 0 0 0 0 0 0

MEMORY Real,MB % Comp % Noncomp % Client

512 59.4 9.1 9.1

NFS (calls/sec) ServerV2 0 ClientV2 0 ServerV3 0

PAGING SPACE Size,MB 1536 % Used 0.6 % Free 99.3 Press: "h" for help

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

26

IBM PowerVMon System p

Check the end of the log

IBM System p

26. Scroll to end of smit log Fast: hold shift (hit Esc then >)

27. Verify there are no messages after the Be Sure to check message

28. Press F3 to return to Perform NIM Administration

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

27

IBM PowerVMon System p

Defining Machines ( 1 of 3)
Network Installation Management
Move cursor to desired item and press Enter. Configure the NIM Environment Perform NIM Software Installation and Maintenance Tasks

IBM System p

Perform NIM Administration Tasks


Create IPL ROM Emulation Media NIM POWER5 Tools

--------------------

next

1. Select Perform NIM Admin.. Tasks screen --------------------------and press Enter

Perform NIM Administration Tasks


Move cursor to desired item and press Enter. Manage Networks

Manage Machines
Manage Resources 2. Manage Groups Backup/Restore the NIM Database Configure NIM Environment Options Rebuild the niminfo File on the Master Change the Master's Primary Interface Manage Alternate Master Environment Unconfigure NIM
Copyright IBM Corporation 2008

Select Manage Machines and press Enter

QPS01 090 NIM_Config

28

IBM PowerVMon System p

Defining Machines ( 2 of 3 )
Manage Machines
Move cursor to desired item and press Enter. List All Machines

IBM System p

This will fail if hostname is not resolved. If you get an error have assistant instructor help you.

Change/Show Characteristics of a Machine 3. Select Define a Machine Specify New Master for Client Machine and press Enter Remove a Machine Manage Network Install Interfaces Manage Network Install Resource Allocation Perform Operations on Machines Query Remote Machine Manage Secondary Adapter Definition Files 4. Enter hostname of AIX --------------------------- next screen -------------------------------

Define a Machine

Define a Machine
Type or select a value for the entry field. Press Enter AFTER making all desired changes.

client from worksheet

[Entry Fields] * Host Name of Machine (Primary Network Install Interface)


Copyright IBM Corporation 2008

[sys11_aix2]

5. Press Enter
QPS01 090 NIM_Config 29

IBM PowerVMon System p

Defining Machines (3 of 3) accept lab defaults


IBM System p

Define a Machine Type or select values in entry fields. Press Enter AFTER making all desired changes. [TOP] * NIM Machine Name * Machine Type * Hardware Platform Type Kernel to use for Network Boot Communication Protocol used by client Primary Network Install Interface * Cable Type Network Speed Setting Network Duplex Setting * NIM Network * Host Name Network Adapter Hardware Address Network Adapter Logical Device Name [MORE...4] F1=Help F5=Reset F9=Shell F2=Refresh F6=Command F10=Exit F3=Cancel F7=Edit Enter=Do [Entry Fields] [sys11_aix2] [standalone] [chrp] [64] [] bnc [] [] eth01 sys11_aix2 [0] []

+ + + + + + +

F4=List F8=Image

Defaults are ok for this LAB


Copyright IBM Corporation 2008

Press Enter
30

QPS01 090 NIM_Config

IBM PowerVMon System p

Enable Machine for install smitty nim_bosinst


IBM System p

Select a TARGET for the operation Move cursor to desired item and press Enter. sys11_aix2 machines standalone ------------------next screen ------------------------------------

# smitty nim_bosinst

Select the installation TYPE Move cursor to desired item and press Enter. 39. Select rte rte - Install from installation images Hit Enter mksysb - Install from a mksysb spot - Install a copy of a SPOT resource F1=Help F2=Refresh F3=Cancel F8=Image F10=Exit Enter=Do We only have one client defined /=Find n=Find Next rte installs from lpp_source like

Select system and Press Enter

it was the AIX install CD


QPS01 090 NIM_Config

Copyright IBM Corporation 2008

31

IBM PowerVMon System p

Choose lpp_source and SPOT


Select the LPP_SOURCE to use for the installation Move cursor to desired item and press Enter.

IBM System p

lppaix61
F1=Help F8=Image /=Find

resources

lpp_source
F3=Cancel Enter=Do

F2=Refresh F10=Exit n=Find Next

----------------------- next screen ----------------------------------Select the SPOT to use for the installation Move cursor to desired item and press Enter.

Select lppaix61 and Press enter

spotaix61
F1=Help F8=Image /=Find

resources

spot
F3=Cancel Enter=Do

F2=Refresh F10=Exit n=Find Next

Select spotaix61 and Press enter


QPS01 090 NIM_Config 32

Copyright IBM Corporation 2008

IBM PowerVMon System p

Accept licenses & Turn off the initiate reboot option


Install the Base Operating

42. Set System on Standalone Clients yes ACCEPT new license.. to

IBM System p

Type or select values in entry fields. Press Enter AFTER making all desired changes. [TOP] * Installation Target * Installation TYPE * SPOT LPP_SOURCE ------- scroll down + Customization FB Script to run at first reboot [] [yes] [yes] [yes] [Entry Fields] sys11_aix2 rte spotaix61 [lppaix61]

ACCEPT new license agreements?


Remain NIM client after install? PRESERVE NIM definitions for resources on this target?

42. Set Initiate reboot.. to No + and press + Enter


+ + +

If set to yes and hostname is wrong, could write over running system.
FORCE PUSH the installation?

[no] [no]

Initiate reboot and installation now?

43. F10 to Exit SMIT


Copyright IBM Corporation 2008 QPS01 090 NIM_Config 33

IBM PowerVMon System p

Look at the NIM resources


lsnim l | more lsnim l <client name>
# lsnim l sys03_aix1 sys03_aix1: class = machines type = standalone connect = shell platform = chrp netboot_kernel = 64 if1 = eth03 sys03_aix1 0 cable_type1 = bnc

IBM System p

Cstate
prev_state Mstate boot nim_script

lpp_source spot
cpuid control
Copyright IBM Corporation 2008

= lppaix61

= ready for a NIM operation = currently running = boot

= BOS

installation has been enabled

= spotaix61

= nim_script

= 00CFB73C4C00 = master
QPS01 090 NIM_Config 34

IBM PowerVMon System p

Examine entry in /etc/bootptab


IBM System p

# cat /etc/bootptab

Type cat /etc/bootptab # ha -- hardware address # ht -- hardware type # ip -- host IP address # sm -- subnet mask # tc -- template host (points to similar host entry) # hn -- name switch # bs -- boot image size # dt -- old style boot switch # T170 -- (xstation only) -- server port number # T175 -- (xstation only) -- primary / secondary boot host indicator # T176 -- (xstation only) -- enable tablet # T177 -- (xstation only) -- xstation 130 hard file usage # T178 -- (xstation only) -- enable XDMCP # T179 -- (xstation only) -- XDMCP host # T180 -- (xstation only) -- enable virtual screen sys02_aix1:bf=/tftpboot/sys02_aix1:ip=10.31.197.25:ht=ethernet:sa=10.31.197.24: sm=255.255.240.0:
System will boot from bf= only if name resolution works

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

35

IBM PowerVMon System p

Examine entry in /etc/exports and in /tftpboot directory


IBM System p

# exportfs

Type exportfs

/export/spot/spotaix61/usr -ro,root=sys05_aix1:,access=sys05_aix1: /export/lpp_source -ro,root=sys05_aix1:,access=sys05_aix1: /export/nim/scripts/sys05_aix1.script ro,root=sys05_aix1:,access=sys05_aix1:

# ls l /tftpboot
total 45736 -rw-r--r-1 root system lrwxrwxrwx 1 root system /tftpboot/spotaix61.chrp.64.ent -rw-r--r-1 root system 14342144 Oct 02 15:32 spotaix61.chrp.64.ent 31 Oct 02 14:56 sys05_aix1 -> 1115 Oct 02 14:56 sys05_aix1.info

The /tftpboot directory will contain a boot image, a configuration file (.info) and a symbolic link from the client file to the appropriate boot image
Copyright IBM Corporation 2008 QPS01 090 NIM_Config 36

IBM PowerVMon System p

The NIM server is prepared to load AIX partitions


IBM System p

Run topas in NIM partition to monitor during install

Run topas in VIO partition to monitor during install

Copyright IBM Corporation 2008

QPS01 090 NIM_Config

37

IBM PowerVMon System p

Ah but I goofed
Wrong name for the NIM server..how do I reset?

IBM System p

# nim Fo reset <client> Example: nim Fo reset sys04_aix1 # nim Fo deallocate a subclass=all <client> Example: # nim Fo deallocate a subclass=all sys04_aix1 # lsnim l master Get old if1 entry for network name and mac address # nim o change a if1=<correct entry> master Example:
# nim o change a if1=eth01 sys04_nim1 0234300 master

Network
Copyright IBM Corporation 2008

Hostname
QPS01 090 NIM_Config

MAC Address
38

Summary: Configure NIM Partitions


In this lab, you Checked the Network configuration Defined the NIM Master Created the lpp_source resource (preloaded to disk) Created the spot resource (from the lpp_source resource) Defined the AIX client Prepared the NIM server for deployment of the AIX client

Copyright IBM Corporation 2008 Course materials may not be reproduced in whole or in part without written permission.

You might also like