ibm websphere application server v7 administration on windows€¦ · ibm websphere application...

50
IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for Classroom Delivery ERC 1.0 WebSphere Education V5.3 cover

Upload: others

Post on 09-Oct-2020

24 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

V5.3

cover

Front cover

IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370)

Lab Setup Guide for Classroom Delivery ERC 1.0

WebSphere Education

Page 2: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Trademarks

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:

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.

Adobe 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, Windows, Windows NT and Windows Vista 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® Balance® CICS®Cloudscape® DataPower® DB2®developerWorks® Domino® e-business on demand®Express™ HACMP™ IMS™Informix® iSeries® Lotus®OS/400® Passport Advantage® RACF®Rational® Tivoli® WebSphere®z/OS® zSeries® 400®

April 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 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 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.

Page 3: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

TOC

Contents

Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v

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

Lab setup guide overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Setting up the lab environment using a VMware image . . . . . . . . . . . . . . . . . . . . . . . . 3Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Network requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Skills required to set up the lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Classroom preparation process overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Workstation setup overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Preparing the base workstations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Installing VMware Player . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Installing the VMware images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Image information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12VMware virtual machine setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Image customization and environment settings . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Verification procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Installing the lab environment manually (non-VMware) . . . . . . . . . . . . . . . . . . . . . . . 17Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Network requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Skills required to set up the lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

General lab environment information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Operating system setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Software setup instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Verification procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Appendix A. Introduction to virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Virtual machines in the classroom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Running virtual machines with the VMware Player application . . . . . . . . . . . . . . . . . . . 22Additional requirements with VMware Player . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Appendix B. Setting up a WA370 image (Windows) . . . . . . . . . . . . . . . . . . . . . . . . . . 23The short version: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Configuration information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Install and configure Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Install DB2 WSE 9.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

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

© Copyright IBM Corp. 2009 Contents iii

Page 4: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide

Install Rational Application Developer v7.5 — Assembly and Deploy Tool . . . . . . . . . . . 27Install IBM Support Assistant WorkBench 4.02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Copy installation images and additional files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Install sample files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Add Shortcuts (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Verification procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Appendix C. Setting up a WA570 image (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31The short version: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Configuration information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Install and configure Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Install DB2 WSE 9.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Configure DB2 to automatically start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Install Rational Application Developer v7.5 — Assembly and Deploy Tool . . . . . . . . . . . 35Install IBM Support Assistant WorkBench 4.02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Copy installation images and additional files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Install sample files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Add shortcuts (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Additional notes (reference) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Verification procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

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

iv WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 5: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

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:

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.

Adobe 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, Windows, Windows NT and Windows Vista 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® Balance® CICS®Cloudscape® DataPower® DB2®developerWorks® Domino® e-business on demand®Express™ HACMP™ IMS™Informix® iSeries® Lotus®OS/400® Passport Advantage® RACF®Rational® Tivoli® WebSphere®z/OS® zSeries® 400®

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

© Copyright IBM Corp. 2009 Trademarks v

Page 6: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

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

vi WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 7: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.2

LSGp

Purpose

This Lab Setup Guide provides directions for installing, preparing, and verifying the lab hardware and software in preparation for conducting a class of course WA361, WA461, or WA561.

The Requirements sections of this document may also be used to determine the specific hardware and software needed to conduct a class.

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

© Copyright IBM Corp. 2009 Purpose vii

Page 8: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

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

viii WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 9: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Lab setup guide overview

The purpose of this lab setup guide is to assist the classroom preparer in setting up the WA370 / VA370 classroom lab environment. This guide is separated into two parts:

• “Setting up the lab environment using a VMware image” on page 3

• “Installing the lab environment manually (non-VMware)” on page 17

The classroom preparer only needs to complete one of the above parts to complete the classroom lab environment.

Important

It is strongly recommended that every attempt be made to use the VMware image. If a manual install is required, a WebSphere Education representative should be contacted beforehand to discuss this solution.

Keep in mind that the instructor will not have sufficient time to manually install the software needed for the lab exercises if the classroom is not properly prepared for the first day.

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

© Copyright IBM Corp. 2009 Lab setup guide overview 1

Page 10: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

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

2 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 11: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Setting up the lab environment using a VMware image

For an instructor-led training (ILT) classroom delivery, the classroom preparer is responsible for preparing:

Each student workstation and the instructor workstation will host a VMware virtual machine, preconfigured for the lab exercises.

The following tables list the hardware, software, and network requirements needed to set up a lab to support course WA370 / VA370.

Hardware requirements

This section lists the recommended hardware requirements for a student workstation.

Important

Ensure all nonessential software installed on the machine is set to not start automatically. The above memory requirement assumes the host operating system requires no more than 512 MB memory and all of the remaining memory will be available to the VMware image.

If you are unsure whether your classroom environment meets the specified hardware requirements, contact your WebSphere Education representative immediately. The performance of the lab exercises will be severely affected if the classroom systems do not meet the stated requirements.

Instructor or student workstation

How many workstations

Per how many students

Notes

instructor one n/astudent one N One computer for N students

Tier code

Processor type and speed

Minimum memory

Minimum free hard disk space

Display resolution

66 Intel Pentium 4 3.0 GB 60 GB1024 x 1280 pixels

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 3

Page 12: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Software requirements

This section lists the software needed to prepare the lab environment. When preparing for a class, be sure you have the correct number of licensed copies of any non-IBM software.

Important

Ensure all nonessential software installed on the machine is set to not start automatically. If non-essential software is running, performance problems may be caused because there may be insufficient memory available to support both the host operating system and VMware image.

VMware Player 2.0.5 or later is supported.

Administrator-level privileges are required to install the VMware Player software.

Network requirements

This section specifies the network requirements for the lab environment.

Skills required to set up the lab

The following specialized skills are required by the classroom preparer to set up the lab environment:

• Install Windows applications on Microsoft Windows XP Pro

• Verify user access rights on Microsoft Windows XP Pro

• Configure network adapter drivers on Microsoft Windows XP Pro

Software product Version Licensing requirement

Microsoft Windows XP Pro Service Pack 3 or greaterSite must provide sufficient licenses for private offerings.

VMware Player 2.0.5 or laterSite must satisfy the end-user license agreement.

Network connectivity required desirableInternet connectivity required desirableDHCP required desirableFixed IP addresses required No

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

4 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 13: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Classroom preparation process overview

Workstation setup overview

The following classroom setup instructions are separated into the following sections:

• Section . Preparing the base workstations: This section describes how to configure the physical (host) student machines with the proper operating system, network, and software settings.

• Section . Installing VMware Player: This section describes how to download, install, and configure VMware Player.

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 5

Page 14: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

• Section . Installing the VMware images: Describes how to extract, load, and verify the virtual (guest) student computing environment. The guest system runs as a virtual computer on the physical, host system.

Note

If you need additional information on virtual machines, see “Appendix A. Introduction to virtual machines” on page 21 which provides an introduction to the concept of virtual machines and the VMware player application.

Preparing the base workstations

General lab environment information

The ideal lab environment is to have all student machines connected to the same LAN with TCP/IP correctly configured so that machines can connect to each other using their host names.

If no LAN adapter is available, the Microsoft Loopback Adapter should be configured as the default LAN adapter with a private TCP/IP address so that the TCP/IP stack will be active.

Refer to the Microsoft Knowledge Base for information on how to configure this option.

Operating system setup instructions

Ensure the operating system is set up correctly:

__ 1. Ensure the operating system listed in the software requirements section is installed.

__ 2. Ensure the local user account has sufficient administrator-level privileges to install the VMware Player application.

__ a. From the Windows Start menu, open Control Panel Administrative Tools Computer Management.

__ b. In the Computer Management console, expand Computer Management (Local) System Tools Local Users and Groups Users.

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

6 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 15: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

__ c. Double-click the user account that is currently logged in..

__ d. In the user properties window, switch to the Member Of tab.

__ e. Verify that the currently logged in user account is a member of an administrator-level user group.

__ f. Close the user properties window and the Computer Management console.

Note

Contact the computer network administrator to determine the user access rights available to students on each classroom computer. Most corporations enforce network domain policies to restrict access privileges on each individual desktop computer. You might have to request administrator-level access in order to install additional software on each computer.

Keep in mind that local administrator-level access will be overridden by group security policies on the domain controller.

For more information, review the Windows XP Professional product documentation on user accounts:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/usercpl_overview.mspx

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 7

Page 16: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Installing VMware Player

Perform the following steps to download, install, and configure VMware Player on each student and instructor workstation.

Note

WebSphere Education courses require VMware Player version 2.0.5 or later.

__ 1. Download the VMware Player software from the VMware product page. The steps below are for version 2.0.5.

__ a. Open a new Web browser window.

__ b. Navigate to Web address http://www.vmware.com/products/player

__ c. In the main product page, click the Download link.

__ d. Click the Download link for VMware Player 2.0.5, build 109488.

__ e. Review the end-user license agreement. If you do not accept the license, you cannot proceed with the lab setup.

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

8 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 17: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

__ f. Under Version History, scroll down to VMware Player 2.0.5 and select the Download for Windows link.

__ g. Download a copy of the product to each student workstation and instructor machine.

__ 2. Install the VMware Player application. The steps below are for version 2.0.5. There may be differences for later versions.

__ a. Double-click the VMware-player-2.0.5-109488.exe self-extracting archive.

__ b. When the VMware Player installation wizard appears, click Next.

__ c. Review the end-user license agreement. If you do not accept the license, you cannot proceed with the lab setup.

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 9

Page 18: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

__ d. Leave the destination folder to the default setting of C:\Program Files\VMware\VMware Player and click Next.

__ e. Leave the configure shortcut settings to the default of Desktop, Start Menu Programs folder, and Quick Launch toolbar. Click Next.

__ f. In the configure product page, clear the Enable the Google searchbar check box. Click Next.

__ g. Click Install to proceed with the installation. The installation process might take 5–10 minutes to complete.

__ h. Verify that no error messages appear during product installation.

__ i. Click Finish to close the installer.

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

10 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 19: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Information

VMware Player installs additional network drivers in order to perform network address translation (NAT) and bridged networking. If you do not have administrator-level privileges on the current Microsoft Windows operating system, the installation might fail at this point.

Installing the VMware images

This course uses a preconfigured computer environment, supplied by IBM WebSphere Education. The VMware virtual machine, also known as a virtual machine image, represents a self-contained computer running on your student workstation. This configuration eliminates the need for your classroom preparer to install course-specific software.

Note

For a quick introduction to VMware virtual machines, consult “Appendix A. Introduction to virtual machines” on page 21.

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 11

Page 20: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Image information

The following section provides information about the VMware image, including system requirements and logon information.

To download the VMware image for this course, go to http://catalog.atlanta.ibm.com and search by course code or title.

VMware virtual machine setup instructions

Perform the following steps to extract the VMware virtual machine image onto each student workstation. As part of the course materials, you should have received a set of CD-ROM discs containing the virtual machine image.

__ 1. Extract the virtual machine files onto the student workstation.

__ a. Insert the first virtual machine image CD into the CD-ROM drive.

__ b. Run the setup application on the root of the CD-ROM disc.

__ c. When prompted, accept the default directory for the destination of the image files on the hard drive.

__ d. Start the application to extract the virtual machine image files onto the hard drive.

__ 2. When prompted, remove the current CD-ROM disc and insert the next virtual machine image CD in sequence.

__ 3. At the conclusion of this process, the VMware image should be built on the C:\vmwareimages directory.

Image customization and environment settings

Perform the following steps after loading the VMware virtual machine image onto each workstation.

Image setting Value

Image nameWA370 — WA370_Win_XP-SP3_erc1.0.zip

WA570 — WA570_Linux_SLES10-2_erc1.0.zip

Size of extracted image 12 GB

Operating system installedWA370 — Microsoft Windows XP Pro

WA570 — SUSE SLES 10.2Additional software required NoNetwork access requirements desirable (NAT)Network IP configuration dhcpNetwork bandwidth requirements minimalPrimary account username Administrator

Primary account password web1sphere

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

12 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 21: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

No customization steps required.

Verification procedures

Use the following information to verify the installation and configurations of the student and instructor systems.

__ 1. Start the virtual machine with VMware Player.

__ a. From the Windows Start menu, select Programs VMware VMware Player.

__ b. In the Browse for virtual machine configuration file dialog, navigate to the directory where you had extracted the virtual machine files. (If you selected the default directory, then it will be C:\vmwareimages).

__ c. Select the .vmx file and click Open.

__ d. Wait until the Windows logon screen appears in the virtual machine.

Linux

The remainder of this section is specific to Windows. For the WA570 image, which runs on SUSE Linux, the follow details apply:

• Username: root

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 13

Page 22: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

• Password: web1sphere

From a command window, the command to retreive the IP address on Linux is:

ifconfig -a

__ e. Log on to Windows using the following:

• Username: Administrator

• Password: web1sphere

__ f. Make sure that the Windows desktop appears without any errors.

__ 2. Verify that the virtual machine has been assigned a proper IP address.

__ a. Within the virtual machine, select Run from the Windows Start menu. Make sure that you are performing this task within the virtual machine (guest system) and not the physical machine (host system).

__ b. In the Run dialog, enter: cmd

__ c. Click OK to continue.

__ d. When the Windows command prompt appears, type ipconfig to list all network devices configured within the virtual machine. Press Enter.

__ e. Verify that the Local Area Connection Ethernet adapter has received an IP address.

• For virtual machines using Network address translation, the IP address should be in the private IP range of 192.168.x.x

• For virtual machines using Bridged networking, the IP address should be in the same range as the physical machine (host system).

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

14 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 23: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Verifying the input language and keyboard layout

Perform the following steps to ensure the virtual machine is set to the correct input language and keyboard layout.

__ 1. Click Start Control Panel Regional and Language Options.

__ 2. Select the Languages tab.

__ 3. Click Details.

__ 4. Verify the default input language corresponds to your keyboard layout.

__ 5. If required, change the default input language and keyboard layout to the correct values.

Optimizing the memory allocation setting for the virtual machine

If possible, you should increase the memory allocation of the virtual machine to enhance performance. To do so, perform the following steps:

__ 1. In the VMware Player menu bar, select Player Troubleshoot Change Memory Allocation.

__ 2. In the Memory dialog, adjust the amount of memory allocated to the virtual machine based on the total amount of physical memory available. For example, if you have 3 GB of physical memory, allocating 2 GB to the virtual machine is recommended.

__ 3. Click OK to accept the changes.

__ 4. VMware Player reminds you that the memory allocation settings take effect upon system reset. Click OK to close the dialog.

__ 5. Reset the virtual machine to apply the memory allocation changes. In the VMware Player menu bar, select Player Troubleshoot Reset.

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

© Copyright IBM Corp. 2009 Setting up the lab environment using a VMware image 15

Page 24: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Hint

To access Windows Task Manager from the VMware image, press Ctrl + Alt + Insert.

STOP StopSTOP Stop

This completes the installation and customization of the lab environment using a VMware image.

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

16 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 25: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Installing the lab environment manually (non-VMware)

The following section provides information on how to manually create the lab environment that is needed to conduct the lab exercises in this course.

Perform the manual lab setup under the following conditions only:

• You are not allowed to install the VMware Player.

• You tried to perform the lab setup using the VMware image and you were unable to successfully install the VMware Player software on the student or instructor workstation.

• Verification of the virtual machine image settings, including network connectivity, failed.

Important

Contact your WebSphere Education representative before attempting to perform these steps.

For an instructor-led training (ILT) classroom delivery, the classroom preparer is responsible for preparing:

The following tables list the hardware, software, and network requirements needed to set up a lab to support course WA370 / VA370.

Hardware requirements

This section lists the recommended hardware requirements for a student workstation.

Important

If you are unsure whether your classroom environment meets the specified hardware requirements, contact your WebSphere Education representative immediately. The

Instructor or student workstation

How many workstations

Per how many students

Notes

instructor one n/astudent one N One computer for N students

Tier code

Processor type and speed

Minimum memory

Minimum free hard disk space

Display resolution

66 Intel Pentium 4 3.0 GB 60 GB1024 x 1280 pixels

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

© Copyright IBM Corp. 2009 Installing the lab environment manually (non-VMware) 17

Page 26: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

performance of the lab exercises will be severely affected if the classroom systems do not meet the stated requirements.

Software requirements

Please see the appropriate appendix for details in the section:

WA370 — Appendix B

WA570 — Appendix C

Network requirements

This section specifies the network requirements for the lab environment.

Skills required to set up the lab

The following specialized skills are required by the classroom preparer to set up the lab environment:

• Install Windows applications on Microsoft Windows XP Pro • Verify user access rights on Microsoft Windows XP Pro • Configure network adapter drivers on Microsoft Windows XP Pro

Linux

For the WA570 image, the equivalent skills would be required.

Network connectivity required desirableInternet connectivity required desirableDHCP required desirableFixed IP addresses required No

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

18 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 27: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Setup instructions

General lab environment information

The ideal lab environment is to have all student machines connected to the same LAN with TCP/IP correctly configured so that machines can connect to each other using their host names.

If no LAN adapter is available, the Microsoft Loopback Adapter should be configured as the default LAN adapter with a private TCP/IP address so that the TCP/IP stack will be active.

Refer to the Microsoft Knowledge Base for information on how to configure this option.

Operating system setup instructions

Please see the appropriate appendix for details in the section:

WA370 — Appendix B

WA570 — Appendix C

Software setup instructions

Please see the appropriate appendix for details in the section:

WA370 — Appendix B

WA570 — Appendix C

Verification procedures

Please see the appropriate appendix for details in the section:

WA370 — Appendix B

WA570 — Appendix C

STOP StopSTOP Stop

This completes the manual installation and customization of the lab environment (non-VMware image).

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

© Copyright IBM Corp. 2009 Installing the lab environment manually (non-VMware) 19

Page 28: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

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

20 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 29: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Appendix A. Introduction to virtual machines

The following section provides an introduction to the concept of virtual machines and the VMware Player application.

Preface

Virtual machines provide a separate, isolated computing environment as a computer program on your desktop. The virtual machine itself represents a complete computer system: when you power on the virtual machine, it starts up a virtual computer with its own operating system. In effect, virtual machines allow you to operate two or more computers on a single computer workstation.

Virtual machines depend on a technology known as virtualization. Unlike emulation, where hardware components such as the video card or processor are mimicked by software, virtualization maps the actual hardware resources to the virtual machine environment. This scheme ensures a clean separation between the virtual machine and the real computing system, while retaining most of the speed of the application as if it were running natively on the actual computer system.

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

© Copyright IBM Corp. 2009 Appendix A. Introduction to virtual machines 21

Page 30: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Virtual machines in the classroom

Virtual machines are ideal for quickly preparing a set of computer workstations with identical software configuration. Instead of completing a lengthy set of installation instructions, the classroom preparer only needs to extract a set of data files that define the virtual machine itself.

Running virtual machines with the VMware Player application

There are several companies that provide virtualization software. WebSphere Education (WE) is currently using VMware applications to create, manage, and run virtual machines in their classes.

To reduce the software licensing costs to business partners, WE’s courses use a free-of-charge solution, VMware Player. The only requirement placed upon the classroom preparer is the end-user license agreement for the VMware Player software. If the preparer does not agree to the EULA terms, contact the WebSphere Education engagement manager to discuss alternatives to the VMware application.

Additional requirements with VMware Player

In order to map the existing hardware devices to the virtual machine, the VMware Player application requires direct access to the system resources, such as the network adapter.

Listed below are common issues associated with running a classroom environment with virtual machines and VMware Player software.

• The student workstation needs to support two instances of the operating system, one for the physical (host) machine and one for the virtual machine (guest). Such a configuration places additional burden on memory and processor resources.

• The VMware Player application relies on custom network drivers. The classroom preparer must have administrator-level privileges within the Windows operating system in order to install the software.

• In bridged networking mode, a running copy of the virtual machine (guest) appears as a real computer on the network. Certain classrooms with strict computer network security policies might not allow unauthorized hosts to appear on the network.

If any of these issues arise during the lab setup process, contact the WebSphere Education engagement manager to discuss workarounds.

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

22 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 31: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Appendix B. Setting up a WA370 image (Windows)

The following section provides the steps required to build and configure the virtual machine for WA370. If it becomes necessary to rebuild a virtual machine or to create a real machine, the following steps should be followed:

Setup instructions (Windows)

The short version:

1) Windows XP Professional, SP3

2) Host name was7host01

3) Userid = Administrator, password = web1sphere

4) Install DB2 WSE 9.5

5) Install Rational Application Developer 7.5 (Assembly and Deploy Tool)

6) Install ISA

7) Install labfiles (extract from compressed file)

8) Copy over WebSphere ND 7.0 CD

9) Copy over WebSphere ND 7.0 Supplemental CD #1

10)Run DB setup scripts

Configuration information

The following describes the configurations of the student and lab set systems.

The ideal classroom configuration is to have all student machines connected to the same LAN with TCP/IP correctly configured so that machines can connect to each other using their host names. Internet access is recommended.

If no LAN adapter is available, the Microsoft Loopback Adapter should be configured as the default LAN adapter with a private TCP/IP address so that the TCP/IP stack will be active.

Each student machine should be able to be used stand-alone and must have all of the products required for the labs installed locally.

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

© Copyright IBM Corp. 2009 Appendix B. Setting up a WA370 image (Windows) 23

Page 32: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Software requirements

This section lists the software needed to prepare the student lab environments. When preparing for a class, be sure to have the correct number of licensed copies of any non-IBM software.

Install and configure Windows

__ 1. During Windows XP SP3 installation:

Software product Version Licensing requirement

Microsoft Windows XP Pro Service Pack 3Site must provide sufficient licenses for private offerings.

IBM WebSphere Application Server Network Deployment V7.0

for Windows on x86-32 bit, Multilingual (C1G2GML)

IBM WebSphere Application Server Network Deployment V7.0 Supplements (1 of 2)

for Windows x86-32 bit (Application Client, IBM HTTP Server, Web Server Plug-ins and Update Installer) Multilingual (C1G2HML)

IBM Rational Application Developer Assembly and Deployment Features for WebSphere Software V7.5

for Multiplatform — WebSphere Application Server, V7.0 Multilingual (C1KJ4ML, C1KJ5ML, C1KJ6ML, C1KJ7ML, C1KJ8ML, C1KJ8ML)

DB2 Workgroup Server Edition V9.5

For Win On 32-Bit AMD Czech Danish German English Spanish Finnish French Italian Japanese Korean Norwegian Polish Portuguese Brazilian Russian Swedish Chinese Simplified Chinese Traditional (C1534ML)

DB2 Workgroup Server Edition V9.5 — CPU Option — Activation CD

Multilingual (C153DML)

IBM Support Assistant V4.0.2 Workbench

for Windows on x86-32 bit for WebSphere Application Server, V7.0 Multilingual (C1G27ML)

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

24 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 33: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

• Create a single C: partition and install Windows XP SP3 and all other products on this partition.

• Set the password for Administrator user to web1sphere (lowercase). Set the password to never expire.

• Choose a computer name of was7host01

__ 2. Remove the default DNS suffix for the computer name (host name).

• Right-click the My Computer icon on the desktop. Select Properties Computer Name. Check the Computer name: was7host01, Member of Workgroup (for example, Workgroup). Click Change... and then click More... make sure the Primary DNS suffix is blank.

__ 3. Use the System applet in the Control Panel to set the paging file size to a minimum size of 2 GB and a maximum of 4 GB.

__ 4. Grant the Administrator user ID the privilege of “Log on as a service”.

__ a. From the Windows Start menu, select Setting Control Panel Administrative Tools Local Security Policy.

__ b. Browse to Security Settings Local Policies User Rights Assignment.

__ c. Double-click Log on as a service.

__ d. Click Add User or Group.

__ e. Click Advanced.

__ f. Click Find Now.

__ g. Select Administrator, and click OK on all the open dialog boxes.

__ h. Close the Security Settings window.

__ 5. Set up Internet Explorer to connect through a local area without proxy.

__ a. Run the desktop icon “Connect to the Internet” and select (option 3): “I want to set up my Internet connection manually...”. Click Next.

__ b. Select (option 2): “I connect through a local area network (LAN)”. Click Next.

__ c. All check boxes should be unchecked (you may have to disable “Automatic discovery...). Click Next.

__ d. Select No for Setting up an Internet mail account. Click Next and Finish.

Install DB2 WSE 9.5

For the correct level of JDBC support, the labs require DB2 Workgroup Server Edition Version 9.5.

__ 1. To install DB2 V9.5 interactively, run setup.exe from CD-ROM or the <DB2 Install> directory.

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

© Copyright IBM Corp. 2009 Appendix B. Setting up a WA370 image (Windows) 25

Page 34: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

__ a. Select Install a Product from the menu.

__ b. Click Install New under DB2 Workgroup Server Edition Version 9.5.

__ c. After a few moments the setup wizard appears with Welcome screen. Click Next>.

__ d. Accept the agreement terms. Click Next>.

__ e. Choose a Typical installation to install the default components. Click Next>.

__ f. After some seconds make sure that Install DB2 Workgroup Server Edition on this computer is selected; click Next>.

__ g. Take the default installation folder (C:\Program Files\IBM\SQLLIB\). Click Next>.

__ h. Accept defaults for domain and user name for the DB2 Administration Server and add the correct password: web1sphere

- Domain: leave blank

- User name: db2admin

- Password: web1sphere

- Confirm password: web1sphere

__ i. Select Use the same user name and password for the remaining DB2 services.

__ j. Click Next>.

__ k. Accept the default instance DB2. Click Next>.

__ l. Do not prepare DB2 tools catalog. Click Next>.

__ m. Uncheck the Set up your DB2 server to send notifications. Click Next>.

__ n. Uncheck the Enable operating system security. Click Next>.

__ o. Review the summary; click Finish.

__ p. Click Next on the Setup is complete page.

__ q. Click Finish on the Additional products page.

__ r. Exit First Steps Launchpad.

__ s. Upon startup of DB2, do not attempt to update the product.

__ 2. Apply the DB2 license.

__ a. Extract the DB2 license file.

__ b. From a command window, change directory to the DB2 bin directory. Use the command db2licm -a <path> to apply the license.

__ 3. Remove the DB2 installation bits if you are installing from the local file system.

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

26 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 35: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Install Rational Application Developer v7.5 — Assembly and Deploy Tool

__ 1. Extract the six compressed files to the local file system.

__ 2. To install Rational Application Developer 7.5 interactively, execute the launchpad.exe from directory <Path>\RAD\RADAD_SETUP.

__ a. Select English as the language. Click OK.

__ b. Click Install IBM Rational Application Developer Assembly and Deployment Features for WebSphere Software.

__ c. A new Windows opens, first the install manager 1.2 is installed. Click Next.

__ d. Accept the license terms, click Next.

__ e. Accept the default path (C:\Program Files\IBM\Installation Manager\eclipse) and click Next.

__ f. Accept the list of packages, click Install.

__ g. Restart the Installation Manager to start the actual install of Rad 7.5. Click Restart Installation Manager.

__ h. Click Install to install software packages.

__ i. If a dialog comes up indicating that the is a new IBM installation Manager is available, click yes and follow the instructions to install latest Installation Manager. Click Install again.

__ j. Select ONLY Version 7.5.0 of IBM Rational Application Developer Assembly and Deployment Features. Click Next.

__ k. Accept license agreement. Click Next.

__ l. Accept the shared resource folder default (C:\Program Files\IBM\SDPShared), click Next.

__ m. Accept the install directory default (C:\Program Files\IBM\SDP), click Next.

__ n. Accept the default for extending the existing Eclipse, click Next.

__ o. Accept the Languages default (English), click Next.

__ p. Accept the default for the features, click Next.

__ q. Accept the default for the Help, click Next.

__ r. Review the summary and click Install.

__ s. Click Finish

__ t. Exit Installation Manager

__ u. Exit LaunchPad

__ v. Remove the Rational Application Developer install bits

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

© Copyright IBM Corp. 2009 Appendix B. Setting up a WA370 image (Windows) 27

Page 36: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Install IBM Support Assistant WorkBench 4.02

__ 1. Navigate to the ibmsa-v402-wb-win32 folder and double-click setupwin32.exe.

__ a. Click Next on the ISA Welcome page.

__ b. Accept the license agreement and click Next.

__ c. Accept the default install directory and click Next.

__ d. Click Install on the summary page. Wait 2 minutes for the install to complete successfully and then click Finish.

__ e. You should now see the IBM Support Assistant Workbench shortcut on the desktop.

__ 2. Install ISA add-ons WebSphere Application Server V7.0 and several JVM tools.

__ a. Double-click the IBM Support Assistant shortcut.

__ b. Click Cancel on the Network Connections screen if you see it.

__ c. In the ISA Workbench click Update Find New Product Add-ons.

__ d. On the Product Add-ons to Install page, expand WebSphere.

__ e. Scroll to locate WebSphere Application Server V7.0 and check the box beside it.

__ f. Click Next.

__ g. On the Tools Add-ons to Install page, expand JVM-based Tools and check any of the boxes for the following tools.

• Log Analyzer

NOTE: If the exact versions listed above are not available, then download the latest versions. However, the behavior of the later versions might be different from what is described in the lab exercises.

__ h. Click Next.

__ i. Accept the licence agreement and click Next.

__ j. Click Finish.

__ k. On the Results of Operation screen verify that the product add-on and the tool add-ons installed successfully.

__ l. Click Finish.

__ m. When prompted to restart the, click Yes.

__ n. Close the IBM Support Assistant.

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

28 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 37: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Copy installation images and additional files

__ 1. Extract the contents of WA370_ERC1.0_LABFILES.zip to C:\. This should create software and software_cds directories.

__ 2. Copy the contents of the WebSphere Application Server ND V7 CD to the C:\software_cds\WAS7 directory. If you are using a compressed file of the WebSphere Application Server ND V7 product, unpack the content to the C:\software_cds\WAS7 folder.

__ 3. Copy the contents of the WebSphere Application Server ND V7 Supplemental CD Number 1 to the C:\software_cds\WAS7_supplemental_1 directory. If you are using a compressed file of the WebSphere Application Server ND Supplemental V7 product, unpack the content to the C:\software_cds\WAS7_supplemental_1 folder.

Install sample files

__ 1. Set up the sample database for the trade application by running the following batch files in the C:\software\Databases directory:

• Run batch file CreateDB.bat. This will take several minutes to run.

• Check the CreateDB.log file to verify the databases were created and populated correctly.

Add Shortcuts (optional)

Add bookmarks to the Internet Explorer browser:

• http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/ com.ibm.websphere.nd.doc/info/welcome_nd.html — Online WAS 7 InfoCenter

• http://localhost:9060/ibm/console — Stand-alone administrative console (port 9060)

• http://localhost:9061/ibm/console — Federated administrative console (port 9061)

• http://localhost:9080/Trade/web — TradeApplication (port 9080) • http://localhost:9081/Trade/web — TradeApplication (port 9081) • http://localhost/Trade/web — TradeApplication (via IHS) • http://localhost:9080/snoop — Snoop (port 9080) • http://localhost/snoop — Snoop (via IHS) • http://localhost:9080/BadAppWebProject — BadWebAppProject (port 9080) • http://localhost:9080/Trade/processor/Monitor.html — Messaging Monitor

(port 9080)

Add file system favorites:

• "C:\Program Files\IBM\WebSphere\AppServer\" — “WAS root”

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

© Copyright IBM Corp. 2009 Appendix B. Setting up a WA370 image (Windows) 29

Page 38: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

• "C:\Program Files\IBM\WebSphere\AppServer\profiles\DmgrProfile\" — “Dmgr root”

• "C:\Program Files\IBM\WebSphere\AppServer\profiles\profile1\" — “profile1 root”

• "C:\Program Files\IBM\WebSphere\AppServer\profiles\profile2\" — “profile2 root”

• "C:\Program Files\IBM\HTTPServer\" — “IHS root” • "C:\Program Files\IBM\HTTPServer\Plugins\" — “Plugin root” • "C:\WINDOWS\system32\drivers\etc\" — “Windows etc directory”

Verification procedures

Use the following information to verify the installation and configurations of the lab and instructor systems.

__ 1. Start the DB2 Control Center (Start Programs IBM DB2 General Administration Tools Control Center).

__ 2. Click OK to specify the Advanced view to display the Control Center.

__ 3. Expand All Databases on the left. The TRADE and QUOTE databases should be listed.

__ 4. Expand QUOTE database and click Tables.

• Verify that the QUOTE table was created. On the right you find the list of tables with “Name” “Schema”, and so forth. The Schema of QUOTE should be USERID.

• Still in the Tables view left-click the QUOTE table. Click Open...

• Verify some sample data was loaded (for example, IBM, AOL, and so forth). Close the Open Table window.

__ 5. Expand TRADE and select Tables. Verify that the ACCOUNT, ADDRESS, HOLDINGS, PREFS, PROFILE, SYMBOL and TRANSACTIONHISTORY tables were created. Verify some sample data was loaded.

__ 6. Close DB2 Control Center.

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

30 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 39: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Appendix C. Setting up a WA570 image (Linux)

The following section provides the steps required to build and configure the virtual machine for WA570. If it were necessary to rebuild a virtual machine or to create a real machine, the following steps should be followed:

Setup instructions (Linux)

The short version:

- SUSE SLES 10.2 - Host name was7host01 - Userid = root, password = web1sphere - Install DB2 WSE 9.5 - Configure DB2 to automatically start - Install Rational Application Developer 7.5 (Assembly and Deploy Tool) - Install ISA - Install labfiles (extract from compressed file) - Copy over WebSphere ND 7.0 CD - Copy over WebSphere ND 7.0 Supplemental CD #1 - Run DB setup scripts

Configuration information

The following describes the configurations of the student and lab set systems.

The ideal classroom configuration is to have all student machines connected to the same LAN with TCP/IP correctly configured so that machines can connect to each other using their host names. Internet access is recommended.

If no LAN adapter is available, the loopback adapter should be configured as the default LAN adapter with a private TCP/IP address so that the TCP/IP stack will be active.

Each student machine should be able to be used stand-alone and must have all of the products required for the labs installed locally.

Software requirements

This section lists the software needed to prepare the student lab environments. When preparing for a class, be sure to have the correct number of licensed copies of any non-IBM software.

Software product Version Licensing requirementSUSE SLES 10.2

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

© Copyright IBM Corp. 2009 Appendix C. Setting up a WA570 image (Linux) 31

Page 40: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Install and configure Linux

__ 1. During Linux installation:

• Create a single partition and install SUSE SLES 10.2 as appropriate and all other products on this partition.

• Set the password for root user to web1sphere (lower case).

• Use was7host01 for the computer name.

• Select DHCP as the IP connection type

• During installation specify and confirm web1sphere for the root password.

• Ensure the monitor is set up for a minimum of 1280 X 1024 resolution

IBM WebSphere Application Server Network Deployment V7.0

for Linux on x86-32 bit, Multilingual (C1G32ML)

IBM WebSphere Application Server Network Deployment V7.0 Supplements (1 of 2)

for Linux on x86-32 bit (Application Client, IBM HTTP Server, Web Server Plug-ins and Update Installer) Multilingual (C1G33ML)

IBM Rational Application Developer Assembly and Deployment Features for WebSphere Software V7.5

for Multiplatform — WebSphere Application Server, V7.0 Multilingual (C1KJ4ML, C1KJ5ML, C1KJ6ML, C1KJ7ML, C1KJ8ML, C1KJ8ML)

DB2 Workgroup Server Edition V9.5

For Linux On 32-Bit AMD Czech German English Spanish French Italian Japanese Korean Polish Portuguese Brazilian Russian Chinese Simplified Chinese Traditional (C1539ML)

DB2 Workgroup Server Edition V9.5 — CPU Option — Activation CD

Multilingual (C153DML)

IBM Support Assistant V4.0.2 Workbench

for Linux on x86-32 bit for WebSphere Application Server, V7.0 Multilingual (C1G2BML)

Software product Version Licensing requirement

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

32 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 41: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

__ 2. If there is no LAN adapter, Linux will define a loopback adapter by default.

• Open a terminal window and invoke ifconfig lo to determine if the loopback adapter is already configured with an address of 127.0.0.1

__ 3. If there is a LAN adapter, use ifconfig eth0 at the command line to determine if an IP address has been assigned by the DHCP server. Edit the hosts file and add an alias for your computer name to the loopback IP address if one is not already there.

__ 4. If there is a connection to the Internet, either use DHCP as in the original setup or, where no DHCP server exists, set up a static IP address and gateway with connection to a DNS server for access to Internet resources.

__ 5. Install Adobe Acrobat Reader with default or classic settings

Install DB2 WSE 9.5

For the correct level of JDBC support the labs require DB2 Workgroup Server Edition Version 9.5.

__ 1. To install DB2 V9.5 interactively, run setup from CD-ROM or the <DB2 Install> directory.

__ a. Select Install a Product from the menu.

__ b. Click Install New under DB2 Workgroup Server Edition Version 9.5.

__ c. After a few moments the setup wizard appears with Welcome screen. Click Next>.

__ d. Accept the agreement terms. Click Next>.

__ e. Choose a Typical installation to install the default components. Click Next>.

__ f. After some seconds make sure that Install DB2 Workgroup Server Edition on this computer is selected; click Next>.

__ g. Take the default installation folder (/opt/ibm/db2/V9.5). Click Next>.

__ h. Select “Do not install SA MP Base Component”; click Next.

Linux

The DB2 user passwords need to be 8 or fewer characters long. Therefore, was1edu will be used for the Linux DB2 passwords (instead of the standard web1sphere)

__ i. Accept the default for DAS user as dasusr1 Enter a password and confirm was1edu Click Next.

__ j. Accept the default for an instance of DB2. Click Next.

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

© Copyright IBM Corp. 2009 Appendix C. Setting up a WA570 image (Linux) 33

Page 42: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

__ k. Accept the default for Instance user as: db2inst1 Enter a password and confirm: was1edu Click Next.

__ l. Accept the default for Fenced user as: db2fenc1 Enter a password and confirm: was1edu Click Next.

__ m. Do not prepare DB2 tools catalog. Click Next>.

__ n. Uncheck the Set up your DB2 server to send notifications. Click Next>.

__ o. Review the summary; click Finish.

__ p. Click Next on the Setup is complete page.

__ q. Click Finish on the Additional products page.

__ r. Exit First Steps Launchpad.

__ s. Upon startup of DB2, do not attempt to update the product.

__ 2. Apply the DB2 license.

__ a. Extract the DB2 license file.

__ b. From a command window, su - db2inst1 to log in as the DB2 user. Change directory to the DB2 bin directory. Use the command db2licm -a <path> to apply the license.

__ 3. Remove the DB2 installation bits if you are installing from the local file system.

Configure DB2 to automatically start

This version of DB2 does default to starting at system boot time. If DB2 does not start, it is possible to start it manually by typing in the following commands:

su - db2inst1db2start

To automate this for system boot, do the following:

__ 1. Copy the db2 init.d script to the init.d directory.

__ a. Copy /usr/software_cds/misc/db2 to /etc/init.d/

__ 2. Configure DB2 to start.

__ a. Run the following command to register the DB2 script with init.d:

insserv /etc/init.d/db2

__ 3. Reboot the system.

__ 4. In order to control the new DB2 server, use the following command as needed:

service db2 [start | stop | restart ]

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

34 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 43: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Install Rational Application Developer v7.5 — Assembly and Deploy Tool

__ 1. Extract the six compressed files to the local file system.

__ 2. To install Rational Application Developer 7.5 interactively, execute the launchpad.exe from directory <Path>\RADAD\RADAD_SETUP.

__ a. Select English as the language. Click OK.

__ b. Click Install IBM Rational Application Developer Assembly and Deployment Features for WebSphere Software.

__ c. A new Windows opens; first the install manager 1.2 is installed. Click Next.

__ d. Accept the license terms; click Next.

__ e. Accept the default path (/opt/IBM/InstallationManager/eclipse) and click Next.

__ f. Accept the list of packages; click Install.

__ g. Restart the Installation Manager to start the actual installation of Rational Application Developer 7.5. Click Restart Installation Manager.

__ h. Click Install to install software packages.

__ i. If a dialog comes up indicating that a new IBM Installation Manager is available, click yes and follow the instructions to install latest Installation Manager. Click Install again.

__ j. Select only Version 7.5.0 of IBM Rational Application Developer Assembly and Deployment Features. Click Next.

__ k. Accept the license agreement. Click Next.

__ l. Accept the shared resource folder default (/opt/IBM/SDPShared); click Next.

__ m. Accept the install directory default (/opt/IBM/SDP); click Next.

__ n. Accept the default for extending the existing Eclipse; click Next.

__ o. Accept the Languages default (English); click Next.

__ p. Accept the default for the features; click Next.

__ q. Accept the default for the Help; click Next.

__ r. Review the summary and click Install.

__ s. Click Finish.

__ t. Exit Installation Manager.

__ u. Exit LaunchPad.

__ v. Remove the Rational Application Developer install bits.

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

© Copyright IBM Corp. 2009 Appendix C. Setting up a WA570 image (Linux) 35

Page 44: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Install IBM Support Assistant WorkBench 4.02

__ 1. Navigate to the ibmsa-v402 folder and double-click setupLinux.

__ a. Click Next on the ISA Welcome page.

__ b. Accept the license agreement and click Next.

__ c. Accept the default install directory and click Next.

__ d. Click Install on the summary page. Wait 2 minutes for the install to complete successfully and then click Finish.

__ e. You should now see the IBM Support Assistant Workbench shortcut on the desktop.

__ 2. Install ISA add-ons WebSphere Application Server V7.0 and several JVM tools.

__ a. Double-click the IBM Support Assistant shortcut.

__ b. Click Cancel on the Network Connections screen if you see it.

__ c. In the ISA Workbench click Update Find New Product Add-ons.

__ d. On the Product Add-ons to Install page, expand WebSphere.

__ e. Scroll to locate WebSphere Application Server V7.0 and check the box beside it.

__ f. Click Next.

__ g. On the Tools Add-ons to Install page, expand JVM-based Tools and check any of the boxes for the following tools.

• Log Analyzer

NOTE: If the exact versions listed above are not available, then download the latest versions. However, the behavior of the later versions might be different from what is described in the lab exercises.

__ h. Click Next.

__ i. Accept the licence agreement and click Next.

__ j. Click Finish.

__ k. On the Results of Operation screen verify that the product add-on and the tool add-ons installed successfully.

__ l. Click Finish.

__ m. When prompted to restart, click Yes.

__ n. Close the IBM Support Assistant.

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

36 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 45: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

Copy installation images and additional files

__ 1. Extract the contents of WA570_ERC1.0_LABFILES.zip to /. This should create /usr/software and /usr/software_cds directories.

__ 2. Copy the contents of the WebSphere Application Server ND V7 CD to the /usr/software_cds/WAS7 directory. If you are using a compressed file of the WebSphere Application Server ND V7 product, unpack the contents to the /usr/software_cds\WAS7 folder.

__ 3. Copy the contents of the WebSphere Application Server ND V7 Supplemental CD Number 1 to the /usr/software_cds/WAS7_supplemental_1 directory. If you are using a compressed file of the WebSphere Application Server ND Supplemental V7 product, unpack the contents to the /usr/software_cds/WAS7_supplemental_1 folder.

Install sample files

__ 1. Set up the sample database for the Trade application by running the following batch files in the /usr/software/Databases directory:

• Run batch file: createDB.sh This will take several minutes to run.

• Check the /tmp/createDB.log file to verify the databases were created and populated correctly.

Add shortcuts (optional)

Add bookmarks to the Firefox browser:

• http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/ com.ibm.websphere.nd.doc/info/welcome_nd.html — Online WebSphere Application Server 7 information center

• http://localhost:9060/ibm/console — Stand-alone administrative console (port 9060)

• http://localhost:9061/ibm/console — Federated administrative console (port 9061)

• http://localhost:9080/Trade/web — TradeApplication (port 9080) • http://localhost:9081/Trade/web — TradeApplication (port 9081) • http://localhost/Trade/web — TradeApplication (via IHS) • http://localhost:9080/snoop — Snoop (port 9080) • http://localhost/snoop — Snoop (via IHS) • http://localhost:9080/BadAppWebProject — BadWebAppProject (port 9080) • http://localhost:9080/Trade/processor/Monitor.html — Messaging Monitor

(port 9080)

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

© Copyright IBM Corp. 2009 Appendix C. Setting up a WA570 image (Linux) 37

Page 46: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

Add symlinks to /root:

• ln -s /opt/IBM/WebSphere/AppServer /.was_root • ln -s /opt/IBM/WebSphere/AppServer/profiles /.profile_root • ln -s /opt/IBM/WebSphere/AppServer/profiles/

Dmgr_profile /.dmgr_profile1_root • ln -s /opt/IBM/WebSphere/AppServer/profiles/profile1 /.profile1_root • ln -s /opt/IBM/WebSphere/AppServer/profiles/profile2 /.profile2_root • ln -s /opt/IBM/HTTPServer /.ihs_root • ln -s /opt/IBM/HTTPServer/Plugins /.plugin_root

Additional notes (reference)

There are a number of things that are presumed to be dealt with in the base VM image that may need to be verified.

• Base install included development packages

• Base install included gftp package (from the SLED 10 distribution)

• Base install included ulimit package (from the SLED 10 distribution)

- Install the ulimit rpm (rpm -ivh ulimit-1.1-146.10.noarch.rpm) - edit /etc/sysconfig/ulimit

• modify "SOFTFDLIMIT=1024" to "SOFTFDLIMIT=8192" (or an appropriate value)

• Make sure root has a password of web1sphere

• Make sure host name is was7host01

• X11 configurations

- edit /etc/sysconfig/displaymanager (change to "yes") • # this allows X11 displays to come in • set DISPLAYMANAGER_XSDERVER_TCP_PORT_6000_OPEN="yes"

- edit /etc/X11/xdm/Xservers • # remove the -nolisten tcp from the def line (last line)

• Network configurations

- rename /etc/sysconfig/network/ifcfg-eth-id-<MAC_ADDRESS> to ifcfg-eth0 - remove file /etc/udev/rules.d/30-net* - edit /etc/sysconfig/network/config — change FORCE_PERSISTENT_NAMES to

"no"

• SVG configurations

- In Firefox, type into the URL: about:config Add the following entry: • name: general.useragent.override

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

38 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 47: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery V5.3

LSG

• value: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080410 Firefox/2.0.0.14

Verification procedures

Use the following information to verify the installation and configurations of the lab and instructor systems.

__ 1. At the command line enter:

su - db2inst1db2 connect to QUOTE user db2admin using was1edudb2 list tables for schema userid

__ 2. Verify that the QUOTE table was created.

__ 3. Enter

db2 "select * from userid.QUOTE"

__ 4. Verify some sample data was loaded.

__ 5. Enter

db2 connect to TRADE user db2inst1 using was1edudb2 list tables for schema userid

__ 6. Verify that the ACCOUNT, ADDRESS, HOLDINGS, PROFILE, SYMBOL, and TRANSACTIONHISTORY tables were created.

__ 7. Using select statements similar to above, verify that some sample data was loaded.

__ 8. Enter:

db2 disconnect current

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

© Copyright IBM Corp. 2009 Appendix C. Setting up a WA570 image (Linux) 39

Page 48: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

Lab Setup Guide for Classroom Delivery

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

40 WebSphere Application Server V7 Administration © Copyright IBM Corp. 2009

Page 49: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for

V5.3

backpg

Back page
Page 50: IBM WebSphere Application Server V7 Administration on Windows€¦ · IBM WebSphere Application Server V7 Administration on Windows (Course code WA370 / VA370) Lab Setup Guide for