Potential workaround: Restart the target Patrol Agent. While troubleshooting this in one customer's environment, we saw that attempts to enable dynamic Patrol Agent debugging wouldn't work either (not from the Agent Query window nor from the System Output Window). When we restarted the Patrol Agent to enable debugging at start time, the deployment worked.
The condition is discussed here:
In addition to the steps that it recommends:
Ensure that there is adequate disk space on the target Patrol Agent & the ISN.
Enable PatrolAgent debugging with MAIN,COMM,GDD flags on the target Patrol Agent.
On the TSPS, Configuration -> Managed Devices -> locate a problematic Patrol Agent -> click the three dots for it -> Query PATROL Agent -> enter:
(That is two underscore characters)
If you have a Patrol Console, open a System Output window for one of the non-working/undeployable Patrol Agents & issue:
Start it as follows:
PatrolAgent -debug MAIN,COMM,GDD,FILE=C:\\temp\\debug.txt
Trigger deployment of the package to the target Patrol Agent.
Upon failure, send:
- Patrol Agent error log
- TrueSightCMAKmPush log from TSPS server
Disable PatrolAgent debugging when done (__config("-MAIN -COMM -GDD");)
If the root cause cannot be determined from the above round of troubleshooting, then do the following for more advanced troubleshooting. Note that the examples below assume a package name of "WinPA11P1". Change this to reflect your actual package name:
- Enable ISN debug from the TSIM:
pw debug on -a <agent-name>
- pw rem list
- Trigger the package distribution
Do the following on the TSPS:
Record the two output entries for the sha256sum commands. Note that the TSPS createdPackages directory will be populated very briefly during deployment.
On the ISN:
Record the two output entries for the sha256sum commands.
On the Patrol Agent:
cd D:\BMC Software\Patrol3\\tmp\WinPA11P1
certUtil -hashfile WinPA11P1.gz_part_.1 SHA256
certUtil -hashfile WinPA11P1.gz_part_.2 SHA256
(Note that the SHA256 needs to be uppercase.)
Record the two output entries for the certUtil entries
- Disable ISN debug from the TSIM:
pw debug off -a <agent-name>
- Get ISN logs from the TSIM::
pw debug file -a <agent-name>
- Get TSPS dump:
tssh dump export
- Get this from the ISN:
From the logs, review Agent.stdout, IntegrationService.log & MessageServiceIS.log files.
For example, in TrueSightCMAKmPush.log it will show checksum values.
Ensure that the ISN & Patrol Agent time stamps are in sync (or tell Support the time difference) when comparing files.
Send all info to Support.