Below is a list of all sudo commands for the Deployment Monitoring Console (DMC) 7.x versions.
Set up User
sudo useradd -m datical
sudo passwd datical
sudo usermod -aG wheel datical
...
sudo datical-control network set-cluster-hostname <new-hostname>
sudo datical-control network reconfigure --ip <new-ip-address>
sudo datical-control db show --include-password
(does not require sudo)sudo datical-control network set-external-hostname <desiredHostname>
...
sudo service datical-proxy stop
(requires sudo - authentication is required)sudo service datical-proxy start
(requires sudo - authentication is required)sudo service datical-proxy restart
(requires sudo - authentication is required)sudo service datical-service restart
(requires sudo - authentication is required)sudo datical-control service restart datical-service
(requires sudo - this script must be run as sudo or root)sudo datical-control service restart proxy
(requires sudo - this script must be run as sudo or root)
Troubleshooting Commands
sudo datical-control troubleshoot
(does not require sudo)sudo datical-control service status datical-service
(does not require sudo)sudo datical-control logs datical-service --follow
(requires sudo - insufficient permissions)sudo datical-control logs proxy
(requires sudo - insufficient permissions)sudo datical-control logs proxy --follow
(requires sudo - insufficient permissions)sudo find /etc/ -name datical-service*
(requires sudo - insufficient permissions)
Example sudofile
View file | ||
---|---|---|
|
...