Showing posts with label LOAD BALANCER. Show all posts
Showing posts with label LOAD BALANCER. Show all posts

LOAD BALANCER


Oracle® Application Server Web Cache Administrator's Guide 
10g Release 2 (10.1.2) 
B14046-05



Setup and Configuration
This chapter describes the main tasks to begin caching content with OracleAS Web Cache.
This chapter contains these topics:
Using the Default Configuration
OracleAS Web Cache is installed with several default settings that you can either use or modify. Table 8-1 describes the main default configuration settings and where in the Oracle Enterprise Manager 10g Application Server Control Console and OracleAS Web Cache Manager interfaces you can change the values.
Table 8-1 OracleAS Web Cache Default Settings
Configuration Settings
Default Value
Location to Change Value in Oracle Enterprise Manager 10g Application Server Control Console and OracleAS Web Cache Manager
Security
Password for theadministratoraccount
Password entered for the administrator username during installation
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Security
OracleAS Web Cache Manager:
Properties > Security
Password for theinvalidatoraccount
Password entered for the administrator username during installation.
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Security
OracleAS Web Cache Manager:
Properties > Security
Process identity for OracleAS Web Cache
(UNIX only)
User and group ID of user that installed OracleAS Web Cache
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Security
OracleAS Web Cache Manager:
Properties > Process Identity
Auto-Restart
Enabled/Disabled: Enabled
Failover threshold: 3
Ping URL: /_oracle_http_server_webcache_static_.html
Polling interval for polling: 15 seconds
Ping timeout: 30 seconds
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Auto-Restart
OracleAS Web Cache Manager:
Properties > Auto-Restart
Network Timeouts
Keep-Alive timeouts
5 seconds
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Resource Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Network Timeouts
Origin server timeout
3600 seconds
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Resource Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Network Timeouts
Resource Limits
Maximum cache size
500 MB
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Resource Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Resource Limits
Maximum incoming connections
700
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Resource Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Resource Limits
Maximum size of single cached object
100 KB
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Resource Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Resource Limits
Logging and Diagnostics
Event logs
event_log in $ORACLE_HOME/webcache/logs on UNIX and ORACLE_HOME\webcache\logs on Windows
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Logging
OracleAS Web Cache Manager:
Logging and Diagnostics > Event Logs
Access logs
access_log in $ORACLE_HOME/webcache/logs on UNIX and ORACLE_HOME\webcache\logs on Windows
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Logging
OracleAS Web Cache Manager:
Logging and Diagnostics > Access Logs
Ports
OracleAS Web Cache
HTTP: 7777 on UNIX and 80 on Windows
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Ports
Administration
HTTP: 9400
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Operations Ports
Invalidation
HTTP: 9401
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Operations Ports
Statistics
HTTP: 9402
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Operations Ports
Origin Servers, Sites, and Load Balancing
Oracle HTTP Server listening ports
HTTP: 7778 (for the first installation)
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Origin Servers
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load Balancing > Origin Servers
Load balancing and failover settings
Capacity: 100
Failover threshold: 5
Ping URL: /
Polling interval for polling: 10 seconds
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Origin Servers
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load Balancing > Origin Servers
Site definitions
A default site definition is established for the Oracle HTTP Server when Oracle Application Server is installed
  • Host Name: Oracle_HTTP_Server_host
  • HTTP port: 7778 (for the first installation)
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Sites
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load Balancing > Site Definitions
Site-to-server mappings
  • Site host name and port 
Oracle_HTTP_Server_host:Oracle_HTTP_Server_port
  • Origin server host name and port
Oracle_HTTP_Server_host:Oracle_HTTP_Server_port
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Sites
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load Balancing > Site-to-Server Mappings
Error Pages
  • Network error 
network_error.html in $ORACLE_HOME/webcache/files on UNIX andORACLE_HOME\webcache\files on Windows
  • Site busy error 
busy_error.html in $ORACLE_HOME/webcache/files on UNIX andORACLE_HOME\webcache\files on Windows
esi_fragment_error.txt in$ORACLE_HOME/webcache/files on UNIX and ORACLE_HOME\webcache\files on Windows
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Sites >Default Error Pages
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load Balancing > Error Pages
Rules for Caching, Personalization, and Compression
Caching rules
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Rules
OracleAS Web Cache Manager:
Rules for Caching, Personalization, and Compression > Caching, Personalization, and Compression
Expiration policies
  • As per HTTP Expires Header
  • After 300 seconds in cache
  • After 3600 seconds in cache
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Rules >Expiration Policies
OracleAS Web Cache Manager:
Rules for Caching, Personalization, and Compression > Expiration Policy Definitions
Session definitions
Predefined site-specific session identifiers commonly used by components of Oracle Application Server:
  • JSESSIONID: Used for servlet session tracking. It conforms to the Java 2 Platform, Enterprise Edition (J2EE) standard. The cookie name is JSESSIONID; the embedded URL parameter isjsessionid.
  • PAsid, PAconnxn, PAuserid: PAsid is used for the OracleAS Wireless session ID,PAconnxn is used for the OracleAS Wireless connection ID, and PAuserid is used for the OracleAS Wireless user ID. The embedded URL parameters are PAsid, PAconnxn, andPAuserid, respectively. No cookie names are used.
The predefined global session identifier is:
  • FoundationPersistentSessionID: Used by Oracle Application Server Foundation Classes for persistent session tracking. The cookie name is ESFSID. There is no embedded URL parameter.
Application Server Control Console:
Web Cache Home page > Administrationtab > Properties > Application > Sessions
OracleAS Web Cache Manager:
Rules for Caching, Personalization, and Compression > Session Definitions

Tasks for Setting Up OracleAS Web Cache
To set up OracleAS Web Cache, perform the following tasks: