0% found this document useful (0 votes)
47 views100 pages

WebSphere Application Server L3

webspher l3 questions

Uploaded by

Arun Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views100 pages

WebSphere Application Server L3

webspher l3 questions

Uploaded by

Arun Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 100

About the trainer

Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 1


Introduction To WebSphere Application Server
18 October 2020 08:45

Application Servers & Web Servers Differences:

Websphere - HTTP Server (IHS) - IBM, AIX, IBM SDK (comes with WAS Package)

Weblogic - OHS - Oracle - BEA, Solaris, Sun JDK

Jboss - Apache HTTP Server - Redhat, RHEL, Open JDK

Tomcat - Apache HTTP Server - Apache, Any OS, J2SE Content, Sun JDK

WEBSPHERE is a IBM Brand, there are different products under WebSphere

IBM Websphere Application Server


IBM Websphere Portal Server
IBM Websphere process Server
IBM Websphere commerce Server
IBM data power
IBM Installation manager
IBM HTTP Server
IBM MQ MB
IBM DB2
IBM Plugins

WebSphere Application Server L1 Page 2


Architecture Of WebSphere Application Server
18 October 2020 08:46

WebSphere Application Server L1 Page 3


Home Folder's Of WebSphere Application Server
18 October 2020 08:46

The directory structure ( Home Folders ) :

Root = /

/<Optional Software Directory>/<name of the company>/<name of the brand>/<name of the


product>/

Installation manager Home Folder = /opt/IBM/InstallationManager/eclipse

WAS Installation Home Folder = /opt/IBM/WebSphere/Ap pServer/

Profile Home Folder = /opt/IBM/WebSphere/AppServer/profiles/<profile_name>

Java Home Folder = /opt/IBM/WebSphere/AppServer/java ( 1.6 & 1.7 )

IHS Home Folder = /opt/IBM/HTTPServer/

Plugin Home Folder = /opt/IBM/Plugins/

Profile Installation Log Home Folder = /opt/IBM/WebSphere/AppServer/logs/

DMGR Profile Log Home Folder =/opt/IBM/WebSphere/AppServer/profiles/DMGR/logs/dmgr/

Optional Software Directory: Default - /opt/


/app/
/software/
/was/

WebSphere Application Server L1 Page 4


Introduction Of Installation Manager
18 October 2020 08:46

Installation Manager:

Installation Manager -> 8.0 WAS. A software which needs to be downloaded for a specific O/S 200+
MB. Download the WAS + Patches + SDK + IHS + Plugins 15 GB complete package are not O/S
Specific.

Uses of IBM IM:

One place for Installation / Upgradation / Downgrading / uninstalling / Adding or removing


components. So forth.

Two Methods:
Online: Internet (99% servers don’t have internet)
Offline: Downloading and copying to the server from elsewhere.

Download of Installation Manager:

Google -> IBM Installation Manager for WAS 9.0 ND -> IBM.com link -> 140+MB file -> Agent 1.3 -
1.9

Two Location:

Installed Location - Location Where the installation happens.


Data Location - Where the installed information's would be.

While installation manager needs to be installed,

You can be a

Root User ./install


Normal User ./userinst -> wasuser
Group Installation. ./groupinst

GUI / CLI

Post Installation:

How to operate:

GUI -> IBMIM


CLI -> IMCL
WebSphere Application Server L1 Page 5
CLI -> IMCL
Web Based

WebSphere Application Server L1 Page 6


About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 7


Installation of Installation Manager in GUI
18 October 2020 08:46

Installation of Installation manager:

Location of All the software:


[wasuser@was-node1 Desktop]$ cd /opt/software/
[wasuser@was-node1 software]$ ls
drivers ear IHS & Plugin IM Liberty Patches WAS
[wasuser@was-node1 software]$

Starting with the Installation:

Before starting the installation:

Root:
[wasuser@was-node1 Installer]$ cd /opt/software/IM
[wasuser@was-node50 IM]$ unzip agent.installer.linux.gtk.x86_64_1.8.4000.20151125_0201.zip
[root@was-node1 Installer]$ ./install

Non-Root:
[wasuser@was-node1 Installer]$ cd /opt/software/IM
[wasuser@was-node50 IM]$ unzip agent.installer.linux.gtk.x86_64_1.8.4000.20151125_0201.zip
[wasuser@was-node1 Installer]$ ./userinst

Steps in GUI Mode:

WebSphere Application Server L1 Page 8


WebSphere Application Server L1 Page 9
WebSphere Application Server L1 Page 10
WebSphere Application Server L1 Page 11
Installation of Installation Manager in CLI
18 October 2020 08:46

Installation using CLI:


[wasuser@was-node1 Installer]$ cd /opt/software/IM/
[wasuser@was-node1 Installer]$ ./userinstc -installationDirectory /opt/IBM/InstallationManager/eclipse/ -dataLocation /var/ibm/ -acceptLicense
Installed com.ibm.cic.agent_1.6.2000.20130301_2248 to the /opt/IBM/InstallationManager/eclipse directory.

WebSphere Application Server L1 Page 12


Installation of Installation Manager in Script
18 October 2020 08:46

Installation using Script:


[wasuser@was-node1 Installer]$ cd /opt/software/IM/
[wasuser@was-node1 Installer]$ vi install.xml

<?xml version="1.0" encoding="UTF-8"?>


<agent-input clean='true' temporary='true'>
<server>
<repository location='.'/>
</server>
<install>
<offering features='agent_core,agent_jre' id='com.ibm.cic.agent' version='1.9.1001.20191112_1525' installLocation='/opt/IBM/InstallationManager/eclipse' />
</install>
</agent-input>

WebSphere Application Server L1 Page 13


Un-Installation of Installation Manager
18 October 2020 08:46

To uninstall you need to remove the set of folders:

rm -rf /var/ibm/* /opt/IBM/InstallationManager /opt/.ibm/ ~/IBM/

WebSphere Application Server L1 Page 14


GUI Installation of WebSphere Application Server
18 October 2020 08:46

WAS Installation:

We need to open the Installation manager which you have just installed.
[wasuser@was-node1 Installer]$ cd /opt/IBM/InstallationManager/eclipse/
[wasuser@was-node1 eclipse]$ ./IBMIM

You can install IBM Websphere using two ways:

Online:

With the help of internet. The WAS would be downloaded to the server directly.

Online Method of Installation:

Any method of installation requires repository to be loaded.

WebSphere Application Server L1 Page 15


Continue with the installation same as offline Installation.

Offline:

Without Internet. You need to pre download and transfer the files to the server.

The Only difference is that we need to load the offline repository which is a
simple .config file. This file would be available in the was folder which you would have
downloaded from the internet.

WebSphere Application Server L1 Page 16


WebSphere Application Server L1 Page 17
WebSphere Application Server L1 Page 18
WebSphere Application Server L1 Page 19
About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 20


CLI Installation of WebSphere Application Server
18 October 2020 08:46

Installation of WAS in CLI Mode:

Understanding what's inside a repository which you have just downloaded:


[wasuser@was-node1 eclipse]$ cd /opt/IBM/InstallationManager/eclipse/tools/
[wasuser@was-node1 tools]$ ./imcl listAvailablePackages -repositories /opt/software/WAS/WAS/repository.config
com.ibm.websphere.NDTRIAL.v85_8.5.5000.20130514_1044

Installing the WAS:


[wasuser@was-node1 tools]$ ./imcl install com.ibm.websphere.NDTRIAL.v85_8.5.5000.20130514_1044 -acceptLicense -installationDirectory /opt/IBM/WebSphere/AppServer/ -repositories
/opt/software/WAS/WAS/

WebSphere Application Server L1 Page 21


GUI Un-Installation of WebSphere Application Server
18 October 2020 08:46

Uninstallation Of Was:

GUI:

Open the IBMIM and then go to uninstallation select the product, click Next.

Note: Make sure all jvm process is down when you un install the same.

Once uninstallation is over remove the directory structure.

rm -rf /opt/IBM/WebSphere/

WebSphere Application Server L1 Page 22


CLI Un-Installation of WebSphere Application Server
18 October 2020 08:46

UN-installation Of Was:

CLI:

Go to Installation Manager Home folder -> Go to tools folder ->

./imcl listInstalledPackages

-> This above command will show the installed packages using IMCL / IBMIM. Then Grab
the package name.

./imcl uninstall <package Name>

Once uninstallation is over remove the directory structure.

rm -rf /opt/IBM/WebSphere/

WebSphere Application Server L1 Page 23


Federated Or standalone ?
18 October 2020 09:36

1) ivr.com
2) lac.com
3) Pb.com

Prod Dev
Bronze 2 Profiles on one system, 3 Websites 1 Profile on one system 3 Web
Silver 3 Profiles on 2 System, 3 Websites 1 Profile on one system 3 Web
Gold 3 Profiles on 2 System, each of the website. 1 Profile on one system 3 Web

WebSphere Application Server L1 Page 24


Introduction To Profile Concept
18 October 2020 08:46

Introduction to WAS Profiles:

Profiles, the first thing you do after the installation of WAS is profile creation.

A Profile is a concept, which can individualize the different websites.

For eg, you have to configure three websites.

IVR.com -> Prod


Phonebanking.com -> Dev
LAC.com -> Prod

Now you can configure it in multiple ways.

Type of Profile: Application Server Profile. (Standalone profile)


You can create one profile and configure all these websites into it.

Type Of profiles:
Combination of: ( Federated Profiles / Nodes )
Dmgr Profile + Custom Profile + Application Server Profile.
OR
Dmgr Profile + Custom Profile + Custom Profile
OR
Dmgr Profile + Application Server profile + Application Server Profile

WAS 5.0:
No Profiles.

WAS 6.0:
Profiles:

DMGR Profile:

DMGR Profile is the manager for all the profiles under it. By default when you create a DMGR
profile it will be useless, because it is not federated with any of the other profiles.

DMGR Profile is a concept just like other profiles. But once you create this DMGR profile there
would be a server JVM created by default in the name of "dmgr". This dmgr is a server
process which would run with the help of JAVA. Hence, we call it the dmgr JVM server. For
WebSphere Application Server L1 Page 25
process which would run with the help of JAVA. Hence, we call it the dmgr JVM server. For
every DMGR Profile there would be only one JVM process which is called "dmgr".

What's the use of dmgr:

DMGR profile once created can only be federated with either an Application Server Profile
/ Custom Profile / Job Manager Profile.

DMGR PROFILE Cannot be federated with another DMGR profile.

dmgr JVM Process

DMGR Console WSADMIN

When you start the dmgr JVM Process it would start and listen on different port numbers.

Admin_Host -> Used for browsing the DMGR Console http


Admin_Host_secure -> Used for browsing the DMGR Console https
SOAP Port -> Connecting to WSADMIN / Syncing / Federating

You can use either of the two ways to configure / control the entire Cell Structure which is
configured in the DMGR Profile.

Application Server Profiles:

Application Server profile can be created for two reasons:

i) To host standalone applications like application which can be used to deploy right away.
Where in which there is no failover or LB available.

ii) To federate it with the DMGR profile and make the DMGR to take control of this profile.

Feature Of Standalone Version:

 When using Application Server profile as a standalone ( which is not federated with any
DMGR ) you can only have one server ( Default server named "server1" ) to deploy all the
application. YOU WILL NOT BE ABLE TO CREATE ANY MORE SERVERS.
 Standalone servers are majorly used for Development Purpose.
 It has its own DMGR Console Deployed on the same server1 JVM.

Server1 JVM Process

DMGR Console WSADMIN Deployed application

WebSphere Application Server L1 Page 26


DMGR Console WSADMIN Deployed application

ADMIN_HOST SOAP_PORT DEFAULT_HOST

 When You start the server1 JVM it will start the Deployment Manager Console + all the
applications you have deployed over that JVM. You will have two different port numbers
to browse the DMGR Console and the applications which you have deployed over it.

For eg:

http://Was-node1:9060/ibm/console -> Used for DMGR Console


http://Was-node1:9080/cal -> Browsing the application
http://Was-node1:9080/bcd -> Browsing the application

If you stop the server1 JVM process, all the above URL would die.

Server1

DMGR Console WSADMIN

To control the server1 JVM process we use either console / wsadmin. But remember
you can only use the DMGR console / WSADMIN for controlling the server1,
deployments and resources.

As a Federated profile:

When you add the App Server Profile into DMGR, it loses all the standalone features
except, the server1 and the deployment done to it would still exists. But it would be part of
the federated profiles.

Custom Profiles:

Empty profile which has only one reason to exists to get federated with an DMGR Profile.

WebSphere Application Server L1 Page 27


Architecture of WebSphere Application Server
18 October 2020 10:09

A standalone profile are something which doesn't include clustering or failovers. It’s a profile
which is easy to create.

WebSphere Application Server L1 Page 28


About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 29


GUI Standalone Profile Creation
18 October 2020 08:46

Creation of Any profile using GUI Mode:


[wasuser@was-node1 bin]$ cd /opt/IBM/WebSphere/AppServer/bin/ProfileManagement/
[wasuser@was-node1 ProfileManagement]$ ./pmt.sh

WebSphere Application Server L1 Page 30


WebSphere Application Server L1 Page 31
WebSphere Application Server L1 Page 32
WebSphere Application Server L1 Page 33
WebSphere Application Server L1 Page 34
Browsing the Admin Console
Administrative Port = Admin Host = 9059
Administrative Port secured = Admin Host secure

Browsing The deployed application


HTTP Port number = default Host = 9079
HTTPS port Number = default Host Secure

http://Was-node1:9059/ibm/console -> Used for DMGR Console


http://Was-node1:9079/abc -> Browsing the application
http://Was-node1:9079/bcd -> Browsing the application

WebSphere Application Server L1 Page 35


WebSphere Application Server L1 Page 36
WebSphere Application Server L1 Page 37
CLI Standalone Profile Creation
18 October 2020 08:46

[wasuser@was-node1 bin]$ ./manageprofiles.sh -create -profileName Dev_PB_AppStd01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default/ -nodeName Dev_PB_AppStd01 -
hostname was-node1

Verify:
[wasuser@was-node50 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/Dev_PB_AppStd01/config/cells/was-node50Node01Cell/nodes/was-node50Node01/serverindex.xml

WebSphere Application Server L1 Page 38


Understanding Standalone Profile
18 October 2020 08:46

Selecting the profile:

Foremost to the deployment / starting up of any application servers. We need to understand the
process called Selecting the correct profile. Either the information about an profile could be
documented nor it could be available on wiki according to your company's policy.

In our case we are selecting DEV_PB_AppStd01 for this task.

Checking the Folder Structure:

InstalledApps -> The folder where the Application deployed directory.


Config -> This holds the websphere level configuration
Logs -> Holds the Profile logs, how many ever folder you create the logs would be stored there.
Bin -> Binary files which can be used to control the profile.

Checking the port number configuration:

Check the configuration for the port numbers which we need to browse the application server's
(server1) DMGR console right after the profile creation.

Checking the port number configuration:


[wasuser@was-node1 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/DEV_PB_AppStd01/config/cells/nullNode01Cell/nodes/DEV_PB_AppStd01/serverindex.xml

In the above file check for the below lines:


.ibm.com/websphere/appserver/schemas/5.0/serverindex.xmi" xmi:id="ServerIndex_1" hostName="was -node50">
<serverEntries xmi:id="ServerEntry_1183122129640" serverName="server1" serverType="APPLICATION_SERVER">

<specialEndpoints xmi:id="NamedEndPoint_1183122129646" endPointName="WC_adminhost">


<endPoint xmi:id="EndPoint_1183122129646" host="*" port="9059"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_1183122129647" endPointName="WC_defaulthost">
<endPoint xmi:id="EndPoint_1183122129647" host="*" port="9079"/>
</specialEndpoints>

The Above file says the server name where in which we need to retrieve the admin Host port
number either secured or plain.

WebSphere Application Server L1 Page 39


Start-up & Verifying Standalone Server
18 October 2020 08:46

Starting up the Application Server Profile:

Once you know the port number, you need to go to the location where the binary file for that
application server profile exits.
[wasuser@was-node1 bin]$ cd /opt/IBM/WebSphere/AppServer/profiles/DEV_PhoneBanking_STD_AppSrv01/bin/
[wasuser@was-node1 bin]$ ./serverStatus.sh -all
[wasuser@was-node1 bin]$ ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv03_Google profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.

Working with the DEV_PhoneBanking_STD_AppSrv01:

Check the logs and verify if the server1 has been started or not.

First Indication:
[wasuser@was-node50 bin]$ ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/DEV_PhoneBanking_STD_AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the DEV_PhoneBanking_STD_AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 25768

Second Indication:
[wasuser@was-node1 bin]$ cd /opt/IBM/WebSphere/AppServer/profiles/DEV_PhoneBanking_STD_AppSrv01/logs/
[wasuser@was-node1 logs]$ cd server1/
[wasuser@was-node1 dev_youtube]$ tail -f SystemOut.log

[7/19/15 17:46:04:757 IST] 00000001 WSChannelFram A CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain6.
[7/19/15 17:46:04:758 IST] 00000001 webcontainer I com.ibm.ws.webcontainer.WSWebContainer startChains SRVE0323I: The Asynchronous Request Dispatcher is not enabled. Requests
sent through either the HttpQueueInboundDefault or the HttpQueueInboundDefaultSecure chain might not be properly handled.
[7/19/15 17:46:04:760 IST] 00000041 SchedulerServ I SCHD0077I: The Scheduler Service is starting the Schedulers.
[7/19/15 17:46:04:760 IST] 00000041 SchedulerServ I SCHD0078I: The Scheduler Service has completed starting the Schedulers.
[7/19/15 17:46:04:805 IST] 00000001 GridConfigura I CWLRB5873I: The GridConfiguratorMBean was activated successfully.
[7/19/15 17:46:04:815 IST] 00000001 BatchSensorCo I CWLRB5904I: BatchSensorComponent starting...
[7/19/15 17:46:04:852 IST] 00000001 BatchSensorCo I CWLRB5905I: Successfully activated GridEndpointSensorMBean.
[7/19/15 17:46:04:870 IST] 00000001 RMIConnectorC A ADMC0026I: The RMI Connector is available at port 2810
[7/19/15 17:46:04:885 IST] 00000001 JMXConnectors I ADMC0058I: The JMX JSR160RMI connector is available at port 2810
[2/15/16 9:16:35:436 IST] 00000001 WsServerImpl A WSVR0001I: Server server1 open for e-business

Check also ps -ef|grep java and netstat -an |grep 9059

Working with the DMGR Console:

First Open a browser which would be on the top of your VM.

Get to know the port number for both

HTTP: 9060
WebSphere Application Server L1 Page 40
HTTP: 9060
HTTPS: 9043

Get the context root for your Dmgr Console

By default the context root for your DMGR would be /ibm/console

Then compose an URL out of the above.

http://localhost:9060/ibm/console
https://localhost:9043/ibm/console

Browse the same in the browser.

WebSphere Application Server L1 Page 41


About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 42


Architecture Of Deployment
18 October 2020 08:46

WebSphere Application Server L1 Page 43


WebSphere Application Server L1 Page 44
Deployment in Standalone profile
18 October 2020 08:46

Deploying application the server1:

WebSphere Application Server L1 Page 45


Checking the port number:

Serverindex.xml
WebSphere Application Server L1 Page 46
Serverindex.xml

Or

Admin console -> server name -> ports

Browsing the application:

http://was-node50:9080/cal
http://was-node50:9080/hello

Or else
http://localhost:9080/cal -> Calendar
http://localhost:9080/hello -> Default Application

WebSphere Application Server L1 Page 47


Introduction to Federated Profile
18 October 2020 09:35

Introduction to Federation:

Federation is an art of integrating unmanaged profiles with one DMGR Profiles. For eg, you can
integrate multiple Application Server Profiles & Multiple Custom Profiles to one DMGR Profile
and without Un Federating you cannot integrate the integrated profiles to another DMGR
profile.

Structures of WAS:

Structure 1:
WAS-Node50
WebSphere Application Server L1 Page 48
WAS-Node50
Prod_IVR_AppSrv01 -> Custom Profile
Prod_IVR_AppSrv02 -> Application Server Profile
Prod_IVR_DMGR01 -> DMGR Profile

Prod_IVR_DMGR01
CN: Prod_IVR_CMGR
NN: Prod_IVR_DMGR01
HN: was-node50

Prod_IVR_AppSrv01
CN: Prod_IVR_CMGR
NN: Prod_IVR_AppSrv01
HN: was-node50

Prod_IVR_AppSrv02
CN: Prod_IVR_CMGR
NN: Prod_IVR_AppSrv02
HN: was-node50

Structure 2:
WAS-NODE50
Prod_IVR_DMGR01 -> dmgr
Prod_LAC_DMGR01 -> dmgr

WAS-NODE51
Prod_IVR_AppSrv01 -> NA
Prod_LAC_AppSrv01 -> NA

WAS-NODE52
Prod_IVR_AppSrv02 -> server1 + NA
Prod_LAC_AppSrv02 -> server1 + NA

WebSphere Application Server L1 Page 49


WebSphere Application Server L1 Page 50
CLI Federated profile Creation
18 October 2020 09:35

Creation of DMGR Profile using CLI Mode for IVR Application:


[wasuser@was-node1 bin]$ cd /opt/IBM/WebSphere/AppServer/bin/
wasuser@was-node50 bin]$ ./manageprofiles.sh -create -profileName Prod_IVR_DMGR01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr/ -cellName Prod_IVR_CMGR -
nodeName Prod_IVR_DMGR01 -hostName was-node1

Verify:
[wasuser@was-node50 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/config/cells/Prod_IVR_CMGR/nodes/Prod_IVR_DMGR01/serverindex.xml

Creation of Custom Profile using CLI Mode for IVR :


[wasuser@was-node1 bin]$ ./manageprofiles.sh -create -profileName Prod_IVR_AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed/ -cellName blah_blah -
nodeName Prod_IVR_AppSrv01 -hostname was-node1

Verify:
[wasuser@was-node50 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/config/cells/blah_blah/nodes/Prod_IVR_AppSrv01/serverindex.xml

Creation of Application Server Profile using CLI Mode for IVR Application:
[wasuser@was-node1 bin]$ ./manageprofiles.sh -create -profileName Prod_IVR_AppSrv02 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default/ -nodeName
Prod_IVR_AppSrv02 -hostname was-node1

Verify:
[wasuser@was-node50 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/config/cells/was-node50Node01Cell/nodes/was-node50Node01/serverindex.xml

WebSphere Application Server L1 Page 51


Preparing For Federation
18 October 2020 09:39

Turning on DMGR:
[wasuser@was-node1 server1]$ cd /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/bin/
[wasuser@was-node1 bin]$ ./startManager.sh
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/DMGR_Google/logs/dmgr/startServer.log
ADMU0128I: Starting tool with the DMGR_Google profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3200I: Server launched. Waiting for initialization status.

Alternative method of starting the dmgr:


./startManager.sh
./startServer.sh dmgr

To make sure the DMGR is running:

ps -ef |grep java |grep dmgr

Check the logs

To find the port number for IVR:


[wasuser@was-node50 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/config/cells/Prod_IVR_CMGR/nodes/Prod_IVR_DMGR01/serverindex.xml

<specialEndpoints xmi:id="NamedEndPoint_4" endPointName="SOAP_CONNECTOR_ADDRESS">


<endPoint xmi:id="EndPoint_4" host="was-node50" port="8879"/>

<specialEndpoints xmi:id="NamedEndPoint_9" endPointName="WC_adminhost">


<endPoint xmi:id="EndPoint_9" host="*" port="9060"/>

<specialEndpoints xmi:id="NamedEndPoint_10" endPointName="WC_adminhost_secure">


<endPoint xmi:id="EndPoint_10" host="*" port="9043"/>

netstat -an |grep <port number>

Telnet <server_name> <port number>

Turning off Other services:

Ps -ef|grep java would tell you all the running process. And if you see any running process kill then
and proceed.
[wasuser@was-node1 ~]$ ps -ef|grep java
wasuser 18290 1 13 07:41 pts/0 00:02:47 /opt/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=49534 -
Dosgi.install.area=/opt/IBM/WebSphere/AppServer -Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/servers/server1/configuration -
Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev85_1.6_32_%g,nonFatal -
Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar -classpath /opt/IBM/WebSphere/AppServer/profiles/AppSrv03
_Google/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppS
erver/lib/jsf-
nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphe
re/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Xscmaxaot4M -Xscmx60M -
Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/AppSrv03
_Google/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/op
t/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -
Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -

WebSphere Application Server L1 Page 52


Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -
Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google -Djava.ext.dirs=/opt/IBM/WebSphere/AppServer/tivoli/tam:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext -
Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/temp/cachedir -
Dwas.install.root=/opt/IBM/WebSphere/AppServer -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/AppSrv03
_Google -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
32/:/opt/IBM/WebSphere/AppServer/java/jre/lib/i386/default:/opt/IBM/WebSphere/AppServer/java/jre/lib/i386:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
32/:/opt/IBM/WebSphere/AppServer/bin:/opt/IBM/WebSphere/AppServer/nulldllsdir:/usr/lib: -
Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed -
Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/properties/wsjaas.conf -Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/AppSrv03
_Google/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer
/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/config was-node1Node02Cell AppSrv03_Google_was-node1 server1
[wasuser@was-node1 ~]$ kill -9 18290

Alternatively you can stop the servers using the ./stopServer.sh server1 from the bin folder of that
profile.

WebSphere Application Server L1 Page 53


About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 54


Federation
18 October 2020 09:39

Starting the Process of Federation:

When federation you have to be in the slave to federate to the master. RUN THIS COMMAND ON
ALL THE SLAVE NODES.
[wasuser@was-node1 ~]$ cd /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/bin
[wasuser@was-node1 bin]$ ./addNode.sh was-node50 8879
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/logs/addNode.log
ADMU0128I: Starting tool with the AppSrv03_Google profile
CWPKI0308I: Adding signer alias "root_1" to local keystore
"ClientDefaultTrustStore" with the following SHA digest:
42:55:8B:2B:BB:3E:44:7C:3C:76:69:9E:A3:86:02:B8:66:F8:68:47
ADMU0001I: Begin federation of node AppSrv03_Google_was-node1 with Deployment
Manager at localhost:8879.
ADMU0009I: Successfully connected to Deployment Manager Server: localhost:8879
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: server1
ADMU2010I: Stopping all server processes for node AppSrv03_Google_was-node1
ADMU0512I: Server server1 cannot be reached. It appears to be stopped.
ADMU0024I: Deleting the old backup directory.
ADMU0015I: Backing up the original cell repository.
ADMU0012I: Creating Node Agent configuration for node:
AppSrv03_Google_was-node1
ADMU0014I: Adding node AppSrv03_Google_was-node1 configuration to cell:
CMGR_Google
ADMU0016I: Synchronizing configuration between node and cell.
ADMU0018I: Launching Node Agent process for node: AppSrv03_Google_was-node1
ADMU0020I: Reading configuration for Node Agent process: nodeagent
ADMU0022I: Node Agent launched. Waiting for initialization status.
ADMU0030I: Node Agent initialization completed successfully. Process id is:
19983

ADMU0300I: The node AppSrv03_Google_was-node1 was successfully added to the


CMGR_Google cell.

ADMU0306I: Note:
ADMU0302I: Any cell-level documents from the standalone CMGR_Google
configuration have not been migrated to the new cell.
ADMU0307I: You might want to:
ADMU0303I: Update the configuration on the CMGR_Google Deployment Manager with
values from the old cell-level documents.

ADMU0306I: Note:
ADMU0304I: Because -includeapps was not specified, applications installed on
the standalone node were not installed on the new cell.
ADMU0307I: You might want to:
ADMU0305I: Install applications onto the CMGR_Google cell using wsadmin
$AdminApp or the Administrative Console.

ADMU0003I: Node AppSrv03_Google_was-node1 has been successfully federated.

Steps in Federation:

○ It makes sure that the transition is secured using an temp ssl key store.
○ Stopping all the JVM servers on the node which your federating.
○ Backing up the original cell configuration
○ Create a JVM Process called Node Agent
○ Copying all the DMGR's Cell's Configuration
○ It will finish the Federation Process.

WebSphere Application Server L1 Page 55


To Verify:

Go to every profile home and understand the folder structure.


[wasuser@was-node50 bin]$ cd /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/config/cells/Prod_IVR_CMGR/nodes/Prod_IVR_AppSrv02/servers

WebSphere Application Server L1 Page 56


Post Federation Checks
18 October 2020 09:40

Post Federation Checks:

We need to check if the process called Node Agent is created or not.

We federated one PROD_IVR_AppSrv01 to PROD_IVR_DMGR. Once the Federation completed, it


started the Node Agent process to do the first sync. Now after federation is completed. We need to
make sure, that the following as happened:

▪ The Node Name should be the same as before.


▪ The Host Name should be the same as before.
▪ The Cell Name should be changed to the cell name of the DMGR profile.

You can verify the above with a simple command called ps -ef|grep java. Remember to verify this
command we have to make sure that both dmgr JVM and nodeagent JVM are running.
[wasuser@was-node50 bin]$ ps -ef|grep java
wasuser 16307 1 0 16:56 pts/0 00:02:35 /opt/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=48647 -Dosgi.install.area=/opt/IBM/WebSphere/AppServer -
Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/servers/server1/configuration -Djava.awt.headless=true -
Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev85_1.6_64_%g,nonFatal -
Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar -classpath
/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphe
re/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-
nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/Ap
pServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Xcompressedrefs -Xscmaxaot4M -
Xscmx60M -
Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphe
re/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deployto
ol/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -
Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd -
Djava.ext.dirs=/opt/IBM/WebSphere/AppServer/tivoli/tam:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext -
Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -
Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/temp/cachedir -Dwas.install.root=/opt/IBM/WebSphere/AppServer -
Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd -Dcom.ibm.security.jgss.debug=off -
Dcom.ibm.security.krb5.Krb5Debug=off -Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/bin:/opt/IBM/WebSphere/AppServer/nulldllsdir:/usr/lib: -
Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed -
Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/properties/wsjaas.conf -
Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application
com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/Dev_PhoneBanking_AppSrvstd/config was-node50Node01Cell
Dev_PhoneBanking_AppSrvstd server1
wasuser 22839 1 36 21:20 pts/0 00:06:18 /opt/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=52980 -Dosgi.install.area=/opt/IBM/WebSphere/AppServer -
Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/servers/dmgr/configuration -Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -
Xshareclasses:name=webspherev85_1.6_64_%g,nonFatal -Xscmx50M -Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar -classpath
/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServ
er/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-
nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/Ap
pServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Xcompressedrefs -
Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServ
er/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugi
ns/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -
Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01 -
Djava.ext.dirs=/opt/IBM/WebSphere/AppServer/tivoli/tam:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext -
Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/temp/cachedir -
Dwas.install.root=/opt/IBM/WebSphere/AppServer -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01 -
Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.awt.headless=true -Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/bin:/opt/IBM/WebSphere/AppServer/nulldllsdir:/usr/lib: -
Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed -
Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/properties/wsjaas.conf -
Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application
com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/configProd_IVR_CMGR Prod_IVR_DMGR01 dmgr
wasuser 23211 1 10 21:24 pts/0 00:01:26 /opt/IBM/WebSphere/AppServer/java/bin/java -Xmaxt0.5 -Dwas.status.socket=39528 -Declipse.security -
Dosgi.install.area=/opt/IBM/WebSphere/AppServer -Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/servers/nodeagent/configuration -
Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev85_1.6_64_%g,nonFatal -
Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar -Dorg.osgi.framework.bootdelegation=* -classpath
/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppSer
ver/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-

WebSphere Application Server L1 Page 57


ver/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-
nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/Ap
pServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dorg.osgi.framework.bootdelegation=* -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -
Xcompressedrefs -Xscmaxaot4M -Xnoaot -Xscmx90M -
Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppSer
ver/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plug
ins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -
Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01 -
Djava.ext.dirs=/opt/IBM/WebSphere/AppServer/tivoli/tam:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext -
Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/temp/cachedir -
Dwas.install.root=/opt/IBM/WebSphere/AppServer -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01 -
Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.awt.headless=true -Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/bin:/opt/IBM/WebSphere/AppServer/nulldllsdir:/usr/lib: -
Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed -
Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/properties/wsjaas.conf -
Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application
com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv01/config Prod_IVR_CMGR Prod_IVR_AppSrv01 nodeagent
wasuser 23583 1 6 21:27 pts/0 00:00:44 /opt/IBM/WebSphere/AppServer/java/bin/java -Xmaxt0.5 -Dwas.status.socket=50546 -Declipse.security -
Dosgi.install.area=/opt/IBM/WebSphere/AppServer -Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/servers/nodeagent/configuration -
Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev85_1.6_64_%g,nonFatal -
Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar -Dorg.osgi.framework.bootdelegation=* -classpath
/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppSer
ver/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-
nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/Ap
pServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dorg.osgi.framework.bootdelegation=* -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -
Xcompressedrefs -Xscmaxaot4M -Xnoaot -Xscmx90M -
Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppSer
ver/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plug
ins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -
Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02 -
Djava.ext.dirs=/opt/IBM/WebSphere/AppServer/tivoli/tam:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext -
Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/temp/cachedir -
Dwas.install.root=/opt/IBM/WebSphere/AppServer -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02 -
Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.awt.headless=true -Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/bin:/opt/IBM/WebSphere/AppServer/nulldllsdir:/usr/lib: -
Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed -
Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/properties/wsjaas.conf -
Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application
com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/config Prod_IVR_CMGR Prod_IVR_AppSrv02 nodeagent

Check the Services:

You can check if a service is running in different ways.


ps -ef|grep java
telnet localhost 9062
[wasuser@was-node1 bin]$ netstat -an |grep 9060
tcp 0 0 :::9060 :::* LISTEN

Alternatively, you can also check:


[wasuser@was-node1 bin]$ cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/logs/nodeagent/
[wasuser@was-node1 nodeagent]$ ls -ltr *.pid
-rw-r--r--. 1 wasuser wasuser 5 Dec 20 08:08 nodeagent.pid
[wasuser@was-node1 nodeagent]$ cat nodeagent.pid
23583
[wasuser@was-node1 nodeagent]$ ps -ef|grep java |grep 23583

wasuser 23583 1 6 21:27 pts/0 00:00:44 /opt/IBM/WebSphere/AppServer/java/bin/java -Xmaxt0.5 -Dwas.status.socket=50546 -Declipse.security -


Dosgi.install.area=/opt/IBM/WebSphere/AppServer -Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/servers/nodeagent/configuration -
Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev85_1.6_64_%g,nonFatal -
Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ibmorb.jar -Dorg.osgi.framework.bootdelegation=* -classpath
/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/A
ppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/jsf-
nls.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphe
re/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dorg.osgi.framework.bootdelegation=* -Dibm.websphere.internalClassAccessMode=allow -
Xms50m -Xmx256m -Xcompressedrefs -Xscmaxaot4M -Xnoaot -Xscmx90M -
Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/A
ppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deployt
ool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -
Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02 -
Djava.ext.dirs=/opt/IBM/WebSphere/AppServer/tivoli/tam:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext -
Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/temp/cachedir -
Dwas.install.root=/opt/IBM/WebSphere/AppServer -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -
Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02 -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.awt.headless=true -
Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_

WebSphere Application Server L1 Page 58


Djava.library.path=/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_
64/:/opt/IBM/WebSphere/AppServer/bin:/opt/IBM/WebSphere/AppServer/nulldllsdir:/usr/lib: -
Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed -
Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/properties/wsjaas.conf -
Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application
com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_AppSrv02/config Prod_IVR_CMGR Prod_IVR_AppSrv02 nodeagent

WebSphere Application Server L1 Page 59


Rollback federation
18 October 2020 09:41

De-Federation:
[wasuser@was-node1 bin]$ ./removeNode.sh

Backup folder created after federation.


Prod_IVR_AppSrv02/config/backup/base/cells/was-node50Node02Cell/

WebSphere Application Server L1 Page 60


Introduction Node Agent
18 October 2020 09:42

Node Agent Introduction:

What's a Node Agent ?

Node Agent is a JVM process. It is actually called "nodeagent". Whenever you're starting this JVM
server, you should specify nodeagent.

Node agent is a broker btw, master and the slave. Now broker will not sit in the master's house
but he will be sitting in the slave's house. And Slave cannot talk with the master directly. Salve if
he has to convey a message it would go through the agent only. Node agent here will be a person
who sits in the middle and talk on both the sides. If the DMGR Server wants to bring down a JVM
server on an node it will inform the Node Agent to do so.

Node Agents are used for ?

When node agent is up and running, it makes sure of the following:

 Auto, Periodic Sync of configuration in the Cell Level & Node Level & Server Level with the
DMGR.
 Anything different in the Node configuration even if someone has modified the latest version
or update to the Node configuration will be overwritten by the Node agent's Sync process
from the DMGR's configuration. That's why we should not do manual file editing on the node's
profile. We should always do any changes in the DMGR as it holds the master repository.
 All the JVM Server which is created on that node where the Node agent is present, will only
start if the nodeagent process is available. Once the JVM server process gets started it doesn’t
need the nodeagent process it be available. The Stop of the JVM server process will not need
the nodeagent process is to be available from the command line.
 If the JVM server is still running and suddenly crashes / someone kills it, the node agent will
auto start this process within couple of sec.
 When the nodeagent starts up it will check for the servers in that particular node whether that
all the servers are running or not. If some servers are not running it will start it as well. This is
due to the option called auto start.
 Full RE-Sync, When you initiate the full sync it stops the NA auto sync Process. It will then take
all the files and push it to the nodes, it wont consider the Epoch file changes. It will push the
manually changed files to which you have changed in the DMGR Level. If you don’t full sync
after a manual file changes, the changes will not be copied to the nodes using the NA because
the manual file changes are not counted for an auto sync process.
 Manual sync from command line, you should stop the NA process itself because there is no
way we can stop the NA Auto Sync Process alone. And run the SyncNode.sh command from
the command line. And start back the NA Process.

WebSphere Application Server L1 Page 61


About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 62


Control Of Node Agent
18 October 2020 09:43

Node Agent Control:

Stop:

WSADMIN:

DMGR Console:

Command Prompt:
[wasuser@was-node1 nodeagent]$ cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/bin/
[wasuser@was-node1 bin]$ ./stopServer.sh nodeagent
[wasuser@was-node1 bin]$ ./stopNode.sh

Starting:

WSADMIN:

Command Prompt:
[wasuser@was-node1 nodeagent]$ cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/bin/
[wasuser@was-node1 bin]$ ./startServer.sh nodeagent
[wasuser@was-node1 bin]$ ./startNode.sh

Restarting:

WebSphere Application Server L1 Page 63


WSADMIN:

DMGR Console:

Node Agent Configuration:


[wasuser@was-node1 nodeagent]$ cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/config/cells/CMGR_Google/nodes/AppSrv03_Google_was -node1/servers/nodeagent

When the Node Agent is down:

Trying to start without the node agent:

WebSphere Application Server L1 Page 64


DMGR Console:

Command Line:
[wasuser@was-node1 bin]$ ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv03_Google profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3011E: Server launched but failed initialization. Server logs,
startServer.log, and other log files under
/opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/logs/server1
should contain failure information.
[wasuser@was-node1 bin]$ less /opt/IBM/WebSphere/AppServer/profiles/AppSrv03_Google/logs/server1/SystemOut.log

[12/21/14 8:46:57:224 IST] 00000001 WsServerImpl E WSVR0009E: Error occurred during startup
com.ibm.ws.exception.RuntimeError: com.ibm.ejs.EJSException: Could not register with Location Service Daemon, which could onl y reside
in the NodeAgent. Make sure the NodeAgent for this node is up and running.; nested exception is

WebSphere Application Server L1 Page 65


DMGR Console
18 October 2020 09:44

Browsing the DMGR Console Servers:

Check the port number before you browse the DMGR Console. Always remember to check in the
DMGR Profile in case of an federated profile. And server1 in case of an application server profile
which is not federated.
https://was-node50:9043/ibm/console/login.do

Overview of DMGR:

WebSphere Application Server L1 Page 66


JVM Server Creation
18 October 2020 09:46

Creating JVM Servers:

WebSphere Application Server L1 Page 67


WebSphere Application Server L1 Page 68
Create Similar JVM's on the nodes:

PROD_IVR_AppSrv01 (Node)
PROD_IVR_Server01
WebSphere Application Server L1 Page 69
PROD_IVR_Server01
PROD_IVR_Server02

PROD_IVR_AppSrv02 (Node)
PROD_IVR_Server03
PROD_IVR_Server04

WebSphere Application Server L1 Page 70


Important Command Line Files
18 October 2020 09:47

Important files in Command Line:

Serverindex.xml only inside cell/cellname/nodes/nodename/*


Server.xml inside each server cell/cellname/nodes/nodename/servers/servername/*
Variables.xml inside cell/cellname/*/nodes/nodename/*/servers/servername/*
Resources.xml cell/cellname/*/nodes/nodename/*/servers/servername/*

WebSphere Application Server L1 Page 71


About the trainer
Saturday, March 3, 2018 6:25 AM

TRAINING FOR L1 - L3
DON’T SHARE THIS DOUCUMENTATION TO ANYONE.

Overall 13 yrs of experience in IT.

Training exp in AWS / WAS / WLS / Jboss / Tomcat / Linux / AEM

Search On google with: Venkatramanvv


If you have any further questions please ask here.
What's app Or Mobile Number: 7795877759 / 9677008558

What’s App Groups:


AWS : https://chat.whatsapp.com/C4tb56ei66tDvHUCrtfVHA
Tomcat : https://chat.whatsapp.com/BsfCfQsUcJe1pumcx4K48S
WebSphere : https://chat.whatsapp.com/0aEEG87dN85CD2DWdt16cc
WebLogic : https://chat.whatsapp.com/54ouaIEstsj7T1I5sJdEYw

Free YouTube Videos On Cloud Computing: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8xhiJGgMzb3HxnW602byBe


Free YouTube Videos On Soft Skills: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-QMiGYZaAy2iJyiwCzA23e
Free YouTube Videos On IBM Websphere: https://www.youtube.com/playlist?list=PLIsHa33Rr6F85oNNkl3GYMuCK23leZjUE
Free YouTube Videos On Weblogic: https://www.youtube.com/playlist?list=PLIsHa33Rr6F8CjnxdJyD3f_xkj1wsbXKc
Free YouTube Videos On Jboss: https://www.youtube.com/playlist?list=PLIsHa33Rr6F_Drkh50IItpq3MFBAGS_lA
Free YouTube Videos On Redhat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F82fOZJh2Q9HEXpcBU2kWBZ
Free YouTube Videos On Tomcat: https://www.youtube.com/playlist?list=PLIsHa33Rr6F-91G74lFY4063uX9R3R_pJ

WebSphere Application Server L1 Page 72


Web Servers (IHS)
Sunday, December 21, 2014 7:34 AM

Agenda:

Web Server Introduction:


Web Server Installation in Binary form:
Arch Web Server:

Web Server Configuration:


Browsing of an website:
Web Server Integration with WebSphere:
Control of Web Servers from DMGR Console:

Web Server Introduction:

Web Servers, are servers which serves static pages. It doesn’t require any processing
inside the web servers.

IBM HTTP Server:

IBM HTTP Server is built on top of Apache HTTPD servers. IHS server have the same
functions as the Apache httpd Server.

Installation Concepts:

WebSphere Application Server L1 Page 73


IBM HTTP Server:

You can install this software only by a binary mode. Where the compilation of
the software is already completed by IBM. As they have already fine tuned the
values of apache http's servers services & had customized the same.

We will be installing the I H S in binary method because there is no compilations


/ building of modules

On the other hand Apache HTTPD Server can be installed in either Binary or
Source where Binary are pre-build software and the source method of
installation which starts by, building the software from the scratch like, checking
for the required modules -> Customizing what you want -> Compiling the
modules -> building the modules -> Creating proper folder structure -> Moving
the files to those folders.

Advantage of I H S:

DSO:

Previous to the Apache httpd server 1.3 we don’t have the concept called DSO.

Dynamically Shared Objects, are nothing but the objects which your planning to
load into the apache's memory, ( for eg, objects are nothing but a websphere
related clustering configuration needs to be loaded into the I H S ) you don’t need to
reinstall apache httpd server and compile it again with this module. As we can
dynamically load this configuration / module into the memory and restart the
apache httpd server / I H S.

MPM:

Previous to apache httpd server 2.0 we have only one method of addressing or
processing the incoming request. Which is called prefork.

Apache httpd server 2.0 came up with this concept of worker.

Prefork is a way of handing request, where every request becomes a process on


the unix file system and the apache httpd serve /I H S handles more memory to
process one single request. Where if you have your apache loaded with 5 MB of
modules, then each request is going to consume 5 MB of a process. Where if I
am going to get 500 request 500 X 5MB = 2500 MB of a ram required for the
WebSphere Application Server L1 Page 74
am going to get 500 request 500 X 5MB = 2500 MB of a ram required for the
same. Because there would be 500 apache httpd / I H S Process created on the
unix file system.

Worker on the other hand handles request, where every request because a part
of the process but not the process itself. Where A process can handle multiple
( pre set ) threads, So each request will be a part of the process and also shares
the memory which is on the process.

So if I get 500 request and Each process consists of 5 MB of a memory and each
process call handle 5 threads. So 500 Request / 5 Threads * 5 MB= 500MB .
Where only 100 process is required to be created.

Web Server Installation in Binary form:

Installation of I H S in Websphere can be done from IBM IM.

To start the Installation in GUI Mode:


[wasuser@was-node50 IHS & Plugin]$ cd /opt/IBM/InstallationManager/eclipse/
[wasuser@was-node50 eclipse]$ ./IBMIM

WebSphere Application Server L1 Page 75


WebSphere Application Server L1 Page 76
Click Finish to complete the installation

CLI Mode:
[wasuser@was-node50 tools]$ cd /opt/IBM/InstallationManager/eclipse/tools
[wasuser@was-node50 tools]$ ./imcl listAvailablePackages -repositories /opt/software/IHS\ \&\ Plugin/IHS/
com.ibm.websphere.IHSILAN.v85_8.5.5000.20130514_1044

WebSphere Application Server L1 Page 77


[wasuser@was-node1 tools]$ ./imcl install com.ibm.websphere.IHSILAN.v85_8.5.5000.20130514_1044 -repositories /opt/software/IHS\ \&\
Plugin/IHS/repository.config -installationDirectory /opt/IBM/HTTPServer/ -acceptLicense -properties user.ihs.allowNonRootSilentInstall=true,user.ihs.httpPort=80

Virtual Host configuration:

IP Based:
<VirtualHost 192.168.1.2:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/ivr/
ServerName www.ivr.com
ServerAlias ivr.com
ErrorLog logs/ivr.com-error_log
CustomLog logs/ivr.com-access_log common
</VirtualHost>

<VirtualHost 192.168.1.3:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/lac/
ServerName www.lac.com
ServerAlias lac.com
ErrorLog logs/lac.com-error_log
CustomLog logs/lac.com-access_log common
</VirtualHost>

Name Based:
NameVirtualHost *:80 -> Only for 2.2 version you can remove it for 2.4 version

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/ivr/
ServerName www.ivr.com
ServerAlias ivr.com
ErrorLog logs/ivr.com-error_log
CustomLog logs/ivr.com-access_log common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/lac/
ServerName www.lac.com
ServerAlias lac.com
ErrorLog logs/lac.com-error_log
CustomLog logs/lac.com-access_log common
</VirtualHost>

Port Number Based:


<VirtualHost 192.168.1.2:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/ivr/
ServerName www.ivr.com
ServerAlias ivr.com
ErrorLog logs/ivr.com-error_log
CustomLog logs/ivr.com-access_log common
</VirtualHost>

<VirtualHost 192.168.1.2:8080>
ServerAdmin [email protected]
DocumentRoot /opt/content/ivr_stage/
ServerName www.ivr.com
ServerAlias ivr.com

WebSphere Application Server L1 Page 78


ServerAlias ivr.com
ErrorLog logs/ivr.com_stage-error_log
CustomLog logs/ivr.com_stage-access_log common
</VirtualHost>

Web Server Folders:

bin/ -> Binary files. Executable file to work with both Websphere integration and Http
Server start, stop and graceful.
conf/ -> It holds on to the configuration of http and admin http server
htdocs/ -> Default document root. Document Root in the sense where the content of the
website would be stored ( html files images file so n so )
logs/ -> has the logs of all the website configured with error and access logs.
modules/ -> has the modules which is required to run with http server.

Web Server Configuration:


[wasuser@was-node1 conf]$ cd /opt/IBM/HTTPServer/conf

Vi httpd.conf

Configuration file overview:


ServerRoot "/opt/IBM/HTTPServer"

<IfModule worker.c>
ThreadLimit 25
ServerLimit 64
StartServers 1
MaxClients 600
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

64*25 = 1600

3 process created. 75 threads / request


1 start server 25 treads
4

a process can handle upto how many threds 25.


How much of max request can a process can handle /serve ? infinate.

LoadModule cgid_module modules/mod_cgid.so

Configuring a simple website ( go to the bottom of the above file and come up to search
for virtual host. You can either alter the lines are create new set of lines).
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/ivr/
ServerName www.ivr.com
ServerAlias ivr.com

WebSphere Application Server L1 Page 79


ServerAlias ivr.com
ErrorLog logs/ivr.com-error_log
CustomLog logs/ivr.com-access_log common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /opt/content/lac/
ServerName www.lac.com
ServerAlias lac.com
ErrorLog logs/lac.com-error_log
CustomLog logs/lac.com-access_log common
</VirtualHost>

<Directory /opt/content/>
Options FollowSymLinks
AllowOverride None
FileETag All -INode
Require all granted
</Directory>

Creating the Document Root and the content:


[root@localhost ~]# mkdir /opt/content/
[root@localhost ~]# mkdir /opt/content/IVR
[root@localhost ~]# mkdir /opt/content/LAC
[root@localhost ~]# vi /opt/content/IVR/index.html

<HTML>
<body bgcolor=red><br>
Hello welcome to IVR.COM<br><br>
Click <a href="https://www.ivr.com/sample1/"> here </a> to get redirected
</body>
</HTML>

[root@localhost ~]# vi /opt/content/LAC/index.html

<HTML>
<body bgcolor=green><br>
Hello welcome to LAC.COM<br><br>
Click <a href="https://www.lac.com/cal/"> here </a> to get redirected
</body>
</HTML>

Note: The above eg only for IVR change it to LAC in case if your creating another file.

Checking the config:


[wasuser@was-node50 bin]$ sudo /opt/IBM/HTTPServer/bin/apachectl -t

Starting the IBM HTTP Server:


[wasuser@was-node50 bin]$ sudo /opt/IBM/HTTPServer/bin/apachectl start

Stopping the IBM HTTP Server:


[wasuser@was-node50 bin]$ sudo /opt/IBM/HTTPServer/bin/apachectl stop

WebSphere Application Server L1 Page 80


Checking the version:
[wasuser@was-node50 bin]$ sudo /opt/IBM/HTTPServer/bin/apachectl -v

Browsing of an website:

Open the browser and type www.ivr.com

Home Work:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/opt/content/lac"
ServerName lac.com
ServerAlias www.lac.com
DirectoryIndex index.html default.html
ErrorLog "logs/lac.com-error_log"
CustomLog "logs/lac.com-access_log" common
</VirtualHost>

Create the host entry ( DNS entry of the website )


[root@localhost ~]# vi /etc/hosts

127.0.0.1 localhost.localdomain localhost www.ivr.com ivr.com www.lac.com lac.com

:wq

WebSphere Application Server L1 Page 81


Plugin
Sunday, December 21, 2014 7:41 AM

Agenda:

Plugins:
Arch Plugin:
Once plugin configured:
Important files on plugin:
Configuration of plugin:

Plugin Introduction:

Plugin is a modules where we insert it into the IBM HTTP Server. And Configure a plugin.xml file from the websphere and
place it in the location of HTTP Server. So whenever a website is called it will first check in the plugin.xml for the URI if
anything matches. If not it will serve from the web server.

Plugin Installation:

Install the Plugin:


[wasuser@was-node50 tools]$ ./imcl listAvailablePackages -repositories /opt/software/IHS\ \&\ Plugin/Plugin/repository.config
[wasuser@was-node1 tools]$ ./imcl install com.ibm.websphere.PLGILAN.v85_8.5.5000.20130514_1044 -repositories /opt/software/IHS\ \&\ Plugin/Plugin/repository.config -installationDirectory /opt/IBM/Plugins/ -acceptLicense

Plugin Configuration:

For 8.5.5
[wasuser@was-node1 bin]$ cd /opt/IBM/WebSphere/Plugins/bin/
[wasuser@was-node1 bin]$ vi ConfigureIHSPlugin.sh

The first line it will load /bin/ksh modify it to /bin/sh

[wasuser@was-node1 bin]$ ./ConfigureIHSPlugin.sh -plugin.home /opt/IBM/Plugins/ -plugin.config.xml /opt/IBM/Plugins/config/IVR_Webserver01/plugin-cfg.xml -ihs.conf.file /opt/IBM/HTTPServer/conf/httpd.conf -ihs.admin.usergroup httpadm -
operating.system Linux -operating.system.arch 64 -WAS.webserver.name IVR_Webserver01 -WAS.host.name was-node50

If the build Fails:

1) The problem could be the webserver1 or the <NAME OF THE WEB SERVER> Directory doesn’t exists.
/opt/IBM/Plugins/config/<NAME OF THE WEBSERVER>/plugin-cfg.xml

Copy the plugin.xml file from /<DMGR_PROFILE>/config/cell/plugin-cfg.xml

To get the Plugin Config file go to:

Validate the changes:

WebSphere Application Server L1 Page 82


Validate the changes:
[wasuser@was-node1 bin]$ vi /opt/IBM/HTTPServer/conf/httpd.conf

Go to the bottom of the file:


LoadModule was_ap22_module /opt/IBM/Plugins//bin/mod_was_ap22_http.so
WebSpherePluginConfig /opt/IBM/HTTPServer/Plugins/config/yahoo_webServer1/plugin-cfg.xml

For 9.o Version:


[wasuser@was-node1 bin]$ mkdir /opt/IBM/WebSphere/Plugins/config/Prod_IVR_WS01
[wasuser@was-node1 bin]$ touch plugin-cfg.xml

Go to console -> Environment -> update global plugin configuration -> Overwrite
[wasadm@was-node1 Dev_IVR_WS01]$ cp /opt/IBM/WebSphere/AppServer/profiles/Prod_IVR_DMGR01/config/cells/plugin-cfg.xml /opt/IBM/WebSphere/Plugins/config/Prod_IVR_WS01/

[wasuser@was-node1 bin]$ vi /opt/IBM/HTTPServer/conf/httpd.conf

Go to the bottom of the file:


LoadModule was_ap24_module /opt/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap24_http.so
WebSpherePluginConfig /opt/IBM/WebSphere/Plugins/config/Prod_IVR_WS01/plugin-cfg.xml

Plugin-cfg.xml overview:
<Log LogLevel="Error" Name="/opt/IBM/HTTPServer/Plugins/logs/yahoo_webServer1/http_plugin.log"/>

Add a virtual host to browse the application from www.yahoo.com:80

Three Virtual Host:

www.yahoo.com 80

How it works:

Start the apache


All the modules loaded
Was modules gets loaded we gave -D DUMP_MODULES and checked.
The website when it loads into the apache and a request is coming for that website.
It first checks the plugin-cfg.xml and sees if there is anything mounted to it.
That where we loaded /cal.

Generating & Propagating:

WebSphere Application Server L1 Page 83


Browsing Separately:
Browsing everything in one URL:

WebSphere Application Server L1 Page 84


IHS with WebSphere Console
Thursday, July 14, 2016 9:43 AM

Web Server Integration with WebSphere:


[wasuser@was-node1 conf]$ cd /opt/IBM/HTTPServer/conf

vi admin.conf
Listen 8008

ServerName was-node50:8008

Starting Admin CTL :


[root@was-node1 conf]# sudo /opt/IBM/HTTPServer/bin/adminctl start

OR
[root@was-node1 conf]# cd /opt/IBM/HTTPServer/bin/
[root@was-node1 bin]# ./adminctl start
./adminctl start: admin http started
[root@was-node1 bin]# ./adminctl start
./adminctl start: admin http (pid 6504) already running

Create a new password for your admin httpd server:


[wasuser@was-node50 bin]$ cd /opt/IBM/HTTPServer/bin
[root@was-node1 bin]# ./htpasswd -c /opt/IBM/HTTPServer/conf/admin.passwd httpadm
New password:
Re-type new password:
Adding password for user httpadm

Control of Web Servers from DMGR Console:


WebSphere Application Server L1 Page 85
Control of Web Servers from DMGR Console:

WebSphere Application Server L1 Page 86


Change the path of the plugin to /opt/IBM/Plugins/

WebSphere Application Server L1 Page 87


WebSphere Application Server L1 Page 88
JDBC
Sunday, December 21, 2014 7:47 AM

Agenda:
Introduction & Arch:
Creating a Provider:
Creating a DS:
Configuring a Connection Pool:
Testing with the database:

Introduction:

Java DataBase Connectivity. Where we use JDBC to connect to different databases to get the
values from the database in terms of updating the client with them. You can create new tables or
modify existing or delete the tables.

To create a database connectivity, the following should be created first:

A Websphere Application Server. -> WAS


A Database Server ( could be any database ). -> MYSQL

A Provider Creation. -> Provider gives the details of what the database is and how websphere
has to communicate with it. So bascially we need to load a module to the DB and
implementation class and helper class ( default ). These details can be either collected from the
internet or from an DB Admin's.

A Data Source Creation. -> Here we provide more details about the database we are
connecting with, firstly we start with a JNDI ( Java Naming Directory Interface ) name, where
JNDI name would be referred by the application which is trying to access this database. Hence,
the JNDI should match the client requirements. The Database Name. The Database Server Host
Name. The Database User Name. The Database Password. The Database port number.

A Connection Pool Defined. -> We fine tune some values here where these values are used
while connecting to the database.

Note: You can install a database on single system or multiple ( network connectivity is required ).

Creating a Provider:

WebSphere Application Server L1 Page 89


com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource

[wasuser@was-node1 bin]$ mv /home/wasuser/Desktop/mysql-connector-java-5.1.14-bin.jar /opt/IBM/WebSphere/AppServer/util/

/opt/IBM/WebSphere/AppServer/util/mysql-connector-java-5.1.14-bin.jar

WebSphere Application Server L1 Page 90


Creating a DS:

WebSphere Application Server L1 Page 91


T

For username and password we encrypt using the following:

WebSphere Application Server L1 Page 92


WebSphere Application Server L1 Page 93
Configuring a Connection Pool:

WebSphere Application Server L1 Page 94


Testing with the database:

WebSphere Application Server L1 Page 95


MQ
Tuesday, January 6, 2015 11:21 AM

Messaging Queue:

MQ is a component which is configured using Websphere application server as a client and the MQ
application software as the server.

Application which used to send messages would be using queue or topic which you configure in the WAS
server and sends out messages to the MQ server. MQ Server then stores the messages and sends it to
the correct people who needs to get delivered with the messages.

It uses the same concept as the JMX.

JMX: Java Messaging Extension. Where the internal components of Websphere Application Server uses
the JMX to send out messages to different components. Like a communication btw, a DMGR server to a
Node Agent.

Messaging server:

Real time:

HONDA

Retail Branch
Mumbai

Sales Branch
Chennai

Invoice Branch
Bangalore

WebSphere Application Server L1 Page 96


What is the use of having a Messaging System ?

Messaging system can communicate in two ways.

Sync Communication:

A communication which is done though voice or video where one person will need to reply.

Async Communication:

A communication which is done though mail or messages.

JMS Java Messaging Service.

Configuration:

Provider:
Define about the type, driver, class files and version of MQ provider we are going to connect with.

Queues:

Sender JMS / MQ Server Receiver

Sender will send out messages and it would be stored in the JMS server and it gets delivered at
the receiver's end.

As it’s a queue system, the messages would stand in line and get out for delivery.

As it’s a queue system, One sender can send one message at a time to one receiver.

The Sender knows the receiver.

There is no time limit for the messages to get delivered.

Topic System:

Publisher JMS / MQ Server Subscriber

WebSphere Application Server L1 Page 97


This is a topic system, where publisher would publish his content to the JMS server and
anyone can subscribe to it.

The message would go randomly to the JMS server and any number of people can subscribe
to it.

Available for a specific time limit.

This is not an intended message, so the publisher will not have any idea about the
subscriber.

The Provider Configuration:

As JMS/MQ is the default provider the WAS would come with already defined provider configuration.
You can verify the same here.

The connection Factory:

WebSphere Application Server L1 Page 98


SYSTEM.ADMIN.SVRCONN

Creating a QUEUE:

WebSphere Application Server L1 Page 99


Creating a TOPIC:

WebSphere Application Server L1 Page 100

You might also like