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



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

    Posted Thu May 18, 2023 05:13 AM

    Hello,

    Well, there could be many reasons...
    It's quite possible that some docker command functionality has been altered in RHEL 8 (although on RHEL 8 docker migrated to Podman)
    The problem is that the docker part of Software Scan has only been tested by us with RHEL 7 (as you could see in Requirements).
    No tests have been done with subsequent RHEL releases...so, it's kind of grey area.
    Let me look at this support ticket...perhaps some obvious root cause is just around the corner.

    However,  In the meantime I'd suggest to open an RFE (Aha/Idea) to get docker functionality fully covered by Software Scan in RHEL 8.



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

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



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

    Posted Thu May 18, 2023 02:55 PM

    Hi Oktawian,

    Thank you so much for detail explaination.

    I will open an RFE (Aha/Idea) to get docker functionality fully covered by Software Scan in RHEL 8.

    Regards,
    Atul K. Sharma



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



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

    Posted Fri May 26, 2023 07:12 AM

    Hello Atul,

    Got some good news...I've received a green light to troubleshoot this.
    My investigation summary is already in the support ticket....





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

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



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

    Posted Fri May 26, 2023 09:53 AM

    Hi Oktawian,

    Thanks for taking this up.

    I checked the case on support site. I could see remarks from ED and an attachment from him. I am unable to download any attachment from the case.

    Can you please put your suggestions in text in support case?

    Regards,
    Atul K. Sharma



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



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

    Posted Fri May 26, 2023 10:16 AM

    Hmmm...to be honest you can't see my update yet as it was sent internally to L2 support team.
    As of now, it's waiting for them to make it 'published'.... 



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

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



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

    Posted Fri May 26, 2023 11:28 AM

    Hi Oktawian,

    Thanks for the information.

    Regards,
    Atul K. Sharma



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