How can we help you?
DMC sudo
Commands
You can use the following list of sudo
commands for the Deployment Monitoring Console (DMC) starting with version 7.0.
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>
Start all services (demo mode only):
sudo datical-control service start ALL
Stop all services (demo mode only):
sudo datical-control service stop ALL
Start all services (production mode):
sudo datical-control service start keycloak
sudo datical-control service start datical-service
sudo datical-control service start proxy
Stop all services (production mode):
sudo datical-control service stop proxy
sudo datical-control service stop datical-service
sudo datical-control service stop keycloak
View Logs:
View logs in the CLI
To view logs in the CLI, run one of these commands to produce your service log, keycloak log, or proxy log.
sudo datical-control logs datical-service
sudo datical-control logs keycloak
sudo datical-control logs proxy
View logs in a text file
If you need to produce a text file that you can send to our Support team, add > exampleServiceLog.txt
to the end of the command.
Examples:
sudo datical-control logs datical-service > servicelog.txt
sudo datical-control logs keycloak > keycloaklog.txt
sudo datical-control logs proxy > proxylog.txt
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*