WebSphere 4.0 installation on Windows 2000

decorumgroveInternet and Web Development

Aug 7, 2012 (4 years and 8 months ago)

224 views

Lab. 1


WebSphere 4.0 installation on Windows 2000

WebSphere 4.0 installation on Windows 2000


Scenario

Single server with standalone Web Server and
remote Repository database
.

plugin

Web Server

Application
Server (JVM)

Application
Server (JVM)

Administrative Server (JVM)

WebSphere

Repository
database (DB2)

HTTP(S)

HTTP(S)

HTTP(S)

IIOP

WebSphere Node

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (1)

Create user and group : wasadmin (1) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (2)

Create user and group : wasadmin (2) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (3)

Create user and group : wasadmin (3) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (4)

Create user and group : wasadmin (4) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (5)

Create user and group : wasadmin (5) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (6)

Create user and group : wasadmin (6) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (7)

Create user and group : wasadmin (7) …… (Already Done)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (8)

Check IP ports are unused

80 (standard HTTP port)

443 (standard HTTPS port)

8008 (IBM HTTP Server Administration port)

900 (bootstrap port)

9000 (Location Service Daemon)

9080 (Default Server transport)

IBM HTTP Server

WebSphere Application Server

Tip:

We suggest using the following command for this task:

:
\
> netstat
-
an

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (9)

Update JDBC level (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (10)

Update JDBC level (2)

Tip:

[db2
_
install_path]
\
java12
\
usejdbc2.bat

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (11)

Setup WebSphere administrative database (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (12)

Setup WebSphere administrative database (2)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (13)

Setup WebSphere administrative database (3)

was1

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (14)

Setup WebSphere administrative database (4)

:
\
> db2 get dbm cfg
(in DB2 Command Window)

Record the
db2cDB2

service name in
[winnt_install_path]
\
system32
\
drivers
\
etc
\
services file

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (15)

Setup WebSphere administrative database (5)

:
\
> db2 catalog tcpip node <nodename> remote
<database_server_hostname or ipaddress> server <db2cDB2>

:
\
> db2 catalog db

<
remote_db
_
name> as <aliased_db
_
name> at
node <nodename>

Your hostname : “spc3xx”

was1

was

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (16)

Setup WebSphere administrative database (6)

:
\
> db2 list db

directory

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (17)

Setup WebSphere administrative database (7) (Just verification, no need in this lab)

:
\
> db2 connect to <aliased_db
_
name> user <db2admin_user> using
<db2admin_password>

:
\
> db2 grant connect, createtab on database to user
<was_admin_name>

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


Pre
-
installation tasks (18)

Install Web Server (1)

WebSphere 4.0 installation on Windows 2000


WebSphere installation (1)

Install WebSphere (1)

Before install process of WebSphere, make sure that Web Server stopped and run
setup.exe

Location is “E:
\
WebSphere Applications Server V4.0
\
Advanced
\
Windows
\
AE.401”

WebSphere 4.0 installation on Windows 2000


WebSphere installation (2)

Install WebSphere (2)


In the Choose Setup Language dialog, select your national language from the
drom
-
down menu and click
OK
.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (3)

Install WebSphere (3)


In the WebSphere Application Server Attention dialog, read the warnings and
then click
Next

to continue.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (4)

Install WebSphere (4)


In the Installation Options dialog, select
Custom Installation
, and then click
Next
.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (5)

Install WebSphere (5)


In the Choose Application Server Components dialog, select all components

except

IBM HTTP Server
, then click
Next
.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (6)

Install WebSphere (6)


In the Choose Web Server Plugins dialog, select only the
IBM HTTP Server

option and then click
Next
.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (7)

Install WebSphere (7)


In the Security Options dialog, enter the
username

(wasadmin) and
password

of the Windows account under which the WebSphere Application Server is to run
as a service. Click
Next

to continue.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (8)

Install WebSphere (8)


In the Product Directory dialog, enter your destination directories, then click
Next
.

D:
\
WebSphere
\
AppServer

WebSphere 4.0 installation on Windows 2000


WebSphere installation (9)

Install WebSphere (9)


In the Database Options dialog, enter the following and then click
Next
.

Cataloged Alias DB : “was”

WebSphere 4.0 installation on Windows 2000


WebSphere installation (10)

Install WebSphere (10)


In the Select Program Folder dialog, accept the default and click
Next
.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (11)

Install WebSphere (11)


In the Install Options Selected dialog, check that the selected options are you
want to install. Click
Next

to start the installation process.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (12)

Install WebSphere (12)


In the Setup Complete dialog, click
Finish

to complete the installation.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (13)

Install WebSphere (13)


In the Restarting Windows dialog, select
No, I will restart my computer
later

and then click
OK
.


Rename the [was_install_path]
\
bin
\
createwasdb.scr

file createwasdb.bak to
prevent it from creating WebSphere administrative database after reboot.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (14)

Verifiy WebSphere installation (1)


To verify that WebSphere Application Server has installed properly, check
[was_install_path]
\
logs
\
wssetup.log

and ensure that no errors have occurred.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (15)

Verify WebSphere installation (2)


Check following entries in [was_install_path]
\
bin
\
admin.config

file.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (16)

Verify WebSphere installation (3)


Check following entries in [http_server_install_path]
\
conf
\
httpd.conf

file.
And then
restart the Windows operating system
.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (17)

Verify WebSphere installation (4)


Start
DB2
-
DB2

and
IBM HTTP Server

service, if need.


Start
IBM WS AdminServer 4.0

service.

WebSphere 4.0 installation on Windows 2000


WebSphere installation (18)

Verify WebSphere installation (5) : Run the admin console

WebSphere 4.0 installation on Windows 2000


WebSphere installation (19)

Verify WebSphere installation (6)

WebSphere 4.0 installation on Windows 2000


WebSphere installation (20)

Verify WebSphere installation (7)

Using a web browser, request the following URL:

http://localhost/servlet/snoop

or
http://spc3xx/servlet/snoop