IBM License Metric Tool (ILMT)

 View Only
Expand all | Collapse all

ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

  • 1.  ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

    Posted Mon May 15, 2023 02:22 PM
    • Hi,

      Issue - I am unable to see the IBM application under software installation on ILMT server console Reports --> Computers --> Public cloud computer name.

      Currently there is only one IBM application runing on public cloud in docker container

      Recently I have installed the below components on AWS in order to keep a track of the licenses for various IBM tools/apps running on AWS. 

      1. BigFix Server
      2. BigFix Console
      3. BigFix Client
      4. ILMT server

      BigFix client has already been deployed on Linux machines using CDT. These Linux machines are having IBM App Connect (7.5.5) running in containers under docker. Dokcer is running on default path /usr/bin/docker. I tried by editing the computer settings on BigFix console by adding properties - 
      DOCKER_SCAN as True
      DOCKER_EXEC as /usr/bin/docker

      In order to get the scan results published I ran the below Analyses & Fixlets -

      From Sites > External Sites > IBM License Reporting (ILMT) > Fixlets and Tasks -->
      1. Download IBM License Metric Tool
      2. Identify computers on computers on public cloud
      3. Initiate Software Scan
      4. Install or Upgrade Scanner
      5. Initiate Software Scan
      6. Upload Software Scan Results
      7. Run Capacity Scan and Upload Results
      8. On ILMT I have marked these computers public cloud. 
      9. From ILMT console did the import. Import was successfull


      All of the above tasks were marked "COMPLETED".

      Per my understanding VM Manager is not needed to install as for public cloud we can not get the details from provider.

      Can someone suggest what I am missing here?

      Regards,
      Atul K. Sharma


    ------------------------------
    Atul Sharma
    ------------------------------


  • 2.  RE: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

    Posted Tue May 16, 2023 12:46 AM

    Hello,

    Those prerequisites looks fine.
    The first check to be done is the docker_scan.log file located in '/var/opt/BESClient/LMT/CIT' folder.
    It will allow to verify if Docker scan has been started or not...at least you should see entries like 'Processing containers'.

    Do you see any files under following two folders :
    /var/opt/BESClient/LMT/CIT/docker/images
    /var/opt/BESClient/LMT/CIT/docker/containers

    Anyhow, we are happy to help with the investigation process...just please open up the support ticket and upload the whole content of '/var/opt/BESClient/LMT/CIT' folder.



    ------------------------------
    Thank you,
    Oktawian

    Oktawian Powązka, L3 Support
    IBM License Metric Tool
    ------------------------------



  • 3.  RE: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

    Posted Tue May 16, 2023 12:14 PM

    Hi Oktawian,

    Thanks for valuable inputs. I have already opened a case with IBM. I will upload the logs there.

    Regards,
    Atul K. Sharma



    ------------------------------
    Atul Sharma
    ------------------------------



  • 4.  RE: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

    Posted Wed May 17, 2023 08:30 AM

    Hi Oktawian,

    Few questions - 

    1. I checked the folders and observed that below folders have subfolders with images and container ids in it but I did not find any details under these subfolders. Is it expected behaviuor?
    /var/opt/BESClient/LMT/CIT/docker/images
    /var/opt/BESClient/LMT/CIT/docker/containers
    2. While looking at docker_scan.log file I observed that scanning was completed. I noticed that DOCKER_EXEC = /usr/bin/docker while Docker Root Dir: is showing as /var/lib/docker.
    3. Currently clients are installed on RHEL8 on AWS EC2 instance. While checking the documentation I observed below. Is RHEL8 is not supported?

    Discovering software in Docker containers - IBM Documentation

    Requirements

    License Metric Tool discovers software that is installed in Docker containers on condition that:
    • Only one Docker engine is deployed on the host computer.
    • The Docker container is deployed on one of the following platforms:
      • Red Hat Enterprise Linux 7 for x86
      • Red Hat Enterprise Linux 7 for IBM System z (64-bit)
      • SUSE Linux 12 for x86
    • The Docker container is running.
    • Scans and uploads of their results are enabled on the host computer.
    • Software that is installed in the Docker container delivers software ID tags.
    • To ensure proper discovery of software on Docker containers, the content of a Docker container cannot change throughout its lifecycle.
    • The BigFix® client or the disconnected scanner must be installed on the host computer.


     



    ------------------------------
    Atul Sharma
    ------------------------------



  • 5.  RE: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

    Posted Wed May 17, 2023 10:00 AM

    Hello Atul,

    Answering your questions:
    1.
    In case of successful discovery '/var/opt/BESClient/LMT/CIT/docker/containers' folder should contain some .swtag or .swidtag files with the corresponding folder structure.

    2.
    It looks fine,

    3.
    Not sure which ILMT/Fixlet version you are using... 
    Basically RHEL8 is supported starting from License Metric Tool 9.2.21



    ------------------------------
    Thank you,
    Oktawian

    Oktawian Powązka, L3 Support
    IBM License Metric Tool
    ------------------------------



  • 6.  RE: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud

    Posted Wed May 17, 2023 04:13 PM

    Hi Oktawian,

    Thanks for immediate response. 

    I checked License Metric Tool Version. We are using 9.2.31.0

    What could be probable reasons -  '/var/opt/BESClient/LMT/CIT/docker/containers' folder not having  .swtag or .swidtag files?

    Regards,
    Atul K. Sharma



    ------------------------------
    Atul Sharma
    ------------------------------