Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
When there are some TM processes down, the dtmci will show the following:
DTMCI > status tm
Node LeadTM State SysRec ShutdownLevel Incarn Txns IsolTM RMs
0 true UP END RUNNING 3 0 false 0
,1 false UP END RUNNING 3 0 false 0
,2 false UP END RUNNING 3 1 false 0
,3 false UP END RUNNING 3 0 false 0
,4 TM process down. Returned error: 82
,5 false UP END RUNNING 3 0 false 0
,6 false UP END RUNNING 3 0 false 0
,7 false UP END RUNNING 3 0 false 0
,8 TM process down. Returned error: 82
,9 false UP END RUNNING 3 0 false 0
,10 false UP END RUNNING 3 0 false 0
I use rest api to check dtm status, but I don’t think the output is a valid json string.
curl --noproxy sq1176.houston.hp.com -X GET -H "Accept: application/json" http://sq1176.houston.hp.com:4200/v1/transactions/tm
[
{"node":0, "isLeadTM":true, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":0},
{"node":1, "isLeadTM":false, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":0},
{"node":2, "isLeadTM":false, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":1},
{"node":3, "isLeadTM":false, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":0},
4 TM process down. Returned error: 82,
,
{"node":6, "isLeadTM":false, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":0},
{"node":7, "isLeadTM":false, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":0},
8 TM process down. Returned error: 82,
,
{"node":10, "isLeadTM":false, "state":"UP", "sys_recovery_state":"END", "tmshutdown_level":"RUNNING", "number_active_txns":0}]
The attachment is John DeRoo's response for this issue.
Assigned to LaunchPad User Adriana Fuentes