Professional Documents
Culture Documents
3.01 System Management
3.01 System Management
3.01 System Management
WebSphere Software
WAS
WebSphere WebSphere
Administrative
Clients
Commands to
XML manage server
J2EE EAR
J2EE
Apps
Application (EARs)
Server
Config
Files
Standalone Node
:
WebSphere
Administrative Clients
Application Server
Internet or
WEB Container
9060
Intranet Embedded HTTP Server
Web Browser
Admin Services/JMX
Custom Java
Admin Clients
Standalone Node
WebSphere
WebSphere(wsadmin)
Java
/
:
WebSphere
Administrative Clients Configuration Files
Application Server
CELL
Internet or
WEB Container
Intranet 9060 Applications
Web Browser Embedded HTTP Server
Node
Admin
Console
Applicatio Config J2EE Server A
Scripting Client n
(wsadmin) Files Apps
(EARs) Resources.xml
Soap/HTTP Server.xml
or
RMI-IIOP
Variables.xml
Admin Services/JMX Configuration
Custom Java
Admin Clients Repository
Standalone Node
XMLWebSphereconfig
<%WAS_PROFILE%>/config
J2EE
Web
WebSphereWeb
Web
Web
Web/
Web New
v6
Standalone Node
Web
Server Plug-in
Plug-in
Module
Config
XML file Application Server
OS
S1
HTTP(S) J2EE
J2EE App. J2EE
J2EE App.
(EAR)
J2EE
Applications (EAR)
J2EE
Applications
Applications
(EAR) Applications
(EAR)
(EAR) (EAR)
Web
Server Plug-in
Plug-in
Config
Module
XML file
OS
S2 HTTP(S)
S1S2Web
Web(plugin-cfg.xml)
(ND)
ND :
WebSphere
Administrative
Clients
WebSphere Manage the entire Cell
Commands
Config J2EE
Files Apps
(EARs)
V6 V6 V6 V6
Application Application Application Application
Server Server Server Server
V6 Node V6 Node
ND :
WebSphere
Deployment Manager Master
Administrative Clients Configuration for
the Entire Cell
WEB Container Config J2EE
Internet Apps
9060 Files
or Embedded HTTP Server (EARs)
Intranet
Web Browser
Admin
Console
Application
Scripting Client
(wsadmin)
Soap/HTTP Admin Services
or Config J2EE
RMI-IIOP Files Apps
(EARs)
Custom Java
Admin Clients
NDWebSphere
V6 V6 V6 V6
Application
Server
Application
Server
Application
Server
Application
Server
ND-
WebSphere
ND :
Node Agent
Node Agent
Node Agent
V6 Node
Web
WebWebSphere
Web
Web
Web
WebSphereWeb
WebNode Agent
New
: Web v6
Web
Server Plug-in
Plug-in
Config
Module
XML file
OS
S1
V6 V6
Node Agent Node Agent
HTTP(S)
V6
Application V6
Application
V6
Application V6
Application
Web Server Server Server Server
A B C D
Server Plug-in V6 Node V6 Node
Plug-in
Config
Module
XML file
OS
S2
HTTP(S)
S1WebAD
S2WebBC
Webplugin-cfg.xml
ND :
Config J2EE
Files Apps
(EARs)
DMgrNode Agent
Master
Configuration
DMgrNode Agent
Http(s)
Node Agent
Config J2EE
DMgr Files Apps
(EARs)
HTTPs Node
Configuration
V6 Node
ND
Deployment
3
Manager Node
Agent Config J2EE
Cell Sync
4 Files Apps
(EARs)
Node
Configuration
2 Handles file transfer Application Application
for Deployment Server Server
Manager
Node
Config J2EE
Master
Files Apps
(EARs) Configuration
1.
2.
3.
5.
Node Agent
1
:
wsadmin
syncNode
Node AgentDMgrDMgr
WebSphereXMLJ2EE
DMgr
ND :
V6
Deployment Config J2EE
Manager Files Apps
(EARs)
Cell Files
cell.xml
Config J2EE
security.xml Config J2EE Node Agent
Node Agent
Files Apps variables.xml Files Apps
(EARs) (EARs)
virtualhosts.xml
resources.xml
Server
Server Server
A B
/buses C
Node A /coregroups Node B
Node A
node.xml /nodegroups node.xml
serverindex.xml Node B
/applications serverindex.xml
variables.xml variables.xml
resources.xml resources.xml
app.policy app.policy
/servers /servers
Server A Server B
server.xml server.xml Server C
variables.xml variables.xml server.xml
resources.xml resources.xml variables.xml
resources.xml Node B specific files
Node A specific files
Server B Server D
Node B Applications
Server Server Server Server
A B C D
Node A Node B
serverindex.xml
Node A Node B
Node Agent B
4
1. Server C
2. Server D
3. DMgr
4. serverindex.xml()
Example:
DMgr Master Repository
Cell
,
Nodes
Servers
24
2009 IBM Corporation
WebSphere Software
applications -DMgr
EAR
deployment.xml
buses SIBus
coreGroups
nodeGroups
nodes
25
2009 IBM Corporation
WebSphere Software
:
admin-autz.xml
cell.xml
coregroupbridge.xml
filter.xml Java2
multibroker.xml DRS
namestore.xml
naming-autz.xml
pmirm.xml
resources.xml JDBCJMS
security.xml
variables.xml
virtualhosts.xml
ws-security.xml Web
resources-pme.xml, resources-pme502.xml PME
26
2009 IBM Corporation
WebSphere Software
:
app.policy, library.policy, spi.policy Java2 DMgr ()
J2C
installed-channels.xml WebSphere
TCP, SSL, HTTP, HTTP
namestore.xml JNDI
node.xml
node-metadata.properties
perftuners.xml
resources.xml (JDBCJMS)
resources-pme.xml and resources-pme502.xml
PME
serverindex.xml
variables.xml
27
2009 IBM Corporation
WebSphere Software
: DMgr
DMgr ()
app.policy, library.policy, spi.policy Java2
J2C
installed-channels.xml WebSphere
TCP, SSL, HTTP, HTTP
namestore.xml JNDI
node.xml
node-metadata.properties
resources.xml (JDBCJMS)
serverindex.xml
variables.xml
28
2009 IBM Corporation
WebSphere Software
:
hamanagerservice.xml
HAManager
isAliveperiod
pmi-config.xml
resources.xml JDBCJMS
resources-pme.xml resources-pme502.xmlPME
server.xml JVM
server-pme51.xml server-pme.xml PME
sib-authorisations.xml SIBus
sib-engines.xml SIBus
sib-service.xml SIBus
variables.xml
ws-security.xml Web
29
2009 IBM Corporation
WebSphere Software
: DMgr
hamanagerservice.xml
HAManager
isAliveperiod
DMgr ()
server.xml
JVM
server-pme51.xml server-pme.xml
PME
30
2009 IBM Corporation
WebSphere Software
: Node Agent
hamanagerservice.xml
HAManagerisAliveperiod
server.xml
JVM
: (Dmgr)
:
:
:
: serverindex.xml
serverindex.xml
: ND
DMgr
Node Agent
WAS
WAS
WASWAS
WAS
Configuration Configuration
Configuration
Archive (.car) Configuration
(.car) Archive (.car)
Archive
(.car) Archive (.car)
$AdminTask exportServer { -archive c:\myServer.car nodeName
node1 serverName server1}
$AdminTask exportWasprofile {-archive c:\myCell.car }
WASWPSWebSphere Process Server
$AdminTask importServer {- archive c:\myServer.car [-
nodeInArchive node1] [-serverInArchive server1] [nodeName node1]
[serverName server1] }
$AdminTask importWasprofile {-archive c:\myCell.car}
backupConfig
backupConfigconfig
WAS
WebSphere
windowUnix window
Unix
Node Agent
Node Agent
(Server > Java and
()
Process Management >
Monitor Policy setting
Window :
Windows
DMgr
addNodeNode Agent
WASService.exe
Administrator
WASService.exe (Windows)
WASServiceWASWindow
WASService.exe
WASService.exe -add <service_name> -serverName <Server> profilePath <servers
profile path> <options>
WASService.exe
WASService.exe -remove
WASService.exe start
WASService.exe stop
WASService.exe status
WASService
UNIX:
<WAS_ROOT>/binrc.was shell
script startServer
: startServer server1 script start_server1.sh
(numRetries=3)
inittab
was:235:once:/usr/WebSphere/AppServer/bin/rc.was >/dev/console 2>&1
inittab
235
once inittabboot respawn
startServer
UNIX: : rc.was
rc.was
launchScript=start_server1.sh
numRetries=3 ; RETRY=0
while [ $RETRY -lt $numRetries ]
do
$binDir/$launchScript # launching server using $launchScript
rc=$?
echo exit code: $rc
# Increment retry count on anything other than a normal exit code
if [ $rc -gt 0 ]
then
RETRY=`expr $RETRY + 1`
fi
case $rc in
0) break ;;
Node Agent
inittab
WASWAS
bin <PROFILE_HOME>/bin
<WAS_HOME>/bin
<PROFILE_HOME>/bin
bin-profileName
<WAS_HOME>/bin -profileName
backupConfig <>
Zip
backupConfig
NDDMgrbackConfig
restoreConfig <>
syncNode
Node Agent
wsadmin
cleanupNode <cellhost> <cellport>
DMgr
collector
jar
OS
waslogbr
Log Analyzer
dumpNameSpace
JNDI(Java Naming and Directory)
ws_ant
WASANT
ikeyman
SSL
ejbdeploy
EJB
GenPluginCfg
HTTP
wsadmin
serverStatus
: serverStatus <>
versionInfo
IBM WAS
genHistoryReport, genVersionReport
HTML/
ivt ()
: ivt server_name profile_name -p port_number [-host host_name]
, ivt server1 AppSvr01 p 9080
PropFilePasswordEncoder
:
PropFilePasswordEncoder Filename passwordPropertieslist
JspBatchCompiler
web JSP
<PROFILE_HOME>/bin
: startServer server1
<INSTALL_HOME>/bin
: startServer profileName AppSrv01 server1
<PROFILE_HOME>/logs/<server_name>
Windows
Start > Programs > IBM WebSphere > Application Server Vx.y > Profiles > <Profile> >
Start the Server
Windows
WASService.exe
> >
ND:
startServer:
: startServer profile <profileName> <serverName> options
Node Agent
DMgrwsadmin
ND:
stopServer
stopServer.bat (sh) profile <profileName> <serverName> options
wsadmin
DMgrNode Agent
DMgr
startManager -profileName <DMgr Profile Name>
startServer - profileName <DMgr Profile Name> dmgr
stopManager -profileName <DMgr Profile Name >
stopServer - profileName <DMgr Profile Name > dmgr
Node Agent
startNode -profileName <Managed Node Profile Name>
startServer - profileName < Managed Node Profile Name > nodeagent
stopNode -profileName < Managed Node Profile Name >
stopServer - profileName < Managed Node Profile Name > nodeagent
Node Agent
Node Agent
Windows
Windows
manageprofiles
WebSphere
manageprofiles.bat[.sh]
: <install_root>/bin/manageprofiles.bat[sh]
(pmt.bat[sh])manageprofiles
WebSphere(cont.)
Manageprofiles
(-create)
(-delete)
(-augment)
(-unaugment)
(-deleteAll)
(-listProfiles)
(-getName)
(-getPath)
(-validateRegistry)
(-validateAndUpdateRegistry)
(-getDefaultName)
(-setDefaultName)
(-backupProfile)
(-restoreProfile)
-help
WebSphere(cont.):
/logs/manageprofiles
manageprofiles_create_profile_name.log
/logs/manageprofiles
manageprofiles_delete_profile_name.log.
WebSphere(cont.):
: manageprofiles -create templatePath
<fully_qualified_template_path>
profileTemplates
profileName:
profilePath:
hostName:
nodeName:
cellName:
WebSphere
key/value
: manageprofiles response <response_file>
create
profileName=testResponseFileCreate
profilePath=<PROFILE_HOME>
templatePath=<install_root>/profileTemplates/default
nodeName=myNodeName
cellName=myCellName
hostName=myHostName
omitAction=myOptionalAction1, myOptionalAction2
<PROFILE_HOME>
Windows: C:\Program
Files\IBM\WebSphere\AppServer\profiles\AppSrv01
manageprofiles
manageprofiles backupProfile profileName <profile_name> backupFile
<backup_file>
manageprofiles restoreProfile backupFile <backup_file>
Manageprofiles
manageprofiles
-omitAction
manageprofiles create templatePath <install_root>/profileTemplates/default -
omitAction deployAdminConsole samplesInstallAndConfig defaultAppDeployAndConfig
manageprofiles create templatePath <install_root>/profileTemplates/dmgr -
enableAdminSecurity true adminUserName <user_name> adminPassword
<password>
manageprofiles setDefaultName profileName <profile_name>
manageprofiles getDefaultName
Cell
Deployment Manager
Node
Node Agent
74
2009 IBM Corporation
WebSphere Software
TCP ()
UDP
Nodes and servers
Applications
Clusters
Node Group
Core Groups
Service Integration Bus
75
2009 IBM Corporation
WebSphere Software
DMgr
76
2009 IBM Corporation
WebSphere Software
(
)
, OS,
Admin Console also contains the Node local topology view (not shown here) to view the servers on the Node
77
2009 IBM Corporation
WebSphere Software
Node Agent
Node Agent
Node Agent
Node Agent
JVMJVM
ID
Node Agent
DMgrNode Agent
JMX(SOAP/RMI
Mbean
ORB
java
WAS
79
2009 IBM Corporation
WebSphere Software
81
2009 IBM Corporation
WebSphere Software
Run in development mode
Parallel Start
Classloader Policy J2EE
Multiple
Single
Class loading mode
Parent first
Classloader
Classloader
Parent last Multiple
Classloader Single
Classloader
Parent First
Parent Last
Web/EJB
Servlet
Web
EJB
JNDIEJB HTTP
EJB
EJB
bean
EJB
.
New
Container Services v6
Profiling
v5.x
PME -
PME
PME
PME - bean
ORB
New
Business Process v6
Activation Session -
EJB
Work area partition service
Work area service
PME -
PME
PME -
New
Messaging Services v6
MQ
SIB
V5MDB
Infrastructure Services
JVM
JVM
JVM
JVMUMASK
JMX
SOAPRMI
Mbean
New
v6
PMI
PMITPV PMI
Security
WebWeb
Java2
Web
Trouble Shooting
HTTPNCSA
IBMIBM
HTTP activity.log
Applications as Compositions
Composition - BLAs
Application
Application
Application
Configuration
composition units DB2
Database
Web .Net
Library Enterprise
Module Service
EJB Application
Module
WAR EAR
EJB
JAR Java
Library
BLA Concepts
BLA BLA
BLA
(Composition)
BLA
Asset
(Application Binaries) WAR
Java EAR
EJB Library
JAR
a.jar deployed
BLA b1 CU
a.jar needs
a.jar b.jar b.jar
Is there a
library CU Create a
dependency
shared
for b.jar?
library
CU for
b.jar
asset a.jar
If no
Job Manager
Control multiple endpoints
Remote management
Loose Coupling
Admin Manager
Agent Deploy-
ment
Mgr
Admin
Agent
Security
Server Administration Server Network Deployment Cell
WebSphere
Server Administration
Server
Application Server Server
Clustering
Server
Server
WebSphere
Property_name = foo
Scope = Server
Name = server1
MaximumHeapSize= 1024
ORB_LISTENER_ADDRESS_PORT = 9001
# ---------------------------
# comment line
# ---------------------------
extract
apply
delete
:
WAS-ND
WebSphere WAS, ND
DMgr
(CIM)
jobmanagerdmgr
WebSphere Application Server
IBM HTTP Server
Application Clients
DMZ Security Proxy Server
Web Server Plug-in
IIM
IIM
Inventory info
WAS
WAS
Questions?
Thai
Traditional Chinese
Russian
Gracias Spanish
Merci French
Obrigado
Brazilian Portuguese
Arabic
Grazie
Italian
Danke
German
Simplified Chinese
Japanese
Bus
Channel
Cell
Naming
Naming Space
Network Deployment:
Node
Managed Node
Repository