Monitoring policy status is unknown


In certain environments, the policy applied status displays as unknown and the latest policy configuration is not applied to PATROL Agents.

Perform the following steps to resolve the issue:

  1. Stop the Presentation Server.
  2. Depending on the Infrastructure Management deployment type, follow the instructions for a standalone or high-availability deployment.
  3. Restart the Presentation Server.

Standalone Infrastructure Management deployment

Option 1 - activemq is running on the default port 8093

  1. Stop the Infrastructure Management server.
  2. Create a backup of the activemq-rar.rar file from the location installedDirectory\TrueSight\pw\wildfly\standalone\deployments.
  3. Copy the tcp.activemq-rar file from installedDirectory\TrueSight\pw\wildfly\store to installedDirectory\TrueSight\pw\wildfly\standalone\deployments
  4. Rename the tcp.activemq-rar file to activemq-rar.rar.
  5. Start the Infrastructure Management server.

Option 2 - activemq is not running on the default port 8093

  1. Stop the Infrastructure Management server.
  2. Create a backup of the activemq-rar.rar file from the location installedDirectory\TrueSight\pw\wildfly\standalone\deployments.
  3. Copy the tcp.activemq-rar file from installedDirectory\TrueSight\pw\wildfly\store to installedDirectory\TrueSight\pw\wildfly\standalone\deployments
  4. Rename the tcp.activemq-rar file to activemq-rar.rar.
  5. Change the configured activemq port in the amq-broker-config.xml file:
    1. In the \pw\wildfly\standalone\deployments folder, open the activemq-rar.rar file and extract the amq-broker-config.xml file.
    2. Create a backup of the amq-broker-config.xml file.
    3. In the amq-broker-config.xml file, update the URI attribute of transportConnector property to the new port number:
      <transportConnector name="bppm-jms-broker-tcp-conn"
        uri="tcp://0.0.0.0:8093?
        transport.useInactivityMonitor=false"/>
      </transportConnectors>
  6. After making the change, save the amq-broker-config.xml file and add it to the activemq-rar.rar file in the \pw\wildfly\standalone\deployments folder.
  7. Start the Infrastructure Management server.

High-availability Infrastructure Management deployment

Option 1 - activemq is running on the default port 8093

  1. Run the pw ha status command on both Infrastructure Management servers.
  2. Stop the standby server.
  3. Stop the active server.
  4. Create a backup of the Active and StandBy folders from the location installedDirectory\pw\tmp.
  5. Copy the tcp.activemq-rar file from installedDirectory\TrueSight\pw\wildfly\store to installedDirectory\TrueSight\pw\wildfly\standalone\deployments.
  6. Rename the tcp.activemq-rar file to activemq-rar.rar.
  7. Copy the activemq-rar.rar file from installedDirectory\pw\wildfly\standalone\deployments to installedDirectory\pw\tmp\Active.
  8. Copy the activemq-rar.rar file from installedDirectory\pw\wildfly\standalone\deployments to installedDirectory\pw\tmp\StandBy.
    1. Open the activemq-rar.rar file from installedDirectory\pw\tmp\StandBy and extract the amq-broker-config.xml file. 
    2. In the amq-broker-config.xml file, update the URI attribute of transportConnector property to the loopback address:             
      <transportConnector name="bppm-jms-broker-tcp-conn"
        uri="tcp://127.0.0.1:8093?
        transport.useInactivityMonitor=false"/>
      </transportConnectors>
  9. After making the change, save the amq-broker-config.xml file and add it to the activemq-rar.rar file at installedDirectory\pw\tmp\StandBy.
  10. Follow the same steps on the other server.
  11. Start the server that you stopped in step 3.
  12. After the server is up and running and connected with the Presentation Server, start the other Infrastructure Management server.

Option 2 - activemq is not running on the default port 8093

  1. Run the pw ha status command on both Infrastructure Management servers.
  2. Stop the standby server.
  3. Stop the active server.
  4. Create a backup of the Active and StandBy folders from the location installedDirectory\pw\tmp.
  5. Copy the tcp.activemq-rar file from installedDirectory\TrueSight\pw\wildfly\store to installedDirectory\TrueSight\pw\wildfly\standalone\deployments.
  6. Rename the tcp.activemq-rar file to activemq-rar.rar.
  7. Copy the activemq-rar.rar file from installedDirectory\pw\wildfly\standalone\deployments to installedDirectory\pw\tmp\Active.
  8. Copy the activemq-rar.rar file from installedDirectory\pw\wildfly\standalone\deployments to installedDirectory\pw\tmp\StandBy.
    1. Open the activemq-rar.rar file from installedDirectory\pw\tmp\StandBy and extract the amq-broker-config.xml file. 
    2. In the amq-broker-config.xml file, update the URI attribute of transportConnector property to the loopback address and with new port:             
      <transportConnector name="bppm-jms-broker-tcp-conn"
        uri="tcp://127.0.0.1:8093?
        transport.useInactivityMonitor=false"/>
      </transportConnectors>
  9. After making the change, save the amq-broker-config.xml file and add it to the activemq-rar.rar file at installedDirectory\pw\tmp\StandBy.
  10. Follow the same steps on the other server.
  11. Start the server that you stopped in step 3.
  12. After the server is up and running and connected with the Presentation Server, start the other Infrastructure Management server.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*