Documente Academic
Documente Profesional
Documente Cultură
Cell: It is an logical administrative boundary used to control application servers and applications.
When you create Deployment Manager Profile it will create a Cell.
Node : A profile with Node agent process is called as Node.
One physical system can contain many profiles which means many nodes on same system.
Profile : Profiles are collection of configuration files created from Installed Repository.
We have 4 types profiles
WAS 6.1 : Cell Profile,Dmgr Profile, Application Server Profile, Custom Profile
WAS 6.0 provided with 3 profiles : Dmgr Profile, Application Server Profile, Custom Profile
1.Deployment Manager Profile: It will create a Cell. When install Deployment Manager profile
we will get a process called dmgr.
We will be having GUI based administration and command based administration.
GUI based adminconsole is an application deployed on in built web container IBM HTTP Server
of WAS Server.
Admin Console is a single point of administration of servers and application under a cell.Dmgr
will contain Central Repository for all Nodes under that cell.
This profile used for Clustering, High Availability and Scalability.
Note: We cannt deploy Applications on Dmgr process it used for only administration.
When We create profile we need to remember below things.
1.Admin Port (WC_adminhost) =9060 (default )
2.Application Port (WC_defaulthost) = 9080 (default)
3.SOAP Port number (This is used in Federation Process )
We can find these details from configuration files(Which are XMLs ).
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/<CellName>/nodes/<Node
Name>/ServerIndex.xml
2. Application Server Profile : When we create this profile we will have one process named
server1.you can not change name of this server.Adminconsole and FTP system applications are
installed on in build web container Web server.
We call this as stand alone node as Administration is controlled by Server1 process only.
1.Admin Port (WC_adminhost) =9060 (default )
2.Application Port (WC_defaulthost) = 9080 (default)
We can have many Application server profiles on single machine also.Then Admin port and
Application ports will get changed.
https://localhost:9060/ibm/console ----Admin Console URL
https://localhost:9080/<ApplicationURI> ---Application URL
We need to have Dmgr host name and SOAP port number handy here.
Login application profile server box/machine.
Need to run addNode command from profile bin directory.
Cd /opt/IBM/WebSphere/AppServer/profiles/<ProfileName>/bin
./add Node.sh <Dmgr Hostname> <Dmgr SOAP Port > -includeApps includeBuses
Cd C:/ProgramFiles/IBM/WebSphere/AppServer/Profiles/<Profile Name>/bin
add Node.bat <Dmgr Hostname> <Dmgr SOAP Port > -includeApps includeBuses
Federation Process:
Federation process will stop running Server1 process. Federation process will takes place after
backup config.
Once federation is successful then you can see nodeagent process up and running for that profile.
Now we can create as many servers as you want under this profile.
Before Federation
After Federation
2.Managed Node
3.We can create many server process
4.Node agent process will exists
5.Dmgr Adminconsole is used for config
changes
6.Config Repository will be available with Dmgr
7.For every config changes Nodeagent need to
Sync with Dmgr
3.Custom Profile :
We will call this profile as Empty Node. While installing this profile we need to supply Dmgr host
name and SOAP port details.
This is profile will be federated while installing without any server process in it.So thats why it is
called as Empty node.
Use of this empty node is that If we want to control(Start/Stop/Plug-in Generation/Plug-in
Propagation) Web servers (Other than IBMIHS) we need to have node agent to process.
In case of IBMIHS we will be having IBMIHS admin Service which act as nodeagent process
between Webserver and Dmgr.
4.Cell Profile :
It is will create one Dmgr profile and one Application server profile which is federated to create
Dmgr profile.
Means you will having dmgr console which has one AppSrv node.In that node we can see server1
process.
Profiles are created while installing WAS.If we want to create profiles after WAS installation
We have two options.
1.GUI Mode
2.Command line
GUI Mode:
WAS 6.0 : We have Profile creation wizard.
/opt/IBM/WebSphere/AppServer/bin/ProfileCreator/pct.sh
C:/Program Files/IBM/WebSphere/AppServer/bin/ProfileCreator/pct.bat
WAS 6.1 :We have Profile Management Tool
/opt/IBM/WebSphere/AppServer/bin/ProfileManagement/pmt.sh
C:/Program Files/IBM/WebSphere/AppServer/bin/ProfileManagement/pmt.bat
Command Line:
We have command line tool to create ,delete,update profiles.
WAS 6.0 :
/opt/IBM/WebSphere/AppServer/bin/wasprofile.sh
C:/Program Files/IBM/WebSphere/AppServer/bin/ wasprofiles.bat
WAS 6.1:
/opt/IBM/WebSphere/AppServer/bin/manageprofile.sh
C:/Program Files/IBM/WebSphere/AppServer/bin/ manageprofiles.bat
Profile Delete Process: If we want delete a profile we cant do it from Command line tool
(wasprofiles.sh/manageprofiles.sh)
Security : Generally security will be disabled for Admin Console.It means every one who knows
host name and Admin port can access Admin console using url
http://<hostname>:9060/ibm/console
And they can configuration changes which is not acceptable.
To avoid this we can enable security which saves Admin console from unauthorized access.
We can 4 types of Repository stores to enable security
1.Local OS
2.Stand Alone LDAP
3.Federated LDAP
4.Customised Repository
If we use Local OS repository User name and password are stored in Local OS (windows/UNIX).
When Adminconsole accessed by some one ,it connects to Local OS and checks username and
password and grants the access. It is used for small number of users.
Note: To use Local OS WAS process should be running as root or administrative privileges.
Stand Alone LDAP used to store Large number of users.
Uncheck Circled option and restart the server to disable security to console.
If you select second option Enable Java 2 security, then security is enabled to application also.
Means we need provide user ID/password to access application also.
Now security is disabled so in pic showing false if security enabled it will show True.
Just open this xml and change that true value to false to make security disable.
Server Start/Stop :
We can start stop servers from Dmgr consoles and command prompt.
If it a stand alone server we cannt stop from Admin console.
From command prompt
Stop server1 from Profile AppSrv01
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/StartServer.sh server1
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/StopServer.sh server1
C:/IBM//WebSphere/AppServer/profiles/AppSrv01/bin/StartServer.bat server1
C:/IBM//WebSphere/AppServer/profiles/AppSrv01/bin/StopServer.bat server1
Start/Stop Nodeagent :
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/StartNode.sh
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/StopNode.sh
C:/IBM//WebSphere/AppServer/profiles/AppSrv01/bin/StartNode.bat
C:/IBM//WebSphere/AppServer/profiles/AppSrv01/bin/StopNode.bat
Start/Stop Dmgr :
WebServers:
Webservers are added to Admin console as Managed Node or Unmanaged Node.
Command line :
/opt/IBMIHS/bin/apachectl Start/Stop/Restart
C:/IBM/IBMHTTPServer/bin/apachectl Start/Stop/Restart
/opt/IBMIHS/bin/adminctl Start/Stop/Restart
C:/IBM/IBMHTTPServer/bin/adminctl Start/Stop/Restart
Ps ef | grep <servername>
Examples :
Ps ef | grep server1 ,
Ps ef | grep nodeagent,
Ps ef | grep dmgr
Every process running with one user ID .It lists all processes running with mentioned user ID.
Example :
Ps ef | grep web
Lists all processes running with wedsrvr,webas,webadm all.
In Pic I marked all running admin processes. Rest all are webserver processes.
Plug-ins :
Here Plugin-cfg.xml contains all servers, cluster details, Application URIs deployed on all server
and Port details .
When ever Application modification, port changes, new application installation and uninstallation
we need to generate and propagate Plugin-cfg.xml.
Logs :
For every server process we will having main 6 log files.
SystemOut.log,SystemErr.log,native_stdout.log,native_stderr.log,startserver.log and stopserver.log
Startserver.log : When ever you try to start the server this will be get updated.
Stopserver.log : When ever we try to stop the server this will be get updated.
Below two logs also called as System logs.As they log all system (Server+applicationetc) logs.
System logs:
SystemOut.log : This is called all activities are logged here. Regarding application, server
start/stop and all other transactions updated here. It is very important log file for Server
For any issues first we look in this log and check other logs for other details.
SystemErr.log: Only application related, server related exceptions, errors will log here.
Below logs are called as Process logs.It logs are running java process information.
Process logs:
native_stdout.log : Same like SystemOut.log but logs all process related exceptions, transaction
info.
native_stderr.log : It logs all process related errors here.It alos logs garbage collection logs also.
Out of memory exceptions all are logged here.