OpenTP1 Version 7 User's Guide
The scale-out scenario templates provided by OpenTP1 include sample templates for scenarios used to add a new node.
Some of the sample scenario templates related to multiOpenTP1 differ between OpenTP1 for Windows and OpenTP1 for UNIX. For information common to OpenTP1 for Windows and OpenTP1 for UNIX, see the description of using the sample scenario templates in the manual OpenTP1 Version 7 Operation.
One of the sample scenario templates for OpenTP1 for Windows (OpenTP1_ScenarioScaleout) configures a multiOpenTP1 environment or an original OpenTP1 environment installed by the installer.
The following table lists and describes the sample scenario templates.
Table 6-4 Names and processing of sample scenario templates
No. | Name of sample scenario template | Processing | Input scenario variables to be referenced |
---|---|---|---|
1 | OpenTP1_GetInstDir | Acquires the OpenTP1 installation folder | HOST_NAME USER_NAME |
2 | OpenTP1_MakeTP1Dir | Creates an OpenTP1 folder | DCDIR DCCONFPATH HOST_NAME USER_NAME MULTI_ID INST_DIR# |
3 | OpenTP1_SetConfig | Specifies OpenTP1 definition settings | DCDIR DCCONFPATH HOST_NAME USER_NAME BETRAN_FILE1 BETRAN_FILE2 PORT_NUMBER INST_DIR# |
4 | OpenTP1_ChangeNodeID | Sets a node ID | DCDIR DCCONFPATH HOST_NAME USER_NAME NODE_ID INST_DIR# |
5 | OpenTP1_Deploy | Registers OpenTP1 | DCDIR HOST_NAME USER_NAME MULTI_ID |
6 | OpenTP1_MakeFileSystem | Creates an OpenTP1 file system | DCDIR DCCONFPATH HOST_NAME USER_NAME BETRAN_FILE1 BETRAN_FILE2 |
7 | OpenTP1_Start | Starts OpenTP1 | DCDIR DCCONFPATH HOST_NAME USER_NAME |
8 | OpenTP1_StartUAP | Starts a UAP (sample program) | DCDIR DCCONFPATH HOST_NAME USER_NAME USER_SERVER_NAME |
The details of the sample scenario templates are provided below, where the numbers correspond to the numbers in the table.
Before you can execute the sample scenario templates, you must use JP1/AJS2 - Scenario Operation View to register them into JP1/AJS2 - Manager.
The sample scenario templates are stored at the following location:
/ScenarioLibrary/OpenTP1/TP1_ServerBase/OpenTP1_ScenarioScaleout
In order to register the sample scenario templates, you must set the input scenario variables. The following table lists and describes the information to be set in the sample scenario templates.
Table 6-5 Information to be set in the sample scenario templates
Input scenario variable | Description |
---|---|
DCDIR | Home folder of OpenTP1 |
DCCONFPATH | Folder that stores the OpenTP1 definition files |
HOST_NAME#1 | Host name of the OpenTP1 node that is to execute the scenario job |
USER_NAME#1 | OpenTP1 user name |
BETRAN_FILE1#2 | Path of the OpenTP1 file system |
BETRAN_FILE2#2 | Path of the OpenTP1 file system |
USER_SERVER_NAME | User server name |
NODE_ID | OpenTP1 node identifier (unique string of 4 characters assigned to each node) |
PORT_NUMBER | OpenTP1's name port number |
MULTI_ID#3 | MultiOpenTP1 identifier (string of 4 characters that is unique within the node) |
All Rights Reserved. Copyright (C) 2012, Hitachi, Ltd.