Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for...

40
CHAPTER 5-1 Process Automation Guide for Automation for SAP HANA 5 Using the SAP HANA Processes (Activities) The Automation for SAP HANA automation pack contains additional activities (processes) for use in the SAP HANA processes. These are additional activities that display in the Process Editor toolbox after the user has imported the automation packs. This chapter provides information about the SAP HANA activities and using them in processes. It includes the following sections: SAP HANA Processes (Activities), page 5-1 Defining the SAP HANA Activities, page 5-9 SAP HANA Processes (Activities) The following table contains the processes (activities) that are imported by the Automation for SAP HANA automation pack. Process Name Description HANA - Alerts Retrieves all HANA alerts generated for a specific time period. See HANA - Alerts, page 5-9. HANA - Backup Catalog Retrieves all backups from the catalog for the defined time period. See HANA - Backup Catalog, page 5-10. HANA - Blocked Transactions Retrieves all HANA transactions that are blocked by locks. See HANA - Blocked Transactions, page 5-10. HANA Cancel Operation Cancels the operation associated with the specified connection ID. See HANA - Cancel Operation, page 5-11. HANA - Cancel Thread Cancels the thread for the specified connection ID. See HANA - Cancel Thread, page 5-12. HANA - Console Events Retrieves all HANA console events. These are the same console events an administrator would see in the HANA Administrator Console. See HANA - Console Events, page 5-12.

Transcript of Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for...

Page 1: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Proce

C H A P T E R 5

Using the SAP HANA Processes (Activities)

The Automation for SAP HANA automation pack contains additional activities (processes) for use in the SAP HANA processes. These are additional activities that display in the Process Editor toolbox after the user has imported the automation packs.

This chapter provides information about the SAP HANA activities and using them in processes. It includes the following sections:

• SAP HANA Processes (Activities), page 5-1

• Defining the SAP HANA Activities, page 5-9

SAP HANA Processes (Activities)The following table contains the processes (activities) that are imported by the Automation for SAP HANA automation pack.

Process Name Description

HANA - Alerts Retrieves all HANA alerts generated for a specific time period.

See HANA - Alerts, page 5-9.

HANA - Backup Catalog Retrieves all backups from the catalog for the defined time period.

See HANA - Backup Catalog, page 5-10.

HANA - Blocked Transactions Retrieves all HANA transactions that are blocked by locks.

See HANA - Blocked Transactions, page 5-10.

HANA Cancel Operation Cancels the operation associated with the specified connection ID.

See HANA - Cancel Operation, page 5-11.

HANA - Cancel Thread Cancels the thread for the specified connection ID.

See HANA - Cancel Thread, page 5-12.

HANA - Console Events Retrieves all HANA console events. These are the same console events an administrator would see in the HANA Administrator Console.

See HANA - Console Events, page 5-12.

5-1ss Automation Guide for Automation for SAP HANA

Page 2: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

HANA - Data Volumes Information Retrieves detailed information about HANA data volumes, including if a shrink operation is recommended.

See HANA - Data Volumes Information, page 5-13.

HANA - Data Volumes Shrink Perform a shrink operation on the specified data volume.

See HANA - Data Volumes Shrink, page 5-13.

HANA - Diagnose File Content Retrieves the contents of a specified HANA diagnosis file. The diagnosis file is similar to a trace file containing diagnostic information.

See HANA - Diagnosis File Content, page 5-14.

HANA - Diagnose File Sizes Retrieves the file size of all HANA diagnosis files.

See HANA - Diagnosis File Sizes, page 5-15.

HANA - Disconnect Session Disconnects the connection for the specified connection ID. This activity is used to disconnect sessions that are negatively impacting HANA system performance.

See HANA - Disconnect Session, page 5-16.

HANA - Execute Complete Backup Executes a complete HANA backup. It is recommended that a complete backup be done before performing some system commands.

See HANA - Execute Complete Backup, page 5-16.

HANA - Execute Savepoint Executes a savepoint on the persistence manager. A savepoint is a point in time when a complete consistent image of the database is persisted on the disk. The consistent image can be used to restart the database.

See HANA - Execute Savepoint, page 5-17.

HANA - Expensive Statements Retrieves the most expensive SQL statements for the specified time period.

See HANA - Expensive Statements, page 5-18.

HANA - Get Process List Retrieve a list of all executing processes in a HANA system.

See HANA - Get Process List, page 5-18.

HANA - Global CPU Statistics Retrieves detailed CPU statistics for a specified time period.

See HANA - Global CPU Statistics, page 5-19

HANA - Landscape Configuration Retrieves detailed HANA landscape configuration details.

See HANA - Landscape Configuration, page 5-20.

HANA - Landscape Overview Retrieves current HANA landscape overview.

See HANA - Landscape Overview, page 5-20.

HANA - Landscape Services Retrieve a list of services that match the specified filter in the HANA landscape.

See HANA - Landscape Services, page 5-21.

Process Name Description

5-2Process Automation Guide for Automation for SAP HANA

Page 3: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

HANA - Largest Column Store Tables Retrieves a list of the largest column store tables in the HANA system.

See HANA - Largest Column Store Tables, page 5-22.

HANA - Largest Row Store Tables Retrieves a list of the largest row store tables in the HANA system.

See HANA - Largest Row Store Tables, page 5-22.

HANA - Last Savepoints Retrieves a list of all save points for the specified time period. A savepoint is a point in time when a complete consistent image of the database is persisted on the disk. The consistent image can be used to restart the database.

See HANA - Last Savepoints, page 5-23.

HANA - Linux CPU IO Statistics Retrieves detailed CPU core information for systems hosting the HANA database, including the standard output activities for each available processor.

See HANA - Linux CPU IO Statistics, page 5-24.

HANA - Linux File System Usage Retrieves detailed file system information hosting the HANA databases, including amount of free space available.

See HANA - Linux File System Usage, page 5-25.

HANA - Linux Memory Usage Statistics Retrieves detailed system memory statistics and event counters for systems hosting the HANA database.

See HANA - Linux Memory Usage Statistics, page 5-26.

HANA - Linux Top CPU Retrieves top Linux tasks running on systems hosting the HANA database.

See HANA - Linux Top CPU, page 5-27.

HANA - Log Information Retrieves detailed information about HANA logs, including log file size.

See HANA - Log Information, page 5-28.

HANA - Log Operations Executes a specified operation against a HANA log file. For example, 'Backup' to force log backup or 'Release' to release log segments.

See HANA - Log Operations, page 5-28.

HANA - Memory Garbage Collection Performs garbage collection on the HANA system, and optionally forces memory management garbage collection.

See HANA - Memory Garbage Collection, page 5-29.

HANA - Memory Management Executes memory management command to retrieve memory allocations details.

See HANA - Memory Management, page 5-30.

HANA - Performance Load Retrieves detailed information about the current HANA system workload, such as connections, memory, and swapping.

See HANA - Performance Load, page 5-30.

Process Name Description

5-3Process Automation Guide for Automation for SAP HANA

Page 4: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

Defining an ActivityUse the following steps to define an activity in the Process Editor. The property pages that display depend on the activity. Refer to the appropriate section for instructions on completing the activity property pages.

Step 1 On the Toolbox pane, navigate to the appropriate section, click the activity and drag it onto the Workflow pane.

HANA - Performance Threads Retrieves detailed thread information for the specified HANA service, such as connection details, user details, and memory.

See HANA - Performance Threads, page 5-31.

HANA - Start Instance Starts HANA daemon instance wide or on a single host.

See HANA - Start Instance, page 5-32.

HANA - Stop Instance Stops HANA daemon instance wide or on a single host.

See HANA - Stop Instance, page 5-33.

HANA - Stop Service Stops a service instance wide or on a single host.

See HANA - Stop Service, page 5-34.

HANA - Table Locks Retrieves detailed information for table locks older than the specified duration.

See HANA -Table Locks, page 5-35.

HANA - Table Replication Status Retrieves the current status of the HANA table replication.

See HANA - Table Replication Status, page 5-35.

HANA - Thread Context Retrieves detailed information about the context of HANA threads.

See HANA - Thread Context, page 5-36.

HANA - Thread Operations Executes a command for a defined thread context. For example, 'Suspend' to suspend thread or 'Resume' to resume thread.

See HANA -Thread Operations, page 5-37.

HANA - Volumes Retrieves detailed information about the HANA volumes, such as data size, log size, and usage.

See HANA - Volumes, page 5-38.

LT Replication - Master and Load Job Status

Retrieves a list of all IUUC and DTL HANA jobs that have cancelled prematurely.

See LT Replication - Master and Load Job Status, page 5-38.

LT Replication - Test HANA Connection Tests the LT replication connection between the source SAP system and HANA.

See LT Replication - Test HANA Connection, page 5-39.

Process Name Description

5-4Process Automation Guide for Automation for SAP HANA

Page 5: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

The Activity Properties dialog box displays.

Note The Required Value icon displayed on a tab or page indicates that the field is required and is either missing a value or contains an invalid value.

Click the Reference tool to select a defined variable or reference an object within the process. For additional information, see the Cisco Process Orchestrator Reference Guide.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab (typically, Inputs) and enter the required information. See the appropriate section in this chapter for instructions on completing the fields on the activity-specific tab.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-5Process Automation Guide for Automation for SAP HANA

Page 6: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

Step 4 Click the Start Point tab to indicate the starting point for when a child process can start in an activity.

Step 5 Click the Target tab to specify the process target. You can use the process target or override it and specify a different target for the specific activity.

Field Description

Start from beginning of workflow Click this radio button to indicate the child process should start at the beginning of the process workflow.

Start from a specific start point Click this radio button, and then from the drop-down list, select the start point component which determines when the child process should start in the process workflow.

Start from start point named Click this radio button and then enter the name of the start point component that determines when the child process should start in the process workflow.

Click the Reference tool to reference a variable as the start point name.

Field Description

Execute on the process target Click this radio button to use the same target that was specified for the process.

Execute on activity target Click this radio button to indicate that the activity should execute against a target selected in an activity within the process. Choose the activity from the drop-down list.

Execute on this target Click this radio button and then click the Browse tool to launch the Select Target dialog box and choose a specific target on which to execute the activity.

The targets that display in the Select Target dialog box are targets already defined in Process Orchestrator.

To view the properties for the selected target, click the Properties tool.

Execute on this target reference Click this radio button and then click the Reference tool to select the target reference property on which to execute the activity.

You can also click the click the Browse tool to launch the Select Target dialog box and choose a specific target on which to execute the activity.

5-6Process Automation Guide for Automation for SAP HANA

Page 7: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

Step 6 Click the Credentials tab to specify the runtime user whose credentials should be used for process execution:

Execute on this target group Click this radio button and then click the Browse tool to launch the Select Target Group dialog box and choose a specific target on which to execute the activity.

The target groups that display in the Select Target Group dialog box are target groups already defined in Process Orchestrator.

To view the properties for the selected target group, click the Properties tool.

From the Choose a target using this algorithm drop-down list, select the algorithm which will determine the target to execute from the eligible target group.

Note The available algorithms that display depend on the selected activity.

Field Description

Use target's default runtime user Click this radio button to use the default runtime user for the target that is specified in the activity.

Use process runtime user Click this radio button to use the credentials for the runtime user that was specified for the process.

Override process runtime user Click this radio button to specify different credentials than what are used for the process. The selected runtime user overrides the runtime user that was specified for the process.

• To view the properties for the selected runtime user, click the Properties tool.

• To create a runtime user record for the process, click New.

For additional information on creating a runtime users, see the Cisco Process Orchestrator Reference Guide.

Field Description

5-7Process Automation Guide for Automation for SAP HANA

Page 8: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes (Activities)

Step 7 Click the Knowledge Base tab to specify a knowledge base article for the activity. The following information displays:

a. If the knowledge base article is not displayed by default, click the Browse tool in the Knowledge Base field.

b. On the Select Knowledge Base dialog box, select the appropriate knowledge base article in the list and click OK.

Note Click New to create a new knowledge base article. For additional information on knowledge base articles, see the Cisco Process Orchestrator Reference Guide.

Step 8 Click the Result Handlers tab to specify condition branches for the activity.

Step 9 Click the Save tool to save the activity definition.

Field Description

Knowledge base Knowledge base article associated with the activity.

Summary Brief description of the issue.

Possible Cause Explanation of the condition that may be causing the issue.

Possible resolution List of actions that can be performed to attempt to resolve the issue.

Related information Additional information related to the issue.

Button Description

Add Adds a condition branch.

Remove Removes the condition branch from the activity.

Move Up Moves the condition up one position in the list of conditions.

Move Down Moves the condition down one position in the list of conditions.

5-8Process Automation Guide for Automation for SAP HANA

Page 9: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Viewing Activity ResultsWhen an activity is executed, results are displayed in the Operations workspace activity instance view.

Step 1 In the Operations workspace, expand the Activity Views folder and click the view that represents how the process was executed (for example, View Adhoc, if the process was manually executed).

Step 2 In the View Results pane, expand the process, and double-click the activity instance or right-click and choose Observe.

Step 3 On the Process Viewer, ensure that Properties is enabled in the View menu, and then click the activity in the workflow to display the activity instance properties.

Step 4 If the activity required input values, click the Inputs tab to view the display-only properties of the activity.

Step 5 Click the Outputs tab to view the results of the activity.

Step 6 When you have completed viewing the properties, close the Process Viewer.

Defining the SAP HANA ActivitiesThis section provides instructions for defining the SAP HANA activities.

HANA - AlertsUse the HANA Alerts activity to retrieve all the HANA alerts generated within a specified time period.

Step 1 On the Toolbox pane, click the HANA Alerts activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Last X Minutes text field, specify how many minutes in the past to indicate which alerts to retrieve (for example, alerts that have been generated in the past 60 minutes). The default value is 60 minutes.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-9Process Automation Guide for Automation for SAP HANA

Page 10: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Step 6 Click the Save tool to save the activity definition.

HANA - Backup CatalogUse the HANA Backup Catalog activity to retrieve all backups from the catalog for the defined time period.

Step 1 On the Toolbox pane, click the HANA Backup Catalog activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Last X Minutes text field, specify how many minutes in the past to indicate which backup information to retrieve (for example, backups in the past 60 minutes). The default value is 60 minutes.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Blocked TransactionsUse the HANA Blocked Transactions activity to retrieve all HANA transactions that are blocked by locks.

Step 1 On the Toolbox pane, click the HANA Blocked Transactions activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-10Process Automation Guide for Automation for SAP HANA

Page 11: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Cancel OperationUse the HANA Cancel Operation activity to cancel the operation associated with the defined connection ID.

Step 1 On the Toolbox pane, click the HANA Cancel Operation activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Connection ID text field, enter the connection ID for the operation to be cancelled.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-11Process Automation Guide for Automation for SAP HANA

Page 12: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Cancel ThreadUse the HANA Cancel Thread activity to cancel the thread for the specified connection ID.

Step 1 On the Toolbox pane, click the HANA Cancel Thread activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Connection ID text field, enter the connection ID for the thread to be cancelled.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Console EventsUse the HANA Console Events activity to retrieve all HANA console events. These are the same console events an administrator would see in the HANA Administrator Console.

Step 1 On the Toolbox pane, click the HANA Console Events activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-12Process Automation Guide for Automation for SAP HANA

Page 13: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Data Volumes InformationUse the HANA Data Volumes Information activity to retrieve detailed information about HANA data volumes, including if a shrink operation is recommended.

Step 1 On the Toolbox pane, click the HANA Data Volumes Information activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Data Volumes ShrinkUse the HANA Data Volumes Shrink activity to perform a shrink operation on the specified data volume.

Step 1 On the Toolbox pane, click the HANA Data Volumes Shrink activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-13Process Automation Guide for Automation for SAP HANA

Page 14: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

HANA - Diagnosis File ContentUse the HANA Diagnosis File Content activity to retrieve the contents of the specified HANA diagnosis file. The diagnosis file is similar to a trace file containing diagnostic information.

Step 1 On the Toolbox pane, click the HANA Diagnosis File Content activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Field Description

Data Volume Index Number Enter the data volume index number to shrink.

Shrink Overhead Percentage The percentage of overhead to shrink. Must be greater than or equal to 100. The recommended

shrink overhead percentage is greater than or equal to 110.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Host Enter the host where the diagnosis file is located.

Diag File Name Enter the file name of diagnostic .trc file.

5-14Process Automation Guide for Automation for SAP HANA

Page 15: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

HANA - Diagnosis File SizesUse the HANA Diagnosis File Sizes activity to retrieve the file size of all HANA diagnosis files.

Step 1 On the Toolbox pane, click the HANA Diagnosis Files Sizes activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-15Process Automation Guide for Automation for SAP HANA

Page 16: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Disconnect SessionUse the HANA Disconnect Session activity to disconnect the connection for the specified connection ID. This activity is used to disconnect sessions that are negatively impacting HANA system performance.

Step 1 On the Toolbox pane, click the HANA Disconnect Session activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Connection ID text field, specify the connection ID for the session to be disconnected.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Execute Complete BackupUse the HANA Execute Complete Backup activity to execute a complete HANA backup. It is recommended that a complete backup be done before performing some system commands.

Step 1 On the Toolbox pane, click the HANA Execute Complete Backup activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Backup_File_Prefix text field, enter a prefix for the backup file name (for example, the date in the format MMDDYY 060812.e).

Step 5 Complete the appropriate information in the following tabs:

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-16Process Automation Guide for Automation for SAP HANA

Page 17: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Execute SavepointUse the HANA Execute Savepoint activity to execute a savepoint on the persistence manager. A savepoint is a point in time when a complete consistent image of the database is persisted on the disk. The consistent image can be used to restart the database.

Step 1 On the Toolbox pane, click the HANA Execute Savepoint activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-17Process Automation Guide for Automation for SAP HANA

Page 18: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Expensive StatementsUse the HANA Expensive Statements activity to retrieves the most expensive SQL statements for the specified time period.

Step 1 On the Toolbox pane, click the HANA Expensive Statements activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Last X Minutes text field, specify the number of minutes that have occurred to indicate which statements to retrieve (for example, last 60 minutes).

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Get Process ListUse the HANA Get Process List activity to retrieve a list of all executing processes in a HANA system.

Step 1 On the Toolbox pane, click the HANA Get Process List activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-18Process Automation Guide for Automation for SAP HANA

Page 19: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Global CPU StatisticsUse the HANA Global CPU Statistics activity retrieve detailed CPU statistics for a specified time period.

Step 1 On the Toolbox pane, click the HANA Global CPU Statistics activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Last X Minutes text field, specify the number of minutes that have occurred to indicate which statistics to retrieve (for example, last 60 minutes).

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-19Process Automation Guide for Automation for SAP HANA

Page 20: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Landscape ConfigurationUse the HANA Landscape Configuration activity to retrieve detailed HANA landscape configuration details.

Step 1 On the Toolbox pane, click the HANA Landscape Configuration activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Landscape OverviewUse the HANA Landscape Overview activity to retrieve an overview of the HANA landscape.

Step 1 On the Toolbox pane, click the HANA Landscape Overview activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-20Process Automation Guide for Automation for SAP HANA

Page 21: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Landscape ServicesUse the HANA Landscape Services activity to retrieve a list of services that match the specified filter in the HANA landscape.

Step 1 On the Toolbox pane, click the HANA Landscape Services activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Host Name of the host server on which the services are running.

Service Name of the service to be retrieved.

5-21Process Automation Guide for Automation for SAP HANA

Page 22: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Largest Column Store TablesUse the HANA Largest Column Store Tables activity to retrieve a list of the largest column store tables in the HANA system.

Step 1 On the Toolbox pane, click the HANA Largest Column Store Tables activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Largest Row Store TablesUse the HANA Largest Row Store Tables activity to retrieve a list of the largest row store tables in the HANA system.

Step 1 On the Toolbox pane, click the HANA Largest Row Store Tables activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-22Process Automation Guide for Automation for SAP HANA

Page 23: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Last SavepointsUse the HANA Last Savepoints activity to retrieve a list of all save points for the specified time period. A savepoint is a point in time when a complete consistent image of the database is persisted on the disk. The consistent image can be used to restart the database.

Step 1 On the Toolbox pane, click the HANA Last Savepoints activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Last X Minutes text field, specify the number of minutes that have occurred to indicate which savepoints to retrieve (for example, last 60 minutes).

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-23Process Automation Guide for Automation for SAP HANA

Page 24: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Linux CPU IO StatisticsUse the HANA Linux CPU IO Statistics activity to display detailed CPU core information for systems hosting the HANA database, including the standard output activities for each available processor.

Step 1 On the Toolbox pane, click the HANA Linux CPU IO Statistics activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Hostname Enter the host name where the file systems are located.

User Enter the user to log into the host to retrieve file system information.

5-24Process Automation Guide for Automation for SAP HANA

Page 25: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Linux File System UsageUse the HANA Linux File System Usage activity to display detailed file system information hosting the HANA databases, including amount of free space available.

Step 1 On the Toolbox pane, click the HANA Linux File System Usage activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Hostname Enter the host name where the file systems are located.

User Enter the user to log into the host to retrieve file system information.

5-25Process Automation Guide for Automation for SAP HANA

Page 26: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Linux Memory Usage StatisticsUse the HANA Linux Memory Usage Statistics activity to display detailed system memory statistics and event counters for systems hosting the HANA database.

Step 1 On the Toolbox pane, click the HANA Linux Memory Usage Statistics activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Hostname Enter the host name where the file systems are located.

User Enter the user to log into the host to retrieve file system information.

5-26Process Automation Guide for Automation for SAP HANA

Page 27: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Linux Top CPUUse the HANA Linux Top CPU activity to display top Linux tasks running on systems hosting the HANA database.

Step 1 On the Toolbox pane, click the HANA Linux Top CPU activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Hostname Enter the host name where the file systems are located.

User Enter the user to log into the host to retrieve file system information.

5-27Process Automation Guide for Automation for SAP HANA

Page 28: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Log InformationUse the HANA Log Information activity to retrieve detailed information about HANA logs, including log file size.

Step 1 On the Toolbox pane, click the HANA Log Information activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Log OperationsUse the HANA Log Operations activity to execute a specified operation against a HANA log file. For example, 'Backup' to force log backup or 'Release' to release log segments.

Step 1 On the Toolbox pane, click the HANA Log Operations activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Log Operation text field, enter the log operation to execute. For example, enter 'Backup' to force log backup or enter 'Release' to release log segments.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-28Process Automation Guide for Automation for SAP HANA

Page 29: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Memory Garbage CollectionUse the HANA Memory Garbage Collection activity to perform garbage collection on the HANA system, and optionally force memory management garbage collection.

Step 1 On the Toolbox pane, click the HANA Memory Garbage Collection activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Force Memory Management Garbage Collection, enter true or false to indicate whether to force a memory management garbage collection.

Note If set to true, the force returns free memory fragments in big blocks.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-29Process Automation Guide for Automation for SAP HANA

Page 30: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Memory ManagementUse the HANA Memory Management activity to retrieve memory allocations details.

Step 1 On the Toolbox pane, click the HANA Memory Management activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Performance LoadUse the HANA Performance Load activity to retrieve detailed information about the current HANA system workload, such as connections, memory, and swapping.

Step 1 On the Toolbox pane, click the HANA Performance Load activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the Host text field, enter the name of the host server from which to retrieve workload metrics.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-30Process Automation Guide for Automation for SAP HANA

Page 31: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

HANA - Performance ThreadsUse the HANA Performance Threads activity to retrieve detailed thread information for the specified HANA service, such as connection details, user details, and memory.

Step 1 On the Toolbox pane, click the HANA Performance Load activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Thread Type Enter the type of threads to request. The default is a 'Request' thread.

Host Enter the host from which to retrieve the thread information.

Service Enter a filter to retrieve thread information for selected services.

5-31Process Automation Guide for Automation for SAP HANA

Page 32: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Start InstanceUse the HANA Start Instance activity to start HANA daemon instance wide or on a single host.

Step 1 On the Toolbox pane, click the HANA Start Instance activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Host Host (<Hostname> or "Instance") on which to start HANA daemon.

System Number Enter the system number assigned to HANA instance. Default value is 1.

Run Level Enter the Unix run-level.

Priority Level Enter the priority level to indicate up/down instance priority level which instances should be started.

Wait Timeout Specify the timeout in seconds to wait for an instance to start. If the timeout expires during a start operation, remaining instances with a higher instance priority are not started since they rely on the other instances to be running.

5-32Process Automation Guide for Automation for SAP HANA

Page 33: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Stop InstanceUse the HANA Stop Instance activity to stop HANA daemon instance wide or on a single host.

Step 1 On the Toolbox pane, click the HANA Stop Instance activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Priority Level Enter the priority level to indicate up/down instance priority level which instances should be stopped.

Soft Timeout Specify the timeout in seconds to wait for a soft shutdown via SIGQUIT. If the timeout expires, a hard shutdown is used for the remaining instances. All functions work asynchronously, just triggering the operation and returning immediately.

Wait Timeout Specify the timeout in seconds to wait for an instance to stop. If the timeout expires during a stop, the operation will continue stopping the remaining instances.

Host Host (<Hostname> or "Instance") on which to start HANA daemon.

5-33Process Automation Guide for Automation for SAP HANA

Page 34: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - Stop ServiceUse the HANA Stop Service activity to stop a service instance wide or on a single host.

Step 1 On the Toolbox pane, click the HANA Stop Service activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Hostname Enter the name of the host server where the service is running.

Port Enter the port number used to connect to the host server.

5-34Process Automation Guide for Automation for SAP HANA

Page 35: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA -Table LocksUse the HANA Table Locks activity to retrieve detailed information for table locks.

Step 1 On the Toolbox pane, click the HANA Table Locks activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

HANA - Table Replication StatusUse the HANA Table Replication Status activity to retrieve the current status of the HANA table replication.

Step 1 On the Toolbox pane, click the HANA Table Replication Status activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-35Process Automation Guide for Automation for SAP HANA

Page 36: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

HANA - Thread ContextUse the HANA Thread Context activity to retrieve detailed information about the context of HANA threads.

Step 1 On the Toolbox pane, click the HANA Thread Context activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

Field Description

Last X Minutes Specify the number of minutes that have occurred to indicate which information to retrieve (for example, last 60 minutes).

Schema Name Enter the schema name of the HANA database where the table exists.

Table Enter the table name for which to retrieve the current status.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-36Process Automation Guide for Automation for SAP HANA

Page 37: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA -Thread OperationsUse the HANA Thread Operations activity to execute a command for a defined thread context. For example, 'Suspend' to suspend thread or 'Resume' to resume thread.

Step 1 On the Toolbox pane, click the HANA Thread Operations activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab and specify the following information:

Step 4 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 5 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Operation Enter the thread operation to perform:

• 'Suspend' to suspend thread

• 'Resume' to resume thread.

Thread Context ID Enter the context ID of the thread against which to perform the command.

5-37Process Automation Guide for Automation for SAP HANA

Page 38: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

HANA - VolumesUse the HANA Volumes activity to retrieve detailed information about the HANA volumes, such as data size, log size, and usage.

Step 1 On the Toolbox pane, click the HANA Volumes activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

LT Replication - Master and Load Job StatusUse the LT Replication Master and Load Job Status activity to retrieve a list of all IUUC and DTL HANA jobs that have cancelled prematurely.

Step 1 On the Toolbox pane, click the LT Replication Master and Load Job Status activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-38Process Automation Guide for Automation for SAP HANA

Page 39: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 4 Click the Save tool to save the activity definition.

LT Replication - Test HANA ConnectionUse the LT Replication Test HANA Connection activity to test the LT replication connection between the source SAP system and HANA.

Step 1 On the Toolbox pane, click the LT Replication Test HANA Connection activity and drag it onto the Workflow pane.

Step 2 On the General tab, enter the following information:

Step 3 Click the Inputs tab.

Step 4 In the HANA DB Connection Name text field, enter the name of the HANA database connection to test.

Step 5 Complete the appropriate information in the following tabs:

• Start Point—Specify the starting point for when the child process starts in the activity.

• Target—Specify whether the defined process target should be used or overridden.

• Credentials—Specify the runtime user whose credentials should be used for process execution.

• Knowledge Base—Select the appropriate knowledge base article to associate with the activity.

• Result Handlers—Click the appropriate buttons to manage the condition branches on the workflow.

Step 6 Click the Save tool to save the activity definition.

Field Description

Name Name of the activity.

Type Display only. Displays the type of activity.

Description Text description of the activity.

5-39Process Automation Guide for Automation for SAP HANA

Page 40: Using the SAP HANA Processes (Activities) - Cisco...5-5 Process Automation Guide for Automation for SAP HANA Chapter 5 Using the SAP HANA Processes (Activities) SAP HANA Processes

Chapter 5 Using the SAP HANA Processes (Activities) Defining the SAP HANA Activities

5-40Process Automation Guide for Automation for SAP HANA