Opened 8 years ago
Closed 8 years ago
#1365 closed enhancement (fixed)
watch script
Reported by: | Dimitar Misev | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.3 |
Component: | bin | Version: | development |
Keywords: | Cc: | Peter Baumann | |
Complexity: | Medium |
Description
We should have a service health script that checks for rasdaman/petascope and starts them if they are not running for some reason.
The script should check by default
- rasdaman (pgrep rasmgr & rasserver, perhaps run simple select collection names query)
- if down, run stop_rasdaman.sh && start_rasdaman.sh
- petascope (get capabilities)
- if fails, try to restart tomcat
This could then be regularly executed in a cron job for example.
Note:
See TracTickets
for help on using tickets.