How to understand and debug Routing Rules in CCS
search cancel

How to understand and debug Routing Rules in CCS

book

Article ID: 157096

calendar_today

Updated On:

Products

Control Compliance Suite Control Compliance Suite Standards Server

Issue/Introduction

Control Compliance Suite (CCS)

You have some routing rules setup and you want to understand the behavior of these rules.

Environment

CCS 12.6.X

Resolution

To know what Routing Rule is being applied to a CCS asset, go to that Asset and right-click and select Evaluate Routing Rules to see which one is being applied.

NOTE: The generated route plan from the Evaluate Routing Rules is only applicable to Windows, UNIX, SQL, and Oracle assets.  For any other asset type, only site-based routing is applicable irrespective of the generated route plan.

If you still have questions on what routing rule CCS is using, you can enable debugging below.

How to enable debugging:

  1. Use the KB below to enable verbose logging on that CCS manager
    Configuring and collecting verbose logs for the CCS Application Server/manager from the CCS 12.6.x console
  2. Run a data collection or CER job on that asset to generate the information in the verbose logs.
  3. Once the files have been collected and unzipped, go to folder "C:\ProgramData\Symantec.CSM\Logs\CCSManager\DPS.Service_attachments"
    1. Locate the files called "RoutingPlan-*.xml" (name will vary)
    2. The information is shown in that file for the routing rule for that asset.  See the example below.

Sample of a file :

<?xml version="1.0"?>
-<RoutingPlans> -<RoutingPlan> <TargetCCSManager Name="<manager_name"/>

-<Instances> <Instance DisplayName="<asset_name>" ID="b6417803-#####-#####-####-0eebf5e81516"/> </Instances>

<Rule Name="<routing_rule_name" ID="b673f2c3-37e6-####-####-######0818c7"/> </RoutingPlan> </RoutingPlans>

The routing_rule_name of the rule used for the asset will be displayed.

 

If for any reason the jobs cannot be routed based on the rules that you have defined, the jobs are first routed to Network Affinity if the assets are in the same or in the accessible subnet as that of the CCS Manager. If they are not, then the jobs are routed to the default site where a CCS Manager must be present in the collector role.