This chapter contains procedures to install the AIX operating system in a partitioned environment. For more information on concepts and the considerations involved when performing a base operating system installation of AIX, refer to the AIX 5L Version 5.2 Installation Guide and Reference. For more information on concepts and the requirements involved when using the Network Installation Management (NIM) environment to install and maintain AIX, you can also refer to the AIX 5L Version 5.2 Installation Guide and Reference.
For instructions on how to create a partition and allocate I/O resources to a partition, see the IBM Hardware Management Console for pSeries Installation and Operations Guide, order number SA38-0590. To help you keep track of the LPAR environment system resources, see the tracking worksheets in the IBM Hardware Management Console for pSeries Installation and Operations Guide.
| Installation Procedure | Considerations |
|---|---|
| Configure an Initial Partition as a NIM Master to Use NIM to Install the Remaining Partitions |
|
| Use a Separate AIX System as a NIM Master to Use NIM to Install Each Partition |
|
| Use the CD Device to Manually Install a Partition |
|
| Migrate a System to the AIX 5.2 Partition-Ready State |
|
| Update an Existing NIM Environment to the Latest AIX Recommended Maintenance Level |
The nim_update_all script provides a one-step method to update an existing NIM environment and its resources created with the nim_master_setup script to the latest recommended maintenance level. |
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 file set, configures the NIM master, and creates the required resources for installation, including a mksysb system backup.
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.
Before you begin this procedure, you should have already performed the following tasks:
After you have successfully created the Master_LPAR, it is in the Ready state.
Use the HMC to activate the Master_LPAR partition, as follows:
# oslevel
Output similar to the following displays:
5200
# smitty mktcpip
# netstat -C
# netstat -D
# nim_master_setup
# smitty nim_mkclient
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 [lpar1]
(Primary Network Install Interface)
Define a Machine
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* NIM Machine Name [lpar1]
* Machine Type [standalone] +
* Hardware Platform Type [chrp] +
Kernel to use for Network Boot [mp] +
Primary Network Install Interface
* Cable Type bnc +
* NIM Network [ent-Network1]
* Network Type ent
* Ethernet Type Standard +
* Subnetmask []
* Default Gateway Used by Machine []
* Default Gateway Used by Master []
* Host Name lpar1
Network Adapter Hardware Address [0]# nim_clients_setup
The nim_clients_setup command creates a NIM machine group with the clients you just defined using the SMIT interface, then allocates the LPP_Source, SPOT, mksysb, bosinst.data, and resolv.conf resources, and finally initiates a NIM mksysb installation. The NIM mksysb installation uses the generic_sysb resource that was created with the nim_master_setup script. If you want to use another mksysb image, use the -m mksysb_path option, and the script defines and uses it to install the partitions. The path must be local to the master.
# vi /export/nim/client.defs
# nim_clients_setup -c
Version RHxxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Utilities 1 Password Utilities NOT available in LPAR mode 2 Display Error Log 3 Remote Initial Program Load Setup 4 SCSI Utilities 5 Select Console NOT available in LPAR mode 6 MultiBoot 7 Select Language 8 OK Prompt .------. |X=Exit| `------' ===> 6
Version RHxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Select Boot Devices 1 Display Current Settings 2 Restore Default Settings 3 Configure 1st Boot Device 4 Configure 2nd Boot Device 5 Configure 3rd Boot Device 6 Configure 4th Boot Device 7 Configure 5th Boot Device .------. |X=Exit| `------' ===> 3
Version RHxxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Utilities 1 Password Utilities NOT available in LPAR mode 2 Display Error Log 3 Remote Initial Program Load Setup 4 SCSI Utilities 5 Select Console NOT available in LPAR mode 6 MultiBoot 7 Select Language 8 OK Prompt .------. |X=Exit| `------' ===> 3
Version RHxxxx_xxxxxx
(c) Copyright IBM Corp. 2001 All rights reserved.
-------------------------------------------------------------------------------
IP Parameters
1. Client IP Address [000.000.000.000]
2. Server IP Address [000.000.000.000]
3. Gateway IP Address [000.000.000.000]
4. Subnet Mask [255.255.255.000]
.------.
|X=Exit|
`------'
===>
Version RHxxx_xxxxxx
(c) Copyright IBM Corp. 2001 All rights reserved.
-------------------------------------------------------------------------------
Ping IP Address
1. Client IP Address [000.000.000.000]
2. Server IP Address [000.000.000.000]
3. Gateway IP Address [000.000.000.000]
4. Subnet Mask [255.255.255.000]
.---------. .------.
|E=Execute| |X=Exit|
`---------' `------'
===> e
When the installation has completed and the system has rebooted, the vterm window displays a login prompt.
At this point, you may want to perform several common system-administration procedures. The following table lists where to find information about performing these procedures.
| Procedure | Location |
|---|---|
| Partition Backup and Storage Management | System Backup, Dump, and Storage Management |
| Remote System Management | Remote Management |
| User and Group Management | AIX 5L Version 5.2 System Management Guide: Operating System and Devices |
| Software Installation | AIX 5L Version 5.2 Installation Guide and Reference |
| Performance Management | AIX 5L Version 5.2 Performance Management Guide |
| Printer Configuration | AIX 5L Version 5.2 Guide to Printers and Printing |
In this procedure, you will use a separate system running AIX 5.2 as a NIM master and server, to use NIM to install your logical partitions. As with any NIM environment, you must make sure your network environment is already defined and working correctly.
After the correct level of the AIX operating system has been installed on this separate system, 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 from your media, configures the NIM master, and creates a generic system backup that will be used to install the partitions, as well as the SPOT and LPP_Source resources.
You will then define your clients using SMIT or using the NIM clients.def file, then use the nim_clients_setup script to allocate the installation resources, and initiate a NIM BOS installation on the clients. Then using the HMC, you will activate the partitions and configure them to boot off the network.
Before you begin this procedure, you should have used the HMC to create partitions and partition profiles for each partition that you want to install. Be sure each partition 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.
# oslevel
Output similar to the following displays:
5200
# smitty mktcpip
# netstat -C
# netstat -D
# nim_master_setup
# smitty nim_mkclient
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 [lpar1]
(Primary Network Install Interface)
Define a Machine
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* NIM Machine Name [lpar1]
* Machine Type [standalone] +
* Hardware Platform Type [chrp] +
Kernel to use for Network Boot [mp] +
Primary Network Install Interface
* Cable Type bnc +
* NIM Network [ent-Network1]
* Network Type ent
* Ethernet Type Standard +
* Subnetmask []
* Default Gateway Used by Machine []
* Default Gateway Used by Master []
* Host Name lpar1
Network Adapter Hardware Address [0]# nim_clients_setup
The nim_clients_setup command creates a NIM machine group with the clients you just defined using the SMIT interface, then allocates the LPP_Source, SPOT, mksysb, bosinst.data, and resolv.conf resources, and finally initiates a NIM mksysb installation. The NIM mksysb installation uses the generic_sysb resource that was created with the nim_master_setup script. If you want to use another mksysb image, use the -m mksysb_path option, and the script defines and uses it to install the partitions. The path must be local to the master.
# vi /export/nim/client.defs
# nim_clients_setup -c
Version RHxxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Utilities 1 Password Utilities NOT available in LPAR mode 2 Display Error Log 3 Remote Initial Program Load Setup 4 SCSI Utilities 5 Select Console NOT available in LPAR mode 6 MultiBoot 7 Select Language 8 OK Prompt .------. |X=Exit| `------' ===> 6
Version RHxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Select Boot Devices 1 Display Current Settings 2 Restore Default Settings 3 Configure 1st Boot Device 4 Configure 2nd Boot Device 5 Configure 3rd Boot Device 6 Configure 4th Boot Device 7 Configure 5th Boot Device .------. |X=Exit| `------' ===> 3
Version RHxxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Utilities 1 Password Utilities NOT available in LPAR mode 2 Display Error Log 3 Remote Initial Program Load Setup 4 SCSI Utilities 5 Select Console NOT available in LPAR mode 6 MultiBoot 7 Select Language 8 OK Prompt .------. |X=Exit| `------' ===> 3
Version RHxxxx_xxxxxx
(c) Copyright IBM Corp. 2001 All rights reserved.
-------------------------------------------------------------------------------
IP Parameters
1. Client IP Address [000.000.000.000]
2. Server IP Address [000.000.000.000]
3. Gateway IP Address [000.000.000.000]
4. Subnet Mask [255.255.255.000]
.------.
|X=Exit|
`------'
===>
Version RHxxx_xxxxxx
(c) Copyright IBM Corp. 2001 All rights reserved.
-------------------------------------------------------------------------------
Ping IP Address
1. Client IP Address [000.000.000.000]
2. Server IP Address [000.000.000.000]
3. Gateway IP Address [000.000.000.000]
4. Subnet Mask [255.255.255.000]
.---------. .------.
|E=Execute| |X=Exit|
`---------' `------'
===> e
When the installation has completed and the system has rebooted, the vterm window displays a login prompt.
| Procedure | Location |
|---|---|
| Partition Backup and Storage Management | System Backup, Dump, and Storage Management |
| Remote System Management | Remote Management |
| User and Group Management | AIX 5L Version 5.2 System Management Guide: Operating System and Devices |
| Software Installation | AIX 5L Version 5.2 Installation Guide and Reference |
| Performance Management | AIX 5L Version 5.2 Performance Management Guide |
| Printer Configuration | AIX 5L Version 5.2 Guide to Printers and Printing |
In this procedure, you will use the system's built-in CD device to perform a New and Complete Base Operating System Installation on a partition.
Before you begin this procedure, you should have already used the HMC to create a partition and partition profile for the client. Assign the SCSI bus controller attached to the CD-ROM device, a network adapter, and enough disk space for the AIX operating system to the partition. Set the boot mode for this partition to be SMS mode. After you have successfully created the partition and partition profile, leave the partition in the Ready state. For step-by-step instructions on how to create a partition and allocate I/O resources to a partition, refer to the IBM IBM Hardware Management Console for pSeries Installation and Operations Guide, order number SA38-0590.
Version RHxxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Utilities 1 Password Utilities NOT available in partition mode 2 Display Error Log 3 Remote Initial Program Load Setup 4 SCSI Utilities 5 Select Console NOT available in partition mode 6 MultiBoot 7 Select Language 8 OK Prompt .------. |X=Exit| `------' ===> 6
Version RHxxx_xxxxxx (c) Copyright IBM Corp. 2001 All rights reserved. ------------------------------------------------------------------------------- Select Boot Devices 1 Display Current Settings 2 Restore Default Settings 3 Configure 1st Boot Device 4 Configure 2nd Boot Device 5 Configure 3rd Boot Device 6 Configure 4th Boot Device 7 Configure 5th Boot Device .------. |X=Exit| `------' ===> 3
Welcome to Base Operating System
Installation and Maintenance
Type the number of your choice and press Enter. Choice is indicated by >>>.
1 Start Install Now with Default Settings
2 Change/Show Installation Settings and Install
3 Start Maintenance Mode for System Recovery
88 Help ?
99 Previous Menu
>>> Choice [1]: 2
Set Terminal Type
The terminal is not properly initialized. Please enter a terminal type
and press Enter. Some terminal types are not supported in
non-English languages.
ibm3101 tvi912 vt330
ibm3151 tvi920 vt340
ibm3161 tvi925 wyse30
ibm3162 tvi950 wyse50
ibm3163 vs100 wyse60
ibm3164 vt100 wyse100
ibmpc vt320 wyse350
lft sun
+-----------------------Messages------------------------
| If the next screen is unreadable, press Break (Ctrl-c)
88 Help ? | to return to this screen.
99 Exit |
|
>>> Choice []: vt100
Installation Assistant
Move cursor to desired item and press Enter.
Set Date and Time
Set root Password
Configure Network Communications
Install Software Applications
Using SMIT (information only)
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=DoWhen the installation has completed and the system has rebooted, the vterm window displays a login prompt.
At this point, you may want to perform several common system-administration procedures. The following table lists where to find information about performing these procedures.
| Procedure | Location |
|---|---|
| Partition Backup and Storage Management | System Backup, Dump, and Storage Management |
| Remote System Management | Remote Management |
| User and Group Management | AIX 5L Version 5.2 System Management Guide: Operating System and Devices |
| Software Installation | AIX 5L Version 5.2 Installation Guide and Reference |
| Performance Management | AIX 5L Version 5.2 Performance Management Guide |
| Printer Configuration | AIX 5L Version 5.2 Guide to Printers and Printing |
Use this procedure to migrate a separate system from AIX 5.1 or earlier to AIX 5.2. You could then make a system backup (mksysb) of this system, and install this mksysb to a partition or partitions on your managed system.
Before you begin this procedure, you should have already performed the following tasks:
1 System Settings:
Method of Installation.............Migration
Disk Where You Want to Install.....hdisk0... Migration Confirmation
Either type 0 and press Enter to continue the installation, or type the
number of your choice and press Enter.
1 List the saved Base System configuration files which will not be
merged into the system. These files are saved in /tmp/bos.
2 List the filesets which will be removed and not replaced.
3 List directories which will have all current contents removed.
4 Reboot without migrating.
Acceptance of license agreements is required before using system.
You will be prompted to accept after the system reboots.
>>> 0 Continue with the migration.
88 Help ?
+---------------------------------------------------------------------------
WARNING: Selected files, directories, and filesets (installable options)
from the Base System will be removed. Choose 2 or 3 for more information.
>>> Choice[0]: Set Terminal Type
The terminal is not properly initialized. Please enter a terminal type
and press Enter. Some terminal types are not supported in
non-English languages.
ibm3101 tvi912 vt330
ibm3151 tvi920 vt340
ibm3161 tvi925 wyse30
ibm3162 tvi950 wyse50
ibm3163 vs100 wyse60
ibm3164 vt100 wyse100
ibmpc vt320 wyse350
lft sun
+-----------------------Messages------------------------
| If the next screen is unreadable, press Break (Ctrl-c)
88 Help ? | to return to this screen.
99 Exit |
|
>>> Choice []: vt100
Installation Assistant
Move cursor to desired item and press Enter.
Set Date and Time
Set root Password
Configure Network Communications
Install Software Applications
Using SMIT (information only)
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=DoWhen the installation has completed and the system has rebooted, the terminal window displays a login prompt.
At this point, you may want to perform several common system-administration procedures. The following table lists where to find information about performing these procedures.
| Procedure | Location |
|---|---|
| Partition Backup and Storage Management | System Backup, Dump, and Storage Management |
| Remote System Management | Remote Management |
| User and Group Management | AIX 5L Version 5.2 System Management Guide: Operating System and Devices |
| Software Installation | AIX 5L Version 5.2 Installation Guide and Reference |
| Performance Management | AIX 5L Version 5.2 Performance Management Guide |
| Printer Configuration | AIX 5L Version 5.2 Guide to Printers and Printing |
Use this procedure to update an existing NIM environment that was created with the nim_master_setup script to the latest recommended maintenance level of AIX.
Before you begin this procedure, you should have already created a backup of the system. For instructions on how to create a system backup, refer to the AIX 5L Version 5.2 Installation Guide and Reference.
# geninstall -d /dev/cd0 bos.rte.install
# install_all_updates -d /dev/cd0
# shutdown -Fr
# nim_update_allOutput similar to the following displays:
############################## NIM update all ##############################
# #
# During script execution, NIM client and resource updating times #
# may vary. To view the install log at any time during nim_update_all, #
# run the command: tail -f /var/adm/ras/nim.update in a separate screen. #
# #
##############################################################################
NSORDER=local,bind
Adding updates to lpp_res lpp_source....done
Updating spot_res using updated lpp_source lpp_res....done
Attempting to replace mksysb resource generic_sysb...
Removing old mksysb resource generic_sysb....done
Creating image.data file....done
Checking /export/nim space requirement...
Generating list of client objects in NIM environment...
When the installation has completed and the system has rebooted, the terminal window displays a login prompt.
At this point, you may want to perform several common system-administration procedures. The following table lists where to find information about performing these procedures.
| Procedure | Location |
|---|---|
| Partition Backup and Storage Management | System Backup, Dump, and Storage Management |
| Remote System Management | Remote Management |
| User and Group Management | AIX 5L Version 5.2 System Management Guide: Operating System and Devices |
| Software Installation | AIX 5L Version 5.2 Installation Guide and Reference |
| Performance Management | AIX 5L Version 5.2 Performance Management Guide |
| Printer Configuration | AIX 5L Version 5.2 Guide to Printers and Printing |