Hitachi

JP1 Version 13 JP1/Automatic Job Management System 3 Administration Guide


7.11.1 Enabling and disabling restricting connection sources

You can use the CONNECTIONRESTRICTION environment setting parameter to enable or disable the connection source restriction function. Before you change the setting of this parameter, make sure that all of the following services are stopped: the JP1/AJS3 service, the JP1/AJS3 Queueless Agent service, the JP1/AJS3 System Control Manager service, and the JP1/AJS3 System Control Agent service. If you change the parameter setting while some of these services are running and then start other services, it might cause a parameter setting mismatch between the already running services and the later started services.

By default, restricting connection sources in JP1/AJS3 is disabled. For details about how to enable this setting, see 21.2 Restricting connections to JP1/AJS3 in the JP1/Automatic Job Management System 3 Configuration Guide.

The following describes the steps for disabling restricting connections sources in JP1/AJS3:

  1. Stop the JP1/AJS3 services.

    In Windows:

    In Windows Control Panel, open the Services administrative tool, and stop the following service:

    - JP1/AJS3 service

    - JP1/AJS3 Queueless Agent service#1

    - JP1/AJS3 System Control Manager service#2

    - JP1/AJS3 System Control Agent service#2

    In UNIX:

    Execute the following commands to confirm that all processes have stopped:

    # /opt/jp1ajs2/bin/jajs_spmd_stop

    # /opt/jp1ajs2/bin/jajs_spmd_status

    # /opt/jp1ajs2/bin/ajsqlstop#1

    # /opt/jp1ajs2/bin/ajsqlstatus#1

    # /opt/jp1ajs2/bin/ajssysctlstop#2

    # /opt/jp1ajs2/bin/ajssysctlstatus#2

    #1

    This operation needs to be executed only if queueless jobs are used.

    If the host is a logical host, detach the logical host from the queueless agent service by using an ajsqldetach command or another method, without stopping the service.

    #2

    You only need to execute these commands when using the Web GUI (Management Portal).

  2. Execute the following command to set the CONNECTIONRESTRICTION environment setting parameter:

    jajs_config -k "[{JP1_DEFAULT|logical-host-name}#\JP1AJS2COMMON]" "CONNECTIONRESTRICTION"="none"
    #

    Specify JP1_DEFAULT for the physical host. For logical-host-name, specify the name of a logical host.

    For details about the CONNECTIONRESTRICTION environment setting parameter, see 20.11.2(5) CONNECTIONRESTRICTION in the JP1/Automatic Job Management System 3 Configuration Guide.

  3. Restart the services that you stopped in step 1.

    Restricting of connection sources is disabled.

    If you detached the logical host from the queueless agent service in step 1, execute the ajsqlattach command to attach the logical host.

  4. Delete or move the connection permission configuration file.

    If necessary, delete or move the connection permission configuration file.