upgrading RHQ with rhqctl

John Sanda jsanda at redhat.com
Sun Apr 28 19:42:38 UTC 2013


So far the development and testing of rhqctl has been focused on new installations. When no options are specified, the install command installs and starts the storage node, the server, and the agent. All three are started in the background. The agent is started with rhq-agent-wrapper.sh. Jay will need to chime on how things vary on Windows. When upgrading from a previous version of RHQ, does the install command need to do any extra work? I do not think any extra work is needed for the server and the agent, but if the auto-update feature of the agent is disabled, should rhqctl do anything special. 

Upgrading the storage node will involve the following tasks:

* Run a drain operation. This turns off writes and then flushes memtables to disk.
* Shut down the node.
* Take a snapshot of data files.
* Install the new version (to a different directory than the existing version).
* Update cassandra.yaml with configuration changes.

- John


More information about the rhq-devel mailing list