Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #39 from Metaswitch/monit_iss_16
Browse files Browse the repository at this point in the history
[Reviewer: Matt] Add groups to monit
  • Loading branch information
eleanor-merry committed May 15, 2015
2 parents 74ba975 + b900b8e commit 1041f66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Clearwater_Elastic_Scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ If you're scaling down your manual deployment, follow the following process.
8. On Sprout and Ralf nodes, wait until Chronos has resynchronized, either by running `service chronos wait-sync` or by polling over [SNMP](Clearwater SNMP Statistics.md).
9. On Sprout, Memento and Ralf nodes, update /etc/clearwater/cluster_settings to just contain the new list of nodes (`servers=...`) and then run `service <process> reload` to re-read this file.
10. On the Sprout and Ralf nodes that are staying in the cluster, update `/etc/chronos/chronos.conf` so that it only contains entries for the staying nodes in the cluster and then run `service chronos reload` to re-read this file.
11. On the nodes that are about to be turned down, run `monit unmonitor <process> && service <process> quiesce|stop` to start the main process quiescing.
11. On the nodes that are about to be turned down, run `monit unmonitor -g <process> && service <process> quiesce|stop` to start the main process quiescing.
12. Turn down each of these nodes once the process has terminated.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To run Bono, Sprout or Homestead under valgrind (the example commands assume you

- make sure valgrind is installed on your system and you have the appropriate debug packages installed (`sudo apt-get install valgrind` and `sudo apt-get install sprout-dbg`)

- disable monitoring of sprout (`sudo monit unmonitor poll-sprout; sudo monit unmonitor sprout`)
- disable monitoring of sprout (`sudo monit unmonitor -g sprout`)

- use ps to find the command line you are using to run Sprout (`ps -eaf | grep sprout`)

Expand Down

0 comments on commit 1041f66

Please sign in to comment.