Hey,
we working heavily on RHQ 4.8 and one of the items of the last days was update from 4.x (x < 8 ) to 4.8.
I have uploaded a snapshot build to https://sourceforge.net/projects/rhq/files/rhq/rhq-4.8.0-snapshot (replacing the old one) that has the latest REST-api changes and also all the rhqctl goodness for installing a new fresh 4.8 instance or to update an existing one.
Please download the snapshot and test installing a fresh 4.8 instance or upgrading and give us feedback
The following does the full upgrade from a running 4.7 instance to 4.8 looks like: ( the metric data in the rdbms will not be deleted) ( the metric migration only works with Postgres at the moment )
$ unzip rhq-server-4.8.0-SNAPSHOT.zip $ cd rhq-server-4.8.0-SNAPSHOT $ bin/rhqctl upgrade --from-server-dir=/tmp/rhq-server-4.7.0 --storage-data-root-dir=/tmp/48/rhq-data --from-agent-dir=/tmp/rhq-agent --run-data-migrator=do-it
This assumes that the old server was in /tmp/rhq-server-4.7.0 and the old agent in /tmp/rhq-agent Storage for Cassandra ( = the equivalent of the postgres data tables) will in the above example to to /tmp/48/rhq-data
If you upgrade an agent like this, it will stay where it was before (in place upgrade)
The 'run-data-migrator' command migrates all the metrics from the relational storage to Cassandra (without deleting it in the rdbms). If you want to run the migrator later or pass different options, you can either not pass this option or pass the option 'print-command' to have it print the command line for you to start with. Another option is 'estimate' that will estimate the run time of the migrator but does not run the migration (which can take quite some time; estimation may take some time too on large amounts of saved data).
rhq-users@lists.stg.fedorahosted.org