Você está na página 1de 30

Unit 4

AIX installation

© Copyright IBM Corporation 2009


Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.2
Unit objectives
IBM Power Systems

After completing this unit, you should be able to:


• List the installation methods for AIX 6
• List the steps necessary to install the AIX version 6.1 base
operating system
• Install and understand all the options when installing AIX 6.1
from optical media
• Execute a network boot to use a configured NIM server
• Carry out post installation tasks
Installation methods for AIX 6
IBM Power Systems

• Pre-installation option (for a new system order)

• DVD (FC 3435) / CD (FC 3410)

• Network
– Network Installation Manager (NIM)
– Details covered in IBM training course: AIX Installation Management
(AU08G)
AIX installation in a partition (DVD or CD)
IBM Power Systems

• Steps:
Assume a partition and partition profile has already been created.
1. Place the AIX DVD or CD in the drive.
2. Activate the partition to SMS and open terminal window.
3. Select boot device using SMS menus in the terminal window.
4. Interact with the AIX install menus.

• Note, the partition must either:


– Have PCI slot which controls a drive which will read CD-ROMs
OR
– Be allocated a CD-ROM device though a VIOS server (as a
virtual optical SCSI device)
Installing AIX from CD/DVD (1 of 2)
IBM Power Systems

• Boot partition into SMS mode and select CD/DVD.


PowerPC
PowerPC Firmware
Firmware
Version
Version SF240_338
SF240_338
SMS
SMS 1.6
1.6 (c)
(c) Copyright
Copyright IBM
IBM Corp.
Corp. 2000,2005
2000,2005 All
All rights
rights reserved.
reserved.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Main
Main Menu
Menu
1.
1. Select
Select Language
Language
2. Setup
2. Setup Remote
Remote IPL
IPL (Initial
(Initial Program
Program Load)
Load) #then
#then select
select the
the adapter
adapter && IP
IP Parameters
Parameters
3.
3. Change
Change SCSI
SCSI Settings
Settings
4.
4. Select
Select Console
Console
5.
5. Select
Select Boot
Boot Options
Options

Multiboot
Multiboot
1.
1. Select
Select Install/Boot
Install/Boot Device
Device

Select
Select Device
Device Type
Type
3.
3. CD/DVD
CD/DVD Select the
Select
Select Media
Media Type
Type CD/DVD drive
9.
9. List
List All
All Devices
Devices from the list.
Select
Select Device
Device
Device
Device Current
Current Device
Device
Number
Number Position
Position Name
Name
1. - SCSI
1. - SCSI CD-ROM
CD-ROM
(( loc=U8204.E8A.65BF831-V11-C11-T1-W8200000000000000-L0
loc=U8204.E8A.65BF831-V11-C11-T1-W8200000000000000-L0 ))
Installing AIX from CD/DVD (2 of 2)
IBM Power Systems

Select
Select Task
Task
SCSI
SCSI CD-ROM
CD-ROM
(( loc=U8204.E8A.65BF831-V11-C11-T1-W8200000000000000-L0
loc=U8204.E8A.65BF831-V11-C11-T1-W8200000000000000-L0 ))
1. Information
1. Information
2. Normal
2. Normal Mode
Mode Boot
Boot
3. Service
3. Service Mode
Mode Boot
Boot

Are
Are you
you sure
sure you
you want
want to
to exit
exit System
System Management
Management Services?
Services?
1.
1. Yes
Yes
2.
2. No No

• The system will now boot from the CD/DVD.


*******
******* Please
Please define
define the
the System
System Console.
Console. *******
*******
Type
Type aa 11 and
and press
press Enter
Enter to
to use
use this
this terminal
terminal as
as the
the
system
system console.
console.
>>>
>>> 11 Type
Type 11 and
and press
press Enter
Enter to
to have
have English
English during
during install.
install.
Installation and Maintenance
IBM Power Systems

• Main Installation and Maintenance menu

Welcome
Welcome to
to Base
Base Operating
Operating System
System
Installation
Installation and
and Maintenance
Maintenance
Type
Type the
the number
number of
of your
your choice
choice and
and press
press Enter.
Enter. Choice
Choice is
is indicated
indicated by
by >>>.
>>>.
>>>
>>> 11 Start
Start Install
Install Now
Now with
with Default
Default Settings
Settings
22 Change/Show
Change/Show Installation
Installation Settings
Settings and
and Install
Install
33 Start
Start Maintenance
Maintenance Mode
Mode for
for System
System Recovery
Recovery
44 Configure
Configure Network
Network Disks
Disks (iSCSI)
(iSCSI)
88
88 Help
Help ??
99
99 Previous
Previous Menu
Menu
>>>
>>> Choice
Choice [1]:
[1]: 22

• Best practice, always look first at the install options (2)


Installation and Settings
IBM Power Systems

• Installation and Settings menu


Installation and Settings
Installation and Settings
Either type 0 and press Enter to install with current settings, or type the
Either type 0 and press Enter to install with current settings, or type the
number of the setting you want to change and press Enter.
number of the setting you want to change and press Enter.
1 System Settings:
1 System Settings:
Method of Installation.............New and Complete Overwrite
Method of Installation.............New and Complete Overwrite
Disk Where You Want to Install.....hdisk0
Disk Where You Want to Install.....hdisk0
2 Primary Language Environment Settings (AFTER Install):
2 Primary Language Environment Settings (AFTER Install):
Cultural Convention................English (United States)
Cultural Convention................English (United States)
Language ..........................English (United States)
Language ..........................English (United States)
Keyboard ..........................English (United States)
Keyboard ..........................English (United States)
Keyboard Type......................Default
Keyboard Type......................Default
3 Security Model.......................Default
3 Security Model.......................Default
4 More Options (Software install options)
4 More Options (Software install options)
>>> 0 Install with the current settings listed above.
>>> 0 Install with the current settings listed above.
+-----------------------------------------------------
+-----------------------------------------------------
88 Help ? | WARNING: Base Operating System Installation will
88 Help ? | WARNING: Base Operating System Installation will
99 Previous Menu | destroy or impair recovery of ALL data on the
99 Previous Menu | destroy or impair recovery of ALL data on the
| destination disk hdisk0.
| destination disk hdisk0.
>>> Choice [0]:
>>> Choice [0]:

• Let's explore each option in more detail.


Method of installation
IBM Power Systems

• Choose option 1 for a fresh install.


Change Method of Installation
Change Method of Installation
Type the number of the installation method and press Enter.
Type the number of the installation method and press Enter.
>>> 1 New and Complete Overwrite
>>> 1 New and Complete Overwrite
Overwrites EVERYTHING on the disk selected for installation.
Overwrites EVERYTHING on the disk selected for installation.
Warning: Only use this method if the disk is totally empty or if there
Warning: Only use this method if the disk is totally empty or if there
is nothing on the disk you want to preserve.
is nothing on the disk you want to preserve.
2 Preservation Install
2 Preservation Install
Preserves SOME of the existing data on the disk selected for
Preserves SOME of the existing data on the disk selected for
installation. Warning: This method overwrites the usr (/usr),
installation. Warning: This method overwrites the usr (/usr),
variable (/var), temporary (/tmp), and root (/) file systems. Other
variable (/var), temporary (/tmp), and root (/) file systems. Other
product (applications) files and configuration data will be destroyed.
product (applications) files and configuration data will be destroyed.
3 Migration Install
3 Migration Install
Upgrades the Base Operating System to the current release.
Upgrades the Base Operating System to the current release.
Other product (applications) files and configuration data are saved.
Other product (applications) files and configuration data are saved.

88 Help ?
88 Help ?
99 Previous Menu
99 Previous Menu
>>> Choice [1]:
>>> Choice [1]:
Installation disks
IBM Power Systems

• Select disks to be used for the installation.


Change Disk(s) Where You Want to Install
Change Disk(s) Where You Want to Install
Type one or more numbers for the disk(s) to be used for installation and press
Type one or more numbers for the disk(s) to be used for installation and press
Enter. To cancel a choice, type the corresponding number and Press Enter.
Enter. To cancel a choice, type the corresponding number and Press Enter.
At least one bootable disk must be selected. The current choice is indicated
At least one bootable disk must be selected. The current choice is indicated
by >>>.
by >>>.
Name Location Code Size(MB) VG Status Bootable
Name Location Code Size(MB) VG Status Bootable
>>> 1 hdisk0 none 6528 rootvg Yes No
>>> 1 hdisk0 none 6528 rootvg Yes No
2 hdisk1 none 6528 rootvg Yes No
3
2 hdisk1
hdisk2
none
none
6528
6528
rootvg
none
Yes
Yes
No
No Note: Some SAN
3 hdisk2 none 6528 none Yes No
4
4
hdisk3
hdisk3
none
none
6528
6528
none
none
Yes
Yes
No
No disks may appear
non-bootable. If
so, change the
>>> 0
>>> 0
Continue with choices indicated above
Continue with choices indicated above setting on the disk
55 More Disk Options
55
66
More Disk Options
Devices not known to Base Operating System Installation subsystem for the
66 Devices not known to Base Operating System Installation
77
77
Display More Disk Information
Display More Disk Information LUNs.
88 Help ?
88 Help ?
99 Previous Menu
99 Previous Menu
>>> Choice [0]: Name Device Adapter Connection Location
>>> Choice [0]: Name Device Adapter Connection Location
or Physical Location Code
or Physical Location Code
>>> 1 hdisk0 U9113.550.65F2E7F-V11-C2-T1-L810000000000
>>> 1 hdisk0 U9113.550.65F2E7F-V11-C2-T1-L810000000000
2 hdisk1 U9113.550.65F2E7F-V11-C2-T1-L820000000000
2 hdisk1 U9113.550.65F2E7F-V11-C2-T1-L820000000000
3 hdisk2 U9113.550.65F2E7F-V11-C6-T1-L830000000000
3 hdisk2 U9113.550.65F2E7F-V11-C6-T1-L830000000000
4 hdisk3 U9113.550.65F2E7F-V11-C6-T1-L810000000000
4 hdisk3 U9113.550.65F2E7F-V11-C6-T1-L810000000000
Set Primary Language Environment
IBM Power Systems

• Default language environment is en_US (US English)


Set Primary Language Environment
Set Primary Language Environment
Type the number for the Cultural Convention (such as date, time, and
Type the number for the Cultural Convention (such as date, time, and
money), Language, and Keyboard for this system and press Enter, or type
money), Language, and Keyboard for this system and press Enter, or type
159 and press Enter to create your own combination.
159 and press Enter to create your own combination.
Cultural Convention Language Keyboard
Cultural Convention Language Keyboard
1 C (POSIX) C (POSIX) C (POSIX)
1 C (POSIX) C (POSIX) C (POSIX)
2 Albanian English (United States) Albanian
2 Albanian English (United States) Albanian
3 Arabic (Algeria) English (United States) Arabic (Algeria)
3 Arabic (Algeria) English (United States) Arabic (Algeria)
4 Arabic (Bahrain) English (United States) Arabic (Bahrain)
4 Arabic (Bahrain) English (United States) Arabic (Bahrain)
5 Arabic (Egypt) English (United States) Arabic (Egypt)
5 Arabic (Egypt) English (United States) Arabic (Egypt)
6 Arabic (Jordan) English (United States) Arabic (Jordan)
6 Arabic (Jordan) English (United States) Arabic (Jordan)
7 Arabic (Kuwait) English (United States) Arabic (Kuwait)
7 Arabic (Kuwait) English (United States) Arabic (Kuwait)
8 Arabic (Lebanon) English (United States) Arabic (Lebanon)
8 Arabic (Lebanon) English (United States) Arabic (Lebanon)
9 Arabic (Morocco) English (United States) Arabic (Morocco)
9 Arabic (Morocco) English (United States) Arabic (Morocco)
>>> 10 MORE CHOICES...
>>> 10 MORE CHOICES...

88 Help ?
88 Help ?
99 Previous Menu
99 Previous Menu
>>> Choice [10]:
>>> Choice [10]:
Security Models
IBM Power Systems

• These settings are beyond the scope of this class. They are
covered in IBM training course: AIX Security (AU47G).
• Security models are all set to NO by default.
Security Models
Security Models
Type the number of your choice and press Enter.
Type the number of your choice and press Enter.
1. Trusted AIX............................................. No
1. Trusted AIX............................................. No

2. Other Security Options (Trusted AIX and Standard)


2. Other Security Options (Trusted AIX and Standard)
Security options vary based on choices.
Security options vary based on choices.
LSPP, SbD, CAP/CCEVAL, TCB
LSPP, SbD, CAP/CCEVAL, TCB
1. Secure by Default....................................... No
1. Secure by Default....................................... No
2. CAPP and EAL4+ Configuration Install.................... No
2. CAPP and EAL4+ Configuration Install.................... No
3. Trusted Computing Base Install.......................... No
3. Trusted Computing Base Install.......................... No

>>> 0 Continue to more software options.


>>> 0 Continue to more software options.
88 Help ?
88 Help ?
99 Previous Menu
99 Previous Menu
>>> Choice [0]:
>>> Choice [0]:
Software install options
IBM Power Systems

• Further install / software options

Install Options
Install Options
1. Graphics Software................................................ Yes
1. Graphics Software................................................ Yes
2. System Management Client Software................................ Yes
2. System Management Client Software................................ Yes
3. Create JFS2 File Systems......................................... Yes
3. Create JFS2 File Systems......................................... Yes
4. Enable System Backups to install any system...................... Yes
4. Enable System Backups to install any system...................... Yes
(Installs all devices)
(Installs all devices)
>>> 5. Install More Software
>>> 5. Install More Software

Install More Software


Install More Software
1. Firefox (Firefox CD).............................. No
1. Firefox (Firefox CD).............................. No
2. Kerberos_5 (Expansion Pack)....................... No
2. Kerberos_5 (Expansion Pack)....................... No
3. Server (Volume 2)................................. No
3. Server (Volume 2)................................. No

0 Install with the current settings listed above.


0 Install with the current settings listed above.
88 Help ?
88 Help ?
99 Previous Menu
99 Previous Menu
Install summary and installation
IBM Power Systems

Overwrite Installation Summary


Overwrite Installation Summary
Disks: hdisk0
Disks: hdisk0
Cultural Convention: en_GB
Cultural Convention: en_GB
Language: en_US
Language: en_US
Keyboard: en_GB
Keyboard: en_GB
JFS2 File Systems Created: Yes
JFS2 File Systems Created: Yes
Graphics Software: Yes
Graphics Software: Yes
System Management Client Software: Yes
System Management Client Software: Yes
Enable System Backups to install any system: Yes
Enable System Backups to install any system: Yes
Optional Software being installed:
Optional Software being installed:

>>> 1 Continue with Install


>>> 1 Continue with Install
+-----------------------------------------------------
+-----------------------------------------------------
88 Help ? | WARNING: Base Operating System Installation will
88 Help ? | WARNING: Base Operating System Installation will
99 Previous Menu | destroy or impair recovery of ALL data on the
99 Previous Menu | destroy or impair recovery of ALL data on the
| destination disk hdisk0.
| destination disk hdisk0.
>>> Choice [1]:
>>> Choice [1]:

Installing
Installing Base
Base Operating
Operating System
System
Please
Please wait...
wait...
Approximate Elapsed
Approximate Elapsed time
time
%% tasks
tasks complete
complete (in
(in minutes)
minutes)
33 00 Making
Making logical
logical volumes
volumes
Accept License Agreements
IBM Power Systems

Software License Agreements


Software License Agreements
Show Installed License Agreements
Show Installed License Agreements
Accept License Agreements
Accept License Agreements

Accept License Agreements


Accept License Agreements
Type or select values in entry fields.
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
Press Enter AFTER making all desired changes.
[Entry Fields]
[Entry Fields]
ACCEPT Installed License Agreements yes +
ACCEPT Installed License Agreements yes +

Software Maintenance Agreement


Software Maintenance Agreement
View Software Maintenance Terms and Conditions
View Software Maintenance Terms and Conditions
Accept Software Maintenance Terms and Conditions
Accept Software Maintenance Terms and Conditions

Accept Software Maintenance Terms and Conditions


Accept Software Maintenance Terms and Conditions
Type or select values in entry fields.
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
Press Enter AFTER making all desired changes.
[Entry Fields]
[Entry Fields]
ACCEPT Software Maintenance Agreements? yes +
ACCEPT Software Maintenance Agreements? yes +
AIX installation: Post steps
IBM Power Systems

• Post-install tasks:

– Accept the license agreement.


– Optional. Using the installation assistant:
• Set root password
• Set date and time
• Configure network
– Exit from installation assistant
– Update for the operating system to the latest TL and SP level
Installation assistant and login
IBM Power Systems

Installation Assistant
Installation Assistant
Move cursor to desired item and press Enter.
Move cursor to desired item and press Enter.
Set Date and Time
Set Date and Time
Set root Password
Set root Password
Configure Network Communications
Configure Network Communications
Install Software Applications
Install Software Applications
Using SMIT (information only)
Using SMIT (information only)
Tasks Completed - Exit to Login
Tasks Completed - Exit to Login

Note: No root
password is set by
AIX Version 6
AIX Version 6
Copyright IBM Corporation, 1982, 2008. default, if it is not set
Copyright IBM Corporation, 1982, 2008.
Console login: root
Console login: root using the Installation
*******************************************************************************
* Assistant
*******************************************************************************
*
* *
* * above.
* *
* Welcome to AIX Version 6.1! *
* Welcome to AIX Version 6.1! *
* *
* *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* this release of the AIX Operating System. *
* *
* *
* *
* *
*******************************************************************************
*******************************************************************************
#
#
AIX installation in a partition using NIM: NIM overview
IBM Power Systems

• What is NIM?
– Centralized Installation and Management of AIX over a network

LPAR 4 Client
Systems

LPAR 1

Public/Open LPAR 2
NIM Server network

NIM resources LPAR 3


lpp_source
SPOT LPAR 4

Client Definitions
LPAR1
LPAR2

Actions:
• Resources are allocated to Clients
• Clients are set for a BOS operation
AIX installation in a partition using NIM:
Configuration steps
IBM Power Systems

Assume a partition and partition profile have been created.


• Setup and configure the NIM master to support a BOS
installation of your machine.
• Activate the partition using SMS boot mode.
• Specify the IP parameters for a network boot.
• Configure the partition to boot from the network adapter.
• Interact with AIX installation menus, if required (depends on
NIM configuration).

• Note:
– Subsequent installs and updates for the same partition can be
initiated from the NIM master.

– A mksysb restore example is provided in a later unit (Backup and


Restore).
Network boot (1 of 7)
IBM Power Systems

Select the Setup Remote IPL option:

PowerPC Firmware
Version EL320_040
SMS 1.7 (c) Copyright IBM Corp. 2000,2007 All rights
--------------------------------------------------------
Main Menu

1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options

--------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
-------------------------------------------------------
Network boot (2 of 7)
IBM Power Systems

Choose the network adapter:

PowerPC Firmware
Version EL320_040
SMS 1.7 (c) Copyright IBM Corp. 2000,2007 All rights
----------------------------------------------------------
NIC Adapters
Device Location Code

1. Port 1 - IBM 2 PORT 10/100/100 U78A0.001.DNWGCP5-P1-C4-


T1
2. Port 2 - IBM 2 PORT 10/100/100 U78A0.001.DNWGCP5-P1-C4-
T2

----------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
---------------------------------------------------------
Network boot (3 of 7)
IBM Power Systems

Select the Network service

PowerPC Firmware
Version EL320_040
SMS 1.7 (c) Copyright IBM Corp. 2000,2007 All rights
---------------------------------------------------------
Select Network Service
Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U78A0.001.DNGWCP5-C1-C4-

1. BOOTP
2. ISCSI

---------------------------------------------------------
Navigation Keys: X = eXit System Management Services
---------------------------------------------------------
Network boot (4 of 7)
IBM Power Systems

Set up the IP parameters, the adapter configuration options,


then perform the ping test:

PowerPC Firmware
Version EL320_040
SMS 1.7 (c) Copyright IBM Corp. 2000,2007 All rights
---------------------------------------------------------
Network Parameters
Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U78A0.001.DNGWCP5-C1-C4-

1. IP Parameters
2. Adapter Configuration
3. Ping Test
4. Advanced Setup: BOOTP
---------------------------------------------------------
Navigation Keys: X = eXit System Management Services
---------------------------------------------------------
Network boot (5 of 7)
IBM Power Systems

IP parameters:

PowerPC Firmware
Version EL320_040
SMS 1.7 (c) Copyright IBM Corp. 2000,2007 All rights
---------------------------------------------------------
IP Parameters
Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U78A0.001.DNGWCP5-C1-C4-
1. Client IP Address [10.6.103.64]
2. Server IP Address [10.6.103.1]
3. Gateway IP Address [10.6.103.254]
4. Subnet Mask [255.255.255.0]

---------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
---------------------------------------------------------
Network boot (6 of 7)
IBM Power Systems

Adapter configuration:

PowerPC Firmware
Version EL320_040
SMS 1.7 (c) Copyright IBM Corp. 2000,2007 All rights
---------------------------------------------------------
IP Parameters
Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U78A0.001.DNWGCP5-P1-C4

1. Speed,Duplex Disable Spanning Tree


for faster operation
2. Spanning Tree Enabled

3. Protocol
---------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
---------------------------------------------------------
Network boot (7 of 7)
IBM Power Systems

• When remote IPL is configured, perform the ping test


– If ping is unsuccessful:
• Is NIM server on network?
• Check IP Parameters screen for mistakes
– Is gateway correct and available?
• Try again
• Return to SMS Select Boot Options menu
– Select the network adapter as the Install/Boot Device
• Exit from SMS initiates network boot.
• AIX Install and Maintenance menu processing is the same as
previously described.
• NIM can have unattended install with no console interaction
Checkpoint
IBM Power Systems

1. AIX 6 can be installed from which of the following?


(Select all that are correct)
a. 8 mm tape
b. optical media-ROM
c. Diskette
d. NIM Server

2. True or False: A Preservation install preserves all data


on the disks.
3. What is the console used for during the installation
process?
_____________________________________________
_____________________________________________
Checkpoint solutions
IBM Power Systems

1. AIX V6.1 can that be installed from which of the following?


(Select all that are correct)
a. 8 mm tape
b. CD-ROM
c. Diskette
d. NIM Server
2. True or False: A Preservation install preserves all data on the
disks.
Preserves some of the existing data on the disk selected for
installation. This method overwrites the user (/usr), variable
(/var), temporary (/tmp), and root (/) file systems. Other
product application files and configuration data are
destroyed.
3. What is the console used for during the installation process?
The console is used to display all the system messages and to
interact with the installation.
Exercise 4
IBM Power Systems

AIX
installation
Unit summary
IBM Power Systems

Having completed this unit, you should be able to:


• List the installation methods for AIX 6
• List the steps necessary to install the AIX version 6.1
base operating system
• Install and understand all the options when installing AIX
6.1 from optical media
• Execute a network boot to use a configured NIM server
• Carry out post installation tasks

Você também pode gostar