WebSphere software- Copyright IBM Corporation 2005. All rights reserved. IBM WebSphere Application Server Version 6: Proof of Technology Lab 01-Nd Installation and configuration What This Lab is about Web Sphere Application Server Version 6 provides centralized administration of multiple nodes allowing you to administer multiple nodes on the same machine or multiple machines. This lab will guide you through installing Network Deployment, creating profiles and federation of a node You will also go through installing a web server and the Http plug-in and configure the web server through the Web Sphere Administrative Console This exercise is divided into four parts Part 1: Install WebSphere Application Server Version 6 Binaries (OPTIONAL) Part 2: Profile Configuration Part 3: Install Web Server and plug- in Part 4: Configure Web Server through Administrative Console What you should be able to do At the end of this lab you should be able to Install WebSphere V6 Network Deployment in a Windows environment · Create profi|es Federate nodes into a cell Create and configure an Http server as a managed node Administer the Http server through the Administrative Console oof of Technology Lab 01-ND Install and Configuration Product Introduction Exploration(PI+E Page 1 of 38
© Copyright IBM Corporation 2005. All rights reserved. Proof of Technology Lab 01 – ND Install and Configuration Product Introduction + Exploration (PI+E) Page 1 of 38 IBM WebSphere Application Server Version 6: Proof of Technology Lab 01 - ND Installation and Configuration What This Lab is About WebSphere Application Server Version 6 provides centralized administration of multiple nodes, allowing you to administer multiple nodes on the same machine or multiple machines. This lab will guide you through installing Network Deployment, creating profiles and federation of a node. You will also go through installing a web server and the HTTP plug-in and configure the web server through the WebSphere Administrative Console. This exercise is divided into four parts: Part 1: Install WebSphere Application Server Version 6 Binaries (OPTIONAL) Part 2: Profile Configuration Part 3: Install Web Server and plug-in Part 4: Configure Web Server through Administrative Console What you should be able to do At the end of this lab you should be able to: • Install WebSphere V6 Network Deployment in a Windows environment • Create Profiles • Federate nodes into a cell • Create and configure an HTTP server as a managed node. • Administer the HTTP server through the Administrative Console
Copyright IBM Corporation 2005. All rights reserved. Part 1: WebSphere Application Server Version 6 Network Deployment- Binary Installation This Part of the Lab is optional,- proceed to part 2 if you are not interested in going through the install of the Websphere Application Server binaries This part contains the install of the WebSphere Application Server binaries. It is a basic install, using the installshield GUl. This exercise requires changing your VMWare snapshot to Snapshot1, which does not have WebSphere Application Server installed 1. On your VMWare window, click on VM> Snapshot Snapshot Manager Start File Edit Vi Windows Help A Home BwA snapshot Take Snapshot. WAS6POT Upgrade Virtual Machine State: Snapshot MaNager Ctrl+M Guest oS: Send Ctrl+Alt+De Configuration fiGrab Input Ctrl+G Snapshot 2 2 Snapshot 1 Version: Snapshot Capture Screen. Delete from Disk D Start this virt Settings. Ctrl+D Mem 1024 2. Select Snapshot 1 and click Go To 3. Click Yes on the next prompt and wait while VMWare restores and starts this snapsho You may notice some slow performance when this image is started. If you are bothered by it, stop and re-start the Guest Operating system, from it's Start Menu 4. Open a Windows Explorer session and navigate to C WAS6Po SOftware 5. Double click launchpad bat to launch the gul 6. We are going to be installing the application server so select Launch the installation wizard for Web Sphere Application Server Lab 01-ND Install and configuration
© Copyright IBM Corporation 2005. All rights reserved. Lab 01 – ND Install and Configuration Page 2 of 38 Part 1: WebSphere Application Server Version 6 Network Deployment – Binary Installation This Part of the Lab is optional, – Proceed to part 2 if you are not interested in going through the install of the WebSphere Application Server binaries. This part contains the install of the WebSphere Application Server binaries. It is a basic install, using the installshield GUI. This exercise requires changing your VMWare snapshot to Snapshot1, which does not have WebSphere Application Server installed. ____ 1. On your VMWare window, click on VM Æ Snapshot Æ Snapshot ManagerStart. ____ 2. Select Snapshot 1 and click Go To ____ 3. Click Yes on the next prompt and wait while VMWare restores and starts this snapshot. You may notice some slow performance when this image is started. If you are bothered by it, stop and re-start the Guest Operating system, from it’s Start Menu. ____ 4. Open a Windows Explorer session and navigate to C:\WAS6PoT\Software. ____ 5. Double click launchpad.bat to launch the GUI ____ 6. We are going to be installing the application server so select Launch the installation wizard for WebSphere Application Server
Copyright IBM Corporation 2005. All rights reserved. 网口区 ●●●● WebSphere Application Server Network Deployment 重 ●●●● WebSphere Application S k Deployment Version 6.0 Solution Installation Diagrams here Application Server, Version 6.0 is an integrated WebSphere Application Server Network Deployment pad may serve as a single point of reference for install Installation tion server environment See the solution installation diagrams for illustrations of Ibm Http Server Installation application server environments wob2时h wizard interface select from the list to the left Application Clients Installation Application Server Toolki Installation S Launch the installation wizard foribmhTtP sErver s Launch the installation wizard for Web server plug-ins s Launch the installation wizard for Websphere Application Clients s Launch the installation wizard for the Application Server Toolkit on 7. Review the information on the Welcome screen and click Next iNstallation wizard 口区K Welcome to IBM Websphere Application Server Network This edition of Websphere Application Server supports multinode multiprocess distributed environments In prior releases, a complete Network Deployment installation was achieved by 6, you can define an equivalent configuration from a single installation in a part procedure that uses wizards. WebSphere softwar n the first part, this installation wizard will guide you through the installation of Websphere Application Server Upon completion of the first part, a second wizard will guide you through the n of a run-time environment for the web Sphere Application Server , known as a profile. At least one profile must be created to have a al installation Back Nets Cancel oof of Technology Lab 01-ND Install and Configuration Product Introduction Exploration(PI+E Page 3 of 38
© Copyright IBM Corporation 2005. All rights reserved. Proof of Technology Lab 01 – ND Install and Configuration Product Introduction + Exploration (PI+E) Page 3 of 38 ____ 7. Review the information on the Welcome screen and click Next
Copyright IBM Corporation 2005. All rights reserved. 8. Accept the license agreement and click Next iNstallation wizard 网口 software License Agreement Please read the following license agreement carefully nternational Program License Agreement OVNLOADING. INSTALLING COPYING, ACCESSING, OR USING THE ROGRAM YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE CEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON ORA OMPANY OR OTHER LEGAL ENTITY. YOU REPRESENT AND WARRANT THAT OU HAVE FULL AUTHORITY TO BIND THAT PERSON, COMPANY OR LEGAL WebSphere. software TITY TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE PROGRAM C I do not accept the terms in the license agreement 9. Verify that your system passes the prerequisite check and click Next dp Installation wizard System prerequisites check The installation wizard checks your system to e whether a supported appropriate service packs and patches. After e operating prerequisites, the stallation wizard checks for existing Websphere Application Serer products Your system completed the prerequisites check successfully Web Sphere. software ancel Lab 01-ND Install and configuration Page 4 of 38
© Copyright IBM Corporation 2005. All rights reserved. Lab 01 – ND Install and Configuration Page 4 of 38 ____ 8. Accept the license agreement and click Next. ____ 9. Verify that your system passes the prerequisite check and click Next
WebSphere software- Copyright IBM Corporation 2005. All rights reserved. 10. Set the install location to C: WebSpherelAppServer IBM Web Sphere Application Server Network Deployment, V6 will be installed to the specified directory Directory name WebSphere software ance 12. On this screen you can select the components to be installed. Select all the esented options and click N 回风 Select IBM WebSphere Application Server Network Deployment, v6 features to install. See the Install Guide_en. html file in the docs directory for descriptions of the e Product Installation 回 Core product files NN对□ oof of Technology ab 01-ND Install and Configuration Page 5 of 38
© Copyright IBM Corporation 2005. All rights reserved. Proof of Technology Lab 01 – ND Install and Configuration Product Introduction + Exploration (PI+E) Page 5 of 38 ____ 10. Set the install location to C:\WebSphere\AppServer. ____ 11. Click Next. ____ 12. On this screen you can select the components to be installed. Select all the presented options and click Next
Copyright IBM Corporation 2005. All rights reserved. 13. The next screen presents a summary of what will be installed. Click Next to begin 14. When the installation completes, you will be presented with the option to create a profile. Uncheck the Launch the Profile creation Wizard checkbox Installation wizard x Installation is complete The next step in the installation process is to create at least one run-time environment, known as a profle. Each profile contains either a deployment stand-alone application server WebSphere software Important: At least one profile must exist to have a functional installation. It is u create a profile now. If you do not create a profile file creation wizard or use the wasprofile one la ck Next Please read the information below Warning: This Installation is not yet operational To have an operational installation, you must create a run-time environment. If you want to create a runtime environment using the Profile creation wizard, click Back and select the checkbox for launching the wizard natively, you can launch the Profile creation wizard from the First steps console se the profile creation wizard launcher located in WebSphere, software C Program FilesuBMWebSpherelAppServerbinIProfileCreator On windows systems, a start menu entry is also available Otherwise click Next to continue Back Lab 01-ND Install and configuration 6of38
© Copyright IBM Corporation 2005. All rights reserved. Lab 01 – ND Install and Configuration Page 6 of 38 ____ 13. The next screen presents a summary of what will be installed. Click Next to begin the installation. ____ 14. When the installation completes, you will be presented with the option to create a profile. Uncheck the Launch the Profile creation Wizard checkbox. ____ 15. Click Next
WebSphere software- Copyright IBM Corporation 2005. All rights reserved. 16. This screen warns you that no profiles have been created yet. Click Next &Installation wizard Installation is complete First steps console The First steps console has links to the profile creation wizard the Migratio wizard and to other important information about Web Sphere Application Server Network Deployment v6 WebSpheresoftware r Launch the First steps cor s Back 17. Uncheck the Launch the First steps console box 18. Click Finish to complete the installation 19. To inspect the installed product, open a windows explorer window and navigate to C: WebSpherelAppServer 20. Repeat steps 1-3 of this exercise and select Snapshot 2 to return to the previously configured VMWare image for the next step of the exercise NOTE: This step is required because maintenance patches have been applied to the product install in Snapshot 2 oof of Technology ab 01-ND Install and Configuration Product Introduction Exploration(PI+E Page 7 of 38
© Copyright IBM Corporation 2005. All rights reserved. Proof of Technology Lab 01 – ND Install and Configuration Product Introduction + Exploration (PI+E) Page 7 of 38 ____ 16. This screen warns you that no profiles have been created yet. Click Next. ____ 17. Uncheck the Launch the First steps console box. ____ 18. Click Finish to complete the installation. ____ 19. To inspect the installed product, open a windows explorer window and navigate to C:\WebSphere\AppServer. ____ 20. Repeat steps 1-3 of this exercise and select Snapshot 2 to return to the previously configured VMWare image for the next step of the exercise. NOTE: This step is required because maintenance patches have been applied to the product install in Snapshot 2
Copyright IBM Corporation 2005. All rights reserved. Part 2: Profile Configuration The VMWare image for this lab is setup to be started from this step If you wish to walk through the product binary install, Go back to part 1 The wasprofile command line tool defines each Application Server instance of a Version 6 product You must run the wizard or the command line tool each time that you want to create an Application server instance(JVM). Administration is greatly enhanced when using V6 profiles instead of multiple product installs. Not only is disk space saved, but updating the product is simplified when you only maintain a single set of product core files. Also, creating new profiles is faster and less prone to error than full product installs, allowing a developer to create new profiles of the product for development and testing 1. Open a command prompt and change to the c: WebSpherelappServer bin directory 2. The listProfiles command allows you to see all of the profiles currently on this machine. On the command prompt issue the wasprofile -listProfiles command You should see no profile has been created yet 3. In your command prompt, change to C: lWebSpherelApp\bin\ProfileCreator 4. Issue the command pctwindows. exe, to start the profile creation wizard WebSphere,softwrare welcome to the Profile creation wizard for Version 6 This wizard creates run-time environments that are referred to as profiles.Each profile contains either a deployment manager, a administered by a deployment manager, or a stand- application server. At least one profile must exist to have a functional installation See the online information center for more information about the profile creation wizard or about setting up typical topologies for Application Servers httpjpublib.boulderibmcom/infocenterwws60help/indexs Install Shield Lab 01-ND Install and configuration 8of38
© Copyright IBM Corporation 2005. All rights reserved. Lab 01 – ND Install and Configuration Page 8 of 38 Part 2: Profile Configuration The VMWare image for this lab is setup to be started from this step. If you wish to walk through the product binary install, Go back to part 1. The wasprofile command line tool defines each Application Server instance of a Version 6 product. You must run the wizard or the command line tool each time that you want to create an Application server instance (JVM). Administration is greatly enhanced when using V6 profiles instead of multiple product installs. Not only is disk space saved, but updating the product is simplified when you only maintain a single set of product core files. Also, creating new profiles is faster and less prone to error than full product installs, allowing a developer to create new profiles of the product for development and testing. ____ 1. Open a command prompt and change to the C:\WebSphere\AppServer\bin directory. ____ 2. The listProfiles command allows you to see all of the profiles currently on this machine. On the command prompt issue the wasprofile –listProfiles command. You should see no profile has been created yet. ____ 3. In your command prompt, change to C:\WebSphere\AppServer\bin\ProfileCreator ____ 4. Issue the command pctWindows.exe, to start the profile creation wizard
Copyright IBM Corporation 2005. All rights reserved. 5. Click Next and select Create a deployment manager profile O Profile creation wizard 回区 WebSpheresoftwar Profile type selection A profile defines a run-time emironment Choose the type of profile that is best your needs ⊙ create a etting up a Network Deployment evironment is to nt manager. A deployment manager administers Create an Application Server profile e applications The Application Server can console and function indep Deom its own administrative cation servers and deployment managers, Alter an be federated into a cell and managed by the deployment manage Create a custom profile Installshield ≤Bak xt> Cancel 7. Enter a profile name of dmgr 8. Click Next 9. Keep the default profile Location 10. Click Next oof of Technology ab 01-ND Install and Configuration Product Introduction Exploration(PI+E Page 9 of 38
© Copyright IBM Corporation 2005. All rights reserved. Proof of Technology Lab 01 – ND Install and Configuration Product Introduction + Exploration (PI+E) Page 9 of 38 ____ 5. Click Next and select Create a deployment manager profile ____ 6. Click Next ____ 7. Enter a profile name of dmgr. ____ 8. Click Next. ____ 9. Keep the default profile Location ____ 10. Click Next
Copyright IBM Corporation 2005. All rights reserved. 11. Set the Node name and Cell name as shown in the graphic below. Keep the Host IN Profile creation wizard Node, host, and cell names a cell name for this profile. Refer the installation guide for detailed field descriptions and migration considerations lost Cell name marcEll Node name: The node name is for administration by the deployment manager. The name be unique within the cell Instal shieid Cancel 12. Click Next 13. This screen allows you to choose the port numbers for WebSphere and its associated components. Keep the defaults and click Next PROfile creation wizard The values in the following fields define the ports for the deployment manager To avoid run- time port conflicts ach port value is uniqu Administrative console port (Default 9060 Administrative console secure port ( Default 9043) Bootstrap port(Default 9809) SOAP connector port (Default 8879) CSIV2 ServerAuth listener port (Default 9403) 03 CSNV2 MultiAuth listener port(Default 9402) ORB listener port (Default 9100 9100 Cell discovery port Default 7277) Bak[No,_gmra」 Lab 01-ND Install and configuration
© Copyright IBM Corporation 2005. All rights reserved. Lab 01 – ND Install and Configuration Page 10 of 38 ____ 11. Set the Node name and Cell name as shown in the graphic below. Keep the Host name ____ 12. Click Next ____ 13. This screen allows you to choose the port numbers for WebSphere and its associated components. Keep the defaults and click Next