Original Message:
Sent: Thu May 18, 2023 02:55 PM
From: Atul Sharma
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
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
Original Message:
Sent: Thu May 18, 2023 05:13 AM
From: Oktawian Powązka
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
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
Original Message:
Sent: Wed May 17, 2023 04:12 PM
From: Atul Sharma
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
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
Original Message:
Sent: Wed May 17, 2023 10:00 AM
From: Oktawian Powązka
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
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
Original Message:
Sent: Wed May 17, 2023 08:29 AM
From: Atul Sharma
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
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
Original Message:
Sent: Tue May 16, 2023 12:45 AM
From: Oktawian Powązka
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
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
Original Message:
Sent: Fri May 12, 2023 10:47 AM
From: Atul Sharma
Subject: ILMT dashboard is not showing IBM application running in Docker container which is on public cloud
- 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
------------------------------