Preparation
The latest Technology Level and Service Pack releases for AIX on Pseries can be found here
--> IBM Pseries fixcentral
http://www-912.ibm.com/eserver/support/fixes/fixcentral
Download your required package, it is a good idea to check "Yes, include Technology Level XXXX-XX with the Service Pack" just in case there are any filesets required from the Technology Level
Either place the files in a directory on the server to be updated or burn them to a CD
Then login to the server as root and run lppchk -v, this will check to see if all the currently installed software is correctly entered in the Software Vital Product Database (SWVPD) and that all filesets have all the required requisites and are completely installed.
It is a good idea to check if the hardware microcode is up to date
Ensure all hardware including external devices are connected and powered on
Check for any existing faults on the server using the command errpt -a and fix as required
Ensure that there is enough free disk space available
Create a mksysb to back up the root volume group, also run a full system backup to backup all partitions on the server
It is advisable to reboot the server before updating it to ensure that if the server fails to reboot the cause can be more easily determined and not attributed to the update process
Performing the update
1. Insert the AIX technology level CD into the CD drive or change directory into the directory containing the software and verify that the software is present and correct
2. Type smitty update_all
3. Select required values in entry fields, for example it is advisable to apply the updates and then commit them later once you are sure the update was successful
4. Review /smit.log for any errors
5. Reboot the server by typing shutdown -Fr
6. After the reboot verify that all the currently installed software is correctly entered into the Software Vital Product Database (SWVPD) by typing lppchk -v
7. Check for system errors by typing errpt -a
Upgrade AIX from version 5.3 to version 6.1
This document describes updating a p505 server from AIX 5.3 to AIX 6.1
Preparation
IMPORTANT - Read the release notes for the version of AIX you are upgrading to
The release notes for AIX 6.1 can be found here -->
http://publib.boulder.ibm.com/infocenter/systems/scope/aix/index.jsp?topic=/com.ibm.aix.resources/61relnotes.htm
Note - POWER3 processors are NOT supported by AIX 6.1
• Ensure you do a full system backup and ensure that you create a mksysb before upgrading AIX.
• Check if the hardware microcode is up to date - see the microcode update document on this web site.
• Ensure all hardware including external devices are connected and powered on.
• Check for any existing faults on the server using the command errpt -a and fix as required.
• Ensure that there is enough free disk space available.
• On the server you want to upgrade check what disk rootvg is installed on. To do this type lsvg -p rootvg. In this case I found rootvg to be installed on hdisk0.
• Check that the CDROM drive is listed in the bootlist before the hard disk by typing bootlist -m normal -o If the CD drive is not listed before the hard disk i.e. hdisk0 cd0, then change the boot order by typing bootlist -m normal cd0 hdisk0.
• It is advisable to reboot the server before updating it to ensure that if the server fails to reboot the cause can be more easily determined and not attributed to the update process. To reboot the server shutdown any applications and then type shutdown -Fr.
• Also run lppchk -v, this will check to see if all the currently installed software is correctly entered in the Software Vital Product Database (SWVPD) and that all filesets have all the required requisites and are completely installed.
Upgrading
Put the AIX 6.1 base operating system CD or DVD into the CD/DVD drive
The console for this upgrade was a dumb vt100 type terminal, the display may be slightly different for a graphical display
Reboot the server type shutdown -Fr
The server should boot off the media in the CD/DVD drive and a screen should display some selectable options as follows
--------------------------------------------------------------------------------------------------
1 = SMS menu 5 = Default bootlist
8 = Open Firmware 6 = Stored bootlist
--------------------------------------------------------------------------------------------------
Ignore these for now and the installation should continue
The next screen should display
--------------------------------------------------------------------------------------------------
Starting Software
Please wait
--------------------------------------------------------------------------------------------------
Next screen
--------------------------------------------------------------------------------------------------
Please define the System Console
Type a 1 and press Enter to use this terminal as the system console
--------------------------------------------------------------------------------------------------
Type 1 and press enter
--------------------------------------------------------------------------------------------------
1. Type 1 and press Enter to have English during install
>>>choice[1]:
---------------------------------------------------------------------------------------------------
gain type 1 and press enter
---------------------------------------------------------------------------------------------------
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
4. Configure Network Disks (iSCSI)
88 Help?
99 Previous Menu
Choice[1]: 2
----------------------------------------------------------------------------------------------------
Type 2 and press enter to change the installation settings
---------------------------------------------------------------------------------------------------
Installation and Settings
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
1. System Settings:
Method of Installation ......................Migration
Disk where you want to Install ..............hdisk0
2. Primary Language Environment settings (AFTER Install):
Cultural Conventions ........................English (United States)
Language ....................................English (United States)
Keyboard ....................................English (United States)
Keyboard Type ...............................Default
3. Security Model...............................Default
4. More Options (Software install options)
>>> 0 Install with the current settings listed above
88 Help?
99 Previous Menu
>>> Choice[0]:
---------------------------------------------------------------------------------------------------
Change the "Method of Installation" to "Migration" if not already selected
Ensure that the "Disk where you want to Install" is set to the correct disk
Change the "Cultural Conventions", "Language" and "Keyboard" to your prefered location
Type 4 and press enter for "More Options (Software install options)"
----------------------------------------------------------------------------------------------------
Install Options
1. Enable System Backup to install any system....Yes
2. Import User Volume Groups.....................Yes
3. Remove Java 1.1.8 Software....................No
>>> 0 Install with the current settings listed above
88 Help?
99 Previous Menu
>>> Choice[0]:
----------------------------------------------------------------------------------------------------
Check the values for the fields are as listed above and then press enter to accept the default value of 0 "Install with the current settings listed above
---------------------------------------------------------------------------------------------------
Migration Installation Summary
Disks: hdisk0
Cultural Convention: en_GB
Language: en_US
Keyboard: en_GB
Import User Volume Groups: Yes
Enable System Backup to install any system: Yes
Remove Java 1.1.8 Software: No
>>> 1 Continue with Install
88 Help?
99 Previous Menu
>>> Choice[1]:
-----------------------------------------------------------------------------------------------------
Check the fields if all the values as correct then press enter to accept the default value 1 "Continue with Install
---------------------------------------------------------------------------------------------------
Migration menu preparation
Please wait
Approximate Elapsed time
% task complete (in minutes)
---------------------------------------------------------------------------------------------------
Next screen
---------------------------------------------------------------------------------------------------
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
WARNING: Selected files, directories and filesets (installable options)
from the Base System will be removed.
Choose 2 or 3 for more information
88 Help?
99 Previous Menu
>>> Choice[0]:
---------------------------------------------------------------------------------------------------
Have a look at each menu option then type 0 and press enter to "Continue with the migration"
-------------------------------------------------------------------------------------------------
Saving system configuration files in /tmp/bos
Removing obsolete filesets, directories and files
Installing Base Operating System
Please wait
Approximate Elapsed time
% task complete (in minutes)
---------------------------------------------------------------------------------------------------
The installation should continue and eventually finish and present a login screen
Login and check the version of AIX by typing oslevel -s
Preparation
IMPORTANT - Read the release notes for the version of AIX you are upgrading to
The release notes for AIX 6.1 can be found here -->
http://publib.boulder.ibm.com/infocenter/systems/scope/aix/index.jsp?topic=/com.ibm.aix.resources/61relnotes.htm
Note - POWER3 processors are NOT supported by AIX 6.1
• Ensure you do a full system backup and ensure that you create a mksysb before upgrading AIX.
• Check if the hardware microcode is up to date - see the microcode update document on this web site.
• Ensure all hardware including external devices are connected and powered on.
• Check for any existing faults on the server using the command errpt -a and fix as required.
• Ensure that there is enough free disk space available.
• On the server you want to upgrade check what disk rootvg is installed on. To do this type lsvg -p rootvg. In this case I found rootvg to be installed on hdisk0.
• Check that the CDROM drive is listed in the bootlist before the hard disk by typing bootlist -m normal -o If the CD drive is not listed before the hard disk i.e. hdisk0 cd0, then change the boot order by typing bootlist -m normal cd0 hdisk0.
• It is advisable to reboot the server before updating it to ensure that if the server fails to reboot the cause can be more easily determined and not attributed to the update process. To reboot the server shutdown any applications and then type shutdown -Fr.
• Also run lppchk -v, this will check to see if all the currently installed software is correctly entered in the Software Vital Product Database (SWVPD) and that all filesets have all the required requisites and are completely installed.
Upgrading
Put the AIX 6.1 base operating system CD or DVD into the CD/DVD drive
The console for this upgrade was a dumb vt100 type terminal, the display may be slightly different for a graphical display
Reboot the server type shutdown -Fr
The server should boot off the media in the CD/DVD drive and a screen should display some selectable options as follows
--------------------------------------------------------------------------------------------------
1 = SMS menu 5 = Default bootlist
8 = Open Firmware 6 = Stored bootlist
--------------------------------------------------------------------------------------------------
Ignore these for now and the installation should continue
The next screen should display
--------------------------------------------------------------------------------------------------
Starting Software
Please wait
--------------------------------------------------------------------------------------------------
Next screen
--------------------------------------------------------------------------------------------------
Please define the System Console
Type a 1 and press Enter to use this terminal as the system console
--------------------------------------------------------------------------------------------------
Type 1 and press enter
--------------------------------------------------------------------------------------------------
1. Type 1 and press Enter to have English during install
>>>choice[1]:
---------------------------------------------------------------------------------------------------
gain type 1 and press enter
---------------------------------------------------------------------------------------------------
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
4. Configure Network Disks (iSCSI)
88 Help?
99 Previous Menu
Choice[1]: 2
----------------------------------------------------------------------------------------------------
Type 2 and press enter to change the installation settings
---------------------------------------------------------------------------------------------------
Installation and Settings
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
1. System Settings:
Method of Installation ......................Migration
Disk where you want to Install ..............hdisk0
2. Primary Language Environment settings (AFTER Install):
Cultural Conventions ........................English (United States)
Language ....................................English (United States)
Keyboard ....................................English (United States)
Keyboard Type ...............................Default
3. Security Model...............................Default
4. More Options (Software install options)
>>> 0 Install with the current settings listed above
88 Help?
99 Previous Menu
>>> Choice[0]:
---------------------------------------------------------------------------------------------------
Change the "Method of Installation" to "Migration" if not already selected
Ensure that the "Disk where you want to Install" is set to the correct disk
Change the "Cultural Conventions", "Language" and "Keyboard" to your prefered location
Type 4 and press enter for "More Options (Software install options)"
----------------------------------------------------------------------------------------------------
Install Options
1. Enable System Backup to install any system....Yes
2. Import User Volume Groups.....................Yes
3. Remove Java 1.1.8 Software....................No
>>> 0 Install with the current settings listed above
88 Help?
99 Previous Menu
>>> Choice[0]:
----------------------------------------------------------------------------------------------------
Check the values for the fields are as listed above and then press enter to accept the default value of 0 "Install with the current settings listed above
---------------------------------------------------------------------------------------------------
Migration Installation Summary
Disks: hdisk0
Cultural Convention: en_GB
Language: en_US
Keyboard: en_GB
Import User Volume Groups: Yes
Enable System Backup to install any system: Yes
Remove Java 1.1.8 Software: No
>>> 1 Continue with Install
88 Help?
99 Previous Menu
>>> Choice[1]:
-----------------------------------------------------------------------------------------------------
Check the fields if all the values as correct then press enter to accept the default value 1 "Continue with Install
---------------------------------------------------------------------------------------------------
Migration menu preparation
Please wait
Approximate Elapsed time
% task complete (in minutes)
---------------------------------------------------------------------------------------------------
Next screen
---------------------------------------------------------------------------------------------------
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
WARNING: Selected files, directories and filesets (installable options)
from the Base System will be removed.
Choose 2 or 3 for more information
88 Help?
99 Previous Menu
>>> Choice[0]:
---------------------------------------------------------------------------------------------------
Have a look at each menu option then type 0 and press enter to "Continue with the migration"
-------------------------------------------------------------------------------------------------
Saving system configuration files in /tmp/bos
Removing obsolete filesets, directories and files
Installing Base Operating System
Please wait
Approximate Elapsed time
% task complete (in minutes)
---------------------------------------------------------------------------------------------------
The installation should continue and eventually finish and present a login screen
Login and check the version of AIX by typing oslevel -s
User Admin
id
To list all system identifications for current user
id -gn
To list the default group for current user
id -Gn
To list all system groups for current user
lsuser root
To list the attribute of user root
lsuser ALL
To list the attributes of all users
lsuser -a ALL
To list all usernames
lsuser -a HOME ALL
To list the home directory of all users
lsuser -a auth1 auth2 ALL
To list the authentication method for all users
lsuser -a expires ALL
To list expiry date
lsuser -a account_locked ALL
To check account lock status of all users
chuser -a login=true mohan
To enable the user mohan
chuser -a rlogin=true username
Enable user to login remotely to server
mkuser urname
Creates user with default values in /usr/lib/security/mkuser.default
passwd
To change password of current user
passwd username
To change password of a user
pwdadm username
To change password of a user by security (admin) member
mkuser su=false username
Create user without su facility
rmuser username
To remove a user
rmuser -p mohan
To remove user mohan and his all attributes
who
List users with tty nos and ip numbers
who /var/adm/wtmp
Lists history of login logout system startup and shutdown
last root
All previous login and logoff time of root user
who -r
To list the current run level ( cat /etc/.init.state )
whoami
show current user
who am i
To list the exact user (who -m) ( ie. difference between su and su - After su shows previous username bcoz environment not set for current user and su - shows current username bcoz environment has been set)
mkgroup finance
To create the group finance
chgroup users=user1,user2,user3 finance
To add users user1,user2 and user3 to finance group
rmgroup finance
To delete the group finance
chauthent
To change the authentication methods
chuser unsuccessful_login_count=0 username
To change the unsuccessful login count
pwdck -t ALL / Username
To verify user passwords ( Report error and ask to fix it)
usrck -t ALL / Username
To verify user definition.
grpck -t ALL / groupname
To verify a group
lsuser -f root
List all settings for root user in grepable format
lsuser -a id ALL
List just the user names
lsuser -a fsize mohan
Find the fsize value for user mohan
chuser fsize=-1 mohan
Change the fsize value for user mohan
chuser -rlogin=false root
To Disable remote root login
To list all system identifications for current user
id -gn
To list the default group for current user
id -Gn
To list all system groups for current user
lsuser root
To list the attribute of user root
lsuser ALL
To list the attributes of all users
lsuser -a ALL
To list all usernames
lsuser -a HOME ALL
To list the home directory of all users
lsuser -a auth1 auth2 ALL
To list the authentication method for all users
lsuser -a expires ALL
To list expiry date
lsuser -a account_locked ALL
To check account lock status of all users
chuser -a login=true mohan
To enable the user mohan
chuser -a rlogin=true username
Enable user to login remotely to server
mkuser urname
Creates user with default values in /usr/lib/security/mkuser.default
passwd
To change password of current user
passwd username
To change password of a user
pwdadm username
To change password of a user by security (admin) member
mkuser su=false username
Create user without su facility
rmuser username
To remove a user
rmuser -p mohan
To remove user mohan and his all attributes
who
List users with tty nos and ip numbers
who /var/adm/wtmp
Lists history of login logout system startup and shutdown
last root
All previous login and logoff time of root user
who -r
To list the current run level ( cat /etc/.init.state )
whoami
show current user
who am i
To list the exact user (who -m) ( ie. difference between su and su - After su shows previous username bcoz environment not set for current user and su - shows current username bcoz environment has been set)
mkgroup finance
To create the group finance
chgroup users=user1,user2,user3 finance
To add users user1,user2 and user3 to finance group
rmgroup finance
To delete the group finance
chauthent
To change the authentication methods
chuser unsuccessful_login_count=0 username
To change the unsuccessful login count
pwdck -t ALL / Username
To verify user passwords ( Report error and ask to fix it)
usrck -t ALL / Username
To verify user definition.
grpck -t ALL / groupname
To verify a group
lsuser -f root
List all settings for root user in grepable format
lsuser -a id ALL
List just the user names
lsuser -a fsize mohan
Find the fsize value for user mohan
chuser fsize=-1 mohan
Change the fsize value for user mohan
chuser -rlogin=false root
To Disable remote root login
Labels:
AIX - User Administration
IVM
IVM: Integrated Virtualization Manager. This is a management interface that installs on top of the VIOS software that provides much of the HMC functionality. It can be used instead of a HMC for some systems. It is the only option for virtualization management on the blades as they cannot have HMC connectivity.
Labels:
PowerVM - IVM