Running SLM
After you install TADDM, you can execute the SLM scripts using TADDM user,
taddmusr
.
slmTag.sh
for UNIX and UNIX-like systems or slmTag.bat
for
Windows machines present in the directory /opt/IBM/taddm/dist/bin
is used to
generate license metric tag files.
Default paths will look something like
below:
/opt/IBM/taddm/dist/bin/slmTag.sh – on Linux
C:\IBM\taddm\dist\bin\slmTag.bat – on Windows
The SLM tracking tool records and writes the license metrics to tag file
(.slmtag)
. SLM tag file is located in the "slmTag
" sub-directory
under TADDM root directory ($COLLATION_HOME, e.g. /opt/IBM/taddm/dist/
).
For using the SLM tool, some key SLM commands
are:
[COLLATION_HOME/bin directory] ./slmTag.sh
[taddmusr@pnc162201 bin]$ ./slmTag.sh
Starting...
Status: SUCCESS
[taddmusr@pnc162201 bin]$
Above command generates the
.slmTag
file:[COLLATION_HOME/slmTag directory]
[taddmusr@pnc162201 slmTag]$ pwd
/opt/IBM/taddm/dist/slmTag
[taddmusr@pnc162201 slmTag]$
[taddmusr@pnc162201 slmTag]$ ll
total 4
-rw-rw-r--. 1 taddmusr taddmusr 1052 Feb 12 10:14 d00729ab42cc5b773ff119dca5e1b247.slmtag
[taddmusr@pnc162201 slmTag]$
You can check the slm logs under slmTag directory in
COLLATION_HOME/log
direcotory[COLLATION_HOME/log/slmTag/ directory]
[taddmusr@pnc162201 slmTag]$ pwd
/opt/IBM/taddm/dist/log/slmTag
[taddmusr@pnc162201 slmTag]$
[taddmusr@pnc162201 slmTag]$ ll
total 8
drwxrwxr-x. 2 taddmusr taddmusr 4096 Feb 12 10:02 20190212100206
drwxrwxr-x. 2 taddmusr taddmusr 4096 Feb 12 10:14 20190212101423
[taddmusr@pnc162201 slmTag]$
Note:
SLM tag generation scripts MUST be executed, only on the Primary Storage Server.
SLM tag file will also be generated on the PSS only.