Starting, stopping, and restarting OpsCenter

About this task

Commands for starting, stopping, and restarting OpsCenter for each type of installation.

Procedure

  • Package installs

    • The available service opscenterd options are:

      sudo service opscenterd start|stop|status|restart|force-reload
    • Packaged installations include startup scripts in the /etc/init.d directory for running OpsCenter as a service.

      For example, the following script starts OpsCenter on the node where the command runs.

      sudo /etc/init.d/opscenterd start
  • Tarball installs

    Starting opscenterd:

    Use the -f option to start the agent in the foreground.

    install_location/bin/opscenter

    Stopping and restarting opscenterd:

    1. To stop OpsCenter, find the opscenterd process ID (pid) and kill the process using its PID number:

      ps -ef | grep opscenter
      sudo kill pid
    2. To start OpsCenter:

      Use the -f option to start the agent in the foreground.

      install_location/bin/opscenter

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com