We are using Jfrog artifactory selfhosted instance with license for our project and many customers are using for thir package and binary management. Since this is hosted i our private selfhosted environments over linux platform, regularly we may need to have a maintenance window atleast 2 times in a month to apply patches to our servers and all. So we are considering for high availability for our currently running Jfrog instance which should resolve this downtime during the maintenance. Also we are looking for some better managemental scenarios as below and couldnt find any helpful guidance from the docs.
- How the Jfrog server insance service status can be monitored along with auto restart if the service is in failed state after the server reboot.
- Is there any way to set and populate a notification messsage to the sustomers regarding the sceduled maintenance.
- How can we enable the high availability for JFrog Artifactory and Xray. ?
Here are some of the workaround you can follow to mitigate the situation
If you are looking for a more lightweight check you can use
By default, the systemctl scripts check for the availability of the services and restart them when they see a failure. The same applies to the system restart as well.