trafodion
trafodion copied to clipboard
[TRAFODION-3248]provide more dcscheck option
-m: memory status of dcsmaster -s: status of mxosrvrs -t: thread info of dcs ListenerWorker and ListenerService
Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3064/
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/3064/
status of mxosrvrs can be got using rest api
status of mxosrvrs can be got using rest api
yes,it can. But another developer told me that rest api will be delete sometimes so that I used zookeeper to get status of mxosrvrs directly.
You can refer to REST and DCS documentation. I don't understand the need to support this additional option in dcscheck script
You can refer to REST and DCS documentation. I don't understand the need to support this additional option in dcscheck script
Sometimes in production environment 24400 port will be forbidden,even http is inaccessible. Besides, operation engineers could find the status of mxosrvr and dcs master easily .
To run dcscheck script you have to be on the node, so you should be able to run rest command from the node to get the status of mxosrvrs
New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3070/
To run dcscheck script you have to be on the node, so you should be able to run rest command from the node to get the status of mxosrvrs
yes,it can,but it‘s not easy for shell to parse json file(needs extra library like jq). Meanwhile, we have existing java library to visit zookeeper. And as above I said, another developer told me that rest api will be delete sometimes so that I used zookeeper to get status of mxosrvrs directly.
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/3070/
@hegdean, how does this change look to you now?
Change is not complete as suggested improvements/corrections have not been done
New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3075/
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/3075/
can anyone take a review?
@hegdean, could you take another look? Thanks.
Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3081/
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/3081/
New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3102/
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/3102/
@hegdean, how does it look now?