Previous Topic: listpmd Command—List Information about a PMDBNext Topic: restorepmd Command—Restore a PMDB


pmd Command—Control a PMDB

Valid in the pmd environment

The pmd command clears the Policy Model error log, updates the subscriber list, starts and stops the Policy Model service, and truncates the update file.

This command has the following format:

pmd pmdName \
{[release(subname)|start|stop|truncate(offset)|lock|unlock \
|reloadini|startlog|killog|clrerror|backup|operation]}
backup

Moves the Policy Model to backup status.

clrerror|clrerr

Clears the Policy Model error log.

killog

Disables the Policy Model general log file. If you specify this option, no messages are written to the log.

Important! Do not use the kill command to shut down the PMDB service.

lock

Moves the Policy Model to lock status, and stops the Policy Model sending updates to its subscribers.

operation

Moves the Policy Model from backup to operational status.

pmdname

Defines the name of the PMDB that you want to execute the selected option on.

release(subName)

Removes the subscriber specified by subName from the list of unavailable subscribers. This means that the subscriber can receive updates immediately. subName specifies the subscriber that is to become available for update.

reloadini

(UNIX only) Rereads the policy model pmd.ini file and the seos.ini file, letting you change configuration settings without having to reload the policy model daemon.

startlog

Enables the Policy Model general log file for writing. Use this option if the log file has been disabled.

start

Starts the CA ControlMinder Policy Model service. Use this option when there are no other commands to execute.

stop

Stops the CA ControlMinder Policy Model daemon/service.

truncate|trunc[(offset)]

Deletes entries from the update file. If an offset is not specified, the file is truncated at the highest possible offset. The highest possible offset is the location of last command that successfully updated the subscriber. If offset is specified, all the entries up to the specified offset are deleted.

Note: You must now use the true offset provided by the listpmd command to truncate the file, and not an offset derived by subtracting from the start offset.

unlock

Moves the Policy Model from lock to unlock status, and lets the Policy Model send updates to its subscribers.