IBM Support

Failure to create a project due to missing resource groups

Troubleshooting


Problem

Creation of a project fails with BMXAA4350E - The workflow process PMSC_SR1 cannot be started in the background.

Diagnosing The Problem

The failure message in SystemOut.log is
[maximo-ESCALATION.ESCPMRDPWEB20ESC2][ERROR][SR 105362] class com.ibm.ism.pmzhb.util.PmzhbUtilityHelper handleTopLevelSRFail EXCEPTION psdi.util.MXApplicationException: BMXAA4350E - The workflow process PMSC_SR1 cannot be started in the background.
BMXAA4350E - The workflow process PMRDPRUCRT cannot be started in the background.
BMXAA0044E - Application action PMRDPBCCPR could not run.

Indicating issues right before the above failure message
• class com.ibm.ism.pmzhb.api.mbo.TsamApiServiceImpl getApplicableResourceGroupsForRequirementType NOTE number of resource groups=0
• class com.ibm.ism.pmzhb.api.mbo.TsamApiServiceImpl getApplicableResourceGroupsForRequirementType EXIT resource group names=[]
• class com.ibm.ism.pmzhb.api.mbo.TsamApiService getApplicableResourceGroupsForRequirementType EXIT applicable resource groups=[]

→ So the root cause is there is no Resource Group associated in the Resource Allocation Template for the Service Definition
→ This is based on: the data model is corrupt and the association to the Resource Group got lost (possibly caused by deletion processes or forceCleanup)


Turn On Additional Logs :
Use Standard procedure followed by L3, to turn on the following logs:

1.PMZHB logger
2. BlueCloud Logger
3. Integration TPAE logger

Logs to collect: SystemOut.log, trace.log, SystemErr.log

Logs to focus on:
Look for logs prior to the Error
----BMXAA0044E - Application action PMRDPBCCPR could not run.
Specifically the following:
1. 'number of service topology node templates=
2. topology node template id=
3. Topology Node Template with id=
This shows the ID of the topology node that is in question and is a critical key to look into the database to navigate to other tables. Pls make a NOTE of this ID.
4. number of resource requirement nodes=

5. resource requirement node id=
6. Resource requirement with name=
7. number of resource groups=
8. resource group rar relation resource group name='

In the problem situation:
#7 was showing a count of '0'
#8, did not show any group names

One quick way to grab this data from the logs is to execute the egrep command, to look for multiple 'strings' in the logs:

egrep -i 'number of service topology node templates=| topology node template id=| Topology Node Template with id=| number of resource requirement nodes=| resource requirement node id=| Resource requirement with name=| number of resource groups=| resource group rar relation resource group name=' trace.log SystemOut.log SystemErr.log

How to verify in Maximo UI if the Resource Group is available
• logon to Maximo UI
• goto the used Service Definition
• open Service Topology tab
• navigate down to the Service Topology Node of the Virtual Server Node




• goto the Resource Allocation Template tab
• open the Reservation Record
• verify that there is a Resource Group section as shown in attached ResourceGroup_inResourceAllocation_forVirtualServer.jpg

Resolving The Problem


How to fix the problem: recreate the missing association to the Resource Group

• the following SQL insert recreates the missing association in database table pmzhbresgrprarrln

insert into pmzhbresgrprarrln (PMZHBRESGRPRARRLNID, DESCRIPTION, PMZHBRESGRPRARRLNNUM, PMZHBWRREQID, PMZHBRESGRPNUM, HASLD, CONTENTUID)
values (nextval for PMZHBRESGRPRARRLNIDSEQ, '', '7VMW-PMRDPRES',
(select PMZHBWRREQID from PMZHBWRREQ where contentuid = 'RDPVSV7-0-0:RDPVS:1-134-2-32-1'), 'VMWARE', 0, 'RDPVSV7-0-0:RDPVS:1-134-2-32-1')

before inserting, adopt the following values to your system:
PMZHBRESGRPRARRLNNUM = '7VMW-PMRDPRES'
◦ 7 stands for Service Definition revision
◦ VMW for Wmware
◦ PMRDP if you use the service definition RDPVS

CONTENTUID = 'RDPVSV7-0-0:RDPVS:1-134-2-32-1'
◦ in table PMZHBWRREQ there must be an entry with
DESCRIPTION = 'VMware Reservation'
RESERVATIONNUM = 'PMRDPRES'
CONTENTUID like 'RDPVSV7-0-0:RDPV%'
◦ also see attachement ContentUID_inTable_PMZHBWRREQ.jpg

PMZHBRESGRPNUM = 'VMWARE' (if VMware is used)

After that create Project should work!

[{"Product":{"code":"SSBH2C","label":"IBM Service Delivery Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.2.2;7.2.1;7.2.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFG5E","label":"Tivoli Service Automation Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"7.2.2;7.2.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21633716