Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


2.3.2 Setting up an environment for using a Script Launcher service

The following describes how to set up an environment for using a Script Launcher service.

Perform steps 4 through 6 on either the active system or standby system in a cluster system environment. Other steps must be performed on both systems. To use the Script Launcher service in a cluster system environment, you must have logged on to both the active and standby systems by using the actual host name.

To set up an operating environment:

  1. Install JP1/Script.

    Install JP1/Script. Specify a folder on the local drive as the installation folder.

  2. Change the JP1/Script service startup type to manual.

    In Windows Control Panel, select Administrative Tools, and then double-click Services. In the Services window that opens, select the JP1/Script service and display its properties. Then change the startup type from Auto to Manual.

  3. Change the Script Launcher service startup type to manual.

    In Windows Control Panel, select Administrative Tools, and then double-click Services. In the Services window that opens, select the Script Launcher service and display its properties. Then change the startup type from Auto to Manual.

  4. Decide which shared disk to use.

    Decide which shared disk to specify at step 7. for output of the JP1/Script management files.

  5. Start Cluster Administrator.

    From the Windows Start menu, choose Programs, Administrative Tools. Then double-click Cluster Administrator to open the Cluster Administrator window.

  6. Create resources.

    Create the following four resources in the Cluster Administrator window:

    (1) Shared disk resource determined at step 4.

    • Resource type: Physical Disk

    • Resource name: Any

    (2) Logical IP address resource

    • Resource type: IP Address

    • Resource name: Any

    • Resource dependency: Resource of (1)

    (3) JP1/Script service resource

    • Resource type: Generic Service

    • Resource name: Any

    • Resource dependencies: Resources (1) and (2)

    • Service name: JP1_Script

    (4) Script Launcher service resource

    • Resource type: Generic Service

    • Resource name: Any

    • Resource dependencies: Resources (1), (2), and (3)

    • Service name: JP1_SCRIPT_LAUNCHER

    • Start parameters: Logon user name

  7. Change the output folder for JP1/Script management files to a folder on the shared disk.

    In the Manager window, choose Tools and then Options to open the Options (Clustering Environment) dialog box. In this dialog box, change the file output destination to the folder on the shared disk determined at step 4.

    [Figure]

  8. Restart the system.

    Restart the system to enable the settings you entered at step 7.

Note

If an active-active configuration is used, that is, both systems in the cluster system environment are active, you can use JP1/Script, but the script being executed at the time of failover cannot be inherited. In such an environment, do not set up the environment described above because the execution environment at the time of failover can be inherited.