Clear Policy Renewal Check Dates batch process

Code

PolicyRenewalClearCheckDate

Categories

APIRunnable, MaintenanceOnly

Implementation

Batch process

Stoppable

No (single phase process)

Schedule

Not schedulable

Class

PolicyRenewalClearCheckDate.gs

The Clear Policy Renewal Check Dates batch process clears (null out) the existing check date for all policies through a single direct database update statement. Because this is a direct update statement, this batch process is only available in maintenance mode. In other words, the server must be a run level of NO_DAEMONS or lower.

Only run this process if a configuration change to automated renewal contains a possible risk that the automated renewal process picks up some policies unacceptably late for renewal. Ultimately, the implementation of the PolicyRenewalPlugin plugin controls the lead time of any individual policy needs for renewal. By default, this process depends on the code of that plugin and the NotificationConfig system table accessed through the NotificationConfigPlugin plugin implementation. As you can overwrite the functionality of either plugin, which types of changes might significantly change the renewal start date can vary.

This process is not available from the PolicyCenter interface. It is also not possible to schedule this batch process. Instead, you must start this process using the maintenance_tools -startprocess command option with PolicyRenewalClearCheckDate or its equivalent web service command.

Run the Clear Policy Renewal Check Dates process

Run the Clear Policy Renewal Check Dates process to clear (null out) the existing dates for all policies through a single, direct, database update.

Before you begin

Only run this process if one or more of the following is true:
  • If a configuration change to automated renewal contains a possible risk that the automated renewal process picks up some policies unacceptably late for renewal.
  • After you bring the server back up after applying a configuration update.

Procedure

  1. Place the server in maintenance mode (NO_DAEMONS or lower).
  2. Run the following maintenance_tools command a single time only.
    • maintanance_tools -password password -startprocess PolicyRenewalClearCheckDate
  3. After the process completes, finish bringing the server all the way up to production mode.

What to do next

See also