Professional Documents
Culture Documents
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 5L™ AIX 6™ AIX®
AS/400® Current® DB2®
DS8000® HACMP™ Initiate®
Initiate® MWAVE® Power Systems™
Power® POWER® PowerVM™
POWER6® POWER7® pSeries®
Redbooks® Redbooks® RS/6000®
System p® Tivoli® Tivoli®
Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the
United States and other countries.
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.
VMware and the VMware "boxes" logo and design, Virtual SMP and VMotion are registered
trademarks or trademarks (the "Marks") of VMware, Inc. in the United States and/or other
jurisdictions.
Other product and service names might be trademarks of IBM or other companies.
TOC Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
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 5L™ AIX 6™ AIX®
AS/400® Current® DB2®
DS8000® HACMP™ Initiate®
Initiate® MWAVE® Power Systems™
Power® POWER® PowerVM™
POWER6® POWER7® pSeries®
Redbooks® Redbooks® RS/6000®
System p® Tivoli® Tivoli®
Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the
United States and other countries.
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.
VMware and the VMware "boxes" logo and design, Virtual SMP and VMotion are registered
trademarks or trademarks (the "Marks") of VMware, Inc. in the United States and/or other
jurisdictions.
Other product and service names might be trademarks of IBM or other companies.
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 AN15.
The “Requirements” section of this document may also be used to determine the specific
hardware and software needed to conduct a class.
LSG Requirements
Last updated 8:30 pm August 11, 2011
The following tables list the hardware, software, and other materials needed to set up a lab
to conduct a class of course AN15 ERC 2.0.
Special HMC user accounts should be created (enough for the enrollment) with enough
authority to view all aspects and to additionally shutdown and activate the LPARs assigned
to this class. It is suggested that the names be something like: hscroot_01, hscroot_02, and
so on. It is also suggested that the password should be the same as the username.
Table 3: Storage LUNs required for the class regardless of the number of students
LUN type
Shared
LUN size (shared/ If not shared, zoned to: Function
between:
not shared)
12 GB not shared N/A vios1(physical FC) rootvg of vios1
LSG
Table 5: Storage LUNs for one team lab set
LUN type
LUN size (shared/ Shared between: zoned to: Function
not shared)
vscsi0 disk for
15 GB not shared N/A vios1(physical FC) lpar1’s rootvg (see
note)
vscsi1 disk for
15 GB not shared N/A vios1(physical FC)
lpar1’s hdisk1
vscsi2 disk for
2 GB not shared N/A vios1(physical FC)
lpar1’s hdisk2
disk for lpar1’s
2 GB not shared N/A lpar1’s virtual FC
hdisk4
vscsi2 disk for
2 GB not shared N/A vios1(physical FC)
lpar1’s hdisk3
vscsi0 disk for
8 GB not shared N/A vios1(physical FC) lpar2’s rootvg (see
note)
vscsi1 disk for
8 GB not shared N/A vios1(physical FC)
lpar2’s hdisk1
vscsi2 disk for
2 GB not shared N/A vios1(physical FC)
lpar2’s hdisk2
vscsi2 disk for
2 GB not shared N/A vios1(physical FC)
lpar2’s hdisk3
disk for lpar2’s
2 GB not shared N/A lpar2’s virtual FC
hdisk4
vscsi0 disk for
8 GB not shared N/A vios1(physical FC) srv3’s rootvg (see
note)
Note: The vscsi disk backed by the LUN intended for a client LPAR’s rootvg must be
discovered as hdisk0. The virtual FC accessed disk must be the last disk discovered by the
client LPAR (hdisk5).
To expedite the zoning of LUNs to the defined virtual FC adapters it is suggested that a
standard WWPN format be used. The create client virtual FCs should be updated to follow
a standard WWPN format. Zoning of the LUNs for the virtual FC adapters should follow the
same WWPN format:
The structure of the 16 character WWPN will be:
1 “C”
2-5 System# and class number (such as 3041 for sys3041, 3042 for sys3042.....etc.)
6-11 Zeroes
12-14 Bus ID of the physical Fibre channel adapter which is mapped in the VIOS
15,16 Team-based number (01, 02, 03, etc.)
It is assumed that the 4 character field in positions 2 through 5 is a combination of the 3
digit managed system identifier and a single digit class number.
For example, if we have an AN42 and an AN14 running on the same managed system
sys324, we would have the following LPAR names:
sys3241_lpar1 sys3241_lpar2 .... etc for the first course provisioned
sys3242_lpar1 sys3242_lpar2 ...etc for the second course provisioned
The pre-class NIM configuration of extra NIM server involves (X mark next to needed
configuration):
____ A. creation of populated lppsource directories.
List special names and AIX levels (Only if the names or levels need to be
different than standard provisioning setup):
___________________________________________________
___________________________________________________
____B. creation of directories with only fix pack files (list names and fix packs)
___________________________________________________
___________________________________________________
____C. NIM server filesets installed.
____D. NIM master configured.
____E. lpp_source objects defined (list names and AIX levels)
List special names and AIX levels (Only if the names or levels need to be
different than standard provisioning setup):
___________________________________________________
___________________________________________________
____F. spot defined
List special names and AIX levels (Only if the names or levels need to be
different than standard provisioning setup):
___________________________________________________
___________________________________________________
____G. machines defined.
Assumed one object per class LPAR, using the standard class IP addresses and
hostnames.
Describe any additional machines with IP addresses and names (for additional
interfaces, WPARs, etc.)
____________________________________________________
____________________________________________________
____H. operations on machines (describe any details for the operations)
___ bosinst
___ maint_boot
___ diag
_____________________________________________________
_____________________________________________________
____I. Other special NIM objects to create or configure (for example: bosinst_data or
script objects). Provide details:
_____________________________________________________
_____________________________________________________
Table 11 lists the tools and software needed at the student workstation (usually a remote
facility such as citrix). When preparing for a class, be sure you have the correct number of
licensed copies of any non-IBM software.
Table 11: Software for one student lab set
Software product Version Licensing requirement
Firefox latest
PuTTY recent
Table 12 lists the software needed to prepare the host or server machine. Those software
are required to be in the mksysb image(s).
Table 12: Software for host machine
Licensing
Software product Version lpars
requirement
AIX AIX 7.1 TL0 SP01 all “client” LPARs
AIX AIX 7.1 TL0 SP02 all “server” LPARs
AIX bos.alt_disk_install AIX 7.1 TL0 SP01 all “client” LPARs
compatible with AIX
ssl package all
oslevel
compatible with AIX
ssh package all
oslevel
vnc server all “client” LPARs
Note: The server lpar only holds the SP2 bff file for serving to the client over NFS; it is not
itself at SP2, nor will it serve out SP2 when acting as a NIM server.
.
Table 14: Tools and labfiles needed for the class
Location of lab
Tool lpars Comments
files in lpars
Tools to be used
during lab exercises.
all “client”
an152labfiles.tar.Z /home/workshop These tools may be
LPARs
part of the mksysb
image.
lppsource for
7100-00-01 to be
gencopy of AIX 7100-00-01 (AIX all “server” /lpp_source7100-
used by student in the
7.1 base plus SP1) LPARs 00-01
lab exercises which
use NIM.
source for 7100-00-02
gencopy of AIX 7100-00-02 (only all “server” /export/AIX_7100 to be used by student
the SP contents) LPARs -00-02 in the lab exercises
(access via NFS).
Table 18: LPARs virtual Storage Adapters configuration for one class lab set
Logical Client LPAR name/ VIO server name / vFC Client VIO / FC
Partition Virtual SCSI slot # Virtual SCSI slot # Server LPAR / adapter
name slot vFC slot
lpar1/28 vios1/28 N/A N/A N/A
lpar2/29 vios1/29 N/A N/A N/A
Note: The virtual slot numbers may be whatever is convenient for the provisioning
organization. The ones shown here are just filled in for convenience. It is suggested that in
a 4 labset class, the lab sets use the following ranges for all virtual storage adapters (both
VSCSI and FC):
- labset1: 20 through 29
- labset2: 30 through 39
- labset3: 40 through 49
- labset4: 50 through 59
All virtual FC adapters will be mapped to fcs0.
If the provisioning organization is not able to setup NPIV virtual FCs, inform the instructor
so that he may adjust the lab exercise.
The matching VIOS virtual server adapter will match the virtual slot number used by the
client.
Table 19 lists the virtual Network Adapters configuration for one class lab set LPARs on the
managed system(s). Duplicate the table if more than one managed system.
:Table 19: LPARs virtual Network Adapters configuration for a 4 labset class
Logical Partition Virtual VLAN Access IEEE HEA HEA HEA
name Ethernet ID External 802.1Q Physical Port logical
slot network Port ID Group Port ID
vios1 11 1 Yes No N/A N/A N/A
All other lpars 11 1 No No N/A N/A N/A
lpar1 N/A N/A N/A No 0 1 1
lpar2 N/A N/A N/A No 0 1 2
lpar3 N/A N/A N/A No 0 1 3
lpar4 N/A N/A N/A No 0 1 4
lpar5 N/A N/A N/A No 1 1 5
lpar6 N/A N/A N/A No 1 1 6
lpar7 N/A N/A N/A No 1 1 7
lpar8 N/A N/A N/A No 1 1 8
Note: The CLP team may change the VLAN IDs to facilitate courses integration, but the
VLAN shared with the vios1 must be en0 on the client LPARs. The VLAN shared with the
vios1 must bridge to the default network that supports remote access.
Note: The Port group MCS value should be set to value to allows at least16 total logical
ports (MCS=2 would work), of which 8 will be used by this class, using two of the four IVE
physical ports. Another class that uses IVE can co-exist on the same server by being
allocated logical ports for the remaining two physical IVE ports.
LSG __ 6. Define the student LPARs per the above requirements. When creating student LPAR
profiles, use a name of “default”.
__ 7. Replace the generated WWPNs for the client LPARs with the standard WWPNs
according to the previous requirements. LUN zoning must match the WWPNs used
by the virtual FC adapters.
copy the labfiles tar ball to /tmp (or access via NFS mount from a server)
Extract the tar ball contents (to /home/).
For example:
$ cd /home
$ zcat /tmp/an152labfiles.tar.Z | tar -xvf - | more
$ ls
__ h. Backup the existing inittab, remove the platform_agent entry, and kill the
slp_srvreg process (if it exists):
# cp /etc/inittab /etc/inittab.bak
# rmitab platform_agent
# ps -el | grep slp
# kill <pid of slp_srvreg>
Verification procedures
Use the following information to verify the installation and configurations of the lab and/or
instructor systems. Login to each student LPAR and:
For the server LPARs:
__ 1. Log in as root with a password of ibmaix.
__ 2. Run setclock.
You should get a date and time displayed. If setclock hangs then the IP address
defined in /etc/hosts is not responding (it may be in invalid timeserver address). If
setclock gives an error that the nameserver is not defined, then the nameserver
entry is missing in /etc/hosts
__ 3. Run oslevel -s and check that the level is 7100-00-01.
__ 4. Validate that the /export/AIX_7100-00-02 directory exists and has contents.
__ 5. Validate that the /lpp_source7100-00-01 directory has contents.
__ 6. Execute exportfs and check that there are no NFS exported filesystems.
On the client LPARs:
__ 1. Ensure that the lab exercises are installed:
# ls -l /home/workshop
__ 2. Run setclock.
You should get a date and time displayed. If setclock hangs then the IP address
defined in /etc/hosts is not responding (it may be in invalid timeserver address). If
setclock gives an error that the nameserver is not defined, then the nameserver
entry is missing in /etc/hosts
__ 3. Run oslevel -s and check that the level is 7100-00-01.
__ 4. Check to be sure the man pages are working (for example, by typing # man ls).
__ 5. Execute lspv to validate that there are four virtual disks with hdisk0 associated with
the rootvg.
Instructor information
Provide the instructor the following information:
__ 1. IP addresses and hostnames (HMC, AIX LPARs, VIO servers, etc.) and the
associated login information (user name and password).
__ 2. NIM server access (IP address) and login information (user name and password).
Image information
Platform: (Select all that apply:)
Intel [ ]
AIX [ ]
AS/400 [ ]
MVS/Host [ ]
Network access: (Specify one of: Internet, Intranet, isolated)
Network IP configuration: (Specify one of: DHCP, Static)
Network bandwidth: (Specify one of: 384kbps, 512kbps, 768kbps, 1mbps,
T1 - 1.5mbps)
Image login information: User ID:
Password:
VMware-specific information
If the image will be based on VMware, provide the following information.
• Required virtual network configuration (specify one of: Bridged, NAT (Network Address
Translation), Host-only):
Verification procedures
Provide a detailed set of steps for the classroom provider in order to verify that each
student and instructor workstation is ready for a class. Describe instructions for starting the
image, testing network connectivity, and a minimal set of steps to verify the functionality on
the image.
backpg
Back page