Stop the Distributed Index Handler

You can stop the DIH from running in several different ways.

  • (All Platforms) Send the Stop service action to the component service port:

    http://host:servicePort/action=stop

    where host is the name or IP address of the host on which the DIH is running, and servicePort is the component service port (which is specified in the [Service]section of the Distributed Index Handler configuration file).

  • On Windows platforms, when the component is installed as a service, you can use the system dialog box to stop the service:

    1. Display the Windows Services dialog box.

    2. Select the DIH service, and click Stop to stop Distributed Index Handler.

    3. Click Close to close the Services dialog box.

  • On UNIX platforms, when the component is installed as a service, you can run one of the following commands to stop the service:

    • On systemd platforms:

      systemctl stop DIH
    • On system V platforms:

      service DIH stop
    • On Solaris platforms (using System V):

      /etc/init.d/DIH stop
  • On UNIX platforms, you can also use the stop script, stop-dih.sh.