STOP SEQUENCE
• Stopping the SAP system using a command call from Unix Command Line
• Log on to the server with the user <sid>adm over a Telnet connection.
• Check whether your SAP system is running at operating system level.
• Enter the command stopsap to stop an instance. To stop the entire SAP system,first stop
the dialog instance and then the central instance.
• The command stopsap only stops the selected instance. If the database is to be stopped,
this must be done using database tools.
Stop SAP Command
SAP R/3 systems uses Profiles to define the properties of an SAP R/3 Instance such as the
type and number of work processes, the size of main memory reserved for SAP R/3 and
various parameters like multiple logon, idle time out value etc
There are 2 types of profiles in SAP. They are :
It is possible to view the current values of SAP profile parameters using transaction RZ10
and RZ11
Location of SAP Profile Files in Unix
These parameters change the system settings. Those parameters can be changing though
RZ10 transaction.
Changing Profile parameters can be done changing the parameters on DEFAULT and
Instance profiles. After complete ring the parameter change the SAP instance should be
restarted. Location of SAP Profile File
UNIX : /sapmnt/<Sys-ID>/profile or /usr/sap/<Sys-ID>/SYS/profile
HANA
ADMINISTRATION
SYLABUS SAP HANA ADMINISTRATION
• START / STOP SAP HANA
• HANA MONITORING
• CHECK DATABASE LOG
• CHECK HANA STATUS
• BACKUP / RESTORE
• CREATE USER
START / STOP SAP HANA
• As the administrator of SAP HANA dataase, you need to stop and/or start
the system for maintenance purpose
• Multiple ways to stop/start HANA Database
Use Hana Studio
Need the password <sid>adm
Use OS command
Sapcontrol –nr 00 –function Stop
Sapcontrol –nr 00 –function Start
Sapcontrol –nr 00 –function GetProcessList
START / STOP SAP HANA
START / STOP SAP HANA
START / STOP SAP HANA
• Stopping SAP HANA database
Using sapcontrol as root
/usr/sap/hostctrl/exe/sapcontrol –nr <Instance_Number> -function Stop
Using HDB as <sapsid>adm
/usr/sap/<SAPSID>/<Instance_Name>/HDB stop
• Starting SAP HANA database
Using sapcontrol as root
/usr/sap/hostctrl/exe/sapcontrol –nr <Instance_Number> -function Start
Using HDB as <sapsid>adm
/usr/sap/<SAPSID>/<Instance_Name>/HDB start
MONITORING : CHECK LOG
MONITORING : HANA STATUS
MONITORING : STATUS OF SERVICES
BACKUP
• You have to perform backups for SAP HANA database
• Backup are performed while the database is running
• The impact of backup on system performance is negligible, and users can
continue to work normally while the backup is running
• Data Backup
From persistent storage to external backup destinations
Using database function (SAP HANA studio)
• Log Backup
From persistent storage to external backup destinations
• Configuration backup
Manual copy of configuration file to external backup destination
BACKUP
BACKUP
RECOVERY
• To recover the database, you need at least one data backup
• At the beginning of recovery, all data and log backups to be recovered
must be available
• To recover the SAP HANA database, the database needs to be shutdown.
For this reason, during recovery, the database cannot be accessed by end
users or applications
• If recovery failed the completed recovery must be repeated
• The SAP HANA database software version used during the recovery must
always be the same or higher than the version of the software used to
create the backup
RECOVERY
• In general there are three data source involved in the recovery
process :
By checking the work process load using the global work process
overview, we can quickly investigate the potential cause of a system
performance problem.
Monitor the work process load on all active instances across the system
Monitoring System-wide Work Processes
(SM66)
Using the Global Work Process Overview screen, we can see at a glance:
• The status of each application server
• The reason why it is not running
• Whether it has been restarted
• The CPU and request run time
• The user who has logged on and the client that they logged on to
• The report that is running
Monitor Application User (AL08 and SM04)
• This transaction displays all the users of active instances.
Monitoring Update Processes (SM13)
• Update management supports different status for update requests. These
status are displayed in Update Management (transaction code SM13) in
the column Status.
• The status indicates the phase of the update process that the request has
reached, or in which the request has become “stuck”.
• The background of the status field can be green (not yet processed,
currently being processed), yellow (not yet processed, probably “stuck”),
or red (terminated with error). The column Info provides further
information.
Monitoring Update Processes (SM13)
• Execute Transaction SM13 and put '*' in the field USER and click on
button
Monitoring Update Processes (SM13)
• If there are no long pending updates records or no updates are going on
then this queue will be empty as shown in the below screen shot.
But, if the Update is not active then find the below information:
•Is the update active, if not, was it deactivated by the system or by a user?
• Click on button and get the information.
• Click on button and get the below information:
• Is any update cancelled?
• Is there a long queue of pending updates older than 10 minutes?
Monitoring Lock Entries (SM12)
• SAP provides a locking
mechanism to prevent other
users from changing the
record that you are working
on. In some situations, locks
are not released. This could
happen if the users are cut
off i.e. due to network
problem before they are
able to release the lock
• These old locks need to be
cleared or it could prevent
access or changes to the
records
Monitoring System Log (SM21)
We can use the log to
pinpoint and rectify errors
occurring in the system and
its environment.
We check the log for the
previous day with the
following selection/option:
• Enter Date and time.
• Select Radio Button
Problems and Warnings
• Press Reread System Log.
Tune Summary (ST02)
Step 1: Go to ST02 to check
the Tune summary.
Step 2: If you see any red
values, in SWAPS, double –
click the same.
Tune Summary (ST02)