IBM Support

TBSM 6.2 While running radshell command addSlaAttributeToTemplate nothing gets updated for the SLA attributes

Question & Answer


Question

By using the described example to change SLA attributes for a given template nothing seems to be actually updated:
https://www.ibm.com/support/knowledgecenter/da/SSSPFK_6.2.0/com.ibm.tivoli.itbsm.doc/adminguide/bsma_shlr_template_add_slarule.html
[1]   addSlaAttributeToTemplate("WebFarm",
[2]                          "DurationCount",
[3]                          "WebFarmESlaGold",
[4]                          new String[] {"00","33","00"},
[5]                          new String[] {"00","22","00"},
[6]                          null, 
[7]                          null);

Answer

The changes are actually implemented if the makePersistent parameter is also added while running the command, so an 8th parameter with a value of true needs to be added within the command as follows:

addSlaAttributeToTemplate("Slatest", "DurationCount", "test1", new String[] {"00","33","00"}, new String[] {"00","22","00"}, null,null,true);

This is part of a doc APAR opened for TBSM - IJ20724 - and it will be reflected in the documentation after it gets implemented.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSPFK","label":"Tivoli Business Service Manager"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 January 2020

UID

ibm11285102