Views:

Summary



Perform the following procedure to change the length of time that logs are retained for viewing in the management console (GUI).

Step By Step



Note: Syncui is a utility used to modify the DPX database. Improper use of this utility can lead to data loss, corruption, and the inability to restore data. Use the syncui utility only if you have completed the Advanced Reseller Training course or are under the direction of DPX Technical Support. In addition, only use the syncui utility in conjunction with the steps outlined in this article.

To change the retention period you must set the preference in the syncui utility and set the scheduler to look for the log files during the new period. Stop cmagent on the master server before modifying sssched. Restart cmagent before running the syncui utility.

To make the scheduler change, modify the sssched file on the master server by adding -r <nn> where <nn> is a variable representing the number of days you wish to view the logs in the reports.

1. Stop DPX on the master server.

2. Make the appropriate modifications depending on operating system:

  • On UNIX, modify the sssched file in the bin directory of DPX, adding the flag -r <nn> to the exec statement. For example, exec ./besched -r 90.
  • On Windows, open regedit and modify the following string value to include the following value data, for example:

String Value: HKLM\Software\Syncsort\BackupExpress\<hostname>\0\SSSCHED

Value Data: -r 90

3. Start DPX.

4. Execute the syncui utility from the bin directory of DPX and enter the following commands:

c s <MASTERHOSTNAME>

db login sysadmin <SYSADMINPASSWORD>

pref add JOB_LOG_FILE_RETENTION <xx>

pref add LOG_FILE_RETENTION <yy>

quit

  • <MASTERHOSTNAME> is your master server hostname/IP address.
  • <SYSADMINPASSWORD> is your sysadmin password.
  • <xx> is the number of days in the job log file retention period.
  • <yy> is the retention period of all of the other DPX logs that are not circular by nature.

If these preferences already exist and you wish to change them, enter replace instead of add.

Additional Steps to Retain Job Logs and Other Logs in Case of Block Level:

To to preserve only job logs, set joblog_reten on master server APPH module. For example: --joblog_reten <days>.

To preserve other logs, set log_reten on the nodes where those logs reside. For example: --log_reten <days>

Note: These steps are in addition to step 2 in the above procedure.