Use the latest rule build-id to check that all SAS® Fraud Management SAS® OnDemand Decision Engine nodes are in sync


When you deploy rules from SAS Fraud Management SAS® Rules Studio, a new build and build_id is generated, which correspond to the models, rules, and lists that have been set to deploy. It is essential that this build gets deployed to every SAS OnDemand Decision Engine node so that the nodes all consistently work with this newest build, ensuring successful SAS Fraud Management operation.

The deployment at each SAS OnDemand Decision Engine node loads a new parallel instance with the build versions of the model, rules, and lists. Once a new version of the SAS OnDemand Decision Engine process starts successfully, the previous version of the SAS OnDemand Decision Engine process stops.

See your SAS Fraud Management SAS Rules Studio User Guide for more information about deploying and redeploying rules.

To confirm that all SAS OnDemand Decision Engine processes are running using the latest build, complete the following steps:

  1. Check latest build_id from the database using your query tool of choice.

    select max(build_id) from FCMCORE.FCM_BUILD;       /* This will confirm latest buid_id from the SOR database. */

    Here is an example:
    "select max(build_id) from FCMCORE.FCM_BUILD;" returns MAX(BUILD_ID) 50105


  2. Check the build_id that each SAS OnDemand Decision Engine runs by logging on to your SAS OnDemand Decision Engine using your <sascfg> user ID. Then, review the SAS OnDemand Decision Engine logs.

    cd !SASConfig/Lev1/Applications/SASFraudManagement/<version>/<implementation-name>/engine/ServerX/logs
    grep “Build Package ID: <build_id returned from #1 above>” sas_*.log

    Here is an example: grep "Build Package ID: 50105" sas_*.log

    grep "Build Package ID: 50105" sas_*.log - Returns Build Package ID: 50105


  3. Repeat this grep command on all SAS OnDemand Decision Engine servers to ensure that all SAS OnDemand Decision Engine processes are running using your latest build_id.
  4. If this grep command fails to find the build_id in any of the SAS OnDemand Decision Engines, then SAS OnDemand Decision Engine is not running with the latest build.
    • To bring all SAS OnDemand Decision Engine nodes up to the latest build_id, you can retry deploying to SAS OnDemand Decision Engine nodes by doing either of the following:
      • Navigate to SAS Fraud Management ► the Console tab ► the Redeploy button.
      • Use any SAS OnDemand Decision Engine node’s command prompt by running ./ose.sh redeploy, per your installation’s business-as-usual process.

Note: If multiple attempts to redeploy do not deploy your latest build to all your ODE nodes, you might need to generate a case for SAS Fraud Management Technical Support.