Sponsored Content
Operating Systems AIX NIM From Linux Machine - Is it real? Post 302142416 by ravager on Friday 26th of October 2007 04:53:00 AM
Old 10-26-2007
Install AIX from a Linux Server Using NIM on Linux
Network Installation Management (NIM) on Linux (NIMOL) provides basic AIX software administration services from a Linux server. The NIMOL RPM included in the AIX product media provides basic NIM functionality for a Linux server. While using a pSeries NIM Server for AIX client management provides more functionality, NIMOL provides the following functions on Linux servers:

Configuring services required to install AIX with NIM
Performing a network installation of AIX
Installing software updates on an AIX system
Listing software installed on an AIX system
Creating a backup of an AIX system that NIMOL can use to install other systems with NIM
NIMOL is supported on SUSE LINUX 9.0 and Redhat 9.0. Read the NIMOL readme file in the /usr/share/doc/nimol directory for information on updates.

Note:
NIMOL supports AIX 5L Version 5.2 with the 5200-04 Recommended Maintenance package and later.
Commands
The following commands are shipped with the NIMOL RPM:

nimol_config
Configures a Linux server to install AIX with NIM
nimol_install
Sets up a client for AIX installation
nimol_lslpp
Lists software installed on an AIX client
nimol_update
Installs software updates onto an AIX client
nimol_backup
Creates an installable backup of an AIX client
Note:
These commands are available on the Linux server. For additional information on these commands, run the man command on the Linux server with the name of the specific NIMOL command.
Configuring the Linux Server
To configure the Linux server, complete the following:

Insert the AIX product CD that contains the NIMOL RPM into the Linux server.
Install the followingRPMs, which are requisite for SUSE LINUX 9.0 and RedHat 9.0:
dhcp
tftp
nfs-utils
gettext
The following RPMs are additional requisites for Redhat 9.0 only:
dhcp-server
tftp-server
Insert the AIX product CD Volume 1 into the Linux server.
Install the NIMOL RPM by running the following commands:
mount /dev/cdrom
rpm -ivh /mnt/cdrom/RPMS/linux/nimol*
Run the following command to configure the Linux server:
nimol_config -C
The nimol_config command configures the basic services required to install AIX on clients with NIM, such as bootp, tftp, nfs, and syslog. The command uses the dhcp server to respond to client bootp requests.

Note:
You should not manually modify the /etc/dhcpd.conf file because the modifications might interfere with the ability of NIMOL to add and remove subnet and host entries.

Creating AIX Installation Resources
To create AIX installation resources, you need access to an existing AIX client.

Ensure that your NIMOL Linux Server has rhost permissions to the AIX client by editing the /.rhosts file on the AIX client.
Run the nimol_backup command on the Linux Server. For example, if the client is named myaixclient.ibm.com and you want to name the installation resources aix530, then run the following command:
nimol_backup -c myaixclient.ibm.com -L aix530
The nimol_backup command will create a mksysb backup of the client, as well as the other resources required to perform a network boot in the /export/aix/aix530 directory.
Alternately, you can use the nimol_config command to define existing AIX installation resources that reside on your NIMOL Server. For example, if you have existing AIX installation resources located in /export/aix/aix530, run the following command to define the resources for use with NIMOL:

nimol_config -t /export/aix -L aix530
Setting up a NIMOL Client
You can set up a client for the installation of AIX with NIM by running the nimol_install command. Before you run the nimol_install command, you will need the following information for the client:

Hostname
MAC address
Subnet mask
The following examples show how to obtain your MAC address.

To obtain the MAC address for the ent0 network adapter on a running client, run the following command:

lscfg -vl ent0
To obtain the MAC address on an IBM eServer pSeries 690 client that is not running, complete the following:

Power on the system.
Press F1 when the keyboard icon is displayed to access the SMS menus.
Select Boot Options.
Select Install or Boot a Device.
Select Network This menu refers to your network card (for example, ethernet).
Select Information. This screen will contain the MAC address.
When specifying the MAC address to nimol_install, colons are required.

For example, to set up a client with a client1 hostname, 255.255.255.0 subnet mask, 192.168.1.1 gateway, and 00:60:08:3F:E8SmilieF MAC address with the "aix530" installation resources, run the following command:

nimol_install -c client1 -g 192.168.1.1 -m 00:60:08:3F:E8SmilieF -s 255.255.255.0 -L aix530
After you run nimol_install, you can specify a network boot using the bootlist command on a running AIX system. For example, if the client installs AIX from the ent0 adapter with a 192.168.1.20 client IP address, and the NIMOL server has a 192.168.1.10 IP address and is on the same subnet as the client, complete the following:

Run the bootlist command as follows:
bootlist -m normal ent0 bserver=192.168.1.10 gateway=0.0.0.0 client=192.168.1.20
Run the following command to begin the installation:
shutdown -Fr
Note:
If the client is not running, power on the system and enter the system management services (SMS) menus by pressing F1 when the keyboard icon is displayed. You can then specify the network boot parameters and select the network device as the boot device.
The syslog daemon is configured to receive remote status by default. This setting allows you to monitor the installation by viewing the /var/log/nimol.log file on the NIMOL server.

After the installation is complete, you can remove the setup for the client named client2 by running the following command:

nimol_install -c client1 -r
Maintaining the NIMOL Client
You can use the following commands to maintain the NIMOL client:

nimol_update
nimol_lslpp
Note:
The default option for the nimol_install command is intended for use on the client machine where you installed AIX. If you specify the -n option with the nimol_install command when you install AIX on the client machine, these commands will not be available.
The following scenarios are tasks involved in maintaining the NIMOL client:

To list the software that is installed on client1, run the following command:
nimol_lslpp -c client1 -f "-L"
To install the perl.rte software package from the aix530 installation resources, run the following command:
nimol_update -c client1 -L aix530 -p "perl.rte"
Notes:
To install additional software, copy the installp images into the lpp_source/installp/ppc sub-directory of the installation resources directory. For example, if your installation resources are located in the /export/aix/aix530 directory, you will need to copy the installp images into the /export/aix/aix530/lpp_source/installp/ppc directory. You also must copy the .toc file because Linux machines cannot create this file.
To use a different remote access other than rhost permissions, you can specify the -m option with the nimol_update command, the nimol_lslpp command, or the nimol_backup command. The alternative remote access must be configured prior to using it with the NIMOL commands, and the remote access method cannot prompt for a password. For example, the following command will use the /usr/bin/ssh directory to remotely access the client1 during a software listing:
nimol_lslpp -c client1 -f "-L" -m /usr/bin/ssh
Unconfiguring the NIMOL Server
To unconfigure the NIMOL server, complete the following:

Determine if clients are set up to install by running the following command:
nimol_install -l
Remove any clients that are listed as set to install by running the following command:
nimol_install -r -c client
Remove the AIX installation resource labels that you created by running the following command:
nimol_config -r -L aix530
Removing these labels removes all resources from the NIMOL server. You can define them again if you decide to configure the NIMOL server in the future.
Unconfigure NIMOL by running the following command:
nimol_config -U
This command restores services to the state they were before you configured NIMOL. For example, if you had the nfs service and the tftp service turned off prior to configuring NIMOL, then they are turned off again.
Remove the NIMOL RPM by running the following command:
rpm -e nimol
 

10 More Discussions You Might Find Interesting

1. AIX

migrate NIM server through NIM installation

I try to migrate a NIM server from one server to another. I try to do a mksysb on NIM server restore the NIM server's mksysb to a client through NIM installation shutdown NIM server start newly installed client as NIM server Does anyone do this before? who can give me some suggestion? (1 Reply)
Discussion started by: yanzhang
1 Replies

2. AIX

Linux install from NIM

Has anyone ever done this and is it easy to do with SLES9/10? All I can find so far is this link http://www-941.ibm.com/collaboration/wiki/display/Wikip5/16Jan07+Using+NIM+to+Install+VIO+and+Linux Can you still use all the feature of autoyast etc? TIA. (1 Reply)
Discussion started by: backslash
1 Replies

3. AIX

How to backup and restore Linux uisng NIM.

Hi Friends, I've a hard question to ask. I have a NIM server running on AIX 5.3. Now my requirement is that , " From This NIM Server i would like to take the Image of Linux servers ". I mean that using NIM server i should be able to backup / restore the linux Servers. In Simple terms... (3 Replies)
Discussion started by: rdkumarj
3 Replies

4. Shell Programming and Scripting

SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies

5. AIX

Back up a client NIM from nim master

Hello everyone Im trying to backup a nim client from nim master but I got this message COMMAND STATUS Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0042-001 nim:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

6. AIX

LINUX in NIM

Hi Guys, Its me back with a new query. I got a P 595 without a CDROM, I have to do all the installation via NIM only.. I already got 2 LPAR's up and running. Now that I have request to install Linux in one LPAR.:confused: Can you help me how I can do it using NIM / via Kick start or... (2 Replies)
Discussion started by: kkeng808
2 Replies

7. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

8. AIX

find nim server of a machine

Hi, i would like to know how can i find , in a client machine , the nim server. the nim server that this machine have , if the machine have it Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies

9. UNIX for Advanced & Expert Users

Real Time processes in Linux

I was trying to experiment with SCHED_RR and SCHED_FIFO. I tried benchmarking the SCHED_NORMAL with these two real time priorities. What I found is strange result. SHED_RR was the slowest then comes SCHED_FIFO and SCHED_NORMAL was the fastest one. All tests are run in same situation and... (3 Replies)
Discussion started by: kumaran_5555
3 Replies

10. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies
All times are GMT -4. The time now is 01:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy