Professional Documents
Culture Documents
Scalability / Performance /
Availability
Siebel Web
IIS Web Server Server
SWSE
Extensions
(SWSE)
Gateway
Web Server
Name Server Plug-In
Manages
Enterprise Server
communications
Siebel Server Siebel Server
to Siebel
Enterprise
Component Component
Component Component
Includes cache
for static files
(images, etc)
Architecture Overview – Siebel
Server
Framework for
IIS Web Server
running server
SWSE components
Obtains
Gateway configuration
Name Server information from
the Gateway
Name Server
Enterprise Server
Siebel Server Siebel Server Runs as a
Component Component Windows service
Component Component Siebel Enterprise
Server is a
logical grouping
of Siebel Servers
Architecture Overview –Server
Components
Server Program
IIS Web Server
executed as Task
SWSE
Examples:
Object Manager
Gateway
Name Server - User Sessions
Workflow Process
Enterprise Server Manager
Siebel Server Siebel Server - Business
Component Component Processes
Component Component File System
Manager
- Access to
attachments
Siebel Enterprise Server –
Gateway Name Server
Holds Enterprise
Configuration
IIS Web Server
Stores
SWSE
component
definitions,
Gateway parameters, and
Name Server connectivity
information
Enterprise Server Stored in
Siebel Server Siebel Server siebns.dat file
Component Component
Dynamically
Component Component registers Siebel
Server and
component
availability
Architecture Overview – Server
Component Types
Background
Background operations for the Siebel Server.
Runs until you explicitly stop the task, or until
the Siebel Server itself is shut down.
Interactive
Start automatically in response to client
requests. Run as long as the client maintains
the session, and end when the client
disconnects.
Batch
Execute in response to requests. Batch mode
component tasks execute until they finish
processing.
Architecture Overview –
Component Execution Platforms
Single Threaded
Single threaded components have one
execution stream per process. So each
operating system process supports a single
Siebel Task.
i.e. EIM
Multi-Threaded
Multi-threaded components have multiple
execution streams within a single process. So
each operating system process can support
multiple Siebel Tasks.
i.e. Object Managers
Siebel 7.7 on the Microsoft
Platform
Browser Settings
Don’t clear cache except when necessary
Ensure ‘Empty Temporary Internet Files
Folder when browser is closed’ option is
not enabled.
Network Scalability – Content
Expiration
Uncached GET: ‘icon.gif’
25KB
icon.gif
DATE: 10/08/03 07:14
RESPONSE: ‘icon.gif’
DATE: 10/10/03 09:25:08
LASTMODIFIED: 10/08/03 07:14
Network Scalability – Content
Expiration
GET: ‘icon.gif’
Cached IFMODIFIEDSINCE: 10/10/03 09:25
2KB
icon.gif icon.gif
DATE: 10/10/03 09:25 DATE: 10/08/03 07:14
RESPONSE: Notmodified
Network Scalability – Content
Expiration
Cached with Expiration
0KB
icon.gif icon.gif
DATE: 10/10/03 09:25 DATE: 10/08/03 07:14
EXPIRES: 10/12/03 14:13:08
Network Scalability – Content
Expiration
IIS Settings
Set Content Expiration
2 days is typical setting
Set through Internet Information Services
Administration
HTTP Headers > Content Expiration
Network Scalability – Web Server
Wireless Gateway
Server Mobile SQL
DB CE
Siebel Servers
Server
Manager
Siebel file
Siebel Database
System
Web Server Availability
Wireless Gateway
Server Mobile SQL
DB CE
Siebel Servers
Server
Manager
Siebel file
Siebel Database
System
Siebel 7.7 on the Microsoft
Platform
New Component
Siebel Connection Broker (SCB)
Accepts all connections for Object
Managers
Listens on a single static port
Default: 2321
No need for many dynamic ports
Simplifies connectivity between web
servers and Siebel Servers
Siebel Architecture – Siebel 7.0.x and
7.5.x
HTTP Load
Web HTTP Balancer HTTP
Browser HTTPS HTTPS
SISNAPI
VIP/VPort
Resonate Central Dispatch
SISNAPI
Listening Ports Listening Ports
OM OM OM OM OM OM
Comp.
SRB SRB
Siebel SISNAPI
Siebel
Server Server
Siebel Architecture – Siebel 7.7
Third Party HTTP Load Balancer
HTTP Load
Web HTTP Balancer HTTP
Browser HTTPS HTTPS
SISNAPI
VIP/VPort
HTTP Load Balancer
SISNAPI
Listening Port Listening Port
OM OM OM OM OM OM
HTTP Load
Web HTTP Balancer HTTP
Browser HTTPS HTTPS
SISNAPI
SISNAPI
Listening Port Listening Port
OM OM OM OM OM OM
Load balancer
determines which
Siebel Server to
connect to
OM OM OM OM OM OM
Implementation – Retry
Initial connection
Retry must go to
fails
different server
Component
i.e. Round Robin
unavailable
OM OM OM OM OM OM
Implementation – Reconnect
Reconnect must
Existing go to the same
connection lost server
OM OM OM OM OM OM
Three Types of Connection to
Support
Initial Connection
When a session is first started
Can go to any eligible Siebel Server
Should apply any load balancing
algorithm required
Retry
When an initial connection fails
Must retry a different Siebel Server
Use ‘round-robin’ to achieve this
Reconnect
When existing session lost
Must reconnect to same server – no load
balancing at all
Siebel Native Load Balancing
Features
#Component Rules:
/siebel/eServiceObjMgr_enu/=host1:2321;host2:2321;
/siebel/SCCObjMgr_enu/=host1:2321;host3:2321;
#Server Rules:
*/!1.*=host1:2321;
*/!2.*=host2:2321;
*/!3.*=host3:2321;
F5 BigIP Supported
Support available through Siebel
Documented integration with Siebel
using perl scripts
Tested with Siebel
Siebel supported with other load
balancers
Siebel doesn’t directly support other load
balancers
Must refer to load balancer vendor for
support
Manual integration required to
implement
See Siebel load balancing
Supported Platforms rules
documentation for Siebel
for current status
Siebel-Provided or Third Party HTTP Load
Balancing?
Introduction to Siebel
Architecture
Multi-Threaded Components
Create multiple threads (Tasks) & processes
(MTServers)
Control distribution through component
parameters
Single Threaded Components
Create multiple processes (Tasks)
Some components are limited
i.e.
Transaction Processor – max 1 per server
Workflow Monitor Agent – max 1 per policy group per
Enterprise
Can be started manually, through Server
Multi-Threaded Components
Object Manager
MaxTasks Round up to maintain
940
1000 100:1 ratio
100:1
MaxMTServers
10
MinMTServers
10
Memory Scalability
0.5GB – System/Misc.
Memory Scalability on Windows
0.5GB – System/Misc.
Load balancing between
processes
A single Object Manager component
typically has many processes
(MTServers) on a server
Need a mechanism to distribute
sessions evenly across processes
Before 7.7 done through operating
system features
Often led to unequal distribution and
degraded scalability
Siebel Connection Broker component
Accepts new connections for al OM
processes
All components
Hands off to individual processes
Internal Object Manager Load
Balancing
Web Server
Sales OM
Siebel
Connection
Broker
Siebel Server
Internal Object Manager Load
Balancing
Web Server
Sales OM
Siebel
Connection
Broker
Siebel Server
Internal Object Manager Load
Balancing
Web Server
Service OM
Siebel
Connection
Broker
Siebel Server
Multi-Threaded Component
Scalability
Enterprise Server
Vertical Scalability
Horizontal Scalability
Enterprise-Wide Scalability
Load Balancing
Web Server + SWSE Web Server + SWSE
Load Balancing
SCB SCB
Thread
Sales Object Sales Object Sales Object Sales Object
Process Manager Manager Manager Manager
Wireless Gateway
Server Mobile SQL
DB CE
Siebel Servers
Server
Manager
Siebel file
Siebel Database
System
Siebel Server Availability – Siebel
Server Failure
Server Web Wireless Mobile Handheld Dedicated
Web Manager GUI
Server Client Client Web Client Client Web Client
Siebel file
Siebel Database
System
Siebel Server Availability - Load
Balancer Failure
Server Web Wireless Mobile Handheld Dedicated
Manager GUI Client Client Web Client Client Web Client
Wireless Gateway
Server Mobile SQL
DB CE
Siebel Servers
Server
Manager
Siebel file
Siebel Database
System
Web
Client
Web Server
Web client requests
Assignment task
Siebel Enterprise Server
Service Request Broker
determines if Assignment
Task is available locally
Assignment Object Manager
Manager
If yes, then the task is run
SRBroke SRBroke locally
SRBroke
r r r
Web
Client
Web Server
Web client requests
Workflow task
Siebel Enterprise Server
Service Request Broker
determines if Workflow
Process Mgr is available
locally
Assignment Object Manager
Manager No, tasks are assigned on
a roundrobin basis to
SRBroker servers that have
SRBroker
SRBroker
Workflow Process Mgr.
running
Web
Client
Web Server
Web client requests
Siebel Enterprise Server
Assignment task
Service Request Broker
determines if Assignment
Task is available locally
Assignment Object Manager
Manager Local Assignment
Manager component is
SRBroker SRBroker unavailable, so request
SRBroker
routed to other
Assignment Manager
Processes
Network
Shared
Storage Storage
Logical
Server
Processes Processes
Network Network
Storage Storage
Physical Physical
Server Server
Failover Services – Cluster
Deployment Models
Active-Passive
Application only live on one host in cluster
Other host acts as warm standby only
No performance degradation on failover
Low return on investment on second server
Logical
Physical Physical
Failover Services – Cluster
Deployment Models
Active-Active
Applications live on both hosts in cluster
Performance degraded on failover due to
additional load
Better return on investment on second
server
Logical Logical
Physical Physical
Failover Services – Cluster
Deployment Models
Physical Physical
Server Server
Installing Siebel on Microsoft
Server Clusters
Network Name
Siebel must use cluster network name
Must ensure that ‘Use Network Name for
Computer Name’ tick box selected in
Siebel Server service resource
Requires Network Name and IP Address resource
dependencies (NT Only)
Clustering the Siebel File System
Introduction to Siebel
Architecture
Browser Validation
Reduces the need for server
communications to validate data entry
Implement through browser script
Immediate Posting of Changes
Where the ‘Immediate Post Changes’ flag
is set against a field data will be
transferred whenever a field is changed
Incurs additional round trip with approx
2KB data
Keep to no more than two Applets per
View
Network Performance – Siebel
Settings
View Caching
View definitions cached in browser memory
From Siebel 7.7 disk caching also available
Requires approx 3MB memory per view
Typically around 10 memory cached views
is enough
Uses LRU algorithm to maintain cache contents
Personalization and Applet Toggles won’t
use view caching
Network Performance – Siebel
Settings
View Caching
Enabled through Object Manager
configuration (.cfg) file setting
[SWE]
EnableViewCache=TRUE
Controlled through:
User Preferences > Behaviour > View Cache Size
Default: 10
Server Request Broker
Run
Assignment Object Assignment
Manager Manager Task
Is Assignment
available on this
Server Server Run server?
Server
Request Request AssignmentRequest
Broker Broker on local Broker
server
Workflow Workflow
Assignment
Process Process
Manager
Manager Manager
Siebel Server – Server Request
Broker
Run
Assignment Object Workflow
Is Workflow
Manager Manager Process
Manager
available on
Server Server Server
this server?
Request Request WhichRequest
Broker Broker other Broker
servers
Choose server
haveonWorkflow
round-
Workflow
Assignment workflow
robin basis
Process Process
Manager online?
Manager Manager
Server Request Processor
Sleep
Interval
S_SRM_REQUEST SRProc
Request
Queue
SRBroker
Task
Performance and Scalability
Architecture Overview
Component Scalability
Scalability Across Components
Network Scalability
Performance Optimization
Performance Management
Connection Pooling
Client Connections
Siebel Server
Server Object Manager
Request
Processor
Native Database Connectivity
(ODBC for SQL Server)
Threads (sessions)
Siebel
Processes (components)
Database