Stopping the platform components

To stop the IBM® Intelligent Operations Center platform components, complete the following procedure.

About this task

In the commands that are given in the following procedure, replace the variables with the values that are configured in the ioc.install.properties installation properties file. Variables are indicated with the following formatting: variable_name.

The following table provides a summary of the commands for stopping the IBM Intelligent Operations Center platform components.
Table 1. Commands for stopping the IBM Intelligent Operations Center platform components in running order
Command number Platform component User Location Command
1 HTTP server root Web server ihs.install.dir/bin/apachectl stop
2 HTTP administrative server root Web server ihs.install.dir/bin/adminctl stop
3 WebSphere® Application Server Liberty Profile server instance ioc.user, for example, iocadmin Application server liberty.install.dir/bin/server stop liberty.instance.name
4 WebSphere Application Server Liberty Profile server instance ioc.user, for example, iocadmin Analytics server liberty.install.dir/bin/server stop liberty.instance.name
5 IBM SPSS® Modeler Server Premium ioc.user, for example, iocadmin Analytics server spss.base.install.dir/modelersrv.sh stop
6 DB2® db2.instance.user, for example, db2i1own Data server db2stop force
Note: If you encounter a permissions error when you try to stop WebSphere Application Server Liberty Profile as the administrative user, see Permissions error when you try to restart WebSphere Application Server Liberty Profile for information

Procedure

Stopping the HTTP servers

  1. Log on to the web server as a root user.
  2. To stop the HTTP server, enter the following command, where ihs.install.dir is the installation directory for the HTTP server:
    "ihs.install.dir/bin/apachectl" stop
    For example,
    "/opt/IBM/HTTPServer/bin/apachectl" stop
  3. To stop the HTTP administrative server, enter the following command:
    "ihs.install.dir/bin/adminctl" stop
    For example,
    "/opt/IBM/HTTPServer/bin/adminctl" stop

Stopping the WebSphere Application Server Liberty Profile server instances

  1. Log on to the application server and choose one of the following options, where ioc.user is the administrative user, liberty.install.dir is the WebSphere Application Server Liberty Profile installation directory, and liberty.instance.name is the name of the Liberty server:
    • If you are logged on as a root user, enter the following command:
      su - ioc.user -c "liberty.install.dir/bin/server stop liberty.instance.name"
      For example,
      su - iocadmin -c "/opt/IBM/WebSphere/wlp/bin/server stop iocsvr1"
    • If you are logged on as the administrative ioc.user user, enter the following command:
      "liberty.install.dir/bin/server" stop liberty.instance.name
    • For example,
      "/opt/IBM/WebSphere/wlp/bin/server" stop iocsvr1
    The default value for ioc.user is iocadmin.
  2. Repeat the previous step on the analytics server.

Stopping IBM SPSS Modeler Server Premium

  1. Log on to the analytics server and choose one of the following options, where spss.modeler.user is the SPSS user, and spss.base.install.dir is the IBM SPSS Modeler Server Premium installation directory:
    • If you are logged on as a root user, enter the following command:
      su - spss.modeler.user -c "spss.base.install.dir/modelersrv.sh stop"
      For example, for IBM Intelligent Operations Center V5.2.1, enter the following command:
      su - iocadmin -c "/opt/IBM/SPSS/ModelerServer/18.2/modelersrv.sh stop"
      Or a sample command for IBM Intelligent Operations Center V5.2.0 is:
      su - iocadmin -c "/opt/IBM/SPSS/ModelerServer/17.0/modelersrv.sh stop"
    • If you are logged on as an administrative spss.modeler.user user, enter the following command:
      "spss.base.install.dir/modelersrv.sh" stop
      For example, for IBM Intelligent Operations Center V5.2.1, enter the following command:
      "/opt/IBM/SPSS/ModelerServer/18.2/modelersrv.sh" stop
      Or a sample command for IBM Intelligent Operations Center V5.2.0 is:
      "/opt/IBM/SPSS/ModelerServer/17.0/modelersrv.sh" stop
    The default value for spss.modeler.user is iocadmin.

Stopping DB2

  1. Log on to the data server and choose one of the following options, where db2.instance.user is the DB2 instance owner:
    • If you are logged on as a root user, enter the following command:
      su - db2.instance.user -c "db2stop force"
      For example,
      su - db2i1own -c "db2stop force"
    • If you are logged on as the db2.instance.user, enter the following command:
      db2stop force
    The default value for the DB2 instance owner, db2.instance.user, is db2i1own.

Stopping Device Management Enablement

  1. If the optional Device Management Enablement component is installed, follow the instructions in Stopping Device Management Enablement. Otherwise, complete the following step to shut down the servers.

Shutting down the servers

  1. Shut down the servers in the following order:
    1. Web server
    2. Analytics server
    3. Application server
    4. Data server