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:AMITCJCL

    AMITCJCL is the started task name.

  3. Run the following command to start BMC AMI Datastream for Ops Insight:S TASKNAME

    TASKNAME is the name of the BMC AMI Datastream for Ops Insight 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:
        • For HTTPS, ./run.sh p=<portNumber> dbport=<postgresPortnumber> crt=<crtFilePath> key=<keyFilePath>  (% style="letter-spacing: 0.0px;" %)
        • For HTTP, ./run.sh p=<portNumber> dbport=<postgresPortnumber>
          In this command:
          • <portNumber> is the port of the Graph container instance. If not provided, it takes the the default value 48949. This must match DOCKER_PORT that you specified in $AMI_INSTALL_PATH/aoidata/aoiinst/conf/amipdt.properties file.
          • <postgresPortnumber> is the port of the Postgres database container. If not provided, it takes the the default value 5433. This must match postgre_port that you specified in $AMI_INSTALL_PATH/aoidata/aoiinst/conf/amipdt.properties file.
          • <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:
        • For HTTPS, ./container-shell-lpqmb1.2.00.sh u=<EPD_Username> p=<portNumber> dbport=<postgresPortnumber> crt=<crtFilePath> key=<keyFilePath>
        • For HTTP, ./container-shell-lpqmb1.2.00.sh u=<EPD_Username> p=<portNumber> dbport=<postgresPortnumber>
          In this command:
          • <EPD_Username> is the username used to login in EPD.
          • <portNumber> is the port of the Graph container instance. If not provided it takes the the default value 48949. This must match DOCKER_PORT that you specified in $AMI_INSTALL_PATH/aoidata/aoiinst/conf/amipdt.properties file.
          • <postgresPortnumber> is the port of the Postgres database container. If not provided it takes the the default value 5433. This must match postgre_port that you specified in $AMI_INSTALL_PATH/aoidata/aoiinst/conf/amipdt.properties file.
          • <crtFilePath> is the path of the certificate file.
          • <keyFilePath> is the path of the key file.
  5. If you are restarting the Docker container. use the following command:

    docker restart <container_name>

    Example

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

    Here, AMIMGR is the started task name.

  7. To start SMF Record Handler, run the following command:

       S AMISMFRH

    Here, AMISMFRH is the started task name.

To shut down BMC AMI Manager

Run the following command in SDSF:

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

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

To shut down the data preparation address space, Tomcat REST interface server, or BMC AMI Datastream for Ops Insight

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.
  • P TASKNAME 
    TASKNAME is the started task name of the BMC AMI Datastream for Ops Insight 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

To stop the SMF Record Handler

To stop the SMF Record Handler, run the following command:

C AMISMFRH,A

Here,

AMISMFRH is the started task name.

A is the ASID.

 

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