Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIM INSTALL ON AIX5 2

Status
Not open for further replies.

RBOLLEN

Technical User
Mar 7, 2001
43
NL
Hello,

We want to install NIM on a LPAR (P690), does anybody have a NIM guide for AIX5? I can only find NIM from A - Z for AIX 433.

Thanks in advance,
Regards,
Rudy
 
We just set up a 5L nim master, but I was not involved in the project. I know the guy and he probably did not use a guide. We are sort of a figure-it-out-as-we-go shop. However if you have a question i might be able to get an answer.
 
would you happen to have an email address? that you would be willing to post?
 
Here is some of the info ...

Step-by-Step: Configuring an Initial LPAR as a NIM Master to Use NIM
to Install the Remaining LPARs


In this procedure you will set up an initial logical partition as a NIM master and
server. This procedure refers to this initial logical partition as the Master_LPAR.
It is assumed that AIX is already installed and configured for network
communication in the Master_LPAR.

Make sure your network environment is already defined and working
correctly before configuring the NIM environment.

After you verify the correct level of the AIX operating system has
been installed on the Master_LPAR, as the root user, you will set
up the NIM environment using the nim_master_setup script.
The nim_master_setup script automatically installs the
bos.sysmgt.nim.master fileset, configures the NIM master,
and creates the SPOT and LPP_Source. The nim_master_setup script
also allows you to optionally create a generic system backup and define
it in the NIM database. You will then use the nim_clients_setup
script to define your NIM clients, allocate the installation resources,
and initiate a NIM BOS installation on the clients.
Then using the HMC, you will activate the client partitions
and configure them to boot off the network.

Prerequisites
Before you begin this procedure, you should have already performed
the following tasks:
- Use the HMC to create the Master_LPAR logical partition and partition
profile. Be sure the Master_LPAR partition has a network adapter,
enough hard disk space for the NIM resources, and the CD device assigned.
Set the boot mode for the Master_LPAR partition to be Normal
mode. After you have successfully created the partition and partition
profile, leave the partitions in the Ready state. Do not activate the partition yet.

- Use the HMC to create logical partitions and partition profiles for each
NIM client. Be sure each LPAR has a network adapter assigned.
Set the boot mode for each partition to be SMS mode.
After you have successfully created the partitions and partition profiles,
leave the partitions in the Ready state. Do not activate the partitions yet.

- Configure AIX for network communication on the Master_LPAR.
If AIX is not currentlyinstalled on any of the disks in the system, then refer
to “Step-by-Step: Using the CD Device to Manually Install an LPAR”
for the procedure.

1. Activate the Master_LPAR (Perform this step in the HMC Interface)
After you have successfully created the Master_LPAR, it is in a READY state.
Use the HMC to activate the Master_LPAR partition, as follows:
__ Step 1. To activate the Master_LPAR, do the following:
- Select the Master_LPAR partition.

- Right-click on the partition to open the menu.

- Select Activate. The Activate Partition menu opens with a selection
of partition profiles. Be sure the correct partition profile is highlighted.

- Select Open terminal at the bottom of the menu to open a virtual
terminal (vterm) window.

- Select OK. A virtual terminal (vterm) window will appear for the partition.
After several seconds the login prompt will appear in the vterm
.
2. Configure NIM Master and Initiate Installation of LPARs (Perform
these steps in the AIX environment)


__ Step 1. Run the instfix command as follows:
instfix -ik IY22854

The following output displays:
All filesets for IY22854 were found.

The instfix command checks for filesets installed containing a specified fix.
AIX supports logical partition environments at AIX 5L for POWER Version 5.1
with the 5100-01 Recommended Maintenance package + APAR IY22854. If the
APAR is not installed on this system, then refer to “Step-by-Step: Migrating a
System to the AIX 5.1 Partition-Ready State”

__ Step 2. Verify network communication by running the following commands:
netstat -C
The -C flag shows the routing table information. Check to make sure
your gateway information is correct.
netstat -D
The -D flag shows the number of packets received, transmitted, and
dropped in the communications subsystem. Check to make sure the
network device is sending and receiving packet information.

smitty mktcpip
Select the Network Interface and press Enter.
Confirm or enter your host name, IP address, name server, domain name,
default gateway, as well as, ring speed or cable type. Press Enter.

__ Step 3. Run the nim_master_setup command as follows:
nim_master_setup -b
This command configures the NIM environment on the AIX system by installing
the bos.sysmgt.nim.master fileset, configuring the NIM environment, and
creating the boot, nim_script, resolv_conf, bosinst_data, LPP_Source,
and SPOT resources needed for a BOS installation. The -b flag is used to
create the mksysb resource as well. If you are planning on using a mksysb
image from another system, do not use the -b flag. When
running this script, be sure to have the AIX 5L for POWER Version 5.1
with the 5100-01 Recommended Maintenance package Volume 1 in the
CD device, otherwise, you will be prompted to insert the CD. The
nim_master_setup script uses the device /dev/cd0 as the default device,
you can specify an alternate location using the
-a device=<full_path_name> option. During the creation of the
LPP_Source, you will be prompted to insert the update CD containing
APAR IY22854.

Output similar to the following displays:
Device location is /dev/cd0
Checking for backup software....already installed
Checking /tmp space requirement....done
Creating image.data file....done
Creating /export/nim filesystem....done
Creating list of files to back up..
Backing up 21879 files......................
21879 of 21879 files (100%)
0512-038 mksysb: Backup Completed Successfully.
Installing NIM master fileset....already installed
Defining NIM master...
Creating /tftpboot filesystem....done
Creating mksysb resource generic_sysb....done
Creating resolv_conf resource resolv_res....done
Creating bosinst_data resource (tty) bid_tty_ow....done
Creating bosinst_data resource (lft) bid_lft_ow....done
Checking /export/nim space requirement....done
Creating lpp_source resource 510lpp_res....done
location given for update media is /dev/cd0
Type y if correct -OR- you may supply new location..
Updating lpp_source resource 510lpp_res with 5765-D61 updates...Filesystem size
changed to 2162688
...
...
...
The following resources now exist
boot resources boot
nim_script resources nim_script
generic_sysb resources mksysb
resolv_conf resources resolv_conf
bid_tty_ow resources bosinst_data
bid_lft_ow resources bosinst_data
510lpp_res resources lpp_source
510spot_res resources spot
NIM master setup is complete - enjoy!

Note: The output from the nim_master_setup script is in the
/var/adm/ras/nim.setup log file.

__ Step 4. Edit the /etc/hosts file to add the IP addresses and client host
names if you are adding new client machines which are not resolvable on
the name server.

__ Step 5. Run the smitty nim_mkclient fast path and the nim_clients_setup
script to define the client partitions in the NIM environment.
smitty nim_mkclient
Select Add a NIM Client
Enter a host name and press Enter.

If a menu prompts you for the Type of Network Attached to Primary
Network Install Interface, select the network adapter from the list and
press Enter.
In the Define a Machine menu, supply the necessary information by
typing in the fields provided or using the F4 key to open a selection menu.
Verify all information is correct, especially the Hardware Platform Type (chrp),
Kernel Type (mp), and Network Type. Press Enter when you are finished.

Repeat for each client partition. Use the F3 key to return to the previous menu,
and change the information for each client.
Run the nim_clients_setup script as follows:
nim_clients_setup
The nim_clients_setup command will define the NIM clients,
create a NIM machine group with the clients, allocate the LPP_Source, SPOT,
mksysb, image.data, bosinst.data, and resolv.conf resources and
initiate a NIM mksysb restore installation. If you want to use another
mksysb image, use the -m <mksysb_path> option and the script will
define and use it to install the partitions. The path must be local
to the master.
OR
Use the vi editor to customize the /export/nim/client.defs file as follows:

vi /export/nim/client.defs
Edit the client.defs file according to your environment. For more information,
see the instructions and examples in the client.defs file. When you are
finished editing the client.defs file, save it and exit the vi editor.
Run the nim_clients_setup script to define the client partitions in the
NIM environment as follows:
nim_clients_setup -c
The nim_clients_setup command will create a NIM machine group
with the clients you just created, allocate the LPP_Source, SPOT, mksysb,
image.data, bosinst.data, and resolv.conf resources and initiate a
NIM mksysb restore installation. The -c option uses the
client.defs for your client definitions. If you want to use another
mksysb image, use the -m <mksysb_path> option and the script will
define and use it to install the partitions. The
path must be local to the master.

3. Activate and Install LPARs (Perform these steps in the HMC
Interface)


__ Step 1. To activate the LPARs, do the following:
- Select the partition (or partition profile) you want to activate.
- Right-click on the partition (or partition profile) to open the menu.
- Select Activate. The Activate Partition menu opens with a selection of
partition profiles.
-Select a partition profile that is set to boot to the SMS menus.
- Select Open terminal at the bottom of the menu to open a virtual
terminal (vterm) window.
- Select OK. A vterm window opens for each partition. After several seconds,
the System Management Services (SMS) menu opens in the vterm.


__ Step 2. In the SMS menu on the vterm, do the following:
-Press the 6 key to select 6 Multiboot.
- Press the 4 key to select 4 Select Boot device.
- Press the 3 key to select 3 Configure 1st boot device.
Select the network adapter from the list of available devices.

- Press the x key until you return to the Utilities menu.
- Press the 3 key to select 3 Remote Initial Program Load Setup.

Press the 1 key to select 1. IP Parameters.

- Type the appropriate information for Client IP Address, Server IP Address,
Gateway IP Address, and Subnet Mask. Press the x key to exit to the Network

Press the 2 key to select 2 Adapter Parameters.

Select the network device you want to use and press Enter. If a menu
prompts for further configuration of the network device, select the
appropriate settings. When you are finished,

-press Enter to exit to the Network Properties menu.

- Press the x key to exit to the previous menu.

- Press the 3 key to select 3 PING Test.

- Select the network adapter for the ping test and press Enter.

- If another menu displays the network adapter configuration information,
press the x key to exit to the previous menu.

- Press the x key to exit to the previous menu.

- Press the e key to execute the ping operation.

If the ping operation does not return successfully, return to the 1.
IP Parameters menu selection to make sure all information is correctly entered.
Also check the 2 Adapter Parameters to make sure the network
adapter configuration is correct according to your
network. You may also want to make sure the network adapter is
functioning correctly.

- If the ping operation returns successfully, proceed with the network boot.
Press the x key until you exit the SMS menus and begin the network boot.

4. Log in to Your LPAR (Perform this step in the AIX environment)
The vterm will display a login prompt when the installation has completed and
the system has rebooted.
 
Thanks very much AIXQUEEN, this is what I was searching for!

Greetings,
Rudy
 
I have the NIM master installed, now I want to restore another mksysb to a nim-client, What are then the steps to take? I have made a new resource group for this mksysb, but how can I allocate this group to the client?

On another system that I have installed via nim, I was getting errors:
-first there was some message about not enough space to fulfill allocation request, then I have to do a extendvg rootvg hdisk1 (this wasn't allocated, strange because the source system had hdisk0 and hdisk1 in rootvg).
-Then I got the msg: 0653-341 The file /dev/ipldevice does not exist
0301-150 bosboot: Invalid or no boot device specified.
1) to continue
2) maintenance

Here I created a link: ln -f /dev/rhdisk0 /dev/ipldevice.

Then the installation resumed and rebooted but never came up again, when I rebooted it again in SMS, the only boot devices I could see where ethernet adapters, so how can I reboot this LPAR with hdisks?

So anybody with some experience regarding mksysb restores on LPAR (AIX5) with NIM???

Thanks in advance,
Rudy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top