-
Notifications
You must be signed in to change notification settings - Fork 9
Scheduling an outage
From https://talk.openmrs.org/t/outages-notifications-scheduling/10043, you should aim to schedule outages:
- Preferably on weekends
- For longer outages, give 2-3 days notice
- Make sure to add it clearly to talk https://talk.openmrs.org/c/community/infra
Please sure you have the following before you plan anything:
- An account and sudo rights to the servers you will do maintenance on.
- An account in status.io to schedule an outage.
- You have access to confluence to put in the calendar.
After making sure you have the requirements above, please go to status.io and log-in.
- Go under maintenance on the left click on new maintenance. This area is self explanatory and should not be a problem to fill in.
- Mention in talk(discourse) about the outage.
- Mention in Telegram chat about the outage.
- Put the outage in the ITSM Calendar in Confluence.
Will have to experiment more but, blocking off the main page when there is an outage so now one can access it can be followed here : https://confluence.atlassian.com/adminjiraserver071/preventing-users-from-accessing-jira-applications-during-backups-802592976.html
Then after taking it down you might be able to get in using ssh -L 8080:localhost:8080 servername.openmrs.org
This will vary depending on the port and the server. If its changed to use localhost then the above command works.
After that go to your browser and type https://”localhost:8080” and the page should show up.
Another option is to change the server.xml and change in context the “path=/jira or confluence” and restart the application then it will be only be accessible using the /jira or /confluence. If only the admins know this then they can the outage fine.
Read this before updating this wiki.