|Reported by:||dmisev||Owned by:||bphamhuu|
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.