Activate LRC traces for a given device
When a specific device or group of devices experiences connectivity issues that require in-depth troubleshooting, you can increase the LRC trace level to debug and resolve the problems effectively.
-
Execute an ssh command to connect to the TPE node (the primary node1 must be used in High availability mode):
ssh support@${IP_OR_HOSTNAME_OF_TPE} -p 2222
-
Connect to the LRC CLI via Telnet (login: support, password: support):
docker exec -it $(docker ps -q -f "name=actility_lrc1") telnet 0 2009
-
Add the device's devEUI to the list of devices with an increased trace level:
>> traceadd <devEUI>
For example:
>> traceadd 1000000000000003
You can add up to 10 devices to the list.
-
View the list of devices with an increased trace level:
>> tracelist
Sample command output:
>> tracelist
1000000000000003 1000000000000005 -
To disconnect from the LRC CLI, simply enter the
exit
command. -
To access device logs, retrieve the logs from the LRC Docker container:
docker service logs actility_lrc1
-
To remove a device from the list of devices with an increased trace level, repeat step 1, and then use the following command:
>> tracermv <devEUI>
For example :
>> tracermv 1000000000000003
To remove all the devices from the list, you can use the following command:
>> tracermv *
Finally, repeat step 5 to disconnect.