0% found this document useful (0 votes)
95 views8 pages

NIM Master Configuration

Network install Manager for AIX

Uploaded by

Prathmesh Pol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views8 pages

NIM Master Configuration

Network install Manager for AIX

Uploaded by

Prathmesh Pol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

NIM Master Configuration

Make sure you have the following filestes installed:


[Link]
[Link]
[Link]

[Link] the following command to begin the configuration process:


# smit nim_config_env
» Entering the SMIT fast path smit nim_config_env should
result in the display of the SMIT Configure a Basic NIM
Environment (Easy Startup) screen shown below:
# smit nim_config_env
Configure a Basic NIM Environment (Easy Startup)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
Initialize the NIM Master:
* Primary Network Interface for the NIM Master [en0] +
Basic Installation Resources:
* Input device for installation images [/cd0] +
* LPP_SOURCE Name [lpp_source6100]
* LPP_SOURCE Directory [/export/lpp_source] +
Create new filesystem for LPP_SOURCE? [yes] +
Filesystem SIZE (MB) [650] #
VOLUME GROUP for new filesystem [rootvg] +
* SPOT Name [spot6100]
* SPOT Directory [/export/spot] +
Create new filesystem for SPOT? [yes] +
[MORE...26]
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do

__ [Link] your cursor to the Primary Network Interface for the


NIM Master field and select the List option (by pressing the F4
key or Esc+4, as indicated at the bottom of the SMIT screen). Move
your cursor to the desired interface and press the Enter key.
__ [Link] your cursor to the Input device for installation images
field and enter /cd0.
__ [Link] your cursor to the LPP_SOURCE Name field and enter
lpp_source6100.
__ [Link] your cursor to the SPOT Name field and enter spot6100.
__ [Link] your cursor to the Remove all newly added NIM
definitions and filesystems if any part of this operation
fails? field and select the List option (by pressing the F4 key or
Esc+4, as indicated at the bottom of the SMIT screen). Change the
value for this field to yes and press the Enter key.
» The Remove all newly added NIM definitions and
filesystems if any part of this operation fails? field is
the last field on the SMIT Configure a Basic NIM Environment
(Easy Startup)screen. You’ll have to scroll down a significant
number of lines to locate this field.
__ [Link] the Enter key again. A SMIT ARE YOU SURE? screen
should be displayed.
__ [Link] the Enter key once more to start the NIM master
configuration process.
__ [Link] you press the Enter key to start the NIM master
configuration process, a SMIT COMMAND STATUS screen should be
displayed, and the value of the Command field at the upper left on
this screen should be running.
__ [Link] the normal lab environment for this class, the NIM master
configuration process will take approximately 20 to 25 minutes.
During this time, many messages regarding the progress of the NIM
master configuration process will appear in the lower portion of the
COMMAND STATUS screen. The author of this exercise recommends
that you observe these messages for about 5 minutes and that you
then take a 15 minute break! :-)
__ [Link] you return from your break, continue to monitor the
COMMAND STATUS screen. Pay particular attention to the Command
field. When the value of the Command field changes to OK, the NIM
master configuration process is complete.
__ [Link] the NIM master configuration process is complete, exit
SMIT.
» Press the F10 key or Esc+0, as indicated at the bottom of the
SMIT screen.
__ [Link]’s do a few checks to verify that this system is now
configured as a NIM master and that the minimum resources
required to perform an AIX RTE install of a client system are
present.
First, verify that the nimesis daemon is running.
» One command you could use and the output obtained on the
system used to test this exercise are shown below:
# ps -Af | grep nimesis | grep -v grep
root 319522 221296 0 [Link] - 0:00 /usr/sbin/nimesis –s
Note: As an alternative, since the NIM server daemon is
started using SRC, you could use lssrc -g nim or lssrc -s
nimesis to verify that the nimesis daemon is running.
__ [Link] the newly created filesystems
»# df -Ig
Filesystem GB blocks Used Free %Used Mounted on
/dev/hd4 0.12 0.10 0.03 77% /
/dev/hd2 9.45 5.28 4.17 56% /usr
/dev/hd9var 1.02 0.01 1.00 2% /var
/dev/hd3 1.06 0.00 1.06 1% /tmp
/dev/hd1 0.02 0.00 0.02 3% /home
/dev/hd11admin 0.12 0.00 0.12 1% /admin
/proc - - - - /proc
/dev/hd10opt 0.09 0.08 0.01 86% /opt
/dev/fslv00 1.30 1.29 0.01 100% /export/lpp_source
/dev/fslv01 0.56 0.48 0.08 85% /export/spot
Notice the two newly created file systems:
/export/lpp_source and /export/spot
__ [Link], use the cat command to display the contents of the
/etc/niminfo file on your system. Verify that the value of the
NIM_NAME and the value of the NIM_CONFIGURATION variable are
both master.
» Use the following command:
# cat /etc/niminfo
The output obtained on the system used to test this exercise
is shown below:
# nimconfig
export NIM_NAME=master
export NIM_CONFIGURATION=master
export NIM_MASTER_PORT=1058
export NIM_REGISTRATION_PORT=1059
export NIM_MASTER_HOSTNAME=team1_nim_master
__ [Link] NIM resources of type lpp_source on your NIM master.
Verify that the list includes lpp_source6100.
Note: lpp_source6100 should currently be the only resource
of type lpp_source on your NIM master.
» Use the following command:
# lsnim -t lpp_source
The output should be similar to that shown below:
lpp_source6100 resources lpp_source

[Link] NIM resources of type spot on your NIM master. Verify that
the list includes spot6100.
Note: spot6100 should currently be the only resource of type
spot on your NIM master.
» Use the following command:
# lsnim -t spot
The output should be similar to that shown below:
spot6100 resources spot

__ [Link] the lsnim command to list all NIM objects belonging to


the machines class. How many systems are listed?
# lsnim -c machines
master machines master

__ [Link] the /etc/hosts file and make sure that the IP Address and
hostname associated with the NIM client is listed
#cat /etc/hosts
[Link] loopback localhost # loopback (lo0)
name/address
[Link] sys266_v2
[Link] team1_nim_master
[Link] team1_nim_client
[Link] nim_master
# tail /etc/[Link]
hosts = local,bind
__ [Link] the following command to display a SMIT screen that
can be used to define your NIM client:
# smit nim_mkmac
»Entering the SMIT fast path smit nim_mkmac should result in
the display of the SMIT Define a Machine screen shown below:
# smit nim_mkmac
Define a Machine
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Host Name of Machine [team1_nim_client]
(Primary Network Install Interface)
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
select your NIM client hostname and then press the Enter key

»
Define a Machine
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* NIM Machine Name [team1_nim_client]
* Machine Type [standalone] +
* Hardware Platform Type [chrp] +
Kernel to use for Network Boot [64] +
Communication Protocol used by client [nimsh] +
Primary Network Install Interface
* Cable Type bnc +
Network Speed Setting [] +
Network Duplex Setting [] +
* NIM Network network1
* Host Name team1_nim_client
Network Adapter Hardware Address [0]
Network Adapter Logical Device Name []
IPL ROM Emulation Device [] +/
CPU Id []
Machine Group []
Comments []

__ [Link] the Host Name of Machine field on the SMIT Define a


Machine screen, enter the client hostname provided by your
instructor (which you recorded in a prior lab step) and press the
Enter key.
Additional fields should now be displayed on the SMIT Define
a Machine screen. Move your cursor to the Communication
Protocol used by client field and select the List option (by
pressing the F4 key or Esc+4, as indicated at the bottom of the
SMIT screen).
__ [Link] the Communication Protocol used by client screen
displayed next, move your cursor to the nimsh = NIM Service
Handler is used by client line and press the Enter key.
__ [Link] your cursor to the Cable Type field and select the List
option (by pressing the F4 key or Esc+4, as indicated at the
bottom of the SMIT screen).
__ [Link] the Cable Type screen displayed next, move your cursor
to the N/A line and press the Enter key.
__ [Link] otherwise directed by your instructor, move your
cursor to the Network Adapter Logical Device Name field and
enter ent0.
__ [Link] the Enter key to start the machine definition process.
__ [Link] you press the Enter key to start the definition of your
NIM client, a SMIT COMMAND STATUS screen should be displayed. Monitor
the value of the Command field.
__ [Link] the machine definition is complete, exit SMIT.
» Press the F10 key or Esc+0, as indicated at the bottom of the
SMIT screen.
__ [Link] the lsnim command again to list all NIM objects
belonging to the machines class. How many systems are listed
now?
» The appropriate command and sample output are shown
below:
# lsnim -c machines
master machines master
team1_nim_client machines standalone

__ [Link] the following command to begin the installation setup


process:
# smit nim_bosinst
» Entering the SMIT fast path smit nim_bosinst should result in
the display of the SMIT Select a TARGET for the operation
screen shown below:
# smit nim_bosinst
+-----------------------------------------------------
---------------------+
| Select a TARGET for the operation |
| |
| Move cursor to desired item and press Enter. |
| |
| team1_nim_client machines standalone |
| |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
| /=Find n=Find Next |
+-----------------------------------------------------
---------------------+
Then fill the appropriate fields
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 team1_nim_client
* Installation TYPE rte
* SPOT spot6100
LPP_SOURCE [lpp_source6100]
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]

__ [Link] your cursor to the line that lists the client you defined
earlier in this exercise and press the Enter key.

__ [Link] the Select the installation TYPE screen displayed


next, move your cursor to the rte - Install from installation
images line and press the Enter key.
__33.On the Select the LPP_SOURCE to use for the
installation screen displayed next, move your cursor to the
lpp_source6100 line and press the Enter key.
__ [Link] the Select the SPOT to use for the installation
screen displayed next, move your cursor to the spot6100 line and
press the Enter key.
__ [Link] the Install the Base Operating System on
Standalone Clients screen displayed next, move your cursor to
the ACCEPT new license agreements? field and select the List
option (by pressing the F4 key or Esc+4, as indicated at the
bottom of the SMIT screen). Change the value for this field to yes
and press the Enter key.
__ [Link] your cursor to the Initiate reboot and installation
now? field and select the List option (by pressing the F4 key or
Esc+4, as indicated at the bottom of the SMIT screen). Change the
value for this field to no and press the Enter key.
» You’ll have to scroll down a few lines to locate the Initiate
reboot and installation now? field.
__ [Link] the Enter key again. A SMIT ARE YOU SURE? screen
should be displayed.
__ [Link] the Enter key once more to start the setup of your NIM
master for an RTE install of the client system you defined earlier in
this exercise.
__ 39.A few moments after you press the Enter key to start setup of
your NIM master for an RTE install of your client system, a SMIT
COMMAND STATUS screen should be displayed. Check the value in
the Command field at the upper left on this screen. A value of OK
(which indicates that the setup completed successfully) should be
displayed in this field.
__ [Link] that the /etc/bootptab file on your NIM master now
contains an entry for your client system.
» One command you can use to check this and sample output are
shown below:
# tail -1 /etc/bootptab
team1_nim_client:bf=/tftpboot/
team1_nim_client:ip=[Link]:ht=ethernet:sa=[Link]:sm=255.
255.255.0:
The expected result is that the /etc/bootptab on your NIM master will
now contain an entry for your client system.

__ [Link] the command showmount -e to determine what directories


have been exported by NFS on your NIM master.

You might also like