No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionInsight HD 6.5.0 Administrator Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Number of Local Backup Audit Log Files

Configuring the Number of Local Backup Audit Log Files

Scenarios

Audit logs of cluster components are classified by name and stored in the /var/log/Bigdata/audit directory on each cluster node. The OMS automatically backs up the audit log directories at 03:00 every day.

The audit log directory on each node is compressed and named in the <IP address of the node>.tar.gz format. All compressed files are compressed and named in the <yyyy-MM-dd_HH-mm-ss>.tar.gz format and saved in the /var/log/Bigdata/audit/bk/ directory on the active management node. In addition, the standby management node saves a copy of it.

By default, the maximum number of files that can be backed up by the OMS is 90. System administrators can configure the maximum number.

Procedure

  1. Use PuTTY to log in to the active management node as user omm.

    NOTE:

    Perform this operation only on the active management node. This operation is not supported on the standby management nodes; otherwise, the cluster cannot work properly.

  2. Run the following command to switch to the required directory:

    cd ${BIGDATA_HOME}/om-server/om/sbin

  3. Run the following command to change the maximum number of backup audit log files to be reserved:

    ./modifyLogConfig.sh -m Maximum number of backup files that can be reserved by OMS

    The default value is 90. The value ranges from 0 to 365. The greater the value is, the larger disk space is occupied.

    If the following information is displayed, the operation is successful:

    Modify log config successfully

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6251

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next