Sie sind auf Seite 1von 7

The power of Network Installation Manager

Easily install, upgrade, and maintain AIX systems

Uma Chandolu October 30, 2007


Puneet Mahajan

Get step-by-step instructions for configuring a Network Installation Manager server and clients
using the smitty tool. If you have an environment with many AIX systems, then you know that
installing, upgrading, and maintaining the software can take a considerable amount of time. The
AIX Network Installation Manager can help you with installation and software maintenance in a
client and server environment.

Introduction
In an environment with many AIX systems, installing, upgrading, and maintaining software
can become cumbersome and time consuming. Network Installation Manager provides an
easy, efficient way to install, upgrade, and even maintain your AIX systems over the network,
while reducing down time. You can use Network Installation Manager to remotely manage AIX
installations and upgrades on several systems without using AIX CDs.

You can also use Network Installation Manager to install several AIX machines simultaneously.
Network Installation Manager filesets are included in the base AIX CDs. The Network Installation
Manager client fileset gets installed with the standard AIX installation, but the server filesets need
to be installed separately from the CD.

Configuring a Network Installation Manager server


To configure a Network Installation Manager server:

1. Log in as root.
2. Run the following command to ensure that these filesets are installed:
# lslpp -l | grep nim

bos.sysmgt.nim.client 5.3.0.50 COMMITTED Network Install Manager -


bos.sysmgt.nim.master 5.3.0.50 COMMITTED Network Install Manager -
bos.sysmgt.nim.spot 5.3.0.50 COMMITTED Network Install Manager SPOT

If the above filesets are not installed, install them from Volume 1 of the AIX base CDs before
proceeding.

Copyright IBM Corporation 2007 Trademarks


The power of Network Installation Manager Page 1 of 7
developerWorks ibm.com/developerWorks/

3. Create a Network Installation Manager Master, as follows:


1. Enter:
# smitty nim

Figure 1. Creating a Network Installation Manager Master

2. Select Configure the Network Installation Manager Environment, and you should see
the panel shown below.
Figure 2. Configuration of Network Installation Manager

3. Select Configure a Basic Network Installation Manager Environment (Easy Startup)


to get the following menu.

The power of Network Installation Manager Page 2 of 7


ibm.com/developerWorks/ developerWorks

Figure 3. Configure a Basic Network Installation Manager Environment

4. To select Primary Network Interface for the Network Installation Manager Master,
use the F4 function key. It lists the network interfaces. Select the network interface that
you are using to put your system on the network. In this example, it's en0, as shown
below.
Figure 4. Primary Network Interface for the Network Installation
Manager Master

5. Volume 1 of the base AIX CDs is in the CD-ROM drive of the system, as highlighted
below.

The power of Network Installation Manager Page 3 of 7


developerWorks ibm.com/developerWorks/

Figure 5. Volume 1 of the base AIX CDs

Also on this panel are:


LPP_SOURCE Name
An lpp_source is a directory similar to AIX installation CDs. It contains AIX licensed program
products in backup file format. Every resource has a unique identifiable name. By default,
the lpp_source name has the name lpp_source1, but you can change it to something more
meaningful so that you can easily identify it.
For example, if you are creating an AIX 5.3-TL06 lpp_source, you can use the name LPP53-
TL06 instead of the default name.

LPP_SOURCE Directory
The directory where the lppsource resides on your Network Installation Manager server.
By default, it will be in /export/lpp_source. (If it doesnt exist, Network Installation Manager
creates this file system.) However, you can change it to wherever you choose. You can create
your own file system, or even use a directory under an existing file system.
Leave everything else as the default and press Enter. If the above runs successfully, it
should create a Network Installation Manager server environment on this system. If it
fails, then the /smit.log should have a message about why it failed.
The Network Installation Manager Master server AIX level should always be higher or at
the same level, as the lppsource AIX image it is serving.
In this example, if you used AIX 5.3-TL06 CDs to create lpp_source, then the Network
Installation Manager Master server has to be at, or above, AIX 5.3-TL06.

Configuring a Network Installation Manager client


1. Log in as root.
2. Enter:
# smitty nim

The power of Network Installation Manager Page 4 of 7


ibm.com/developerWorks/ developerWorks

The following menu appears (see Figure 6). The Network Installation Manager Master client
menu is different from the Network Installation Manager Master server menu.
Figure 6.

3. Select Configure Network Installation Manager Client Fileset, and you should see the
following panel.
Figure 7.

4. For Machine Name, enter the hostname of the client.


5. For Primary Network Install Interface, press F4 to get the network interface that you want to
use for the Network Installation Manager Master client. This example uses en0, as shown
below.

The power of Network Installation Manager Page 5 of 7


developerWorks ibm.com/developerWorks/

Figure 8.

6. For Host Name Network Install Master, give the host name (fully qualified) of the Network
Installation Manager Master server.
Leave all the other defaults and press Enter.

At this point, your Network Installation Manager Master client configuration should be complete.

The power of Network Installation Manager Page 6 of 7


ibm.com/developerWorks/ developerWorks

Related topics
Installing with Network Installation Management: Get more NIM information here.
AIX and UNIX: The AIX and UNIX developerWorks zone provides a wealth of information
relating to all aspects of AIX systems administration and expanding your UNIX skills.
AIX Wiki: Discover a collaborative environment for technical information related to AIX.
Search the AIX and UNIX library by topic:
System administration
Application development
Performance
Porting
Security
Tips
Tools and utilities
Java technology
Linux
Open source
IBM trial software: Build your next development project with software for download directly
from developerWorks.

Copyright IBM Corporation 2007


(www.ibm.com/legal/copytrade.shtml)
Trademarks
(www.ibm.com/developerworks/ibm/trademarks/)

The power of Network Installation Manager Page 7 of 7

Das könnte Ihnen auch gefallen