The PeopleSoft Internet Architecture running on the WebLogic Server takes advantage of WebLogic’s managed server architecture. This appendix provides overview discussion and discusses:
Administering a WebLogic server life cycle.
Tuning performance and monitoring resources.
Changing configuration settings.
Applying an example single-server configuration.
Applying an example multi-server configuration.
See Also
Clustering and High Availability for PeopleSoft on My Oracle Support
PIA is packaged as a J2EE Enterprise Archive and is comprised of a collection of J2EE web applications, commonly referred to as webapps or servlets. For the most part, in the context of PeopleSoft, the term 'servlets' is used. The PeopleSoft servlets are:
PORTAL |
PeopleSoft Portal |
PSIGW |
Integration gateway |
PSOL |
PeopleSoft On-line Library |
PSEMHUB |
PeopleSoft Environment Management Framework |
PSINTERLINKS |
PeopleSoft Business Interlinks Note. PeopleSoft Business Interlinks is a deprecated product. These options exist for upgrade compatibility and transition. |
In addition, these servlets are added when you install PIA on a WebLogic server machine. These elements are not part of the PeopleSoft Enterprise Archive, but instead are defined individually.
Reverse Proxy Server – Proxy to a single content server per URL. Each URL can provide unique content. |
|
Reverse Proxy Server – Proxy to multiple WebLogic servers. All content servers provide access to the same content for load balancing. |
|
Administrative console for WebLogic Server. |
This section provides an overview of Weblogic domain types and discusses:
Single-server domain.
Multi-server domain.
Distributed managed server.
Common default settings.
Single-server and multi-server/distributed server analogy.
Domain topology.
During PIA setup, you can choose between two different WebLogic domain configurations: a single-server domain and a multi-server domain. A multi-server domain can be expanded across multiple machines using the distributed managed server option. So, a distributed managed server implementation is a variation of the multi-server domain. Each of these domain configurations has a specific purpose but is fully customizable beyond that purpose.
This section discusses:
single-server domains.
multi-server domains.
distributed managed servers.
In a single-server configuration, the WebLogic domain’s administration console and the J2EE components of PIA are all provided on a single instance of WebLogic Server. This configuration is intended for single-user or very small scale, non-critical production environments. It can be used as a starting point for you to familiarize yourself with WebLogic Server.
In a single-server domain, the resources used to administer WebLogic Server and your PeopleSoft application are not isolated from one another, therefore you don't administer each element individually. While each element must complete for the same resources, the low resource requirements of this configuration make it ideal for small scale and non-production usage.
The single-server domain in a PeopleSoft implementation consists of only one server: PIA.
Single-Server Deployment
Some of the servlets deployed in a single-server domain configuration must be accessed using a modified URL:
http://server:port/servlet_name/...
The single-server domain configuration deploys servlets as follows:
Application |
Deployed to Server |
Servlet Name in URL |
PORTAL |
PIA |
(not needed) |
PSIGW |
PIA |
PSIGW |
PSOL |
PIA |
PSOL |
PSEMHUB |
PIA |
PSEMHUB |
PSINTERLINKS |
PIA |
PSINTERLINKS |
Console |
PIA |
console |
HttpProxyServlet |
Defined but not deployed. |
(not needed) |
HttpClusterServlet |
Defined but not deployed. |
(not needed) |
Single-Server Domain Specific Settings
To configure the single-server domain specific settings, launch the Administration Console.
In the console, expand the Environment tree and select Servers. Click on the PIA server. Select the Configuration tab, and the General sub-tab. The default web application for the PIA server is PORTAL. The single-server domain specific default settings for the PIA server are as follows:
Setting |
Default Value |
Listen address |
* (all local IPs). |
Listen Port |
80 (set during PIA setup). |
SSL Listen Port Enabled |
Enabled with demonstration self-signed digital certificates. |
SSL Listen Port |
443 (set during PIA setup). |
Note. To configure SSL, you must also define SSL certificates.
See Implementing WebLogic SSL Keys and Certificates.
Example: Single-Server Domain
The following illustrates sample contents of a typical single-server domain:
Server |
Process Type |
WebLogic and PIA Elements |
Single server machine |
WebLogic administration |
Weblogic Administration Server |
Server instance |
PIA |
|
Servlet or application |
Administration Console PORTAL PSEMHUB PSIGW |
The multi-server domain configuration is intended for production environments. This configuration takes advantage of WebLogic’s administration server and managed server architecture. In a multi-server configuration, multiple instances of WebLogic server are used, each contributing a specific function. The WebLogic console is provided on the domain’s administration server, WebLogicAdmin, and the J2EE components of PIA are provided on individual or shared WebLogic managed servers.
A production application warrants process and resource pool isolation for greater stability and optionally tighter security controls, which this configuration provides. In a multi-server configuration, the resources used for WebLogic domain administration and monitoring are isolated from similar resources used to support the PIA application. A server process named WebLogicAdmin performs nothing but WebLogic administration, which includes domain administration and monitoring. Continuing that separation, the individual PIA servlets are (usually) isolated from each other. The PIA servlets are targeted and deployed across a portion of the six remaining server definitions, all of which are classified as managed servers, which are delivered in the multi-server configuration.
A multi-server domain in a PeopleSoft implementation creates the following servers:
WebLogicAdmin |
Administration server for WebLogic domain administration. |
PIA |
Server for the PeopleSoft Portal and integration gateway. |
PIA1 |
Server for the PeopleSoft Portal and integration gateway. |
PIA2 |
Server for the PeopleSoft Portal and integration gateway. |
PSOL |
Server for the PeopleSoft Online Library (PeopleBooks) application. |
PSEMHUB |
Server for the PeopleSoft Environment Management Framework application. |
RPS |
Server for WebLogic reverse proxy server applications. |
Multi-Server Servlet Deployment
Some of the servlets deployed in a multi-server domain configuration must be accessed using a modified URL:
http://server:port/servlet_name/...
The multi-server domain configuration deploys servlets as follows:
Application |
Deployed to Server, Cluster (members) |
Servlets Name in URL |
PORTAL |
PIA, PeopleSoftCluster (PIA1, PIA2) |
(not needed) |
PSIGW |
PIA, PeopleSoftCluster (PIA1, PIA2) |
PSIGW |
PSOL |
PSOL |
PSOL |
PSEMHUB |
PSEMHUB |
PSEMHUB |
PSINTERLINKS |
PIA, PeopleSoftCluster (PIA1, PIA2) |
PSINTERLINKS |
Console |
WebLogicAdmin |
console |
HttpProxyServlet |
RPS |
(not needed) |
HttpClusterServlet |
Defined but not deployed. |
(not needed) |
Multi-Server Domain Specific Default Settings
To configure the multi-server domain specific settings, launch the Administration Console. In the Domain Structure tree, expand Environment, select Servers and click on the appropriate servlet, server, or application. Then select the Configuration tab, and the General sub-tab.
The domain specific default settings for the WebLogicAdmin server are as follows:
WebLogicAdmin Setting |
Default Value |
Listen Address |
* (all local IPs) |
Listen Port |
9999 |
SSL Listen Port Enabled |
Disabled |
The domain specific default settings for the PIA server are as follows:
PIA Setting |
Default Value |
Listen Address |
* (all local IPs) |
Listen Port |
80 (set during PIA setup) |
SSL Listen Port Enabled |
Enabled with demonstration self-signed digital certificates. |
HTTPS Listen port |
443 (set during PIA setup) |
The domain specific default settings for the PIA1 server are as follows:
PIA1 Setting |
Default Value |
Listen Address |
Locally determined hostname. |
Listen Port |
80 (set during PIA setup) |
SSL Listen Port Enabled |
Enabled with demonstration self-signed digital certificates. |
SSL Listen Port |
443 (set during PIA setup) |
The domain specific default settings for the PIA2 server are as follows:
PIA2 Setting |
Default Value |
Listen Address |
127.0.0.1 |
Listen Port |
80 (set during PIA setup) |
SSL Listen Port Enabled |
Enabled with demonstration self-signed digital certificates. |
SSL Listen Port |
443 (set during PIA setup) |
The domain specific default settings for the PSOL server are as follows:
PSOL Setting |
Default Value |
Listen Address |
* (all local IPs) |
Listen Port |
6001 |
SSL Listen Port Enabled |
Disabled |
The default web application for the PSEMHUB server is PSEMHUB. The domain specific default settings for the PSEMHUB server are as follows:
PSEMHUB Setting |
Default Value |
Listen Address |
* (all local IPs) |
Listen Port |
8001 |
SSL Listen Port Enabled |
Disabled |
In the console, navigate to Environments, RPS, Configuration, General to configure the RPS server. The default web application for the RPS server is HttpProxyServlet. The domain specific default settings for the RPS server are as follows:
RPS Setting |
Default Value |
Listen Address |
* (all local IPs) |
Listen Port |
8080 (set during PIA setup) |
SSL Listen Port Enabled |
Enabled with demonstration self-signed digital certificates. |
SSL Listen Port |
8443 (set during PIA setup) |
Note. To configure SSL, you must also define SSL certificates.
See Implementing WebLogic SSL Keys and Certificates.
Example: Multi-Server Domain
The following illustrates the elements running within a typical multi-server domain:
Server |
Process Type |
WebLogic and PIA Elements |
Single server machine |
WebLogic administration |
WebLogic Administration Server (WebLogicAdmin) WebLogic Node Manager |
Managed Server |
PIA 1, PIA 2 for PeopleSoft Portal |
|
Managed Server |
PIA for PSIGW |
|
Managed Server |
RPS for httpproxyservlet to proxy content for PIA 1 and PIA 2 |
The distributed managed server configuration, although listed alongside the single-server and multi-server domain types, is not a true domain type. It's an optional extension for an existing multi-server configuration. As with the multi-server domain type, this configuration takes advantage of WebLogic’s managed server architecture. The distributed managed server configuration is intended for production environments encompassing multiple machines.
A distributed managed server configuration enables you to spread a logical WebLogic domain configuration physically across multiple machines in a heterogeneous network. One server machine might act as the domain administration server, while the other server machines act as distributed managed servers, running various manages servers, such as PIA1, PIA2, and so on. Typically, you would also take advantage of the WebLogic Node Manager, which enables a system administrator to control the managed servers remotely.
See your WebLogic Node Manager documentation.
In a distributed, multi-server configuration you can have multiple machines, multiple collections of resources and program files, multiple web server processes, and a replicated domain configuration file. In this model, if any of system resources or server instances becomes unavailable, work shifts to the next instance of that resource. In the multi-server configuration, an increase in PeopleSoft Portal usage, for example, can be accommodated by configuring an additional WebLogic server instance or machine to also serve the PeopleSoft Portal application. Using distributed manages servers provides flexibility in shaping your hardware allocation to meet your system demands.
Benefits of the Distributed Managed Server
A distributed managed server configuration provides the same benefits as a multi-server configuration with the added benefit of hardware isolation. This option requires a multi-server installation to be performed to some other location, which will contain the configuration for this distributed managed server.
The fundamental benefits of a multi-server configuration include:
Dedicated service providers: Web servers can be dedicated to providing PeopleSoft Portal and are insolated from other portions of PIA such as PeopleSoft Integration Gateway or PeopleBooks.
Redundant service providers: Multiple web servers can be used to serve different aspects of PIA, providing load balancing and failover support.
Distributed resources: Multiple web server machines can be used, each capable of serving different or redundant aspects of PIA.
Centralized and replicated configuration: Master domain configuration is centralized and distributed server information is replicated locally.
The server configuration settings for a distributed managed server are maintained by that domain’s administration server are stored locally on that administration server. Configuration settings are replicated to a managed server during its startup, but are only maintained as a read-only backup copy for that individual managed server in the event that the administration server isn't available the next time this particular managed server needs to be started.
Note. Only one managed server can be run per distributed managed server domain directory. If you intend to run multiple distributed managed servers on a single machine, perform the PIA install and create unique distributed managed server domain directories, one for each distributed managed server that you intend to run on that machine.
Example: Distributed Managed Server
The following illustrates the multiple servers, their roles, and the various elements running on the multiple server machines within a sample distributed managed server configuration:
Server |
Role |
WebLogic and PIA Elements |
Server 1 |
Domain Administration Server |
WebLogic Administration Server (WebLogicAdmin) |
Server 2 |
Distributed Managed Server |
PIA1 (for PeopleSoft Portal) PIA2 (for PeopleSoft Portal) WebLogic Node Manager |
Server 3 |
Distributed Managed Server |
PIA3 (for PeopleSoft Portal) PIA4 (for PeopleSoft Portal) WebLogic Node Manager |
Server 4 |
Distributed Managed Server |
PIA (for Integration Gateway) WebLogic Node Manager |
Server 5 |
Distributed Managed Server |
PSOL (for PeopleBooks) RPS (for httpproxyservlet WebLogic Node Manager |
Single-server and multi-server domain configurations have many settings in common.
Domain Defaults
Many of these common settings can be configured in the WebLogic Server Console, but some are configured in other environments. Default values are listed when available.
Setting |
Default Value |
Where To Configure In the Administration Console |
SSL functionality |
Enabled with demonstration self-signed digital certificates. |
Environment, Servers server name, Configuration, Keystores tab and SSL tab. Command line: pskeymanager |
Server logs |
Weblogic domain\logs\server name_*.log |
Environment, Servers, server name, Logging. |
HTTP access log |
Disabled |
Environment, Servers, server name, Logging, HTTP. |
HTTP keep-Alive |
30 seconds |
Environment, Servers, server name, Protocols, HTTP. |
HTTPS keep-Alive |
60 seconds |
Environment, Servers, server name, Protocols, HTTP. |
Low memory settings |
various |
Environment, Servers, server name, Configuration, Tuning. |
Stuck Thread Max Time |
600 |
Environment, Servers, server name, Configuration, Tuning. |
Stuck Thread Timer Interval |
60 |
Environment, Servers, server name, Configuration, Tuning. |
Enable Administration Port |
Disabled |
Click the domain name (such as peoplesoft) in the Domain Structure section, then select Configuration, General. |
PORTAL HTTP session monitoring |
On (applies only to servers running PORTAL) |
Deployments, Applications, peoplesoft, PORTAL, Monitoring. |
System administrator user ID |
system (set during PIA setup) |
Security Realms, myrealm, Users and Groups, Users. |
System administrator password |
password (set during PIA setup) |
Security Realms, myrealm, Users and Groups, Users. |
System operator user ID |
operator |
Security Realms, myrealm, Users and Groups, Users. |
System operator password |
password |
Security Realms, myrealm, Users and Groups, Users. |
System monitor user ID |
monitor |
Security Realms, myrealm, Users and Groups, Users. |
System monitor password |
password |
Security Realms, myrealm, Users and Groups, Users. |
Script and Environment Defaults
Modify these settings by editing a setEnv script or applying command line parameter overrides to WebLogic control scripts.
The following settings specify the names and structure of various directories on the web server machine.
Setting |
Default Value |
Description/Override |
PS_HOME |
(none) |
PeopleSoft home directory (set during PIA setup). |
BEA_HOME |
(none) |
High-level install directory (set during PIA setup). Where Tuxedo and WebLogic may be installed. |
WL_HOME |
(none) |
WebLogic home directory (set during PIA setup). |
DOMAIN_NAME |
peoplesoft |
Name of this WebLogic domain (set during PIA setup). |
JAVA_HOME |
(Depends on the operating system platform.) |
Location of Java. Set during PIA setup or with a call to WebLogic's CommEnv script. |
Note. You configure Java VM options including JVM memory size using the JAVA_OPTIONS_OSplatform parameter, during PIA setup.
The following are miscellaneous settings.
Setting |
Default Value |
Description/Override |
HOSTNAME |
Local hostname |
Set during PIA setup. |
PRODUCTION_MODE |
TRUE |
Enable WebLogic production mode (set during PIA setup). |
DISCOVERY_MODE |
FALSE |
Disable auto detection of unregistered applications. Script: setEnv |
WLS_USER |
Operator |
Use to stop WebLogic with stop scripts and run it as a Windows service. |
WLS_PW |
Password |
Use to stop WebLogic with stop scripts and run it as a Windows service. |
ADMINSERVER_PROTOCOL |
HTTP |
Protocol used for managed server to connect to administration server (not used in single-server domain). |
ADMINSERVER_HOSTNAME |
Single-server: local hostname. Multi-server: local hostname. Distributed server: (none — set manually). |
Administration server’s hostname that managed servers attempt to connect to by default when started. Set during PIA setup (except distributed server). |
ADMINSERVER_PORT |
Single-server: HTTP port of PIA server. Multi-server: 9999. Distributed server: (none — set manually). |
Administration server’s Listen port that managed servers attempt to connect to by default when started. Set during PIA setup (except distributed server). |
ADMINSERVER_SERVERNAME |
Single-server: PIA. Multi-server: WebLogicAdmin. Distributed server: WebLogicAdmin. |
WebLogic server instance name of this domain's administration server, used for stopping and starting the server. |
WL_VERSION |
Detected major WebLogic version. |
WebLogic major version, such as 10. |
WL_SERVICEPACK |
Detected minor WebLogic version. |
WebLogic service pack level. |
WL_PATCH |
Detected WebLogic patch version. |
WebLogic patch level. |
BACKGROUND_PROCESS |
TRUE |
Run WebLogic server as a background process. On UNIX you can force foreground execution using the start script’s -foreground option. |
The following are debugging output settings.
Setting |
Default Value |
Description/Override |
SET CAPTURE_STDOUT_STDERR |
FALSE |
(Windows only) Capture standard output and standard error of a WebLogic server running as a foreground process. You can also set this with the start script’s –capture option. |
ENABLE_JDPA_DEBUG |
FALSE |
(PeopleSoft development only) Enable JDPA debug support. You can also set this with the start script’s –debug option. |
ENABLE_VERBOSE_GC |
FALSE |
Enable verbose output of Java’s garbage collector. You can also set this with the start script’s –verbose:gc option. |
ENABLE_VERBOSE_SSL |
FALSE |
Enable SSL debug support. Produces verbose SSL output. You can also set this with the start script’s –verbose:ssl option. |
ENABLE_VERBOSE_WL |
FALSE |
Enable verbose output for the core WebLogic server (not verbose output of PIA). You can also set this with the start script’s –verbose:wl option. |
MAX_FILE_DESCRIPTORS |
4096 |
The number of open file descriptors set for any Weblogic server process. |
The following are HTTP forward proxy support settings.
Setting |
Default Value |
Description/Override |
ENABLE_HTTP_PROXY |
FALSE |
Enable the use of the forward http proxy. |
HTTP_PROXY_HTTPHOST |
(none) |
IP address or hostname of the forward HTTP proxy server for HTTP requests. |
HTTP_PROXY_HTTPPORT |
(none) |
HTTP Port number of the forward HTTP proxy server for HTTP requests. |
HTTP_PROXY_HTTPSHOST |
(none) |
IP address or hostname of the forward HTTP proxy server for HTTPS requests. |
HTTP_PROXY_HTTPSPORT |
(none) |
HTTP Port number of the forward HTTP proxy server for HTTPS requests. |
HTTP_PROXY_NONPROXY_HOSTS |
localhost, local hostname, and domainname. |
Host names and domain names of content servers that will not be proxied. |
This section discusses:
WebLogic domain directory structure.
WebLogic domain file listing by type.
J2EE application files.
In a PeopleSoft implementation, the WebLogic domains are installed into your PS_HOME directory. The major components of the directory structure layout of a PIA install on WebLogic Server are:
Directory |
Description |
PIA_HOME\webserv |
Parent, high-level WebLogic domain directory. |
PIA_HOME\webserv\peoplesoft |
Default WebLogic domain directory. |
PIA_HOME\webserv\peoplesoft\applications\peoplesoft |
PeopleSoft application directory. |
PIA_HOME\webserv\peoplesoft\bin |
WebLogic domain's bin directory, containing numerous administration scripts. |
PIA_HOME\webserv\peoplesoft\config |
WebLogic domain's configuration directory. |
PIA_HOME\webserv\peoplesoft\servers\PIA\logs |
WebLogic domain's log directory. |
PIA_HOME\webserv\peoplesoft\keystore |
WebLogic key store location for storing keys for configuring SSL. |
This section lists the WebLogic domain files installed by the PeopleSoft installation, organized by file type. Where necessary, each table includes columns that indicate whether a given file is used in a single-server, multi-server, or distributed server configuration.
This listing does not include Java classes or PIA configuration files. On UNIX an equivalent Bourne shell script is provided where a Windows script is listed.
The following table lists WebLogic server administration scripts. All the life cycle scripts are stored in PIA_HOME\webserv\domain\bin.
Script |
Single-Server |
Multi-Server |
Distributed Server |
Description |
setEnv.cmd |
X |
X |
X |
Use this script to set required environment variables for the WebLogic server, for example: CLASSPATH, PATH, UNIX Library Path, and JVM options. |
startPIA.cmd |
X |
Use this script to start the WebLogic domain’s administration server (the PIA server) in a single-server configuration. On Windows this starts WebLogic as a foreground process. On UNIX this starts WebLogic as a background process. Run the script with –help for usage. |
||
startWebLogicAdmin. cmd |
X |
Use this script to start the WebLogic domain’s administration server (the WebLogicAdmin server) in a multi-server configuration. On Windows this starts WebLogic as a foreground process. On UNIX this starts WebLogic as a background process. Run the script with –help for usage. |
||
startManagedWebLogic.cmd |
X |
X |
Use this script to start a WebLogic managed server. All WebLogic servers in a WebLogic domain other than the administration server are WebLogic managed servers. Run the script with –help for usage. |
|
stopPIA.cmd |
X |
Use this script to stop the WebLogic PIA server. Run the script with –help for usage. |
||
stopWebLogic.cmd |
X |
X |
Use this script to stop WebLogic servers. Run the script with –help for usage. |
|
InstallNTservicePIA.cmd |
X |
(Windows only) Use this script to install the WebLogic PIA server as a Windows service. The service name is WebLogic_domain-PIA. Run the script with –help for usage. |
||
InstallNTservice.cmd |
X |
X |
(Windows only) Use this script to install a WebLogic server as a Windows service. The service name is WebLogic_domain-server_name. Run the script with –help for usage. |
|
uninstallNTServicePIA.cmd |
X |
(Windows only) Use this script to uninstall the WebLogic PIA server Windows service. Run the script with –help for usage. |
||
uninstallNTService.cmd |
X |
X |
(Windows only)Use this script to uninstall a WebLogic server Windows service. Run the script with –help for usage. |
|
pskeymanager.cmd |
X |
X |
X |
Use this script to manage the JKS keystore used by WebLogic Server, which is in WebLogic_domain\keystore\pskey. SSL certificates for WebLogic Server are stored in this keystore. PeopleSoft Integration Gateway can also share this keystore. Run the script with –help for usage. |
startWebLogicBuilder.cmd |
X |
X |
X |
Use this script to start WebLogic Builder, which is used to change local application deployment descriptors. |
createThreadDump.cmd |
X |
X |
X |
Use this script to create a JVM Thread dump. Run the script with –help for usage. |
The following table lists WebLogic server configuration files stored in PS_HOME/webserv/domain\config folder under
File |
Single-Server |
Multi-Server |
Distributed Server |
Description |
config.xml |
X |
X |
This file stores the WebLogic domain configuration, including information about server names, ports, IP addresses, webapps, and SSL. Edit these settings using the WebLogic administration console: http://webserver:port/console. |
|
msi-config.xml |
X |
X |
This is a version of config.xml that's copied for use with a distributed managed server configuration. It's automatically replicated from the original config.xml after a managed server successfully starts. |
|
boot.properties |
X |
X |
X |
THis file contains the WebLogic system ID and password used for administering the WebLogic domain. |
fileRealm.properties |
X |
X |
X |
This file is used by WebLogic's internal LDAP server for system administration. |
DefaultAuthenticatorInit.ldift |
X |
X |
X |
This file is used by WebLogic's internal LDAP server for system administration. |
DefaultRoleMapperInit.ldift |
X |
X |
X |
This file is used by WebLogic's internal LDAP server for system administration. |
SerializedSystemIni.dat |
X |
X |
X |
This file is used by WebLogic's internal LDAP server for system administration. |
The following table lists PeopleSoft J2EE application scripts, which are all used with Integration Broker, and can be used with every WebLogic server configuration.
Script |
Description |
BatchProjectExecutor.bat |
Use this script for Integration Broker batch EIP testing. |
HashKeyGenerator.bat |
Use this script to generate a hash key used for Integration Gateway playback. |
MessageExport.bat |
Use this Integration Broker script for extracting transaction data from request and response data. |
StartSendMaster.bat |
This is a Integration Broker test utility. |
The following table lists miscellaneous files, which can be used with every WebLogic server configuration.
File |
Description |
Businterlink.txt |
This file is used by PeopleSoft’s Business Interlinks servlet for loading PeopleSoft libraries when needed. |
piaInstallLog.xml |
This is the PIA install log. |
PSCipher.bat |
Use this script for encrypting Integration Broker passwords. |
See Also
Enterprise PeopleTools 8.50 PeopleBook: Integration Broker
In addition to WebLogic domain configuration files, application descriptors are installed with the PeopleSoft J2EE enterprise application. The following table lists these descriptor files. The path shown for each file is relative to PIA_HOME\webserv\WebLogic_domain\applications\.
File |
Description |
peoplesoft\META-INF\MANIFEST.MF |
Use this script to set required environment variables for the WebLogic server, for example: CLASSPATH, PATH, UNIX Library Path, and JVM options. |
peoplesoft\META-INF\application.xml |
This file contains a list of the webapps that comprise the PeopleSoft J2EE enterprise application. |
peoplesoft\PORTAL\WEB-INF\web.xml |
This file is the web application descriptor for the PORTAL webapp. It lists all of the servlets deployed as part of that application. |
peoplesoft\PORTAL\WEB-INF\weblogic.xml |
This file is the PORTAL web application extension descriptor. It specifies, among other things, the HTTP session cookie name, optional cookie domain, and context path of this application. |
peoplesoft\PSIGW\WEB-INF\web.xml |
This file is the web application descriptor for the PeopleSoft Integration Gateway (PSIGW) webapp. It lists all of the servlets deployed as part of that application. |
peoplesoft\PSIGW\WEB-INF\weblogic.xml |
This file is the PSIGW web application extension descriptor. It specifies the context path of this application. |
peoplesoft\PSEMHUB\WEB-INF\web.xml |
This file is the web application descriptor for the PeopleSoft Environment Framework (PSEMHUB) webapp. It lists all of the servlets deployed as part of that application. |
peoplesoft\PSEMHUB\WEB-INF\weblogic.xml |
This file is the PSEMHUB web application extension descriptor. It specifies the context path of this application. |
peoplesoft\PSOL\WEB-INF\web.xml |
This file is the web application descriptor for the PeopleSoft Online Library (PSOL) webapp (PeopleBooks). It lists all of the servlets deployed as part of that application. |
peoplesoft\PSOL\WEB-INF\weblogic.xml |
This file is the PSOL web application extension descriptor. It specifies the context path of this application. |
peoplesoft\PSINTERLINKS\WEB-INF\web.xml |
This file is the web application descriptor for the PeopleSoft Business Interlinks (PSINTERLINKS) webapp. It lists all of the servlets deployed as part of that application. |
peoplesoft\PSINTERLINKS\WEB-INF\weblogic.xml |
This file is the PSINTERLINKS web application extension descriptor. It specifies the context path of this application. |
HttpProxtServlet\WEB-INF\web.xml |
This file is the web application descriptor for the WebLogic Server Reverse Proxy Server (RPS) webapp that's used to proxy content from a single WebLogic server. It lists all of the servlets deployed as part of that application. |
HttpProxyServlet\WEB-INF\weblogic.xml |
This file is the single-server RPS web application extension descriptor. It specifies the context path of this application. |
HttpClusterServlet\WEB-INF\web.xml |
This file is the web application descriptor for the WebLogic Server Reverse Proxy Server (RPS) webapp that's used to proxy content from a cluster of WebLogic servers. It lists all of the servlets deployed as part of that application. |
HttpClusterServlet\WEB-INF\weblogic.xml |
This file is the multi-server RPS web application extension descriptor. It specifies the context path of this application. |
The PeopleSoft Internet Architecture (PIA) installer enables you to create a new WebLogic server domain or update a valid existing WebLogic domain. A valid domain is a domain built by the PIA installer in the PS_HOME directory that you specify.
Depending on which option you select, you're prompted for additional information relevant to that selection. When creating a new domain, you're prompted to select from three configuration types: Single-server, multi-server and distributed managed server. If you select to update an existing domain, you're prompted to indicate which domain you would like to update and what type of update you would like to perform. These options are described in detail in your Enterprise PeopleTools installation documentation.
See Also
Enterprise PeopleTools 8.50 Installation for your platform:"Setting Up the PeopleSoft Pure Internet Architecture in GUI Mode"
This section provides an overview of the WebLogic server life cycle and discusses how to:
Start and stop single-server processes.
Start and stop multi-server processes.
Start and stop a distributed managed server.
See Also
You control a WebLogic server’s life cycle primarily using a collection of scripts provided in that server’s WebLogic domain directory. Each instance of a WebLogic server runs in an isolated Java Runtime Environment (JRE), regardless of whether you're testing with a single-server configuration or implementing a multi-server configuration for production. All scripts must be launched from the WebLogic domain directory; and provide usage syntax if run with –help.
In a single-server configuration, there's only one server to administer: PIA. You can control the life cycle of the PIA server using scripts or in the WebLogic console.
Scripts
For all platforms:
startPIA |
Use this script to start the WebLogic server locally. |
stopPIA |
Use this script to connect to a locally running WebLogic server and issue a shutdown command through WebLogic APIs. |
Note. When you shut down the server, a warning is displayed since the shutdown command uses a non-SSL http connection to connect to the WebLogic Server. This shutdown command can be changed to use the SSL connection by editing the stopPIA.sh script. To use the SSL connection the shutdown command will be the following.
For Windows only:
installNTservicePIA |
Use this script to register the PIA WebLogic server as a Windows service that runs as a background process. the service is named as WebLogicDomainName-PIA, for example: peoplesoft-PIA. |
uninstallNTservicePIA |
Use this script to deregister the PIA Windows service. |
WebLogic Console
A WebLogic server can also be shut down from the Administration Console. Sign in to the console at http://webserver:port/console and perform either of the following.
Note. Before you perform any action in the WebLogic console, you have to click the Lock and Edit button and then the Activate Changes button after the changes are done.
In the navigation tree on the left, expand your domain, click Environment, Servers. Click PIA and select the Control tab. Select the check box for the server that you would like to shutdown, and click Shutdown. You have these options:
When work completes |
This option enables transactions in progress to complete before shutting down the server. To terminate all HTTP sessions immediately, you can first select Ignore Sessions During Shutdown. |
Force Shutdown Now |
Immediately terminate all HTTP sessions and transactions in progress, and shut down the server. |
In a Multi-server configuration, as the title implies there are multiple servers to administer. Controlling the life cycle of these servers can be done via scripts, the WebLogic console and the WebLogic Node Manager.
Scripts
For all platforms:
startWebLogicAdmin |
Use this script to start the WebLogicAdmin server. |
startManagedWebLogic |
Use this script to start a WebLogic managed server. All of the servers defined in a multi-server domain, except the WebLogicAdmin server, are controlled as managed servers. For example, to start PIA1 as a managed server run startManagedWebLogic PIA1. |
stopWebLogic |
Use this script to connect to a locally running WebLogic server and issue a shutdown command using WebLogic APIs. A remote distributed managed server can be shut down using a local administration server. |
For Windows only:
installNTservice.cmd |
Use this script to register a WebLogic server as a Windows service that runs as a background process. The service is named as WebLogicDomainName-ServerName. For example, to define the PIA1 managed server as a Windows service, run installNTservice PIA1. To define the WebLogicAdmin server as a Windows service, simply run installNTservice. |
UninstallNTservice.cmd |
Use this script to deregister a WebLogic server that's defined as a Windows service. |
Consider the following when using scripts with managed servers:
Operating System |
Consideration |
All |
When starting a WebLogic managed server it will attempt to connect to its administration server. A managed server’s administration server is specified either as a command line parameter when starting the managed server, or using the three administration server environment variables in setEnv, specifically ADMINSERVER_PROTOCOL, ADMINSERVER_PORT, and ADMINSERVER_HOSTNAME. The first time a managed server starts, it must connect to its administration server. If on subsequent startups the administration server is not available, the managed server starts up in Managed Server Independence (MSI) mode by using its locally replicated msi-config.xml. A managed server running in MSI mode can't be administered from a console, so this situation should only be encountered when it is imperative that the managed server be started even though the administration server is not running. Once the administration server is back online, running managed servers that were not previously known by the administration server to be running may be rediscovered using WebLogic’s command line utility java weblogic.Admin DISCOVERMANAGEDSERVER, or you can just restart the managed server. To use WebLogic’s java command line utility classes run setEnv to set up your environment, then run java weblogic.Admin for usage. |
Windows |
When running a WebLogic managed server as a Windows service, the managed server’s administration server must be running. When installing a managed server as a Windows service, the managed server service can be configured to be dependent on its local administration server. To configure a managed server service to be dependent on its local admin server service use the –depends option of installNTservice.cmd when defining the Windows service for the managed server. In addition, when the administration server is also a Windows service, you must define it using the following command: installNTservice.cmd –delay interval Where intervalis a period in milliseconds, for example 6000. This allows the administration server sufficient time to start before the managed server starts. |
WebLogic Server Console
A WebLogic server can also be shut down from its administration console in the same way as single server environments.
WebLogic Node Manager
The WebLogic Node Manager provides the ability to start a WebLogic managed server from the WebLogic Server Console. In addition, the console provides a way to automatically restart a failed server. As with all WebLogic servers, the WebLogic Node Manager runs isolated in its own JRE, and on Windows it can also run as a Windows service. The WebLogic Node Manager binds to a unique IP address and port at startup and accepts lifecycle commands from a WebLogic administration server.
Multiple WebLogic domains running on a singe machine can have its managed servers administered by a shared WebLogic Node Manager, as long as each WebLogic domain uses the same version of WebLogic.
The following table lists the WebLogic Node Manager files that are provided with WebLogic server, not the PIA install. These files are located in BEA_HOME\wlserver 10.3\server\bin\, not your WebLogic domain directory created within the PeopleSoft directory structure.
File |
Description |
startNodeManager.cmd |
Use this script to start the WebLogic Node Manager as a foreground process. |
installNodeMgrSvc.cmd |
Use this script to define the WebLogic Node Manager as a Windows service that runs as a background process. The service is called WebLogic Platform NodeManager. |
uninstallNodeMgrSvc.cmd |
Use this script to uninstall the WebLogic Node Manager as a Windows service. |
nodemanager.properties |
This is the WebLogic Node Manager configuration file. |
BEA_HOME\wlserver 10.3\common\nodemanager\NodeManagerLogs\ is the default logs directory for WebLogic Node Manager.
Additional configuration files are located in ...\common\nodemanager.
To configure Node Manager:
Start the Admin Server.
Signon to the Administration Console.
Select Environment, Machine.
Create one local machine (as in MachineLocal) for all of the managed servers running in the local server and one remote machine (as in MachineRemoteX) for each of the managed servers running in remote servers.
Configure machines.
Click each of the machines created. Under the Configuration tab, select the Node Manger tab.
Choose Plain from the Type drop down list.
For Listen Address, enter the IP address of the server on which Node Manager is running.
Enter the Node Manger port number into the Listen Port text box. The default port number is 5556. This can be changed by updating the NodeManager.properties file.
Add managed servers.
Under the Servers tab, add the managed servers into the machine. For example, you may have two managed servers running locally, with PIA1 and RPS assigned to MachineLocal.
Start the Node Manager.
Start the Node Manger from your local WebLogic install directory (BEA Home for the WebLogic Sever on which your PeopleSoft domain is referring to). Node Manager can be started by startNodeManager.cmd/.sh script under BEA_Home\wlserver_10.3\server\bin directory.
After the Node Manger has been started for the first time, a file called nodemanager.properties appears under the BEA_Home\wlserver_10.3\common\nodemanager directory.
Modify the nodemanager.properties file.
Stop the Node Manger and open the nodemanager.properties file in a text editor, and make the following changes and save the file.
SecureListener=false
ListenAddress= the IP of the box where the Node Manager is running
Note. In the same file you can see the default port number is set as ListenPort=5556. Changing the port setting here and restarting the Node Manager will set the Node Manager to be listening on the newly configured port number. The port setting here must match with the one set in the machine configuration.
Restart the Node Manager.
Once the Node Manger is up and running, it should be reachable from the machine configured to listen to the local Node Manager (as in, MachineLcoal). This can be confirmed by the Node Manager Status tab under the Monitoring tab.
In the remote box hosting the managed server, follow the previous steps to configure the Node Manager.
From the bin directory under your PS_Domain, run setEnv.cmd/sh to set up the environment.
Start WLST using the command java weblogic.WLST.
Connect the remote server to the Admin Server running on the local box.
Following is the syntax of the connect command:
connect('username','password','t3://Local Machine's IP:port on which the admin server is running on Local machine')
Enroll the remote domain and Node Manger into the Admin Server running on the local box.
The command is nmEnroll with the following syntax:
nmEnroll('full path to the distributed PeopleSoft Domain ','BEA_Home\wlserver_10.3\common\nodemanager')
For example:
nmEnroll('D:\PT850-809R2\webserv\Dis4103Installed603','D:\Wls103Installed603⇒ \wlserver_10.3 \common\nodemanager')
Once the domain and Node Manager have been enrolled, check the Admin Console to confirm that the Node Manger can be reached from the server that was configured to listen to the remote Node Manager.
Once a Node Manager is reached from a "machine," the Admin Console will be able to start and stop the managed server assigned to that "machine."
The Servers tab shows the list of servers. The Control tab grants the control of those servers to the Admin Console.
In a multi-server configuration, a distributed managed server is simply a managed server that isn't started from the same physical location as its domain’s administration server. You can control the life cycle of these servers using scripts, the WebLogic Server Console and the WebLogic Node Manager.
See Starting and Stopping Multi-Server Processes.
Monitoring the performance of a WebLogic instance is primarily performed in the Administration Console. This section discusses how to:
Manage JVM heap size and execute thread usage.
Monitor HTTP session count for PeopleSoft portal.
See Also
Using WebLogic Server Administration Console to Monitor PeopleSoft Sessions
This section discusses how to:
Monitor JVM heap.
Change JVM heap size.
Monitoring JVM Heap
The JVM heap size is the amount of memory that a particular JRE (Java Runtime Environment) gives to the JVM (Java Virtual Machine) that it creates. The java.exe command on Windows, java on UNIX and beasvc.exe when running WebLogic as a Windows service is the JRE, and the JVM exists within the JRE’s memory space. The primary sources for monitoring the amount of memory that is in use within a JVM are the Administration Console and the WebLogic logs.
To monitor the amount of the JVM heap size available and in use:
Sign on to the Administration Console by entering the following URL in a browser:
http://webserver:9999/console
Where webserver is the hostname of the WebLogic server.
Traverse the following in the navigation tree on the left:
Expand your WebLogic domain (for example, peoplesoft).
Expand Servers.
Click the server you intend to monitor (for example, PIA).
Select the Monitoring tab, and the Performance sub-tab.
If you need to adjust any of the Java options, most commonly the JVM heap size, you must manually edit that WebLogic domain’s local setEnv script. The parameters, -Xms and -Xmx, control the JVM memory minimum and maximum heap size respectively.
Following are examples of the JVM heap size as specified in setEnv using the JAVA_OPTIONS_OSplatform environment variable. You only need to set the variables that correspond to the operating system where the WebLogic server is running.
JAVA_OPTIONS_WIN32="-server -Xms256m -Xmx256m -XX:MaxPermSize=128m”
JAVA_OPTIONS_AIX="-Xms128m -Xmx256m"
JAVA_OPTIONS_HPUX="-server -Xms256m -Xmx256m -XX:MaxPermSize=128m"
JAVA_OPTIONS_LINUX="-jrockit -Xms256m -Xmx256m"
JAVA_OPTIONS_SOLARIS="-server -Xms256m -Xmx256m -XX:MaxPermSize=128m
Note. If you do adjust any of the Java options, most commonly
the JVM heap size, you must restart WebLogic for these changes to take effect.
If you're running WebLogic Server as a Windows service you must rerun
the installNTservice script to propagate this change into the Windows registry.
The WebLogic Node Manager does not use the Java options set in setEnv,
but instead uses Java options set from the WebLogic console.
To modify the Java options for a WebLogic instance started via the WebLogic Node Manager:
Sign on to the WebLogic Server Console by entering the following URL in a browser:
http://webserver:9999/console
Where webserver is the hostname of the WebLogic server.
Expand your WebLogic domain (for example, peoplesoft) and click Environment, then Servers.
Select the managed server you intend to modify.
Select the Configuration tab, and the Server Start sub-tab.
Update the Arguments field.
Click Save.
See Also
In addition to memory and thread usage, it's also possible to monitor the number of established HTTP sessions used in conjunction with the PeopleSoft PORTAL application. This number, although not necessarily directly related to current performance, is an indicator of the following performance factors:
JVM memory used to store HTTP session data.
Current number of logged on clients.
Peak number of logged on clients.
Idle time of logged on clients.
To monitor the total number of HTTP sessions:
Sign on to the Administration Console.
In the Domain Structure section, click Deployments and select the check box next to peoplesoft.
Select the Monitoring tab.
This section provides an overview of the WebLogic server configuration files, and discusses how to:
Change the WebLogicAdmin server’s listen ports.
Change application and server deployment targets.
WebLogic server configuration settings are stored in a collection of files, primarily these include: script, config.xml, and the web.xml and weblogic.xml for each webapp.
Configuration File |
Description |
setEnv script |
SetEnv contains statically and dynamically defined environment variables. It's called from all of the WebLogic administration scripts to assist in building the Java command line. You modify this file using a text editor. |
config.xml |
Config.xml contains server runtime settings, such as the HTTP port. You modify this file using the Administration Console. |
web.xml weblogic.xml |
Located in the WEB-INF directory of each servlet, providing web application descriptors and settings relevant to their application. |
In the multi-server configuration, several parameters are set based on the environment detected and delivered defaults. One such parameter is the HTTP port of the WebLogicAdmin server. By default the WebLogicAdmin server’s HTTP listen port is 9999.
To change this value:
Start the WebLogicAdmin server using the startWebLogicAdmin script.
Sign on to the WebLogic Server Console by entering the following URL in a browser:
http://webserver:9999/console
Where webserver is the hostname of the WebLogic server.
Navigate to Servers, WebLogicAdmin, Configuration, General.
Modify the value of the Listen Port field.
Click Apply.
Restart the WebLogic server.
If you can't initially start the server due to a port conflict, you can manually edit the value of the ListenPort parameter in that domain’s config.xml file. Creating a backup of config.xml is recommended before manually changing this file.
After changing the ListenPort value in your domain’s config.xml, either directly or using the console, you must also update your setEnv script. Update the ADMINSERVER_PORT environment variable to reflect the new HTTP port. This setting is used by the stopWebLogic and startManagedWebLogic scripts as the default administration server HTTP port.
With WebLogic, J2EE applications are targeted to any combination of WebLogic servers and WebLogic clusters. A WebLogic cluster is a logical grouping of servers, generally all providing the same application, though that's not a requirement. To change the servers or clusters that to which an application is targeted and deployed, sign on to the Administration Console and update the application's target assignments. You can view and modify application and server target assignments on the Deployments, Applications tabs, and on the Targets tab for each server.
Following is an example of how to change the target assignments of the PeopleSoft Integration Gateway (PSIGW) web application so it’s the only application targeted to the PIA server, and is the sole application on that instance.
To change the target assignments of the PeopleSoft Integration Gateway web application:
Sign on to the WebLogic Server Console.
In the Domain Structure section:
Expand peoplesoft.
Expand Deployments.
Expand Applications.
Expand peoplesoft.
Select PSIGW.
Select the Targets tab.
In the Clusters section, clear the peoplesoftCluster check box.
Click Apply.
In the navigation tree, select PORTAL.
Select the Targets tab.
In the Independent Servers grid, clear the check box for targeting the PORTAL to this server.
Click Apply.
Repeat steps 7 to 10 for the PSEMHUB, PSINTERLINKS and PSOL.
To deploy an application to a cluster, target the server to the cluster and target the application to the cluster.