HP Storage Essentials SRM Enterprise Edition 6.0 Microsoft Windows Application Integration Software for SAP ACC version A.02.00 User Guide (T4283-96336, July 2008)

User Guide 71
Configuring SAP to Run Customized Scripts
This section describes the procedure to run a customized script using the SAP GUI. It is assumed that
the SAP administrator has developed a customized script compatible with the SAP landscape. It is
also assumed that the SAP Administrator is familiar using SAP's Transaction SMSY. Otherwise, it is
recommended to read the corresponding SAP documentation
8
before reading this section. For the
most part, the process steps described below match that SAP reference documentation.
Place the customized sample scripts in a specific SAP directory. For Windows systems supporting
SAP ACC version 1.0, place all sample scripts in the C:\usr\sap\adaptive directory of the
Managed Node controlled by ACC. This is defined as the SAP's agent directory. Include this
directory in the system path
9
.
Perform the following procedure to run a customized script:
1. Login to the SAP Solution Manager.
2. Navigate to the Transaction SMSY.
3. Select Landscape Components.
4. Select the desired system type, click the desired SID.
5. Navigate to General Information. Switch to Edit Mode, and check the Adaptive Enabled check
box.
6. Select the Adaptive Computing tab.
7. Enter the Adaptive Computing pool and click Save.
8. Click Activate. This switches the application service to the adaptive mode.
9. In the left menu, navigate to the application package below the SID. Select the Instances tab.
10.Click the icon with glasses to switch to Change Mode.
11.Click the icon with the pencil to open the configuration menu. The Business Area, Group Name,
and Service Description allow you to describe the application services shown in the ACC.
12.Enter a command line in the Start Command and Stop Command fields to match the command
usage required to launch the corresponding script.
In the case of the Central Instance in the Start Command field, enter the command required to
run the customized version of the prepareCI.cmd script. Similarly, in the Stop Command field,
enter the command required to run the customized version of the deleteC1.cmd script. A
sample for both of these fields is shown below:
Start Command
: prepareCI.cmd SID VHOST DBHOST SAPGLOB CINR INR PASSWD [JNR]
Stop Command: deleteCI.cmd SID VHOST CINR [JNR]
In the case of the Database Instance in the Start Command field, enter the command required to
run the customized version of the attachDB.cmd script. In the Stop Command field, enter the
command required to run the customized version of the detachDB.cmd script.
13.Save the data.
8. Section 4.6.5 Adaptive Enable Application Services using Transaction SMSY, Adaptive Computing Controller,
Component Implementation and Operation Guide, Release V1.0, Document Version V5, February 15, 2006.
9. Section 4.5.1 Setting up ACC Agents, Adaptive Computing Controller, Component Implementation and Operation
Guide, Release V1.0, Document Version V5, February 15, 2006.