How to Modify the Autorecovery Policy
Example 16-1 Modifying the Autorecovery Policy From Log to Autorecovery
The following example shows how to view the current value of the autorecovery_policy
property and change it to a new value. The original value of this property is 1
, which means that autosave changes are logged. The svcadm
command is used to stop and restart the ldmd
service, and the svccfg
command is used to view and set the property value.
primary# svccfg -s ldmd listprop ldmd/autorecovery_policy ldmd/autorecovery_policy integer 1 primary# svcadm disable ldmd primary# svccfg -s ldmd setprop ldmd/autorecovery_policy=3 primary# svcadm refresh ldmd primary# svcadm enable ldmd