-
Notifications
You must be signed in to change notification settings - Fork 46
Opsautomator Jira Start/Stop #19
Comments
Does jira require to stop proceses before shutting down an instance? |
Yes before shutting down all process should be a graceful shutdown and volume is EBS. Its a weekly shutdown to save cost for some servers. Note: We are shutting down the Jira server through opsautomator. |
When stopping an instance EC2 will shutdown the server and I expect that the shutdown of Jira might not have been completed in time. As the EC2 does not have insight on what applications running on your instance it is not aware of if the application has been shutdown in time. In Ops Automator 2 we have an action that can execute commands on LInux/Windows host and then based on the result it can set a tag on that instance when it has successfully completed the (shutdown) script. The event of setting this tag can then trigger the task to stop the instance. |
Thanks, Could you please let me know how to do that please? |
First you have to create a task, for example with the name StopMyApplications, for the SsmRunCommand action, that has a cron expression in the task interval parameter that runs the action when you want to initiate the stop of the instance. Create a tag OpsAutomatorTaskList=StopMyApplications, now the task runs at the specified time, and when the command are executed successfully it tags the instance with the specified tags The create a task for the Ec2StopInstance Action, for example with a name StopMyInstance. In the section Ec2 tag change events set the value of parameter "Tag changed for EC2 instance" to "Yes" StopMyApplications->Runs scripts->Sets Tags if successfully stoped applications Hope this helps |
Many Thanks, Let me check and update you. |
Hello...Did we get the release of opsautomator? Any idea when it will get released...Thanks for your help. |
We have a issue in start/stop jira server. It is said that the jira service were not shutdown properly because of that we are facing issues wil reboot. Help us to resolve it
The text was updated successfully, but these errors were encountered: