Below is a list of all sudo commands for the Deployment Monitoring Console (DMC)
Set up User
sudo useradd -m datical
sudo passwd datical
sudo usermod -aG wheel datical
Install Commands
Interactive:
sudo bash /path/to/datical-service-unix-<version>-master.sh
Silent:
sudo ./datical-service-unix-<version>-master.sh -q -varfile <varfile>
Uninstall Commands
sudo /opt/datical/uninstall
Configuring Hostname & IP Commands
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
sudo datical-control network set-external-hostname <desiredHostname>
Restart Commands
sudo service datical-proxy stop
sudo service datical-proxy start
sudo service datical-proxy restart
sudo service datical-service restart
sudo datical-control service restart datical-service
sudo datical-control service restart proxy
Troubleshooting Commands
sudo datical-control troubleshoot
sudo datical-control service status datical-service
sudo datical-control logs datical-service --follow
sudo datical-control logs proxy
sudo datical-control logs proxy --follow
sudo find /etc/ -name datical-service*
Example sudofile
User_Alias DATICAL_USER=%datical Cmnd_Alias DATCMD = /usr/bin/datical-control troubleshoot,\ /usr/bin/datical-control logs datical-service --follow,\ /usr/bin/datical-control logs proxy --follow,\ /usr/bin/datical-control logs keycloak --follow,\ /usr/bin/datical-control service restart datical-service,\ /usr/bin/datical-control service restart proxy,\ /usr/bin/datical-control service status datical-service,\ /usr/bin/datical-control service start datical-service,\ /usr/bin/datical-control service stop datical-service,\ /usr/bin/datical-control service start,\ /usr/bin/datical-control service stop,\ /usr/bin/datical-control troubleshoot,\ /usr/bin/systemctl restart datical-service,\ /usr/bin/systemctl restart datical-proxy,\ /usr/bin/systemctl restart datical-keycloak,\ /usr/sbin/service datical-service restart,\ /usr/sbin/service datical-proxy restart,\ /usr/sbin/service datical-keycloak restart,\ /usr/sbin/service datical-proxy start,\ /usr/sbin/service datical-proxy stop,\ /usr/bin/find /etc/ -name datical-service* DATICAL_USER ALL=NOPASSWD: DATCMD