Opened 10 months ago

Closed 8 months ago

#1365 closed enhancement (fixed)

watch script

Reported by: dmisev Owned by: bphamhuu
Priority: major Milestone: 9.3
Component: bin Version: development
Keywords: Cc: pbaumann
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.

Change History (1)

comment:1 Changed 8 months ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.