Vous êtes sur la page 1sur 19

Advanced AIX administration overview

Copyright IBM Corporation 2011 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

6.0

Unit objectives
IBM Power Systems

After completing this unit, you should be able to: List the steps of a basic methodology for problem determination List AIX features that assist in minimizing planned downtime or shortening the maintenance window Explain how to find documentation and other key resources needed for problem resolution

Copyright IBM Corporation 2011

Application outages
IBM Power Systems

Functional or performance Avoid unplanned outages with best practices


Change control Data security Capacity planning High availability design

Avoid planned outages


Fall-over to backup server Relocate application (LPAR or WPAR mobility)

Use maintenance windows


Application stopped versus slow activity Plan enough time for back-out or recovery Minimize time needed

Effective problem determination and recovery


Copyright IBM Corporation 2011

Maintenance window tasks


IBM Power Systems

Minimize time needed for tasks


Including time to recover from a failed task

Operating system maintenance


Pre-staging of maintenance Applying maintenance to alternate rootvg Applying maintenance with alternate BLV Reboot to use updated alternate

System backups
Minimizing rootvg size Snapshot techniques for user file systems

Copyright IBM Corporation 2011

Effective problem management


IBM Power Systems

Keep system documentation current Keep maintenance up to date. Use a problem determination methodology. If an AIX bug:
Collect problem information. Open problem report with AIX Support. Provide snap with information.

Copyright IBM Corporation 2011

Before problems occur


IBM Power Systems

Effective problem determination starts with a good understanding of the system and its components. The more information you have about the normal operation of a system, the better.
System configuration Operating system level Applications installed Baseline performance Installation, configuration, and service manuals

System System documentation documentation

Copyright IBM Corporation 2011

Before problems occur: A few good commands


IBM Power Systems

lspv lscfg prtconf lsvg lsps lsfs lsdev getconf bootinfo snap

Lists physical volumes, PVID, VG membership Provides information regarding system components Displays system configuration information Lists the volume groups Displays information about paging spaces Gives file system information Provides device information Displays values of system configuration variables Displays system configuration information (unsupported) Collects system data
Copyright IBM Corporation 2011

Steps in problem resolution


IBM Power Systems

1.Identify the problem 2. Talk to users to define the problem 3. Collect system data 4. Resolve the problem

Copyright IBM Corporation 2011

Progress and reference codes


IBM Power Systems

Progress codes
Checkpoint during a process such as boot, shutdown, or dump

System reference codes (SRCs)


Error codes for problems in hardware, firmware, or operating system

Service request numbers (SRNs)


Indicates the detecting component and error condition detected

Obtained from:
Front panel of system enclosure HMC or IVM (for logically partitioned systems) Operator console message or diagnostics (diag utility)

Copyright IBM Corporation 2011

Reference codes at IBM Information Center


IBM Power Systems

http://publib.boulder.ibm.com/infocenter/eserver
Select Hardware Information Center > Systems Hardware information

Copyright IBM Corporation 2011

Working with AIX support


IBM Power Systems

Have needed information ready:


Name, phone #, customer #, Machine type model and serial #, AIX version, release, technology level, and service pack Problem description, including error codes Severity level: critical, significant impact, some impact, minimal

1-800-IBM-SERV (1-800-426-7378) Level 1 will collect information and assign PMR number Route to level 2 responsible for the product You may be asked to collect additional information to upload They may ask you to update to a specific TL or SP
APAR for your problem already addressed Need to have a standard environment for them to investigate
Copyright IBM Corporation 2011

AIX support test case data (1 of 2)


IBM Power Systems

Run the following (or very similar) commands to gather snap information:
# snap a <Copy any extra data to the /tmp/ibmsupt/testcase or the /tmp/ibmsupt/other directory.>

This step will create # snap c /tmp/ibmsupt/snap.pax.Z. # cd /tmp/ibmsupt # mv snap.pax.Z \ PMR#.b<branch#>.c<country#>.snap.pax.Z

Copyright IBM Corporation 2011

AIX support test case data (2 of 2)


IBM Power Systems

Upload the information you have captured:


# ftp testcase.software.ibm.com User: anonymous Password: <your email address> ftp> cd /toibm/aix ftp> bin ftp> put PMR#.b<branch#>.c<country#>.snap.pax.Z ftp> quit
Copyright IBM Corporation 2011

AIX software update hierarchy


IBM Power Systems

Version and release (oslevel)


Requires new license and migration install

Fileset updates (lslpp L will show mod and fix levels)


Collected changes to files in a fileset Related to APARs and PTFs Only need to apply the new fileset

Fix bundles
Collections of fileset updates

Technology level and maintenance level (oslevel r)


Fix bundle of enhancements and fixes

Service packs (oslevel s)


Fix bundle of important fixes

Interim fixes
Special situation code replacements Delay for normal PTF packaging is too slow Managed with efix tool
Copyright IBM Corporation 2011

Relevant documentation
IBM Power Systems

IBM Systems Information Centers entry page: http://publib.boulder.ibm.com/eserver


Links to:
IBM Systems Hardware Information Center AIX Information Center IBM i and System i Information Center IBM Information Center for Linux IBM Storage Information Center IBM Systems Directory Information Center

IBM Redbooks home: http://www.redbooks.ibm.com

Copyright IBM Corporation 2011

Checkpoint
IBM Power Systems

1. What are the four major problem determination steps? _________________________________________ _________________________________________ _________________________________________ _________________________________________ 2. Who should provide information about system problems? _________________________________________ _________________________________________ 3.True or False: If there is a problem with the software, it is necessary to get the next release of the product to resolve the problem. 4.True or False: Documentation can be viewed or downloaded from the IBM Web site.
Copyright IBM Corporation 2011

Checkpoint solutions
IBM Power Systems

1. What are the four major problem determination steps?


The answer is identify the problem, talk to users (to further define the problem), collect system data, and resolve the problem.

2. Who should provide information about system problems?


The answer is always talk to the users about such problems in order to gather as much information as possible.

3. True or False: If there is a problem with the software, it is necessary to get the next release of the product to resolve the problem.
The answer is false. In most cases, it is only necessary to apply fixes or upgrade microcode.

4. True or False: Documentation can be viewed or downloaded from the IBM Web site.
The answer is false.
Copyright IBM Corporation 2011

Exercise: Advanced AIX administration overview


IBM Power Systems

Recording system information Finding reference code documentation Creating a snap file

Copyright IBM Corporation 2011

Unit summary
IBM Power Systems

Having completed this unit, you should be able to: List the steps of a basic methodology for problem determination List AIX features that assist in minimizing planned downtime or shortening the maintenance window Explain how to find documentation and other key resources needed for problem resolution

Copyright IBM Corporation 2011

Vous aimerez peut-être aussi