Professional Documents
Culture Documents
Learning Objectives
Agenda
Overview
How to avoid unplanned downtimes
Overview
Points to be protected for SAP Web AS
High availability for databases
Clustering
Standalone enqueue service
High availability for SAP Web Application Server Java
Recovery
How to decrease planned downtimes
High availability configurations for SAP NetWeaver
SAP Enterprise Portal
SAP Exchange Infrastructure
Summary
Planned Downtime
System and infrastructure
maintenance
Patches, upgrades, transports
...
application
failures
40%
operator
errors 40%
Source: Gartner Group
Agenda
Overview
How to avoid unplanned downtimes
Overview
Points to be protected for SAP Web AS
High availability for databases
Clustering
Standalone enqueue service
High availability for SAP Web Application Server Java
Recovery
How to decrease planned downtimes
High availability configurations for SAP NetWeaver
SAP Enterprise Portal
SAP Exchange Infrastructure
Summary
Business Applications
Technology Platform
/
/home
/net
/opt
Database
Cluster,
Replication
Operating
System
Cluster
Technology
/dev/vg00/vol1
/dev/vg00/vol3
<any host>:<all ex.
/dev/vg00/vol4
Server
Redundancy,
Cluster
Storage
Network
Redundant
Network Topology
Network
Redundant network
provider connections.
Redundant routers.
Redundant switches.
Redundant network access for
servers (cluster might be
required).
Internet
Router
Appl.
Server
Firewall
Firewall
W eb
Server
Load
Balancer
Switch
Appl.
Server
Switch
W eb
Server
DB
Server
Hot standby
firewalls.
RDBMS
FCS
SAN
SCSI Protocol
Mirrored disks
Server independence
Split mirroring
Remote copy /
replication
NAS Gateway
File Protocol
(NFS, SMB, FTP,
HTTP, ...)
IP Network
NAS Appliance
Redundant
coolers
Redundant
power
supply
Hot pluggable
components
ECC Memory
Redundant
bus
Redundant
boards
Management
capabilities
Partitions,
domains
One Database
Cluster
Node
Two Databases
Cluster
Node
shared
storage
Replication
DB
Clustering alternatives:
shared nothing vs.
shared everything
Standby
DB
Step-by-step platform
release planned (pilots +
controlled availability)
Pilot plans:
(current status, might be
changed; see SAP note 527843
for details)
Tru64: Q2/2003
AIX:
Q3-4/2003
Linux:
Q4/2003
Solaris: Q1/2004
HP-UX: Q1/2004
Windows:Q1/2004
If a node
fails,
users will
be
migrated.
10.0.0.6
10.0.0.5
10.0.0.3
DB
Node B
Public Network
Cluster Node A
Cluster Node B
10.0.0.1
OS
DB Exe.
10.0.0.7
10.0.0.4
Cluster
SW
CI
10.0.0.2
Cluster Interconnect
(Heartbeat)
Currently owns
Quorum
disk
Data
SAP
Logs
Cluster
SW
DB
OS
DB Exe.
10.0.0.6
10.0.0.5
10.0.0.3
2.
The cluster SW
detects the failure.
Cluster
SAP
DB
Node B
Public Network
Cluster Node A
Cluster Node B
10.0.0.1
OS
DB Exe.
10.0.0.5
10.0.0.6
10.0.0.7
10.0.0.4
Cluster
SW
CI
10.0.0.2
Cluster Interconnect
(Heartbeat)
Cluster
SW
OS
DB Exe.
DB
CI
Currently owns
Quorum
disk
Data
SAP
Logs
3.
Node B is configured with
the virtual address of the
cluster and the CI and gets
access to the required disks.
Then the CI will be restarted.
DB
SAP
Cluster
Node A
10.0.0.7
10.0.0.6
10.0.0.5
10.0.0.3
2.
The cluster SW
detects the failure.
1.
The DB node fails.
DB
Node B
Public Network
Cluster Node A
Cluster Node B
10.0.0.1
OS
DB Exe.
10.0.0.7
10.0.0.4
Cluster
SW
CI
CI
DB
10.0.0.2
Cluster Interconnect
(Heartbeat)
Cluster
SW
OS
DB Exe.
DB
Currently owns
3.
Node A is configured with
the virtual address of the DB
and gets access to the
required disks. Then the DB
will be restarted.
Quorum
disk
Data
SAP
Logs
4.
The application servers can
automatically reconnect to
the new DB host (using the
virtual IP address).
Cluster Summary
What a cluster provides
Automatic restarts
Automatic failure detection
No single point of
failure.
CI
Message
Server
Enqueue
Server
CI
repl.
enqueue
Web
Disp.
Appl.
Server
DB
Web
Disp.
Appl.
Server
Transparent
Load
balancing
load
(redirect).
balancing.
Appl.
Server
Further information:
http://service.sap.com/ha
Multiple
application
servers.
RDBMS
DB
Cluster or
standby DB.
DB
reconnect.
Failover cluster
Application
Servers
Dispatcher
WP
WP
WP
Standalone
Enqueue Server
Enqueue
Server
Enqueue
Table
Replication
Server
Replication
Server
Replication
Table
Replication
Replication of requests
to replication server.
Replica table to
restore the enqueue
table after fail over.
For details on the availability of the standalone enqueue service check SAP Note 524816.
SAP AG 2003, TechED Basel 2003, PA102_EMEA, Uwe Schulz / 17
J2EE
Instance
J2EE
Dispatcher
J2EE Server
File
system
J2EE
Instance
J2EE
Dispatcher
J2EE Server
J2EE Server
J2EE Server
J2EE Server
J2EE Server
File
system
J2EE
Instance
Better Scalability
J2EE
Dispatcher
Better Performance
Better Manageability
Reuse of robust SAP base technology
J2EE Server
J2EE Server
J2EE Server
DB
RDBMS
J2EE
Instance
Message Server
Standalone Enqueue Server
J2EE Server
J2EE Server
J2EE Server
New HA Feature
HTTP session failover
(configuration option per application)
SCS
Message
Server
Enqueue
Server
Agenda
Overview
How to avoid unplanned downtimes
Overview
Points to be protected for SAP Web AS
High availability for databases
Clustering
Standalone enqueue service
High availability for SAP Web Application Server Java
Recovery
How to decrease planned downtimes
High availability configurations for SAP NetWeaver
SAP Enterprise Portal
SAP Exchange Infrastructure
Summary
10
Hrs
Synchr.
Asynchr. Replication
Periodic Replication
Tape Replication
Backup
Hrs
Days
Weeks
Clustering
Manual
Migration
Tape Restore
Backup
Replication
Clustering
To which point-in-time can I
perform a recovery?
Easy handling
11
Application
Servers
Node 1:
Production
possible
distance:
~60
kilometers
Node 2:
Failover / Test
Cluster Interconnect
citywide Distances
Storage
device
Prod.
Mirror
Storage
device
ESCON or other
Prod.
Prod.
Prod.
Failover
Failover
Mirror
(Split)
Test
(Split)
Backup
Standby
(x hours
behind)
Backup
SAP AG 2003, TechED Basel 2003, PA102_EMEA, Uwe Schulz / 23
Agenda
Overview
How to avoid unplanned downtimes
Overview
Points to be protected for SAP Web AS
High availability for databases
Clustering
Standalone enqueue service
High availability for SAP Web Application Server Java
Recovery
How to decrease planned downtimes
High availability configurations for SAP NetWeaver
SAP Enterprise Portal
SAP Exchange Infrastructure
Summary
12
Planned Downtime
High
frequency
Weekly
Offline
backups with
split-mirror
Monthly
Kernel
upgrades
Offline backups
without splitmirror
Transports
Profile parameter
changes
Support
packages
Quarterly
Database
reorganizations
End of
daylight
saving time
Yearly
Release upgrades
Low
frequency
0,5 2 hours
Minutes
1015 hours
Short
duration
Long
duration
dialog
dialog
SAP
Instance
batch
13
ABAP
Dispatche
r
ABAP
Dispatche
r
SAP
Instance
dialog
batch
batch
initial state
Sources to be
imported
Downtime
active
sources
Uptime
switch of the
report sources
inactive
sources
active
sources
final state
active
sources
obsolete
sources
active
sources
14
Instance 2
Instance 3
Initial State
Update L. x,
Patch y
Update L. x,
Patch y
Update L. x,
Patch y
Step 1
Update L. x,
Patch y
Update L. x,
Patch y
Update L. x,
Patch z
Update L. x,
Patch y
Update L. x,
Patch z
Update L. x,
Patch z
Update L. x,
Patch z
Update L. x,
Patch z
Update L. x,
Patch z
Step 2
Step 3
Central Services
RDBMS
Message
Service
Prerequisites:
Application servers may not impose SPOF
(requires standalone / replicated enqueue)
Only switch of compatible kernels
Different kernels only for short time
Enqueue
Service
Database Reorganization
Reorganization of DB objects (tablespaces, indices, tables) might be useful
Causes:
Tablespace overflow (Measure: Increase tablespace in time)
DB file fragmentation (Consider: downtime vs. space saving)
Index fragmentation (Consider: downtime vs. performance increase)
15
ICNV
Activation
Distribution
Add-Ons
Imp.
post
Upgrade
Backup
Backup
downtimedowntimeminimized
minimized
Prepare Upgrade
Uptime
Downtime-minimized
strategy
Upgrade
Inst.
Prod.
system
Modification
Adjustment
Import of
Substitution Set
Shadow
Instance (on
target release)
Support Packs
New
release
Uptime
Downtime
Uptime
time
Beside the downtime-minimized strategy, there is a resource-minimized strategy.
SAP AG 2003, TechED Basel 2003, PA102_EMEA, Uwe Schulz / 31
Package
count:
32
16
8
Without
packages
1h
DDIC
ACT
PCON
TABIM
SM207
SM207Upgrade
Upgradewith
withacceptable
acceptable
Downtime
Downtime
10/02/03
10/02/0312.00-13.00
12.00-13.00
XPRA
Misc.
SM261
SM261System
SystemSwitch
SwitchUpgrade
Upgrade
Monitoring
and
Troubleshooting
Monitoring and Troubleshooting
10/01/03
10/01/0314.00-18.00
14.00-18.00
16
5:00
4:00
Official time
3:00
Today
SAP recommends to turn off the system
during this time (that means 1..2 h planned
downtime!)
1:00
0:00
SAP UTC time
23:00
UTC
23:00
0:00
1:00
2:00
3:00
4:00
The new way: Save time continuity by stretching system time in double
hour
For SAP Web AS 6.40 (with downward compatible kernel availability for
all 6.x based systems)
Agenda
Overview
How to avoid unplanned downtimes
Overview
Points to be protected for SAP Web AS
High availability for databases
Clustering
Standalone enqueue service
High availability for SAP Web Application Server Java
Recovery
How to decrease planned downtimes
High availability configurations for SAP NetWeaver
SAP Enterprise Portal
SAP Exchange Infrastructure
Summary
17
Database to be
protected with cluster
Global file system to
be protected with
cluster
J2EE Se rv e r
J2EE Se rv e r
J2EE Se rv e r
Cluster
DB
Server
Portal Server
J2EE
Dispatcher
Portal application on
top of SAP J2EE Engine
multiple servers
RDBMS
J2EE Se rv e r
File
Syste m
J2EE Se rv e r
J2EE Se rv e r
Spare
Server
Load
Balancer
Access to multiple
servers via load
balancer
J2EE
Dispatcher
Portal Server
PRTL201
PRTL201Technical
Technical
Infrastructure
Infrastructureof
ofSAP
SAP
Enterprise
EnterprisePortal
Portal6.0
6.0
09/30/03
09/30/0314.00-18.00
14.00-18.00
J2EE Se rv e r
J2EE Se rv e r
J2EE Se rv e r
J2EE Se rv e r
J2EE Se rv e r
J2EE Se rv e r
Dispatcher
J2EE
Dispatcher
BPI102
BPI102SAP
SAPExchange
Exchange
Infrastructure
Infrastructure
Process
ProcessCentric
Centric
Collaboration
Collaboration
09/30/03
09/30/0316.00-17.00
16.00-17.00
10/01/03
10/01/0317.00-18.00
17.00-18.00
Mapping
Server
DB Server
Work Proce ss
Work Proce ss
Work Proce ss
J2EE Cluster
File
Syste m
RDBMS
Central Instance
Enque ue
Se rv ice
Message
Se rv ice
J2EE Se rv e r
Dispatcher
J2EE
Dispatcher
Mapping
Server
J2EE Se rv e r
J2EE Se rv e r
Work Proce ss
Work Proce ss
Work Proce ss
J2EE Cluster
HA example for SAP XI2.0, based on SAP J2EE Engine 6.20
18
Agenda
Overview
How to avoid unplanned downtimes
Overview
Points to be protected for SAP Web AS
High availability for databases
Clustering
Standalone enqueue service
High availability for SAP Web Application Server Java
Recovery
How to decrease planned downtimes
High availability configurations for SAP NetWeaver
SAP Enterprise Portal
SAP Exchange Infrastructure
Summary
Summary
19
Further Information
SAP Service Marketplace:
http://service.sap.com/ha
http://service.sap.com/upgrade
http://service.sap.com/netweaver
Questions?
Q&A
20
Feedback
Thank You !
The SAP TechEd 03 Basel Team
21
22