When you change the recovery log size, you must delete the recovery log file. Changing the recovery log size removes the Unity object state information. After the sequencers are started, all systems exist in the unrecoverable state. To promote systems to an active state, see Activating a Managed System.
Important: All objects managed by Unity remain in an unsynced state after this process is completed.
-
From unityadmin, change the RecoveryLogSize parameter value to the new size in gigabytes:
CONFIG UPDATE SEQUENCER RecoveryLogSize <newSize> REASON 'Increasing recovery log size';
-
Retrieve the recovery log file name and path.
The default location is /data/recovery.log. The recovery log path is stored in the configuration variable, RecoveryLogPath, and the filename is stored in the configuration key RecoveryLogName.Run the unityadmin commands config list key RecoveryLogPath and config list key RecoveryLogName to query the current setting for these parameters.
-
Run the following commands to resize the recovery log.
Resizing the recovery log involves the deletion of the current recovery log file. Make sure all systems and objects are fully recovered and in the active state before running the following commands.
-
Stop both sequencer processes:
/etc/init.d/unity stop
-
Remove the old recovery log file on both Unity servers:
rm /data/recovery.log
-
Restart the sequencer processes on both Unity servers:
/etc/init.d/unity start
-
Stop both sequencer processes:
- Reactivate the cluster.