Power System Implement at On
-
Upload
anildixit29 -
Category
Documents
-
view
221 -
download
0
Transcript of Power System Implement at On
-
8/2/2019 Power System Implement at On
1/18
Power Systems for AIX II: AIXImplementation andAdministration(Course code AN12)
Lab Setup Guide
ERC 1.1
5.3
over
Front cover
-
8/2/2019 Power System Implement at On
2/18
Lab Setup Guide
October 2009 edition
The information contained in this document has not been submitted to any formal IBM test and is distributed on an as is basis withoutany warranty either express or implied. The use of this information or the implementation of any of these techniques is a customerresponsibility and depends on the customers ability to evaluate and integrate them into the customers operational environment. Whileeach item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results willresult elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk.
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 restrictionsset forth in GSA ADP Schedule Contract with IBM Corp.
Trademarks
The reader should recognize that the following terms, which appear in the content of thistraining 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:
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, orboth.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, othercountries, or both.
UNIX is a registered trademark of The Open Group in the United States and othercountries.
Other company, product, or service names may be trademarks or service marks of others.
AIX AIX 5L AS/400
DB2 Electronic Service Agent Everyplace
Express HACMP Notes
POWER POWER2 POWER3
POWER4 POWER5 POWER5+
POWER6 Power Architecture POWER Hypervisor
Power Systems PowerHA PowerPC
PowerVM pSeries RS/6000
System p System Storage Tivoli WebSphere Workload Partitions
Manager
-
8/2/2019 Power System Implement at On
3/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
iii AIX installation Copyright IBM Corp. 2009
-
8/2/2019 Power System Implement at On
4/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
iv AIX installation Copyright IBM Corp. 2009
-
8/2/2019 Power System Implement at On
5/18
Lab Setup Guide
5.3
OC
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Copyright IBM Corp. 2009 Contents v
Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Setup instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
-
8/2/2019 Power System Implement at On
6/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
vi AIX installation Copyright IBM Corp. 2009
-
8/2/2019 Power System Implement at On
7/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Copyright IBM Corp. 2009 Trademarks vii
5.3
MK 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 UnitedStates, or other countries, or both:
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 Incorporatedin 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, orboth.
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.
AIX AIX 5L AS/400
DB2 Electronic Service Agent Everyplace
Express HACMP Notes
POWER POWER2 POWER3
POWER4 POWER5 POWER5+
POWER6 Power Architecture POWER Hypervisor
Power Systems PowerHA PowerPC
PowerVM pSeries RS/6000 System p System Storage Tivoli
WebSphere Workload PartitionsManager
-
8/2/2019 Power System Implement at On
8/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
viii AIX installation Copyright IBM Corp. 2009
-
8/2/2019 Power System Implement at On
9/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Copyright IBM Corp. 2009 Requirements 1
5.3
SG
Requirements
The following information list the hardware, software, and other materials needed to set upcourse 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 numberof 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 cannot 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.
-
8/2/2019 Power System Implement at On
10/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
2 AIX installation Copyright IBM Corp. 2009
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 (thisaids 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 classAny 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 NIMserver 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
-
8/2/2019 Power System Implement at On
11/18
-
8/2/2019 Power System Implement at On
12/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
4 AIX installation Copyright IBM Corp. 2009
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.
Special materials requirements
File: AN12file.tar.
If you are using a supplied AN12 course mksysb image, the tar package should already be
installed. Otherwise, these lab files need to extracted and installed.
Skills required to set up the labThe following specialized skills are required to set up the lab:
Power, AIX, VIOS and NIM installation skills.
-
8/2/2019 Power System Implement at On
13/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Copyright IBM Corp. 2009 Setup instructions 5
5.3
SG 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 p6server 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 andhost 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.
Software (LPAR) setup instructions
Using the supplied mksysb:
1. If using a class mksysb image, update the either or both of the /etc/hosts file and
/etc/resolv.conf file to match the IP addresses and host names actually used in theenvironment for the class.
Building the LPAR from scratch:
1. Install AIX (from CD/DVD) @ version TL02 SP3 + Graphics Bundle + Server Bundle +Mozilla Firefox + SSH (version 4.7) + SSL (version 0.9.8).
2. Extract the AN12 tar file as supplied. Check to make sure the file /usr/AN12/suidAN12
has the SUID flag set. If not type: # chmod 4755 /usr/AN12/suidAN12
3. Create a user, named user01 password user01.
-
8/2/2019 Power System Implement at On
14/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
6 AIX installation Copyright IBM Corp. 2009
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.
VIOS setup instructions
Install VIOS, ideally version 2.1
1. Create a virtual storage server adapter for each client LPAR
2. Create a volume group for the LPAR storage
3. In the volume group, create 8 logical volumes for each partition (see overview section)
4. Map the logical volumes as appropriate to each virtual storage adapter
5. Map the storage server adapter to the client adapter in each LPAR
6. Create an SEA bridge so client LPARs have external network connectively using their
ent0 adapters
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 theadditional packages have been installed.
XYZ packages to check:
- nfs.server
- X11
- ssh
- ssl
- firefox5. Run 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 hdisk0and 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
-
8/2/2019 Power System Implement at On
15/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Copyright IBM Corp. 2009 Setup instructions 7
5.3
SG 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.
-
8/2/2019 Power System Implement at On
16/18
Lab Setup Guide
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
8 AIX installation Copyright IBM Corp. 2009
-
8/2/2019 Power System Implement at On
17/18
5.3
ackpgBack page
-
8/2/2019 Power System Implement at On
18/18