Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

MC2 keeps a cache of processing rules . in the following location:
 http://appserver:20426/services/eagle/v2/commands/reinitrulecache

To reinitialize the rule cache, use the REST endpoint with an offset of 206. The default port is 20426.

This will reinitialize reinitializes the rule cache for all MC2 instances with the same AppID however, this . Note that this endpoint is available only from the application server.

An alternate approach is to reinitialize the rule cache using a SOAP request or executing the eagle_ml-2-0_extract_service_control_message stream. It This works in the same way as with a MC2 restart except that it uses a different commandType RTR task parameter, HTTP header, and FeedType RTR task parameter. Also, all levels of users have access to reinitialize the rule cache. For more information, see Restart MC2.This

Examples

The following is an example of a frontend front end server SOAP request:.

Code Block
languagexml
curl --user username:password --header "commandType:reinitrulecache" --header "commandValue:all" --header "SOAPAction:/EagleMLWebService/RunTaskRequestSync" --data-binary @RTR_REINITMC2.xml https://frontendserver/EagleMLWebService30 -o reinitMC2.txt

This The following is an example an example of a backend server SOAP request. In the example below, 20421 is the default SOAP port number (portoffset 201).

...