Beruflich Dokumente
Kultur Dokumente
SAP NetWeaver AS Java does not require a JDK from the operating
system manufacturer instead; the SAP-specific JDK is used on all
operating systems.
Some of the SAP JVM properties were developed especially to meet the
requirements of SAP customers:
Additional Supportability
Profiling and Memory debugging
Debugging on demand
Java compiler generates a separate file for each class. You can also
combine multiple class files into a compressed archive file.
The bytecode of a Java application is executed by calling the Java Virtual
Machine JVM. In Java there are also small Java programs (clases) These
programs are known as Java Beans.
The Java EE server uses Java Server Pages (JSP) and Java Servlets to
generate HTML pages or XML data. Java Server Pages and Java servlets
are executed in a Web Container.
Java Server Pages (JSP) are a technology developed by Sun, which
essentially allow the simple dynamic generation of HTML and XML output
for a Web server. Each application component is executed in a
container.
Processing of a Client Request by the Java
1. The client sends a request to the server.
2. A servlet (Controller) processes the request and calls the
corresponding Java Beans.
3. The Java Beans (Model) execute the application logic and use
services that are provided by the application server during the
execution.
4. The servlet selects the appropriate JSP to dynamically display the
result
5. The JSP (View) fetches the result form the model and dynamically
builds it into a HTML template.
6. The result is returned to the client
Client request to SAP NetWeaver AS Java are received by ICM. The ICM
distributes new incoming requests to the available server processes
using a round robin algorithm. The server processes are
implemented as multi-threaded servers and can therefore process
multiple requests in parallel.
Central Services
The central Services run on one host and form a separate Java Instance.
They consist of the Java message server and the Java enqueue server.
Message service
The message service is an individual program used to communicate
between the elements of a Java cluster.
The message service performs the following tasks in the Java cluster:
Enqueue Service
The enqueue service runs on the Central Services instance of the Java
cluster. It manages the lock table in the main memory. The enqueue
server is the program or process that provides the enqueue service.
The enqueue service has the following tasks:
In the file system, the data for the instances is contained in the
usr/sap directory
The <SAPSID> directory contains all data that must only be
accessed by SAP system
The data for PAS instance is located in the DVEBMGS<no>
directory
The directory work contains the logs of the start process
The directory exe contains the kernel
The SYS directory contains the following subdirectories in
particular:
o Global
o Profile
o Exe
The sapstartsrv program reads the start profile or instance profile
Parameters are defined in the default profile for all instances
5.
The ABAP dispatcher is started, which starts its work processes and
the ICM
12.
Describe the general start process for an SAP NetWeaver
AS ABAP+Java
In an instance of a dual-stack system , the Java Stack is started by the
ABAP DISPATCHER USING THE Stup and control Framework. The Java
cluster elements are started using the Startu and Control Framework. An
SAP system is stopped in the opposite sequence
13.
Evaluation of the Start, Default, and Instance Profiles
First, the sapcpe program is executed, the system checks whether the
database is already running. The start profile or instance profile for the
PAS instance specifies that the sapstartsrv process first starts the ABAP
message server. The ABAP message server evaluates the parameters of
the default and instance profile, and starts with this parameterization .
Extra Information
The instaces are started and stopped using tools such as the SAP
Management Console (SAP MC)
In an instance of a dual-stack system, the Java stack is started bye
the ABAP dispatcher usig the Startup and control Framework
The sapstartsrv processes write a 1-byte control file to the $
(DIR_GLOBAL)/sapcontrol directory every minute
16.
Describe the general start process for an SAP NetWeaver
AS ABAP + Java
The instances are started and stopped using the Management Console
(SAP MC). The start of the Java stack is controlled by the ABAP
dispatcher. The ABAP dispatcher sends a start command to the Startup
and Control Framework.
The tools communicate with sapstartsrv. This is a service in Windows
operating systems; it should be scheduled as a daemon in toher
operating systems. There is an sapstartsrv for each instance; this is
responsible for starting and stopping the instance
Unit 4 Lesson: Tools for Starting and Stopping SAP Systems
17.
Operate the tools to start and stop an SAP NetWeaver AS
ABAP
SAP Management Console allows you to display varilous monitoring
information and perform administration task such as start and stop
operations in the same interface on different operating systems.
To start the SAP MC after installing the relevant SAP NetWeaver AS, enter
the following URL in your browser:
http://<hostname>:5<instance number>13
Starting and stopping the database with the SAP Management
Console and SAP Host Agent
The SAP MC receives the information form sapstartsrv, on which
computer the DB runs and connects with the SAP Host Agent, which
starts or stops DB through the Port 1128
Start Sequence during the start with the SAP MC
1. The SAP Host Agent receives the command to start the database
2. The SAP Host Agent starts the DB if it is in the state stopped
3. The sapstartsrv of the instance with the priority 1 gets the command
to start instances according to their priority
4. The sapstartsrv of the instance with the priority 1 starts its instance.
5. The sapstartsrv of the instance with the priority 1 triggers the
sapstartsrv of the instance with the priority 3 to start its instance
6. The sapstartsrv of the instance with the priority 3 starts its instance
Previosly on SAP system installed under UNIX, you executed the scripts
startsap and stopsap to nitiate the start and stop processes
Upgrades
Database, hardware or operating system maintenance
Configuration or customizing changes
Migration
Downtime Planning
Notification Management
Alert Management
Task Management
Execution of the Downtime
29.
Name various configuration and administration tools for
SAP NetWeaver AS Java
SAP NetWeaver Administrator
Config Tool
SAP Management Console
Shell Console Administrator
30.
Describe the primary usage areas of configuration and
administration tools
Config Tool
o Configuration of the Java VM parameters
o Configuration of services, managers and application
SAP NetWeaver Administrator
o Display of service, manager, and application properties and
parameters.
o Starting and stopping intances processes, services and
application
o Monitoring and configuration of different system functions
and applications
SAP Management Console
o Starting and stopping instances and processes
o Monitoring the processes and special funcitons
o Analyzing of logs and traces
Shell Console Administrator
o Emergency tool
o Stopping processes
o Starting and stopping services and applications
o Displaying and changing settings
Unit 5 Lesson: Basic Configuration of AS Java with the Config Tool
31.
Maintain settings for the SAP NetWeaver AS Java with the
Config Tool
The memory area of a Java Virtual Machine is mainly divided into 3
areas; young generation, tenured generation and permanent generation.
The Garbage Collector forms part of the VM is to prevent the occurrence
of situations in which there is a danger of memory bottlenecks.
The memory space that is available is called the available memory or
allocated memory. The memory space that is actually used by Java
applications is referred to as used memory.
Unit 5 Lesson: Further Configuration Activites
32.
Check and maintain properties of the Central Services
The Central Services consist of the message server and the enqueue
server. The internal communication port for the message server is