Upgrading DSE OpsCenter Package Installations
About this task
These steps provide information on upgrading to OpsCenter for package installs and restarting the opscenterd
daemon.
Upgrade from OpsCenter 6.1 to the most current release of OpsCenter 6.5 before upgrading to OpsCenter 6.8. |
Prerequisites
Review Product Compatibility for information on OpsCenter compatibility with DSE.
Before upgrading, backup your OpsCenter keyspace, 6.8, if you anticipate, plan, or need to downgrade to an earlier version of OpsCenter. Downgrading OpsCenter is a very manual and case-specific process. If you require a downgrade, contact DataStax Support for assistance before proceeding. |
Additionally, view the compatibility table to ensure that OpsCenter is compatible with your version of DataStax Enterprise.
Procedure
-
Locate the
cluster_name.conf
file. The location of this file depends on the type of installation:-
Package installations:
/etc/opscenter/clusters/cluster_name.conf
-
Tarball installations:
<install_location>/conf/clusters/cluster_name.conf
-
-
If you previously configured the api_port (6.8) under the
[cassandra]
or[storage_cassandra]
headers in 'cluster_name.conf', then delete the entries.An existing api_port entry under the
[cassandra]
or[storage_cassandra]
headers prevents OpsCenter from starting. -
On the OpsCenter daemon host, run the appropriate command to update the packages:
-
Debian or Ubuntu
sudo apt-get update
-
RHEL or CentOS
Yum automatically updates package lists when necessary.
-
-
Install the upgraded OpsCenter package:
Replace
version_number
shown in the example below with the version to which you are upgrading.-
Debian or Ubuntu:
sudo apt-get install opscenter=<version_number>
-
RHEL or CentOS:
sudo yum install opscenter-<version_number>
-
-
If the package manager prompts you for options regarding
opscenterd.conf
, then keep your currently installed version. -
Restart the OpsCenter daemon.
sudo service opscenterd restart
What is Next
Upgrade DataStax Agents from the OpsCenter interface.