Product:
Planning Analytics Workspace 63
Red Hat Linux
Issue:
Need more space for the PAW installation. Docker will create is files in /var/ sub-folder.

Use df -h command to check space on your linux server.

Error:
Looks like something went wrong in step “installing/updating IBM planning analytics Docker images”… Check the log file /…..
in images.log : no space left on device

Solution:

Create folders, where you have space, sudo mkdir /data/docker

Stop docker service sudo systemctl stop docker

Update the file /etc/docker/daemon.json with sudo nano daemon.json

{
“graph” : “/data/docker”
}

Save with CTRL+O and exit with CTRL+X.

Start docker with sudo systemctl start docker

To restart the full Linux server enter: sudo reboot

Then run the installation of PAW ./Start.sh script again.

More information:

Storage requirements can vary, you need at least 100 GB for the /var/lib/docker directory and sufficient space for at least two Planning Analytics Workspace installation packages wherever you choose to install them.

https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=local-prerequisites

https://phase2.github.io/devtools/common-tasks/stopping-containers-and-cleanup/

How install docker:

If you have Red Hat Enterprise Linux Server release 7.9 (Maipo) then you may need to do this steps to be able to install docker before paw.
(to check Linux version enter cat /etc/redhat-release)

(this is if you get the error message: No package docker available.)

subscription-manager repos –enable=rhel-7-server-rpms

subscription-manager repos –enable=rhel-7-server-extras-rpms

subscription-manager repos –enable=rhel-7-server-optional-rpms

yum -y install docker

systemctl start docker

systemctl enable docker

How To Install Docker on CentOS 7 / RHEL 7

sudo docker version gives:

Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-205.git7d71120.el7_9.x86_64
Go version: go1.10.3
Git commit: 7d71120/1.13.1
Built: Wed Mar 31 06:52:27 2021
OS/Arch: linux/amd64

Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-205.git7d71120.el7_9.x86_64
Go version: go1.10.3
Git commit: 7d71120/1.13.1
Built: Wed Mar 31 06:52:27 2021
OS/Arch: linux/amd64
Experimental: false

This is a supported docker version to be used with PAW.

Product:
Planning Analytics Workspace 63
Red Hat Linux 7
Issue:

After you login to PAW with Internet Explorer, you get a stuck screen.

Solution:

Use Chrome instead of IE.

The IE browser that comes with Windows server 2019 is not using Chrome engine as default.

More information:

https://docs.microsoft.com/en-us/troubleshoot/browsers/disable-internet-explorer-windows

To troubleshoot docker containers on Linux you can use this commands:

To change to root user:
sudo -i
To find all error files in the log folder (go to log folder first):
find . -print | grep -i error
To list all containers:
sudo docker ps -a
To list only the ID number for containers:
sudo docker ps -q
To show the last lines of a log file:
tail error.log
To move into a running container:
docker exec -it pa-gateway /bin/bash
To check space:

df -h

To exit out from a container:
exit

https://phase2.github.io/devtools/common-tasks/ssh-into-a-container/

https://www.cyberciti.biz/faq/unix-command-to-find-a-file-in-a-directory-and-subdirectory/

https://www.ibm.com/support/pages/http-404-error-not-found-during-validation-admin-tool-whereas-tm1-application-server-seems-work-properly 

https://ss64.com/bash/

Product:
OPENSSL
Linux Centos

Problem:
How create a SSL (TLS) request for a server that need a certificate?

Suggested Solution:

Install openssl on your Centos Linux with command:

yum install openssl

Create a folder to work in mkdir /ibm

Go to that folder cd /ibm

Create a text file with a text editor like; nano san.txt

[ req ]
default_bits       = 2048
distinguished_name = req_distinguished_name
req_extensions     = req_ext
prompt             = no
[ req_distinguished_name ]
countryName                = Country Name (2 letter code)
stateOrProvinceName        = State or Province Name (full name)
localityName               = Locality Name (eg, city)
organizationName           = Organization Name (eg, company)
commonName                 = Common Name (e.g. server FQDN or YOUR name)
[ req_ext ]
subjectAltName = @alt_names
[alt_names]
DNS.1   = servername
DNS.2   = servername.domain.com
DNS.3   = dnsalias.domain.com

Save above text in the file after you change to your server-names.
openssl  req  -out /ibm/request.csr  -newkey rsa:2048 -nodes -keyout /ibm/privateKey.pem -config /ibm/san.txt
Above will give a new server private key and a certificate request for a cert.

Check the request with command:

openssl req -text -noout -verify -in request.csr

Check the private key with command:

openssl rsa -in privateKey.pem -check

The private-key should only be stored on the server where it should be used.
The certificate request you copy and paste to your Certificate Authority to generate your certificate.

SSL Experten

newkey rsa:2048

This option creates a new certificate request and a new private key.

 

 

More information:

https://www.openssl.org/docs/man1.1.1/man1/req.html

https://www.sslshopper.com/article-most-common-openssl-commands.html

https://geekflare.com/san-ssl-certificate/

https://www.azure365pro.com/install-and-configure-certificate-authority-in-windows-server-2016/

https://www.namecheap.com/support/knowledgebase/article.aspx/9640/69/how-to-export-certificates-between-windows-servers/

https://www.altaro.com/hyper-v/view-revoke-manually-approve-certificates/

https://www.watchguard.com/help/docs/help-center/en-US/Content/en-US/Fireware/certificates/cert_complete_signing_req_c.html 

Managing Certs with Windows Certificate Manager and PowerShell [Tutorial]

Windows certificate stores

https://en.wikipedia.org/wiki/Certificate_authority  

https://support.citrix.com/article/CTX128656

Product:
IBM License Metric Tool on Linux
Red Hat Enterprise Linux 7.5 or a higher 7.x version
Issue:
How install ILMT on Linux in one step

https://www.ibm.com/docs/en/license-metric-tool?topic=il-step-by-step-installation-guide-all-in-one-installer
Suggested Solution:
You need to install on Red Hat Enterprise Linux 7.5 or a higher 7.x version, but for this test we will use CentOS Linux  https://www.centos.org/download/
Install CentOS with a fix IP address, so you can easy connect to the Linux server.

Download the installation file “ILMT_Install_Lnx-x86-64_V9222.tar.gz”

https://www.ibm.com/support/pages/node/582891#linux

Copy the file to your linux server with WinSCP program. https://winscp.net/eng/download.php

Check disk space with command df  -h

https://www.ibm.com/docs/en/license-metric-tool?topic=requirements-hardware-server-linux

Install the needed programs https://www.ibm.com/docs/en/license-metric-tool?topic=requirements-software

yum install byobu

yum install libnsl

yum install libstdc++

yum install ksh

yum install pam*i686

yum install numactl*x86_64

yum install libstdc++*i686

yum install libpng12.x86_64

yum install fontconfig.x86_64

yum install libXext.x86_64

yum install libXrender.x86_64

yum install unixODBC.x86_64

yum install nano

yum install wget*x86_64

Unzip the tar file with command:  tar  zxvf  ILMT_Install_Lnx-x86-64_V9222.tar.gz

Copy the install_response.txt to a new file with command: cp install_response.txt response.txt
Edit that file in nano response.txt

Change the following values;

RSP_LICENSE_ACCEPTED=true

RSP_ADMIN_PASSWORD=

RSP_DB2_INST_PASSWORD=

#RSP_DB2_ROOT=/opt/ibm/db2/V11.5  (if you want DB2 installed in a different folder)

RSP_IEM_TEM_USER_PASSWORD=

#RSP_IEM_WR_WWW_PORT=8083 (if you want to change the port number used by BigFix)

#RSP_TLM_ROOT=/opt/ibm/LMT (if you want ILMT installed to other folder)

#RSP_TLM_HTTPS_PORT=9081 (if you want to change The port for administration server web UI)

Save the file, and run below command to start the installation:

./setup-server-linux-x86_64.sh -i silent -f /ibm/response.txt

You must install to Red Hat.  For this test we enter export disable_platform_check=true

Then the check in the script file will skip the check (if [ “$disable_platform_check” != “true” ]
then)….

Go to /root folder and enter command to unzip the log files:

tar zxvf LMT_9.2.22.0_20210514-113503_16243_logs.tar.gz

Check the log file with commando:

tail  LMT_9.2.22.0_20210514-113503_16243_logs/LMT9.2.22.0/Server.log

Solve the issue and run the ./setup-server-linux-x86_64.sh -i silent -f /ibm/response.txt again.

Add the BigFix port and ILMT port to the firewall on Linux server with commands:

firewall-cmd --permanent --add-port=52311/tcp

firewall-cmd --permanent --add-port=9081/tcp

firewall-cmd --reload

 

Copy windows client files to your windows share for clients with winSCP

Create a CMD file with this text to run the installation locally on the windows clients:

BigFix-BES-Client-10.0.2.52.exe /s /v”/L*vx! \”C:\temp\ClientInstallLog.txt\” SETUPEXE=1 REBOOT=ReallySuppress MSIRESTARTMANAGERCONTROL=Disable /qn”

Check the client windows services for “BES Client”, to see that it was installed.

Copy BIGFIX console files to your windows computer with winSCP

The files are in folder /var/opt/BESInstallers/ directory.

Run the BigFix console setup on a computer, and ensure the clients are listed in the Go to Sites – External Sites – IBM License Reporting (ILMT) – Fixlets and tasks – Install or Upgrade Scanner, task.

Browse to https://yourservername:9081/ in Chrome.

First time you log into ILMT webpage you should get above dialog, to import the data from BigFix server.

For more help contact your IBM partner.

Vår nya ILMT expert – Christer Borg

More information:

https://www.tutorialspoint.com/unix_commands/export.htm

https://www.ibm.com/docs/en/license-metric-tool?topic=il-step-by-step-installation-guide-all-in-one-installer

 

Product:
DB2

Problem:

How install DB2 on Centos Linux

Suggested Solution:

To change the password for root user:
sudo passwd root

Download centos from https://www.centos.org/download/

Old centos versions is found here https://vault.centos.org/

Other Linux versions can be found here https://www.linuxlookup.com/linux_iso

Inside Linux, to find version of centos enter:

cat  /etc/centos-release

 

How activate X11:

How configure X11 Forwarding in CentOS/RHEL 6/7

http://www.straightrunning.com/XmingNotes/trouble.php

yum upgrade libstdc++

yum install libstdc++.i686

yum install gcc-c++

yum –noplugins install pam-devel.i686

yum install libXtst.so.6

yum install libXtst.x86_64

On your laptop where you run Xming before you start putty, add the Linux server ip address in the file C:\Program Files (x86)\Xming\X0.hosts to make X11 work.

 

Create folder

mkdir setup

mkdir ibm

Enter df -h to see free space on Linux.

Enter ln -s /home/ibm /ibm to create a softlink from /home/ibm to /ibm

 

How setup DB2

Copy the DB2_Svr_11.5_Linux_x86-64.tar.gz file to /ibm folder on your Linux server with WinSCP.

Expand the file with command:

tar  xvzf  v11.5.5_linuxx64_server_dec.tar.gz

Enter cd server_dec  to go to the correct folder and then start installation with command

./db2setup

Click new install

Click Next

Change the folder to install and click next

Enter the password and select the correct folder, then press next

Enter the password and then press next

Press Finish

Click Finish

Open firewall port in centos with command:

firewall-cmd –permanent –add-port=50000/tcp

firewall-cmd –reload

Change to user db2inst1 to be able to work with the database

su – dbinst1

Enter DB2 to get into the database, and enter CREATE DATABASE books, to create a database.

Db2 Tutorial

Enter db2 list db directory to see the databases created.

You need to download a license file to db2 folder license, to be able to use all CPU and RAM in the server. https://www.ibm.com/docs/en/license-metric-tool?topic=tool-step-1-installing-db2

Add a license file to extend your license.

  1. Go to the directory where you downloaded the license activator, and extract the package.
  2. From the directory with the extracted files, go to /db2/license.
  3. Copy the db2std_vpc.lic file to the home directory of the DB2 instance owner, by default /home/db2inst1.
  4. Open the terminal and switch the user to the DB2 instance owner.
    su - db2inst1

Add the license file to your installation.

db2licm -a db2std_vpc.lic

https://www.ibm.com/docs/en/license-metric-tool?topic=linux-step-by-step-installation-guide-separate-installers

You can install a db-tool on your laptop to have a GUI to work with the database on the Linux server; https://www.dbvis.com/download/12.0

To setup ILMT see the documentation

https://www.ibm.com/docs/en/license-metric-tool?topic=installing-linux

If you get the error Unexpected Throwable caught: null. ERRORCODE=-4228, SQLSTATE=null. then the database schema maybe is not created or misspelled.

More information:

If you want to install ILMT, you can download this files:

All-in-One installer:
ILMT_Install_Lnx-x86-64_V9222.tar.gz
(PN: CC9RAML)
BigFix installer:
BigFix_Platform_Install_V10.0.2.zip
(PN: CC9RBML)
DB2 installer:
DB2_Svr_11.5_Linux_x86-64.tar.gz
(PN: CC1U0ML)
DB2 license activator:
DB2_DSE_Activation_11.5.zip
(PN: CC36WML)
Quick Start Guide:
ILMT_V9222_QS.zip
(PN: CC9R9EN)

https://www.ibm.com/support/pages/downloading-ibm-license-metric-tool-92?mhsrc=ibmsearch_a&mhq=ilmt%20download#order

How configure X11 Forwarding in CentOS/RHEL 6/7

https://www.ibm.com/support/pages/unsatisfiedlinkerror-cannot-open-shared-object-file-libxtstso6

https://www.ibm.com/docs/en/license-metric-tool?topic=tool-step-1-installing-db2

https://www.ibm.com/docs/en/license-metric-tool?topic=tool-step-4-performing-initial-configuration

https://www.ibm.com/docs/en/db2/10.5?topic=pack-stopping-all-db2-processes-linux-unix

https://www.anglepoint.com/ilmt-installation-linux-and-windows/?utm_source=Facebook&utm_medium=Post&utm_campaign=ilmtinstall_article&utm_content=Organic%20Content

https://cdn2.hubspot.net/hubfs/1697611/Events/Webinar.%20Basic%20ILMT%20Skills%20for%20IT%203.16.17.pdf 

http://www.redbooks.ibm.com/redbooks/pdfs/sg246899.pdf

https://www.db2tutorial.com/getting-started/db2-connect-to-database/

https://www.kbce.com/db2-community-edition/

https://www.ibm.com/support/pages/node/957531

https://www.ibm.com/support/pages/step-step-installation-ilmt-9202-windows-2008-r2-server

https://www.ibm.com/support/producthub/db2/docs/content/SSEPGG_11.5.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0002059.html

Product:
BigFix Client
Problem:
How install BES client on centos machine?

Solution:

Copy the client and masthead files to the Centos computer.

The file you need for masthead is found in folder /var/opt/BESInstallers/Client on server where ILMT is installed.

On the target computer create the folder: mkdir /etc/opt/BESClient/

Copy the file to the target with scp command, you need to connect with a user that have access to the folders

scp root@centos74:/var/opt/BESInstallers/Client/actionsite.afxm  actionsite.afxm

Copy the client with command: scp root@centos74:/var/opt/BESInstallers/Client/BESAgent-10.0.2.52-rhe6.x86_64.rpm  BESAgent-10.0.2.52-rhe6.x86_64.rpm

You can also download the BES Client/Agent from https://support.bigfix.com/bes/release/10.0/patch2/

Install the client  rpm -ivh  BESAgent-10.0.2.52-rhe6.x86_64.rpm

Start the client with command

/etc/init.d/besclient start

You can check if the BIGFIX (BES Client) is running with TOP command.

 

 

 

 

How manage the ILMT?

Setup the BigFix console on a windows computer to be able to manage the system.

Copy the console folder to your windows host with WinSCP, from /var/opt/BESInstallers/Console


Run the setup.exe to install the console on your windows computer

Login with user IEMAdmin (this was created during installation of the BigFix server)

If you get timeout errors, check that the firewalls allow port 52311 that is used by BigFix.

firewall-cmd --permanent --add-port=52311/tcp

firewall-cmd --reload

 

If all software components are installed and configured on the server, this are the steps to activate the scan from BigFix console.

Start the BigFix console “C:\Program Files (x86)\BigFix Enterprise\BES Console\BESConsole.exe”

Click on sites – external sites – IBM license Reporting (ILMT)
Check that All computers are selected for Computer Subscriptions.

Check that Download IBM License Metric Tool have the computers listed. Click Take Action to change.

Go to Sites – External Sites – IBM License Reporting (ILMT) – Analyses
Check that this analyses are Activated for all your computers:

Go to Sites – External Sites – IBM License Reporting (ILMT) – Fixlets and tasks
Select Install or Upgrade Scanner, click Take Action to change any values.

Go to Sites – External Sites – IBM License Reporting (ILMT) – Fixlets and tasks
Select Initiate Software Scan and check that all computers are listed.

First time you need under Take Action select Target and Execution times and save.

Go to Sites – External Sites – IBM License Reporting (ILMT) – Fixlets and tasks

Select Upload Software Scan Results, click Take Action to select computers and execution time.

Go to Sites > External Sites > IBM License Reporting (ILMT) > Fixlets and Tasks

Select Run Capacity Scan and Upload Results

Press “Click here to schedule regular capacity scans and uploads of results.” to get to the Take Action dialog. Select your computers and set the execution time. Click OK to active.

Browse to your ILMT installation in your Chrome web browser.
https://yourILMTservername:9081/management/imports

Under management – Data Imports, click on Import Now.

Then go to Reports – Overview or Reports – Computers to see that all nodes are included.

https://www.ibm.com/docs/en/license-metric-tool?topic=utilization-creating-snapshots-license-metric-auditing-purposes

 

 

 

 

More information:

https://help.hcltechsw.com/bigfix/9.5/platform/Platform/Installation/c_centos_installation_instructio.html

https://support.bigfix.com/bes/install/besclients-nonwindows.html

https://help.hcltechsw.com/bigfix/9.5/inventory/Inventory/planinconf/r_port_requirements.html 

http://www.numasolution.com/ILMT.pdf

https://cdn2.hubspot.net/hubfs/1697611/Events/Webinar.%20Basic%20ILMT%20Skills%20for%20IT%203.16.17.pdf  

https://www.ibm.com/docs/en/license-metric-tool?topic=requirements-network-port

Linux/UNIX For DOS Users (yolinux.com)

https://www.snowsoftware.com/blog/2014/03/13/swid-tags-what-are-they-and-why-are-they-important