Stopping and starting connections

You can pause the HTTP endpoints to stop sending work to a server. You can also re-enable the HTTP endpoints to restart sending work to a server by using one of the following methods.

Started task Applies to z/OS Connect Servers run by using a z/OS started task procedure.

Pause and Resume HTTP endpoints

RESUME HTTP endpoints
To resume HTTP endpoints, issue the MODIFY command from the z/OS® console.
For example,
MODIFY <jobname>,RESUME,TARGET='httpEndpointId'
where httpEndpointId is the id attribute value that is associated with the httpEndpoint configuration element that you want to resume. Multiple endpoints can be specified by using commas to separate the ID values.
PAUSE HTTP endpoints
To pause HTTP endpoints, issue the MODIFY command from the z/OS console.
For example,
MODIFY <jobname>,PAUSE,TARGET='httpEndpointId'
where httpEndpointId is the id attribute value that is associated with the httpEndpoint configuration element that you want to pause. Multiple endpoints can be specified by using commas to separate the ID values.

For more information, see Pausing and resuming a Liberty server from the z/OS console.

Disable and Resume HTTP endpoints

Disable HTTP endpoints
To disable HTTP endpoints, set the enabled attribute on the httpEndpoint configuration elements to false in the server configuration file. If the server is running, issue a modify command to refresh the configuration
  • For zosConnect-2.0:
    MODIFY <jobname>,ZCON,REFRESH
  • For zosConnect-3.0:
    MODIFY <jobname>,REFRESH,CONFIG
.
Resume HTTP endpoints
To resume HTTP endpoints, set the enabled attribute on the httpEndpoint configuration elements to true in the server configuration file. If the server is running, issue the same MODIFY REFRESH command used to disable the HTTP endpoints.
For more information, see MVS system MODIFY commands.
Note: If the httpEndpoint element is defined in a shared configuration file, override the attribute definition to specify the enabled attribute uniquely in each server so that you can control the value for each server. For example, add the following entry to the server configuration file used by each server.
 
<!-- Override the httpEndpoint enabled attribute on a per server basis --> 
<httpEndpoint id="defaultHttpEndpoint" enabled="false" />