Starting and stopping BMC AMI Ops Insight
To start the product
Follow these steps in order to ensure proper functioning of the product:
Run the following command to start the data preparation address space:S AMIJCL
AMIJCL is the started task name.
Run the following command to start the Tomcat REST interface server:S AMITCJCL
AMITCJCL is the started task name.
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.
- 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.
- If you are running the Docker container on zCX, use the following command:
- If you are running the Docker container for the first time, use one of the following commands:
If you are restarting the Docker container. use the following command:
docker restart <container_name>Example
docker restart amioi-serverRun 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.
To start SMF Record Handler, run the following command:
S AMISMFRHHere, AMISMFRH is the started task name.
To shut down BMC AMI Manager
Run the following command in SDSF:
- 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:
Example
To delete the Docker container from memory, run the following command:
Example
To stop the SMF Record Handler
To stop the SMF Record Handler, run the following command:
Here,
AMISMFRH is the started task name.
A is the ASID.