Search code examples
cassandradatastaxopscenter

Is it possible to run DataStax OpsCenter on Windows?


Context

I am just "installed" Cassandra 3.11.11 on a Windows 2019 Server ("installed" means unpacked the tar, set all environment, and run). Did some smoke tests all with success cqlsh and nodetool all seems to be OK.

What I've tried so far

Now I would like to install DataStax OpsCenter, but in the DataStax download site I could not find Windows version. I thought it worth a try, having all JVM and Python prerequisites in place, because of the already running C*, I downloaded the tarball, unpacked, but obviously opcenter file which is a bash shell will not run, also both setup.py and start_opscenter.py gives error.

setup.py: File "C:\Python27\lib\subprocess.py", line 644, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified

start_opscenter: File "C:\cassandra\opscenter-6.8.15\bin\start_opscenter.py", line 1, in from opscenterd import opscenterd_tap ImportError: No module named opscenterd

Question

Is there any way to run DataStax OpsCenter in Windows Server, I should I give up?


Solution

  • To add to Alex's answer, OpsCenter is not designed to run on Windows.

    It is only supported to run on some Linux distributions mainly Ubuntu, CentOS/RHEL and associated flavours.

    There is no "community edition" or other variants of OpsCenter apart from the enterprise version which only works with DataStax Enterprise.

    As a side note, there is very limited Windows support in Cassandra 3.11 and there are several known issues that will not be fixed due to limitations in the operating system.

    Furthermore, Windows support has been completely dropped in Cassandra 4.0 due to lack of maintainers and testing (CASSANDRA-16171).

    As a workaround, we recommend the following:

    If you just want to build apps with Cassandra as a backend, Astra DB has a free tier that lets you launch a Cassandra cluster in a few clicks with no credit card required. Cheers!