Showing posts with label Administration Tasks. Show all posts
Showing posts with label Administration Tasks. Show all posts

Sunday, October 5, 2008

Starting and Stopping SAP NetWeaver ABAP and Java

When you start SAP NetWeaver, you start the system database, the application servers, and the respective processes of which the system consists.

In general, the database starts first, and then the instance. When you start the central instance, the database is therefore automatically also started. However, the database is not stopped when you stop the central instance.

The following sections describe how you start and stop SAP NetWeaver ABAP, Java and the add-in installation (ABAP + Java). The description is limited to the activities in the case of a central system that consists of a database and a central instance (ABAP, Java, ABAP + Java) on one host. Only Microsoft Windows and UNIX are considered at operating system level:

Starting and Stopping SAP NetWeaver ABAP Under Microsoft Windows

Starting and Stopping SAP NetWeaver Java Under Microsoft Windows

Starting and Stopping SAP NetWeaver ABAP Under UNIX

Starting and Stopping SAP NetWeaver Java Under UNIX

In the case of an add-in installation (ABAP + Java), when you start and stop ABAP instances, the corresponding Java instances are automatically also started and stopped, by default. If you want to deactivate the automatic starting of the Java instances, you need to set the instance profile parameter rdisp/j2ee_start to the value 0 in transaction RZ10. You can then restart the Java instance as described in the section Restarting the Java Stack of an SAP NetWeaver Add-In Installation. When you stop an ABAP instance, however, the associated Java instance is always also stopped.

Additional Information

· For additional information about starting and stopping, see Starting and Stopping SAP Systems and Instances.

· For information about starting and stopping Application Services (such as SAP instances) with Adaptive Computing, see Starting and Stopping Application Services with Adaptive Computing.

Adaptive Computing is only supported if you are using the Adaptive Computing Controller 1.0 for SAP NetWeaver Release ’04 (see SAP Note 725397). However, the Adaptive Computing Controller 1.0 can control all releases from SAP R/3 4.6C to SAP NetWeaver 2004s (Managed Adaptive Landscape).

Starting and Stopping SAP NetWeaver ABAP Under Microsoft Windows

Proceed as follows to start and stop SAP NetWeaver ABAP under Microsoft Windows:

Starting

...

1. Start the Microsoft Management Console (MMC) that contains the SAP snap-in.

2. Select the system ID of your system and open the context menu by right-clicking.

3. Choose Start.

The database, all ABAP instances, and all additional processes of your system are started. If all instance icons appear green, the start was successful.

In the case of an add-in installation (ABAP + Java), the Java instances are automatically started together with the corresponding ABAP instances.

Stopping

4. Start the Microsoft Management Console (MMC) that contains the SAP snap-in.

5. Select the system ID of your system and open the context menu by right-clicking.

6. Choose Stop.

In the case of an add-in installation, the Java instances are automatically stopped together with the corresponding ABAP instances. If all instance icons appear gray, the stop was successful.

The database is not stopped automatically when you stop SAP NetWeaver. Use database-specific tools to stop the database. For more information, see database administration.

Example

The figure below shows the started instances of system NBS.

This graphic is explained in the accompanying text

Starting and Stopping SAP NetWeaver Java Under Microsoft Windows

Proceed as follows to start and stop SAP NetWeaver Java under Microsoft Windows:

Starting

...

1. Start the Microsoft Management Console (MMC) that contains the SAP snap-in.

2. Select the system ID of your system and open the context menu by right-clicking.

3. Choose Start.

The database, all Java instances, and all additional processes of your system are started. If all instance icons appear green, the start was successful.

Stopping

4. Start the Microsoft Management Console (MMC) that contains the SAP snap-in.

5. Select the system ID of your system and open the context menu by right-clicking.

6. Choose Stop.

If all instance icons appear gray, the stop was successful.

The database is not stopped automatically when you stop SAP NetWeaver. Use database-specific tools to stop the database. For more information, see database administration.

Example

The figure below shows the stopped instances of system J2E:

This graphic is explained in the accompanying text

Starting and Stopping SAP NetWeaver ABAP Under UNIX

Proceed as follows to start and stop SAP NetWeaver ABAP under UNIX:

Starting

...

1. Log on to the host of your central system as the SAP administrator adm.

2. Enter startsap ALL to start SAP NetWeaver ABAP.

The database, the ABAP instances, and all other processes for your system are started on this host.

In the case of an add-in installation (ABAP + Java), the Java instances are automatically started together with the corresponding ABAP instances.

Stopping

3. Log on to the host of your central system as the SAP administrator adm.

4. Enter stopsap R3 to stop SAP NetWeaver ABAP.

In the case of an add-in installation (ABAP + Java), the Java instances are automatically stopped together with the corresponding ABAP instances.

The stopsap command with the R3 switch does not stop the database simultaneously. If you want to stop the database simultaneously, use the command stopsap or stopsap ALL.

Starting and Stopping SAP NetWeaver Java Under UNIX

Proceed as follows to start and stop SAP NetWeaver Java under UNIX:
Starting

...

1. Log on to the host of your central system as the SAP administrator adm.

2. Enter startsap ALL to start SAP NetWeaver Java.

The database, all Java instances, and all other processes for your system are started on this host.
Stopping

3. Log on to the host of your central system as the SAP administrator adm.

4. Enter stopsap J2EE to stop SAP NetWeaver Java.

Note

The command Stopsap with the switch J2EE does not stop the database simultaneously. If you want to stop the database simultaneously, use the command stopsap or stopsap ALL.

Restarting the Java Stack of an SAP NetWeaver Add-In Installation

With an add-in installation, a Java instance is assigned to an ABAP instance. The Internet Communication Manager (ICM) of the ABAP instance starts and stops the associated Java instance as required.

Proceed as follows to restart the Java stack of your SAP NetWeaver add-in installation (ABAP + Java):

...

1. Log on to the ABAP stack of SAP NetWeaver.

2. Open the list of SAP servers by calling transaction SM51.

3. Double-click the instance for which you want to restart the Java stack.

You are now connected to the selected instance.

4. Start the ICM Monitor (transaction SMICM) by entering /nSMICM in the command field.

5. In transaction SMICM, choose Administration ® J2EE Server ® Send Soft Shutdown ® With Restart.

6. The corresponding SAP NetWeaver Java stack for your instance is stopped and restarted.

Starting or Stopping Application Services via Adaptive Computing

The procedure for starting and stopping the application services with Adaptive Computing is discussed in the corresponding section:

Adaptive Computing is only supported by using Adaptive Computing Controller 1.0 only running on SAP NetWeaver Release '04 (see SAP Note 725397) which of course can adaptively control all releases from SAP R/3 4.6C up to SAP NetWeaver 04s.

Starting an Application Service:

To access this information, go to: help.sap.com and choose Documentation ® SAP NetWeaver ®Adaptive Computing Controller 1.0, navigate to Adaptive Computing Controller Main Window ® Logical Landscape ® Application Service Detailed Information ® Application Service ® Starting an Application Service.

.

Stopping an Application Service:

To access this information, go to: help.sap.com and choose Documentation ® SAP NetWeaver ®Adaptive Computing Controller 1.0, navigate to Adaptive Computing Controller Main Window ® Logical Landscape ® Application Service Detailed Information ® Application Service ® Stopping an Application Service.

High Availability Netweaver

The tasks for the system administrator depend on the high availability features that you have implemented. In general, you need to minimize both planned downtime and unplanned downtime for your SAP system. The tasks listed below are important to minimizing downtime in your system.

Getting Started

For a full checklist of what features you need to consider when designing high availability into your system, see General Checklist. Consider especially switchover software.

High availability is a technically complex area, and implementation considerations vary according to your system setup.

For technical guidance when developing a high availability strategy or when implementing a specific product or feature, contact the appropriate source, such as your SAP consultant or your hardware partner.

For more information, see SAP Note 803018 and the SAP High Availability documentation.

Technical System Landscape

For more information on a system landscape for high availability, see the Technical Infrastructure Guide – SAP NetWeaver 2004s at:

service.sap.com/installNW2004s ® Planning

Tasks on Demand

Reason

Task

More Information

System failure

Restore database

Database Administration

SAP system upgrade required

Upgrade SAP system

service.sap.com/upgrade

service.sap.com/nw04upgrade ® Upgrade

Database upgrade required

Upgrade database

service.sap.com/instguides

® Other Documentation

® Database Upgrades

Operating system upgrade required

Upgrade operating system

Operating system documentation

Periodic Tasks

Frequency

Task

More Information

Regularly

Test switchover functionality

service.sap.com/ha ® Media Library ® Documentation ® Switchover

Regularly

Database backup, online or offline, possibly with split-mirror

Database Administration

How often you perform the periodic tasks depends on the requirements and nature of your installation.

For example, the frequency with which you expect a switchover to occur determines how often you test switchover functionality – if you expect frequent switchovers you need to frequently test switchover functionality.

Archive