Upgrade Cassandra on the Platform Nodes
To allow for continuous functioning of the Cassandra cluster, only one Cassandra server instance should be stopped for upgrade at any one time. Run the following command to check the Cassandra cluster status:
This should be done after each node is updated to verify the cluster is fully functional before proceeding to the next node.
Upgrade Cassandra from version 2.0.8 to 2.0.15. Perform the following Cassandra steps on the first node .
Drain and remove the node from the Cassandra cluster.
Stop the Cassandra service.
service msys-cassandra stop
Backup the Cassandra configuration files. This is an optional step; no changes should need to be merged into the new configuration files, but it is good practice to perform a backup.
pushd /opt/msys/3rdParty/cassandra tar -cf ~/cassandra_conf_2_0_8.tar conf popd
Upgrade the Cassandra Redhat Package Manager (RPM). Be sure to run this command from the directory containing the bundle.
yum --disablerepo=* --config momentum.repo --enablerepo=momentum upgrade msys-cassandra
Compare the new configuration with the backup. Differences such as comments, jvmver, and JVM variables are fine, and you should not have to merge or replace anything at this point.
Significant differences indicate a problem. If this occurs, you need to correct the issue before continuing. If you cannot correct the issue, revert to your backup.
pushd ~ tar -xvf cassandra_conf_2_0_8.tar diff -r conf /opt/msys/3rdParty/cassandra/conf popd
service msys-cassandra start
Repeat Step 1 for the remaining Platform nodes .