Troubleshooting a Platform Analytics Installation
The Linux version of Platform Analytics installs and configures its components as Linux systemd services.
After the installation, several basic utility scripts and commands are available to troubleshoot the application, when necessary.
|
Administration of Descriptive Analytics requires installation user access (in root mode).
|
|
If you copy a command from the PDF version of this guide, make sure the necessary hyphens are still present when you paste the command.
|
To Stop, Restart, Check Status, or List Components for Platform Analytics
1. Open a terminal window as the root user.
2. Navigate to the bin directory of the installation directory:
/opt/ThingWorxAnalytics/PlatformAnalytics/bin
3. Use the twpas.sh utility to run any of the following commands on Platform Analytics:
◦ Stop the server: ./twpas.sh stop
◦ Restarts the server: ./twpas.sh restart
◦ Check the status of the underlying components: ./twpas.sh status
◦ List the underlying components service: ./twpas.sh list
To Start, Stop, or Restart Services for Descriptive Analytics
1. Open a terminal window as the root user.
2. Run any of the following commands on the Descriptive Analytics Microservice:
◦ Start the microservice: systemctl start twpas-descriptive-analytics.service
◦ Stop the microservice: systemctl stop twpas-descriptive-analytics.service
◦ Restart the microservice: systemctl restart twpas-descriptive-analytics.service
To Start, Stop, or Restart Services for Property Transform
1. Open a terminal window as the root user.
2. Run any of the following commands:
◦ On the Property Transform Microserver:
▪ Start the microserver: systemctl start twpas-property–transform.service
▪ Stop the microserver: systemctl stop twpas-property–transform.service
▪ Restart the microserver: systemctl restart twpas-property–transform.service
◦ On the RabbitMQ service (if using the installer-provided version):
▪ Start the service: systemctl start twpas-rabbitmq.service
▪ Stop the service: systemctl stop twpas-rabbitmq.service
▪ Restart the service: systemctl restart twpas-rabbitmq.service
◦ On the Flink service (if using the installer-provided version):
▪ Start the service: systemctl start twpas-flink.service
▪ Stop the service: systemctl stop twpas-flink.service
▪ Restart the service: systemctl restart twpas-flink.service
To Check Component Logs
Component logs are available at the following path:
/opt/ThingWorxAnalytics/PlatformAnalytics/logs
For more detailed information about component log files and about logging levels, see
Component Log Files