These sections describe the functions for scheduling jobs in DBA Cockpit.
The Jobs sections cover the following areas:
Central Calendar
DBA Planning Calendar
Back-end Configuration
Central Calendar provides an overview of database administration actions on all the databases that you are monitoring with DBA Cockpit. Examples of DBA actions are backups or database system checks. The actions available differ depending on the database platform.
With Central Calendar, you can perform the following tasks:
You can also manage remote databases of different types and versions, including non-ABAP SAP systems.
The Central Calendar runs with all database platforms supported by SAP.
Jobs that have been scheduled in the remote system are not displayed.
This action collects information from remote systems to be displayed in the Central Calendar.
In the system in which you normally run DBA Cockpit, you can use DBA Planning Calendar to schedule a regular job to update the results from remote systems. Use the action Central Calendar Log Collector.
In DBA Cockpit, you can then define the systems you want to monitor by setting the flag Collect Central Planning Calendar Data for each system.
Using Central Calendar, you can regularly check the results.
To schedule, change, delete, or execute actions, use DBA Planning Calendar.
This section describes the functions offered in the Central Calendar in DBA Cockpit.
Function |
Steps |
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Start Central Calendar. |
Choose .If you have already run or scheduled actions, entries are displayed for each day and for each system. Here is an example of entries for Thursday February 8 affecting two systems, FUD and FIB:
On system FUD for Thursday February 8, three actions were scheduled, two of which had the highest status severity. For example, the highest status severity for FUD might be "Finished with warning", in which case the entry for FUD is displayed with a yellow background. This means that two actions ended with a warning. On system FIB for the same day, four actions were scheduled, one of which was completed with the highest severity. For example, the highest severity for FIB might be "Finished with error", in which case the entry for FIB is displayed with a red background. This means that one action was completed with an error. |
|||||||||||||||||||||||||||
Display the color-coded action statuses |
Choose Legend. The following table shows the color-coded statuses for actions in Central Calendar:
|
|||||||||||||||||||||||||||
Display a summary of the actions for a day. |
Double-click the day header. The system displays a summary of the actions and status for each system on the day you selected, as in the following example:
|
|||||||||||||||||||||||||||
Display the actions for a particular system. |
Double-click the entry for the system for a particular day. The day is displayed in DBA Planning Calendar. You can schedule jobs using DBA Planning Calendar. |
|||||||||||||||||||||||||||
Refresh the display. |
The Central Planning Calendar does not automatically display the live status of scheduled actions. The date and time of the last data collection is displayed at the top of the screen. To refresh the display for the system from which you called Central Calendar, choose Refresh. To refresh the display for all systems, choose Remote Refresh. You can remotely refresh the display as follows:
|
|||||||||||||||||||||||||||
Customize the calendar display. |
You can customize the calendar display as follows:
|
DBA Planning Calendar displays scheduled actions, and allows you to schedule backups and other database administration tasks.
The DBA Planning Calendar display comprises the following sections:
DBA Planning Calendar
Action Pad
Calendar
The functionality is described in the sections that follow.
To change the layout of the sections, choose Top-Bottom Split View Layout.
orTo change the default layout, choose Save Settings…, select your preferred options, and Save.
In DBA Planning Calendar, you can display an overview of scheduled actions for a day, a week, or a month.
To apply a different calendar layout, choose Day, Week, or Month.
The overview section in DBA Planning Calendar displays the following information:
Field | Description |
---|---|
System |
Select the system you want to use to schedule DBA actions. |
Category |
Select which type of actions to display in the calendar. You can display:
|
Calendar ID |
Specify a calendar ID for a factory calendar. Changing the factory calendar adjusts the calendar display to display public holidays, but does not cause any restrictions for any actions already scheduled. |
Calendar Control |
Select the week to display. By default, the current week is displayed. Double-click to select a calendar week to display in the calendar. |
This section describes the general procedure to schedule actions using DBA Planning Calendar. The action parameters are described in the sections that follow.
With DBA Cockpit, you can schedule backups for SAP HANA multitenant database containers. For this, you must first set up a connection to the system database in DBA Cockpit.
More information: SAP Note 2164096 (Schedule backups for SAP HANA multiple-container systems with DB13) in Related Information
Schedule an Action
The action is scheduled and the calendar display is updated.
You cannot schedule a backup to run while another backup is still running.
The system checks whether more than one action is scheduled within a period of 30 minutes. If there is less than 30 minutes between scheduled actions, a warning is displayed. However, you can still schedule the action. If a scheduled action is started while another action is still running, the second job is canceled, and is not automatically restarted.
When scheduling actions close to each other, you should also consider whether issues could occur that would impact access to the database or system performance.
To display the parameters and logs for a scheduled action, select the action and choose Action Details.
To execute the job immediately with the same parameters, choose Re-Execute.
Alternatively, to execute one or more scheduled actions immediately, select the actions, choose Execute, and confirm.
You can change or delete scheduled actions in DBA Planning Calendar.
The action is re-scheduled and the calendar display is updated.
This section describes the options for scheduling a complete data backup in DBA Planning Calendar.
A data backup includes all the data that is required to recover the database to a consistent state. With a data backup, only the actual data is backed up; unused space in the database is not backed up.
When you schedule a complete data backup, specify the following action parameters:
Action Parameter |
Description |
---|---|
Database Name |
Note This field is only displayed if you are connected to the system
database of an SAP HANA multitenant database container.
For an SAP HANA multiple database container, you can select the system database or a tenant database. |
Destination Type |
Specify where the backup will be written to:
Note The Backint option is only available if a
third-party backup tool is installed.
|
UTL File (Only available for destination type Backint) |
This action parameter is only relevant for backups using third-party backup tools (Backint). To use this option, you need to be connected to the tenant database that you want to back up. The default Backint parameter file for a third-party backup tool specified is specified in Backint Parameter File - Data Backup). (fieldWhen a backup is scheduled, you have the option to specify a differerent Backint parameter file for the current action. You have the following options:
|
Backup Destination |
Specify the backup destination. The default backup destination is the path specified in .For file-based backups, you can change the default backup destination. Backups made using third-party tools always use the backup destination /usr/sap/<SID>/SYS/global/hdb/backint. For third-party backup tools with SAP HANA multitenant database containers, the following directories are used
It is not possible to change the backup destination for third-party tools. For this destination, the only objects created in the file system are named pipes. Named pipes occupy no space in the file system. |
Backup Prefix |
By default, the prefix COMPLETE_DATA_BACKUP is used. You can also use the following variables to create a unique timestamp:
You can also combine these variables with text. For example: <COMPLETE_DATA_BACKUP_<$DATETIME> |
This section describes the options for scheduling an incremental backup in DBA Planning Calendar.
Incremental backups store the data changed since the last full data backup or the last incremental or differential backup.
When you schedule an incremental backup, specify the following action parameters:
Action Parameter |
Description |
---|---|
Database Name |
Note This field is only displayed if you are connected to the system
database of an SAP HANA multitenant database container.
For an SAP HANA multiple database container, you can select the system database or a tenant datase. |
Destination Type |
File: The backup data is written to the file system. Each SAP HANA service writes backup data to a separate file in the specified destination in the file system. Backint: The backup data is written through a third-party backup tool. Each SAP HANA service starts the Backint for SAP HANA agent and sends the backup data to the third-party backup tool. Note The Backint option is only available if a third-party backup tool is
installed.
|
UTL File (Only available for destination type Backint) |
This action parameter is only relevant for backups using third-party backup tools (Backint). To use this option, you need to be connected to the tenant database that you want to back up. The default Backint parameter file for a third-party backup tool specified is specified in Backint Parameter File - Data Backup). (fieldWhen a backup is scheduled, you have the option to specify a differerent Backint parameter file for the current action. You have the following options:
|
Backup Destination |
Specify the backup destination. The default backup destination is the path specified in .For file-based backups, you can change the default backup destination. Backups made using third-party tools always use the backup destination /usr/sap/<SID>/SYS/global/hdb/backint. For third-party backup tools with SAP HANA multitenant database containers, the following directories are used
It is not possible to change the backup destination for third-party tools. For this destination, the only objects created in the file system are named pipes. Named pipes occupy no space in the file system. |
Backup Prefix |
By default, the prefix DIFF_DATA_BACKUP is used. You can also use the following variables to create a unique timestamp:
You can also combine these variables with text. For example: <COMPLETE_DATA_BACKUP_<$DATETIME> |
This section describes the options for scheduling a differential backup in DBA Planning Calendar.
A differential backup stores all the data changed since the last complete data backup.
When you schedule a differential backup, specify the following action parameters:
Action Parameter |
Description |
---|---|
Database Name |
Note This field is only displayed if you are connected to the system
database of an SAP HANA multitenant database container.
For an SAP HANA multiple database container, you can select the system database or a tenant datase. |
Destination Type |
File: The backup data is written to the file system. Each SAP HANA service writes backup data to a separate file in the specified destination in the file system. Backint: The backup data is written through a third-party backup tool. Each SAP HANA service starts the Backint for SAP HANA agent and sends the backup data to the third-party backup tool. Note The Backint option is only available if a third-party backup tool is
installed.
|
UTL File (Only available for destination type Backint) |
This action parameter is only relevant for backups using third-party backup tools (Backint). To use this option, you need to be connected to the tenant database that you want to back up. The default Backint parameter file for a third-party backup tool specified is specified in Backint Parameter File - Data Backup). (fieldWhen a backup is scheduled, you have the option to specify a differerent Backint parameter file for the current action. You have the following options:
|
Backup Destination |
Specify the backup destination. The default backup destination is the path specified in .For file-based backups, you can change the default backup destination. Backups made using third-party tools always use the backup destination /usr/sap/<SID>/SYS/global/hdb/backint. For third-party backup tools with SAP HANA multitenant database containers, the following directories are used:
It is not possible to change the backup destination for third-party tools. For this destination, the only objects created in the file system are named pipes. Named pipes occupy no space in the file system. |
Backup Prefix |
By default, the prefix INC_DATA_BACKUP is used. You can also use the following variables to create a unique timestamp:
You can also combine these variables with text. For example: <COMPLETE_DATA_BACKUP_<$DATETIME> |
This section describes the options for scheduling a consistency check in DBA Planning Calendar.
To execute the procedure, you must have the following SAP HANA system privileges:
For check actions:
DATA ADMIN or CATALOG READ
For repair actions:
DATA ADMIN
As the assignment of the DATA ADMIN authorization should be restricted as far as possible in accordance with security guidelines, the following recommendation applies: If you want to use the REPAIR function, configure the DBA Cockpit temporarily with the SYSTEM database user, and, after the REPAIR has been executed, configure DBA Cockpit again with your usual database user.
More information: SAP Note 1640741 (FAQ: "DB users for the DBA Cockpit for SAP HANA") in Related Information
When you schedule a consistency check, specify the following action parameters:
Action Parameter |
Description |
---|---|
Action |
Specify an action. Choose Show possible values to display an overview of available checks. |
Schema |
Specify a schema. Choose Show possible values to display an overview of available schemas. |
Table |
Specify a table to check. |
When a consistency check is completed, its status can be:
Green |
No inconsistencies were detected. |
Red |
Either: an error occurred, and the action was canceled. Or: The action was completed, but one or more inconsistencies were detected in the SAP HANA system. For more information, check the job log. |
More information: SAP Note 1977584 in Related Information
This section describes the action parameters for scheduling an SQL statement in DBA Planning Calendar.
If your user has the required privileges to perform the specific operations, you can schedule SQL statements.
To schedule an SQL statement, it must first be saved.
You can use the SQL Editor in DBA Cockpit to create and save SQL statements.
To schedule an SQL statement, drag the action item Generic SQL Statement to the calendar.
A dialog box appears.
To select a saved SQL statement, choose Show possible values and select a SQL statement.
You can create and save SQL statements using the SQL Editor in DBA Cockpit.
More information: SQL Editor in Related Information
To schedule the SQL statement, choose Add.
To execute the SQL statement now without scheduling it, choose Execute Immediately.
When an SQL statement is executed, its output is recorded in the job log. To display the job log for a SQL statement that has been executed, open the calendar entry for the SQL statement and go to the Job Log tab.
We recommend that you regularly check whether actions have been executed successfully.
DBA Planning Calendar indicates the status of scheduled actions with a color.
To display the meaning of the status colors, choose Legend.
To display the parameters and other information for a completed action, double-click the job in DBA Planning Calendar. The Job Log tab shows the times at which the action was started and finished, the steps executed, as well as the action status. The Program Log tab displays information from the backup catalog.
DBA Planning Calendar shows the status of each action using the following colors:
Color |
Description |
---|---|
Light orange |
The action is scheduled, but has not been started. |
Blue |
The action is running, but has not been completed. |
Green |
The action was completed successfully. For a consistency check, no inconsistencies were detected. |
Yellow |
The action was completed with a warning. Check the job log for more information. |
Red |
An error occurred, and the action was canceled or a consistency check detected one or more inconsistencies. For more information, check the job log. If necessary, re-schedule the job. |
Dark yellow |
No additional information is available. |
Dark red |
The action could not be scheduled. No status information is available and the action is overdue. |
By default, SAP HANA jobs are configured to run on a specific application server. You can configure the back end of DBA Planning Calendar to have background jobs run on dfferent application servers.
You can configure the back end for all systems, for selected database platforms, or only for specific systems.
The system is configured by using the first available configuration from the following:
(current user, selection of background server by background dispatcher, high priority)