Address comments
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/8926d066 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/8926d066 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/8926d066 Branch: refs/heads/0.12.0 Commit: 8926d0664e37dc4d4aae6f5adce134b14e92ef97 Parents: 0138667 Author: Thomas Bouron <[email protected]> Authored: Mon Sep 25 18:14:50 2017 +0200 Committer: Duncan Godwin <[email protected]> Committed: Tue Sep 26 15:21:19 2017 +0100 ---------------------------------------------------------------------- guide/ops/upgrade.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/8926d066/guide/ops/upgrade.md ---------------------------------------------------------------------- diff --git a/guide/ops/upgrade.md b/guide/ops/upgrade.md index abf8d2d..5cc57b6 100644 --- a/guide/ops/upgrade.md +++ b/guide/ops/upgrade.md @@ -181,7 +181,8 @@ Instead, code must be built and installed as [OSGi bundles](https://en.wikipedia 3. Confirm that Brooklyn is definitely not running (see step 1 above). - 4. Delete the Brooklyn install directory: `sudo rm -r /opt/brooklyn`. + 4. Delete the Brooklyn install directory: `sudo rm -r /opt/brooklyn` as well as the Brooklyn log directory: + `sudo rm -r /var/log/brooklyn/` 4. Make sure you have Java 8. By default CentOS images come with JRE6 which is incompatible version for Brooklyn. @@ -199,8 +200,6 @@ Instead, code must be built and installed as [OSGi bundles](https://en.wikipedia # Ubuntu / Debian sudo dpkg -i apache-brooklyn-xxxx.all.deb - 3. Wait for Brooklyn to be fully started (i.e. its web-console to be responsive). - 6. Restore the persisted state and configuration. 1. Stop the Brooklyn service: @@ -221,7 +220,7 @@ Instead, code must be built and installed as [OSGi bundles](https://en.wikipedia 7. Validate that the new release works, by starting in "HOT_BACKUP" mode. - 1. Before starting Brooklyn, reconfigure `./etc/org.apache.brooklyn.osgilauncher.cfg` and set `highAvailabilityMode=HOT_BACKUP`. + 1. Before starting Brooklyn, reconfigure `/etc/brooklyn/org.apache.brooklyn.osgilauncher.cfg` and set `highAvailabilityMode=HOT_BACKUP`. This way when Brooklyn is started, it will only read and validate the persisted state and will not write into it. 2. Start Apache Brooklyn: @@ -234,7 +233,7 @@ Instead, code must be built and installed as [OSGi bundles](https://en.wikipedia # Ubuntu / Debian start brooklyn - 3. Check whether you have rebind ERROR messages in `./log/brooklyn.info.log`, e.g. `sudo grep -E "WARN|ERROR" /opt/brooklyn/log/brooklyn.debug.log`. + 3. Check whether you have rebind ERROR messages in the Brooklyn logs, e.g. `sudo grep -E "Rebind|WARN|ERROR" /var/log/brooklyn/brooklyn.debug.log`. If you do not have such errors you can proceed. 4. Stop Brooklyn:
