Situations can arise when you must stop and restart Data Repository. For example, the computer where Data Repository is installed can lose power or can lock up. Or, you want to relocate the computer. In this case, stop and restart Data Repository. If you want to install an operating system patch or you want to upgrade to a new version of Data Repository, stop and restart Data Repository.
Follow these steps:
Note: For more information about the sudo user, see the Data Aggregator Installation Guide.
service dadaemon stop
/opt/vertica/bin/adminTools
The Administration Tools dialog opens.
You are prompted for the database password.
Data Repository stops.
Note: If Data Repository does not stop, select (2) Stop Vertica on Host from the (7) Advanced Tools Menu.
/opt/vertica/bin/adminTools
The Administration Tools dialog opens.
You are prompted for the database password.
The database starts.
If you installed Data Aggregator as the sudo user, you set up a sudo command alias for the service dadaemon command. Use the sudo command to run the dadaemon start script.
Note: For more information about the sudo user, see the Data Aggregator Installation Guide.
service dadaemon start
Data Repository restarts.
Restart the Apache ActiveMQ broker if Data Aggregator detects a problem with ActiveMQ and Data Aggregator is unable to restart the broker successfully. You can also manually stop and restart the service when needed.
Follow these steps:
cd da_install_dir/broker/apache-activemq-version/bin
Specifies the location of the Data Aggregator installation directory.
Specifies the version of Apache ActiveMQ.
Example: apache-activemq-5.5.1b
./activemq stop -jmxurl service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi --jmxuser admin --jmxpassword activemq da_broker
Specifies the location of the activemq broker. This location only changes when a user modifies the port, or a user externalizes the broker to another system.
Note: Modifying the port number is supported, but we do not support externalizing the broker.
Specifies the username for shutting down the service.
Default: admin
Specifies the password for shutting down the service.
Default: activemq
Specifies the broker name that will be shut down.
Default: da_broker
./activemq start
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|