AU18 Lab Setup Guide

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

V3.

cover

 Front cover

AIX 5L System
Administration III:
Performance Management
(Course Code AU18)

Lab Set Up Guide


ERC 5.0

IBM Certified Course Material


Lab Set Up Guide

Trademarks
The reader should recognize that the following terms, which appear in the content of this
training document, are official trademarks of IBM or other companies:
IBM® is a registered trademark of International Business Machines Corporation.
The following are trademarks of International Business Machines Corporation in the United
States, or other countries, or both:
AIX® AIX 5L™
DB2® eServer™ Enterprise Storage Server®
IBM® Lotus Notes® Lotus®
Micro Channel® Notes® POWER4™
PowerPC® PowerPC 601® pSeries®
PTX® RISC System/6000® RS/6000®
SP™ SP2® 400®
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the
United States, other countries, or both.
Windows is a trademark of Microsoft Corporation in the United States, other countries, or
both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Linux is a registered trademark of Linus Torvalds in the United States and other countries.
Other company, product and service names may be trademarks or service marks of others.

December 2004 Edition

The information contained in this document has not been submitted to any formal IBM test and is distributed on an “as is” basis without
any warranty either express or implied. The use of this information or the implementation of any of these techniques is a customer
responsibility and depends on the customer’s ability to evaluate and integrate them into the customer’s operational environment. While
each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will
result elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk.

© Copyright International Business Machines Corporation 2000, 2004. All rights reserved.
This document may not be reproduced in whole or in part without the prior written permission of IBM.
Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions
set forth in GSA ADP Schedule Contract with IBM Corp.
V3.1
Lab Set Up Guide

TOC Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v

Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Set Up Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

© Copyright IBM Corp. 2000, 2004 Contents iii


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

iv AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

TMK Trademarks
The reader should recognize that the following terms, which appear in the content of this
training document, are official trademarks of IBM or other companies:
IBM® is a registered trademark of International Business Machines Corporation.
The following are trademarks of International Business Machines Corporation in the United
States, or other countries, or both:
AIX® AIX 5L™
DB2® eServer™ Enterprise Storage Server®
IBM® Lotus Notes® Lotus®
Micro Channel® Notes® POWER4™
PowerPC® PowerPC 601® pSeries®
PTX® RISC System/6000® RS/6000®
SP™ SP2®
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the
United States, other countries, or both.
Windows is a trademark of Microsoft Corporation in the United States, other countries, or
both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Linux is a registered trademark of Linus Torvalds in the United States and other countries.
Other company, product and service names may be trademarks or service marks of others.

© Copyright IBM Corp. 2000, 2004 Trademarks v


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

vi AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

LSGp Purpose
This Lab Set Up Guide provides directions for installing, preparing, and verifying the lab
hardware and software in preparation for conducting a class of course AU18.
The Requirements sections of this document may also be used to determine the specific
hardware and software needed to conduct a class.

© Copyright IBM Corp. 2000, 2004 Purpose vii


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

viii AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

LSG
Requirements
The following tables list the hardware, software, and other materials needed to set up a lab
to conduct a class of course AU18.

Hardware Requirements
Table 1 lists the hardware needed to prepare one student lab set and one instructor lab set.
When preparing for a class, multiply the student items below by the number of lab sets
needed for the class.
In an ideal environment, each student should have his or her own system, but a ratio of two
students per lab system is acceptable.

Table 1: Hardware requirements


Platform Machine Machine Minimum Minimum
Features
Use Type Model Memory Free DASD
Graphics terminal (6091
pSeries Any system
or equivalent), mouse,
capable of
(64-bit 2 x 4 GB Ethernet or Token Ring,
Student running 512 MB
system hard disks 101 Key Keyboard, and
AIX 5L
preferred) CD-ROM. Printer
V5.3.
preferred but not required
Same as Same as Same as Same as
Instructor Student Student Student Student
Machine Machine Machine Machine

© Copyright IBM Corp. 2000, 2004 Requirements 1


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

Software Requirements
Table 2 lists the software needed to prepare the student and/or instructor lab set(s). When
preparing for a class, be sure you have the correct number of licensed copies of any
non-IBM software.

Table 2: Software for student/instructor lab set


Platform Operating OS Application
Applications Licence
Use System Version Version
Both AIX 5L 5.3 BOS
Nodelock
C for AIX or GNU C license
Both AIX 5L 5.3 6.0
compiler included with
product
Both AIX 5L 5.3 Performance Toolbox 3.0 or higher Yes
Both AIX 5L 5.3 Performance AIDE 3.0 or higher Yes
Both AIX 5L AU18 course lab file (au185lab.tar)

Special Materials Requirements


Table 3 lists any special materials or supplies such as configuration diskettes, project
tapes, or bugged logic cards needed to conduct the class. Quantities are specified for each
class, each lab set, or each student.

Table 3: Special Materials needed for class


Entire Each Lab Each
Item Description
Class Set Student
8 CDs AIX 5L V5.3 BOS 1
1 CD C for AIX V6 (or GNU C) 1
Performance Toolbox for AIX V3 (or greater)
1 CD 1
- includes Performance AIDE
tar file AU18 course lab files (au185lab.tar) 1

2 AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

LSG
Product Documentation Requirements
Table 4 lists documentation needed to conduct the class. Quantities are specified for each
class, each lab set, or each student.

Table 4: Product Documentation needed for class


Document Name Form Number Entire Class Each Lab Set Each Student
AIX 5L
1x - Provided by
Performance SG24-6039
kitting
Tools Handbook

It is useful for students to be able to access the online AIX documentation. This can either
be installed on each system using CD media, or if the systems have Internet access, the
students can access the documentation at:
http://publib16.boulder.ibm.com/pseries/index.htm

Skills Required to Set Up the Lab


The following specialized skills are required to set up the lab:
- Installation of AIX using Installation CDs
- Installation of additional AIX filesets using smit
- Installation of AIX user using smit and setting passwords
- Installation of the lab files using the tar command
- Configuration of the IP addresses and host names
- Configuration of IBM 3151 ASCII terminals

© Copyright IBM Corp. 2000, 2004 Requirements 3


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

4 AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

LSG Set Up Instructions

Configuration Information
The following describes the configurations of the student and/or lab set systems.
AIX 5L V5.3 is installed on hdisk0.
Do not install any additional optional software during the initial BOS installation or during
the post install configuration assistant phase.
Leave the hdisk1 volume empty.
Host name for the first system is sys1 with IP address 10.0.0.1 and subnet mask
255.255.255.0.
Hostname for system x is sysx with IP address 10.0.0.x and subnet mask 255.255.255.0.
Update the file /etc/hosts on each machine that every host of your network has there an
entry.
Note that an alternate IP address and host name scheme may be used, especially if the
site wishes to provide internet access from the lab machines.
Password for root is set to ibmaix.
The CDE should be set as default user interface.

Hardware Set Up Instructions


Use the following information in addition to the normal hardware installation procedures to
set up the lab hardware.
__ 1. Configure the IBM 3151 ASCII terminal
ASCII terminals are no longer part of the world-wide standard classroom system
setup. However, if they are still in use in your classroom, before configuration, they
will first need to be cabled to the S1 serial port off the back of the system. If you are
using standard IBM serial cables, you will need a null modem, also called an
interposer.
__ 2. To configure an IBM3151 terminal under AIX do the following:
# smit tty
Add a TTY ->
Select tty rs232 Asynchronous Terminal ->
Select sa0 Available 01-S1 Standard I/O Serial Port ->
Fill in: Port number 0, Enable LOGIN enable, Terminal type ibm3151 ->
Press <Enter>

© Copyright IBM Corp. 2000, 2004 Set Up Instructions 5


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

__ 3. On the ASCII terminal keyboard, press and hold the <Ctrl> key and press the
<Setup> key. This puts you in setup mode. The cursor keys move you from one field
to another. The space bar shows you the options for whatever field is highlighted.
The <Send> key takes you to the next screen.
This is what the settings should look like on the General menu:
Machine Mode = IBM 3151
Screen = NORMAL
Row and Column = 24x80
Scroll = Jump
Auto LF (line feed) = OFF
CRT Saver = ON
Line Wrap = ON Forcing
Insert = OFF
Tab = Field
Press the <Send> key.
You should now be at the Communication menu. Check to be sure the line speed
(baud rate), word length, parity, and stop bit match the system default selections of
9600, 8, NO, and 1. The operating mode should be ECHO.
This is what the settings should look like on the Communication menu:
Operating Mode = ECHO
Line Speed (bos) = 9600
Word Length (bits) = 8
Parity = NO
Stop bits = 1
Turnaround Characters = CR
Line Control = IPRTS or PRTS
Break Signal (ms) = 500 Send
Null Suppress = ON
If you have to make any changes, use the cursor key to take you to the appropriate
field, then use the space bar to cycle through the selections. Once you have made
all the changes, press the <Send> key.
Check the values for the Keyboard menu. Entries should be RETURN, FIELD, CR,
PAGE, SPACE.
This is what the settings should look like on the Keyboard menu:
Enter = RETURN
Return = NEW LINE
New Line = CR
Send = PAGE
Insert Character = SPACE

6 AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

LSG Press the <Send> key again.


You should now be on the Function menu that will allow you to save your changes.
Press the right arrow key once to Save.
Press the space bar to save the changes. The word Completed should be flashing.
Press and hold the <Ctrl> key and press the <Setup> key to exit setup mode.

Software Set Up Instructions


Use the following information in addition to the normal software installation procedures to
set up the lab software.
__ 1. Place CD #1 from the AIX 5L V5.3 distribution in the CD drive and boot the system.
__ 2. When the firmware banner information is displayed on the screen, press the <F5>
key (on the LFT) or the <5> key (on the serial console) to initiate a service mode boot
from CD media.
__ 3. When prompted, select the console to use for system installation.
__ 4. When prompted, select the language to use for installation.
__ 5. At the main installation menu, select the option to Change/Show Installation
Settings.
__ 6. Set the method of installation to be New and Complete Overwrite.
__ 7. Set the installation disk to hdisk0.
__ 8. If installing AIX on 64-bit hardware, select the More Options menu, and then set
Enable 64-bit Kernel to yes.
__ 9. Proceed with the installation.
__ 10. When prompted, replace CD #1 with CD #2 from the AIX 5L V5.3 distribution.
__ 11. Upon completion of the installation, the system will reboot and then start the
Configuration Assistant (LFT) or Installation Assistant (serial console).
__ 12. Accept the new license agreements.
__ 13. Set the system date and time.
__ 14. Set the system root password to ibmaix.
__ 15. Configure the TCP/IP subsystem using appropriate site specific settings.Change the
hostname to an appropriate name -- sys1, sys2, etc. and use an appropriate IP
address to go with the hostname. The subnet mask should normally be
255.255.255.0. Let it start the daemons now.
__ 16. Exit the Configuration/Installation Assistant by choosing the option that will not
invoke the tool again when the operating system is restarted.

© Copyright IBM Corp. 2000, 2004 Set Up Instructions 7


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

__ 17. Create at least 2 users (team01 and team02) on each system using the command
smit mkuser.
__ 18. Set the teamxx passwords to the same as their user name using passwd teamxx
(where xx is the number, e.g. passwd team01 for the team01 account.
__ 19. Login as the root user.
__ 20. Increase the size of the /home file system to 1.5 GB using the command:
# chfs -a size=1.5G
__ 21. Apply any required patches.
__ 22. Start SMIT with the command:
# smitty install
__ 23. Install the following filesets from the AIX product media:
# smitty install -> Install and Update Software -> Install Software):
- bos.acct (all_filesets)
- bos.adt (all_filesets)
- bos.net (all_filesets)
- bos.perf (all_filesets)
- bos.sysmgt (all_filesets)
- bos.rte (all_filesets)
- perfagent.tools (all_filesets)
__ 24. Place the C for AIX product CD into the CD drive.
__ 25. Start SMIT with the command:
# smitty install
__ 26. Install the following filesets from the product media:
vac.C (all_filesets)
__ 27. Edit the configuration file /etc/environment and add /usr/vac/bin to the end of the
definition of the PATH environment variable.
__ 28. If using C for AIX V6.0, add the following (all on one line) to the file
/var/ifor/nodelock:
5da54a553b4c.02.09.15.31.05.00.00.00 5dpnd5zwsurnqabu3wa3iaa "" "6.0.n" "" ""
__ 29. Place the AU18 class lab file (au185lab.tar) into the /home directory.
__ 30. Extract the files from theAU18 course lab tar image with the following command.
(They should go into the directory /home/workshop):
# tar -xvf /home/au185lab.tar
__ 31. Increase the size of the /usr file system so it has at least 150 MB of free space.
__ 32. Reboot the system with:
# shutdown -Fr

8 AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1
Lab Set Up Guide

LSG Verification Procedures


Use the following information to verify the installation and configurations of the lab and/or
instructor systems.
__ 1. Make sure you can log on as root, password ibmaix.
__ 2. Log on with a team ID, password the same as the ID.
__ 3. Ensure TCP/IP is running by using the ps -ef command to check for the inetd
daemon. Then, try to do the command ping sysX (where X is a system number) to
see if the machines can communicate.
__ 4. Check to see that /home/workshop is populated with the course files from the
AU18 tar file.
__ 5. Check for the performance tools by issuing the command xmperf to start the
Performance Toolbox Mini Monitor from a graphics terminal session. To exit, enter
<Ctrl-D>. Log off.

© Copyright IBM Corp. 2000, 2004 Set Up Instructions 9


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Lab Set Up Guide

10 AIX Performance Management © Copyright IBM Corp. 2000, 2004


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V3.1

backpg
Back page
®

You might also like