Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AIX software
installation and maintenance
5.2
Unit objectives
IBM Power Systems
AIX media
IBM Power Systems
AIX
AI X AI X
AI X
A IX
A IX
AI X
AI X
A IX
AIX
LPP
Base Operating
System Component
bos
bos.net
bos.net.tcp
Package
Base Networking
package
TCP/IP collection
of filesets
bos.net.tcp.server
Fileset
TCP/IP Server fileset
the smallest unit
Software bundles
IBM Power Systems
Fix Packs
Base
AIX Level
Technology
level
Service packs
(Contain APARs)
Interim
fixes
AIX Level
VRMF
Service Pack
Technology
Level
To upgrade from one AIX version and release to another, for example,
AIX 5.3 to AIX 6.1, a migration must be performed.
New TLs or SPs are applied through updates.
Software repository
IBM Power Systems
[Entry
[Entry Fields]
Fields]
/dev/cd0
/dev/cd0
[all]
++
[all]
[/tmp]
[/tmp]
yes
yes
yes
yes
++
Software states
IBM Power Systems
6.1.1.1
Committed
AI X
6.1.1.1 Saved
bos.net.tcp.adt
6.1.1.2
AI X
Action: Apply
6.1.1.2 Applied
Reject
or
Commit
6.1.1.1
Committed
6.1.1.2
Committed
FF
Modification Fix
smit update_all
State
State codes:
codes:
AA --- Applied.
Applied.
BB --- Broken.
Broken.
CC --- Committed.
Committed.
EE --- EFIX
EFIX Locked.
Locked.
OO -Obsolete.
-- Obsolete. (partially
(partially migrated
migrated to
to newer
newer version)
version)
?? --- Inconsistent
Inconsistent State...Run
State...Run lppchk
lppchk -v.
-v.
Type
Type codes:
codes:
FF --- Installp
Installp Fileset
Fileset
PP -Product
-- Product
CC --- Component
Component
TT --- Feature
Feature
RR --- RPM
RPM Package
Package
EE -Interim
-- Interim Fix
Fix
TCP/IP
TCP/IP Server
Server
## lslpp
lslpp -f
-f alex.grumpy.rte
alex.grumpy.rte
Fileset
File
Fileset
File
----------------------------------------------------------------------------------------------------------------Path:
Path: /usr/lib/objrepos
/usr/lib/objrepos
alex.grumpy.rte
alex.grumpy.rte 1.0.0.5
1.0.0.5
/usr/local/grumpy/grumpyrecovery
/usr/local/grumpy/grumpyrecovery
/usr/local/grumpy/README
/usr/local/grumpy/README
/usr/local/grumpy/grumpystart
/usr/local/grumpy/grumpystart
/usr/sbin/gfunctions
/usr/sbin/gfunctions
/usr/local/grumpy/grumpycheck
/usr/local/grumpy/grumpycheck
/usr/local/grumpy/grumpystop
/usr/local/grumpy/grumpystop
## lslpp
lslpp -w
-w /usr/local/grumpy/grumpystart
/usr/local/grumpy/grumpystart
File
Fileset
Type
File
Fileset
Type
--------------------------------------------------------------------------------------------------------------------/usr/local/grumpy/grumpystart
alex.grumpy.rte
File
/usr/local/grumpy/grumpystart
alex.grumpy.rte
File
To which
fileset does a
file belong?
smit install_all
Install
Install and
and Update
Update from
from ALL
ALL Available
Available Software
Software
Type
Type or
or select
select values
values in
in entry
entry fields.
fields.
Press
Press Enter
Enter AFTER
AFTER making
making all
all desired
desired changes.
changes.
** INPUT
INPUT device
device // directory
directory for
for software
software
** SOFTWARE
to
install
SOFTWARE to install
PREVIEW
PREVIEW only?
only? (install
(install operation
operation will
will NOT
NOT occur)
occur)
COMMIT
software
updates?
COMMIT software updates?
SAVE
SAVE replaced
replaced files?
files?
AUTOMATICALLY
AUTOMATICALLY install
install requisite
requisite software?
software?
EXTEND
EXTEND file
file systems
systems if
if space
space needed?
needed?
OVERWRITE
OVERWRITE same
same or
or newer
newer versions?
versions?
VERIFY
VERIFY install
install and
and check
check file
file sizes?
sizes?
DETAILED
output?
DETAILED output?
Process
Process multiple
multiple volumes?
volumes?
ACCEPT
ACCEPT new
new license
license agreements?
agreements?
Preview
Preview new
new LICENSE
LICENSE agreements?
agreements?
[Entry
[Entry Fields]
Fields]
..
[]
[]
no
no
yes
yes
no
no
yes
yes
yes
yes
no
no
no
no
no
no
yes
yes
no
no
no
no
++
++
++
++
++
++
++
++
++
++
++
++
installp
a (apply), -c (commit), -p (preview), -g (apply prerequites), -X (expand
filesystems, if needed), -Y (accept license agreements), -d (device or
directory location of software)
## installp
installp -acpgXYd
-acpgXYd .. bos.rte.install
bos.rte.install
## installp
-acpgXYd
installp -acpgXYd /TL02_SP01
/TL02_SP01 all
all
geninstall
I (use installp flags, as described above), -p (preview), -d (device or
directory location of software)
## geninstall
geninstall -I
-I "-acgXY"
"-acgXY" -p
-p -d
-d .. bos.rte.install
bos.rte.install
## geninstall
-I
"-acgXY"
-p
-d
geninstall -I "-acgXY" -p -d /TL02_SP01
/TL02_SP01 all
all
List
packages
Remove
package
without
dependencies
## rpm
rpm qa
qa
## rpm
rpm --nodeps
--nodeps -e
-e cairo-1.0.2-6
cairo-1.0.2-6
## rpm
rpm -i
-i bash-3.2-1.aix.ppc.rpm
bash-3.2-1.aix.ppc.rpm
Install
package
Ideally, all systems should be at the latest fix pack (TL and SP level).
IBM recommends installing the complete fix pack.
System updates can be applied through smit update_all or using
geninstall or installp commands.
Some items
removed for
clarity
smitty update_all
smitty update_all
* INPUT device / directory for software
* INPUT device / directory for software
* SOFTWARE to update
* SOFTWARE to update
PREVIEW only? (update operation will NOT occur)
PREVIEW only? (update operation will NOT occur)
COMMIT software updates?
COMMIT software updates?
SAVE replaced files?
SAVE replaced files?
/updates
/updates
_update_all
_update_all
yes
yes
no
no
yes
yes
+
+
+
+
installp, example:
## lslpp
lslpp -L
-L |grep
|grep -i
-i cluster
cluster |grep
|grep pdf
pdf
cluster.doc.en_US.es.pdf
cluster.doc.en_US.es.pdf 5.4.0.0
5.4.0.0
CC
FF
HAES
HAES PDF
PDF Documentation
Documentation
FF
HAES
HAES PDF
PDF Documentation
Documentation
## installp
installp -aB
-aB -d
-d .. cluster.doc.en_US.es.pdf
cluster.doc.en_US.es.pdf
## lslpp
lslpp -L
-L |grep
|grep -i
-i cluster
cluster |grep
|grep pdf
pdf
cluster.doc.en_US.es.pdf
cluster.doc.en_US.es.pdf 5.4.1.0
5.4.1.0
AA
Apply
Update
(-aB)
Note:
Note: installp
installp s
s ## will
will list
list all
all Applied
Applied software
software on
on the
the system
system
Reject
(-r)
## installp
installp r
r cluster.doc.en_US.es.pdf
cluster.doc.en_US.es.pdf
## lslpp
lslpp -L
-L |grep
|grep -i
-i cluster
cluster |grep
|grep pdf
pdf
cluster.doc.en_US.es.pdf
cluster.doc.en_US.es.pdf 5.4.0.0
5.4.0.0
OR
OR
## installp
installp c
c all
all
CC
FF
HAES
HAES PDF
PDF Documentation
Documentation
Commitall
Applied
software(c)
Installation
Installation Summary
Summary
--------------------------------------Name
Level
Part
Event
Result
Name
Level
Part
Event
Result
------------------------------------------------------------------------------------------------------------------------------------------------------------cluster.doc.en_US.es.pdf
5.4.1.0
USR
COMMIT
SUCCESS
cluster.doc.en_US.es.pdf
5.4.1.0
USR
COMMIT
SUCCESS
2244
2244 lines
lines removed
removed for
for clarity
clarity .
.
## instfix
instfix -i
-i |grep
|grep IY34981
IY34981
All
filesets
All filesets for
for IY34981
IY34981 were
were found.
found.
Preview
Install
## emgr
emgr -pe
-pe 744A_610.071105.epkg.Z
744A_610.071105.epkg.Z
.lot
.lot of
of output
output is
is produced,
produced, removed
removed for
for clarity!
clarity!
EPKG
LABEL
OPERATION
EPKG NUMBER
NUMBER
LABEL
OPERATION
===========
==============
=================
===========
==============
=================
11
744A_610
INSTALL
744A_610
INSTALL PREVIEW
PREVIEW
RESULT
RESULT
==============
==============
SUCCESS
SUCCESS
Install
ifix
## emgr
emgr -e
-e 744A_610.071105.epkg.Z
744A_610.071105.epkg.Z
List
installed
efixes
## emgr
emgr -l
-l
ID
INSTALL
ABSTRACT
ID STATE
STATE LABEL
LABEL
INSTALL TIME
TIME
ABSTRACT
===
=== =====
===== ==========
========== ==================
================== ======================================
======================================
11 *Q*
*Q* 744A_610
744A_610 10/10/08
10/10/08 23:30:49
23:30:49 Kernel
Kernel fix
fix for
for 0744A_610
0744A_610
## emgr
emgr r
r L
L 744A_610
744A_610
Log
Log file
file is
is /var/adm/ras/emgr.log
/var/adm/ras/emgr.log
EFIX
EFIX NUMBER
NUMBER
===========
===========
11
LABEL
LABEL
==============
==============
744A_610
744A_610
Remove
ifix
OPERATION
OPERATION
=================
=================
REMOVE
REMOVE
RESULT
RESULT
==============
==============
SUCCESS
SUCCESS
ATTENTION:
ATTENTION: system
system reboot
reboot is
is required.
required. Please
Please see
see the
the "Reboot
"Reboot Processing"
Processing"
sections
in
the
output
above
or
in
the
/var/adm/ras/emgr.log
sections in the output above or in the /var/adm/ras/emgr.log file.
file.
Return
Return Status
Status == SUCCESS
SUCCESS
smit remove
Remove
Remove Installed
Installed Software
Software
** SOFTWARE
SOFTWARE name
name
PREVIEW
PREVIEW only?
only? (remove
(remove operation
operation will
will NOT
NOT occur)
occur)
REMOVE
dependent
REMOVE dependent software?
software?
EXTEND
EXTEND file
file systems
systems if
if space
space needed?
needed?
DETAILED
DETAILED output?
output?
[Entry
[Entry Fields]
Fields]
[cluster.es.cspoc.cmds]
[cluster.es.cspoc.cmds]
yes
yes
yes
yes
no
no
no
no
++
++
++
++
++
??
FF
Firefox
Firefox Web
Web Browser
Browser
Look for ?
or B.
## lppchk
lppchk -v
-v
lppchk:
lppchk: The
The following
following filesets
filesets need
need to
to be
be installed
installed or
or corrected
corrected to
to bring
bring
the
the system
system to
to aa consistent
consistent state:
state:
Firefox.base.rte
Firefox.base.rte 1.5.0.12
1.5.0.12
(APPLYING)
(APPLYING)
Display
inconsistent
filesets.
## installp
installp -C
-C
installp:
installp: Cleaning
Cleaning up
up software
software for:
for:
Firefox.base.rte
Firefox.base.rte 1.5.0.12
1.5.0.12
Perform a clean-up
operation. Fileset is
removed
Installation
Installation Summary
Summary
--------------------------------------Name
Level
Part
Event
Result
Name
Level
Part
Event
Result
------------------------------------------------------------------------------------------------------------------------------------------------------------Firefox.base.rte
1.5.0.12
USR
CLEANUP
SUCCESS
Firefox.base.rte
1.5.0.12
USR
CLEANUP
SUCCESS
By APAR Number
By Fix Type
Technology Level(s)
Service Pack(s)
All Latest Fixes
Individual Filesets
Base configuration
# smit suma_config_base
Base
Base Configuration
Configuration
Screen
Screen output
output verbosity
verbosity
Logfile
Logfile output
output verbosity
verbosity
Notification
email
Notification email verbosity
verbosity
Remove
Remove superseded
superseded filesets
filesets on
on Clean?
Clean?
Remove
Remove duplicate
duplicate base
base levels
levels on
on Clean?
Clean?
Remove
Remove conflicting
conflicting updates
updates on
on Clean?
Clean?
Fixserver
Fixserver protocol
protocol
Download
Download protocol
protocol
Maximum
Maximum log
log file
file size
size (MB)
(MB)
Download
timeout
(seconds)
Download timeout (seconds)
[Entry
[Entry Fields]
Fields]
[Info/Warnings/Errors]
[Info/Warnings/Errors]
[Verbose]
[Verbose]
[Info/Warnings/Errors]
[Info/Warnings/Errors]
yes
yes
yes
yes
yes
yes
http
http
ftp
ftp
[1]
[1]
[180]
[180]
++
++
++
++
++
++
++
++
##
##
View/Change
View/Change SUMA
SUMA Task
Task Defaults
Defaults
Action
Action
Directory
Directory for
for item
item storage
storage
Type
Type of
of item
item to
to request
request
Name
of
item
to
request
Name of item to request
Level
Level of
of item
item to
to request
request
Get
Get prerequisites/corequisites?
prerequisites/corequisites?
Get
Get ifrequisites?
ifrequisites?
Get
Get superseding
superseding items?
items?
Get
items
Get items which
which fix
fix regressions?
regressions?
Repository
Repository to
to filter
filter against
against
Maintenance
Maintenance or
or Technology
Technology Level
Level to
to filter
filter against
against
System
System or
or lslpp
lslpp output
output to
to filter
filter against
against
Maximum
total
download
size
(MB)
Maximum total download size (MB)
EXTEND
EXTEND file
file systems
systems if
if space
space needed?
needed?
Maximum
Maximum file
file system
system size
size (MB)
(MB)
Notify
Notify email
email address
address
[Entry
[Entry Fields]
Fields]
[Download]
[Download]
[/aix/FIXES]
[/aix/FIXES]
[All
[All Latest
Latest Fixes]
Fixes]
[]
[]
[]
[]
yes
yes
yes
yes
no
no
[If
[If Available]
Available]
[/aix/FIXES]
[/aix/FIXES]
[]
[]
[localhost]
[localhost]
[-1]
[-1]
yes
yes
[-1]
[-1]
[root]
[root]
Directory to
store
downloads
++
++
++
++
++
++
++
+#
+#
++
+#
+#
++
Request
type =
service pack
List all
scheduled
SUMA tasks
http://www14.software.ibm.com/webapp/set2/flrt/home
Checkpoint
IBM Power Systems
1. Which of the following states must your software be in, in order for you to be able
to use it? Select all that apply.
a.
b.
c.
d.
Applied state
Removed state
Install state
Commit state
a.
b.
c.
d.
ifix
LPP
Package
Bundle
Checkpoint solutions
IBM Power Systems
1.Which of the following states must your software be in, in order for you
to be able to use it? Select all that apply.
a. Applied state
b. Removed state
c. Install state
d. Commit state
3.Which of the following can you install as an entity? Select all that apply.
a. ifix
b. LPP
c. Package
d. Bundle
Exercise 5
IBM Power Systems
AIX software
installation and
maintenance
Unit summary
IBM Power Systems