Hitachi

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


2.3.1 Setting up an environment for using a Script Launcher

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

Perform steps 3 through 5 on either the active system or standby system in a cluster system environment. Other steps must be performed on both systems.

To use the NetExec command to execute an executable file in the logon space, you must be logged on to Windows in both the active and standby systems, and the Script Launcher must be running.

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. Decide which shared disk to use.

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

  4. Start Cluster Administrator.

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

  5. Create resources.

    Create the following three resources in the Cluster Administrator window:

    (1) Shared disk resource determined at step 3.

    • 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

  6. 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 3.

    [Figure]

  7. Restart the system.

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

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.