Starting and stopping BMC AMI Ops Insight


Use the following procedures to start and stop the product.

To start the product

Follow these steps in order to ensure proper functioning of the product:

  1. Run the following command to start the data preparation address space:S AMIJCL

    AMIJCL is the started task name.

  2. Run the following command to start the Tomcat REST interface server:S AMITCJCL

    AMITCJCL is the started task name.

  3. Run the following command to start BMC AMI Defender:S TASKNAME

    TASKNAME is the name of the BMC AMI Defender proc.

  4. Run one of the following commands to run the Docker container for the optional graph functionality:
    • If you are running the Docker container for the first time, use one of the following commands:
      • If you are running the Docker container on zCX, use the following command:./run.sh p=<portNumber> crt=<crtFilePath> key=<keyFilePath>

        In this command: 

        • <portNumber> is the port of the Docker container instance. This must match DOCKER_PORT that you specified during installation.
        • <crtFilePath>  is the path of the certificate file.
        • <keyFilePath>  is the path of the key file.
      • If you are running the Docker container on Linux, use the following command:./container-shell-lpqmb1.2.00.sh u=<EPD_Username> p=<portNumber> crt=<crtFilePath> key=<keyFilePath>

        In this command: 

        • <EPD_Username> is the username used to login in EPD.
        • <portNumber > is the port of the Docker container instance. This must match DOCKER_PORT that you specified during installation.
        • <crtFilePath>  is the path of the certificate file.
        • <keyFilePath>  is the path of the key file.
    • If you are restarting the Docker container. use the following command:
      docker start <container_name>

      Example
      docker start amioi-server
  5. Run the following command in SDSF to start AMI Manager, the model store and history database, and the scoring engine:S AMIMGR

    AMIMGR is the started task name.

Note

If the Docker container is shut down and restarted, you must shut down AMI Manager and restart it as well.

To shut down AMI Manager

Run the following command in SDSF:

C AMIMGR,A

  • AMIMGR  is the started task name
  • A is the ASID

This stops AMI Manager, the database, and the scoring engine.

To shut down the data preparation address space, Tomcat REST interface server, or BMC AMI Defender

Run the following commands:

  • P AMIJCL 
    AMIJCL is the started task name of the data preparation address space.
  • P AMITCJCL 
    AMITCJCL is the started task name of the Tomcat REST interface server.
  • TASKNAME 
    TASKNAME is the started task name of the BMC AMI Defender component. 

To shut down the Docker container

To shut down the Docker container for the optional graph functionality, run the following command:

docker stop <container_name>
Example
docker stop amioi-server

To delete the Docker container from memory, run the following command:

docker rm <container_name>
Example
docker rm amioi-server


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*