Power System Implement at On
Power System Implement at On
Power System Implement at On
cover
Front cover
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 DB2 Express POWER POWER4 POWER6 Power Systems PowerVM System p WebSphere AIX 5L Electronic Service Agent HACMP POWER2 POWER5 Power Architecture PowerHA pSeries System Storage Workload Partitions Manager AS/400 Everyplace Notes POWER3 POWER5+ POWER Hypervisor PowerPC RS/6000 Tivoli
PS/2 is a trademark or registered trademark of Lenovo in the United States, other countries, or both. PostScript is either a registered trademark or a trademark of Adobe Systems Incorporated in the United States, and/or other countries. Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft and Windows are trademarks 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. Other company, product, or service names may be trademarks or service marks of others.
Copyright International Business Machines Corporation 2009. 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.
iii
AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
iv
AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
Lab Setup Guide
TOC
Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Contents
vi
AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
Lab Setup 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 DB2 Express POWER POWER4 POWER6 Power Systems PowerVM System p WebSphere AIX 5L Electronic Service Agent HACMP POWER2 POWER5 Power Architecture PowerHA pSeries System Storage Workload Partitions Manager AS/400 Everyplace Notes POWER3 POWER5+ POWER Hypervisor PowerPC RS/6000 Tivoli
PS/2 is a trademark or registered trademark of Lenovo in the United States, other countries, or both. PostScript is either a registered trademark or a trademark of Adobe Systems Incorporated in the United States, and/or other countries. Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft and Windows are trademarks 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. Other company, product, or service names may be trademarks or service marks of others.
Trademarks
vii
viii
AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
Lab Setup Guide
LSG
Requirements
The following information list the hardware, software, and other materials needed to set up course AN12.
Overview
Each students requires his/her own logical partition. Since some exercises require LPAR to be used in pairs, while other exercises use the LPARs in groups of three, the total number of LPARs needed in a given Power server is not obvious. Below is a table for guidance: Number of students............................Number of LPARs 1 to 3 students ........................................... 4 LPARs 4 to 6 students ........................................... 6 LPARs 7 to 9 students ..........................................10 LPARs 10 to 12 students ..................................... 12 LPARs The LPAR can be housed in a Power5 or Power6 server. The above LPAR groupings can not be spread between servers. If a server can only support 6 LPARs, then if will only support the 4-6 student range and another server is needed for the additional students. Minimum requirements per LPAR: 1. 0.5 processing units and 1GB memory. 2. AIX level 6.1 TL2 SP3 3. 2 virtual disks (hdisk0 and 1). Size 6GB (place these under vscsi0) 4. 6 virtual disks (hdisk2 through to 7). Size 2GB (place these under vscsi1) 5. 3 virtual Ethernet adapters each in a different VLAN (PVID). Important ent0 must be used for the class network
To maximize H/W resource each LPAR should be virtual. For example, the network and storage is provided by a VIOS server. Note In theory, it does not matter whether the LPAR has real or virtual devices.
Requirements
The VIOS level should be 2.1 (Versions 1.4 / 1.5 are also perfectly acceptable). Students will require access to a HMC running the latest version (7). Ideally, 12 additional HMC admin accounts should be created so students dont all login as the hscroot user (this aids performance). There must be a NIM server defined for the class which will have defined: a bosinst.data file, an lpp_source (for AIX 6.1 TL02 SP03) a SPOT defined (for AIX 6.1 TL02 SP03) client machine objects with object names which match the hostnames of the hostnames of the systems on the student LPARs. Important On the NIM server before the class starts, each of the LPARs must be set for a nim BOS operation using NIM resources: SPOT, bosinst.data and LPP Source. Example: nim -o allocate -a group=ResGRP $MAC_GRP nim -o bos_inst -a source=rte -a installp_flags=-agX -a boot_client=no $MAC_GRP Where: ResGRP = the spot, bosinst.data and LPP_source, bound as a group $MAC_GRP = the group of LPARs assigned to the class Any default bosinst.data file will be OK, but the following must be set: INSTALL_METHOD = overwrite PROMPT = yes target_disk_data: PVID = PHYSICAL_LOCATION = CONNECTION = LOCATION = SIZE_MB = HDISKNAME = hdisk1 During the class, the instructor does not expect to configure the NIM server. But the NIM server must be accessible to both the instructor and the students. The students will display the status of their machine objects. The instructor needs to be able to reset and reconfigure
2 AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
Lab Setup Guide
LSG
the machine object if the install hangs or fails. The students will rebuild their systems by executing a network boot to the NIM server over the network. Details of the NIM server IP address, subnet mask and default gateway, and access userid and password must be supplied to the instructor prior to class start.
Example layout assuming a p550 system with 8 Procs and 16Gb (typical CLP configuration)
Note Each layout will be different depending on the system type and resources available in the box.
Mem VIOS LPAR LPAR LPAR LPAR LPAR LPAR LPAR LPAR LPAR LPAR LPAR LPAR LPAR 1 1 2 3 4 5 6 7 8 9 10 11 12 Instr 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024
Proc 1 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5
Code Level 2.1 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3 6.1 TL2 SP3
PVIDs
6GB 6GB 6GB 6GB 6GB 6GB 6GB 6GB 6GB 6GB 6GB 6GB 6GB
2GB 2GB 2GB 2GB 2GB 2GB 2GB 2GB 2GB 2GB 2GB 2GB 2GB
3 3 3 3 3 3 3 3 3 3 3 3 3
ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102) ent0 (100) ent1 (101) ent2 (102)
Access requirements
The labs have been designed so only an interactive command prompt interface to the AIX is required. Graphical access such as X, CDE are optional.
Requirements
Hardware requirements
Power5 or Power6 server - One physical NIC - Storage requirements (assuming 12 students on a single server): Per LPAR: 24GB space. Total LPAR space: (24 x 13 LPARs) = 312GB. VIOS rootvg disk (approx. 73GB) Total storage required (approx.) 400GB. NIM server - Connected to class network. Enough space to store: SPOT + bosinst.data + LPP Source. (Max. 1Gb) Minimum 1 HMC Student Workstation - Any PC running Windows or Linux
Software requirements
LPAR / NIM server - AIX 6.1 TL02 SP03 HMC - Latest version.
AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
Lab Setup Guide
LSG
Setup instructions
Hardware setup instructions
Configure the layout of the server as indicated in the overview section. Each student must have access to their own LPAR (no sharing!). If you're not using an 8 way p6 server with 16GB of memory then some calculation will need to be performed using the metrics supplied above. Ensure the LPAR profile names are set to = default Install the mksysb (supplied) into each LPAR
Configuration information
The following describes the configurations of the student and/or lab set systems. __ 1. Ensure root passwd is set to ibmaix. This will be done in the supplied mksysb. __ 1. Make sure rootvg resides on hdisk0. Leave the hdisk1 volume empty. __ 2. Configure the en0 network interface on each LPAR according to the addressing and host naming scheme of the facility that is provisioning the course lab environment. __ 3. Ensure each host can communicate and that the /etc/hosts file or DNS contains all names + IP addresses needed for the class. The /etc/host file will need to be populated in the mksysb image supplied. __ 4. Configure a NIM server to support the labs: __ a. See notes in the overview section.
Setup instructions
4. Set EDITOR=/usr/bin/vi in the /etc/environment file. 5. Ensure /tmp has 100MB of free space. 6. Follow steps in the Configuration Information section above.
Verification procedures
Check that each LPAR is running and: 1. Run oslevel and check that 6.1.0.0-02-03 is returned. 2. Run ls -R /usr/AN12 to verify that the lab files are installed. 3. Run lsuser user01 to verify the user is defined 4. Run lslpp -L | grep XYZ (replace XYZ with the package name) to ensure the additional packages have been installed. XYZ packages to check: - nfs.server - X11 - ssh - ssl - firefox 5. Run host <name of a host> on each the hostnames of the other LPARs. 6. Run df -M to verify that /tmp has 100MB of free space 7. Run bootinfo -s hdisk# on each hdisk, to be sure that the two largest disks are hdisk0 and hdisk1. 8. On the HMC, examine the profiles of the thre vritual ethernet adapters on each LPAR to verify that they are each on a different VLAN. In other words, that all the ent0 adapters
6 AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
Lab Setup Guide
LSG
are on one common VLAN, that all the ent1 adapters are on a second common VLAN, and that all of the ent2 adapters are on a third common VLAN. 9. On the NIM server run lsnim -l on each machine partition to be sure they are configured for BOS installation.
Setup instructions
AIX installation
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
V5.3
backpg
Back page