Running individual playback sessions in a Docker container


(BMC.AMIOPS.SPE2210)

BMC AMI Ops Insight runs in only one mode at a time—either real-time scoring or playback scoring. When a BMC AMI Ops Insight user switches between these two modes, other users are affected and the changes made by one user are visible to other users.

With the Docker Playback feature, you can create an instance of the product on your device in the Docker container and then import any number of models and playback files to this instance to analyze the data. 

This topic describes the process for importing different models and playback files in a Docker container and run them in offline mode. 

Important

Currently, the Docker playback option is available only in version 2.0.00 of the BMC AMI Ops Insight product.

To import a model to a Docker container

Important

To run an individual playback session in a Docker container, you must have Docker desktop installed on your device. For more information about installing and running the Docker container, see Installing-BMC-AMI-Ops-Insight-on-Docker-Desktop

  1. Click image2022-8-10_11-30-21.pngon the top-right of the page.
    By default, the Model Management page is displayed.
  2. To download a model from a live environment:
    1. On the Current tab, select a model from the available models. 
    2. Click image2022-8-10_13-34-18.png, and then click Download model. The model is downloaded to your device with .mlb extension. 
  3. To import the downloaded model to the Docker container, open http<s>://localhost:9191/login in a browser on your device.
  4. After logging in, click image2022-8-10_11-30-21.png.
  5. Go to the folder where the script – playback-container-lpqmb2.0.00.sh or playback-container-lpqmb2.0.00.bat is downloaded.
    Copy the downloaded models to the amioi-external/bundles folder on your device. 

    Important

    The amioi-external/bundles folder and the script are at the same location.

  6. On the Model Management page, click Import Models.
    A model list is displayed. This list includes all the models that you have downloaded and moved to amioi-external/bundles folder on your device.

    image2022-8-10_11-3-40.png

  7. From the list, select the models that you want to import to your Docker container and then click Import.
    The models are imported to the Docker container. If you select a model that was imported earlier, you get the following message:

    The model is already imported.

  8. To update the list of downloaded models, click Sync File List to sync to the available models on the system
  1. Load the models you want to use for playback run.

To import playback scoring files to a Docker container

  1. Click image2022-8-10_11-30-21.pngon the top-right of the page.
    By default, Model Management page is displayed.
  2. On the left-hand menu, under Playback Mode, click Playback Scoring.
  3. To download a playback file from a live environment:
    1. On the Playback Scoring page, select Option 1- Select files. For more information, see Running-playback-mode.
    2. Click the Download icon. The playback file is downloaded to your device with .pbf extension.
  4. To import the selected files to the Docker container, open http<s>://localhost:9191/login in a browser on your device. Once you are logged in, click image2022-8-10_11-30-21.png.
  5. Go to the folder where the script – playback-container-lpqmb2.0.00.sh or playback-container-lpqmb2.0.00.bat is downloaded.
    Copy the downloaded playback files to the amioi-external/playback folder on your device. 

    Important

    The amioi-external/playback folder and the script are at the same location.

  6. Click Playback Scoring, and then click Import Playback Files.
    A list of playback files is displayed. This list includes all the models that you have downloaded and moved to amioi-external/playback folder on your device
    image2022-8-10_11-47-18.png
  7. Select the playback files that you want to import, and then click Fetch Playback Files.
    The playback files are imported to the Docker container.
  8. Select the playback file that you want to run, click Next and run the playback.

 

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