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.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. On the CCS Manager that is the Load Balancer:
    1. Go to "C:\Program Files (x86)\Symantec\CCS\Reporting and Analytics\DPS" folder
    2. Edit/open the file called "Symantec.CSM.DPS.exe.config"
    3. Find the line "<add key="Log.Severity" value="Warning" />"
    4. Change to "<add key="Log.Severity" value="Verbose" />"
    5. Save/Close
    6. Restart CCS Manager Service and DPS service
  2. Go to folder "C:\ProgramData\Symantec.CSM\Logs\CCSManager\DPS.Service_attachments"
    1. Locate the files called "RoutingPlan-*.xml"
    2. If you just started a job run a new file are created with the rule evaulation.

Sample of a file :

<?xml version="1.0"?>
-<RoutingPlans> -<RoutingPlan> <TargetCCSManager Name="LA-VM-SUB"/>

-<Instances> <Instance DisplayName="la-vm-sub2.emea-atr.ts" ID="b6417803-ffbe-4749-9ccd-0eebf5e81516"/> </Instances>

<Rule Name="Network Affinity Rule" ID="b673f2c3-37e6-4960-8c34-366e6c0818c7"/> </RoutingPlan> </RoutingPlans>

The 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.