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 Periodical Alarm and Audit Information Backup

Configuring Periodical Alarm and Audit Information Backup

Scenario

Modify the related configuration file to periodically back up the alarm, audit information of FusionInsight Manager and service audit information of to the specified storage location.

The backup can be performed using FTP or SFTP. FTP does not encrypt data, which may cause potential security risks. Therefore, SFTP is recommended.

Procedure

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

    NOTE:

    Perform this operation only on the active management node. This operation is not supported on the standby management node.

  2. Run the following command to go to the related directory:

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

  3. Run the following command to configure periodically the alarm, audit information of FusionInsight Manager and service audit information backup:

    ./setNorthBound.sh -t Information type -i Remote server IP address -p SFTP or FTP port used by the server -u Username -d Save path -c Interval (minute) -m Number of information records in each file -s Flag for enabling or disabling backup -e Specified protocol

    Example:

    ./setNorthBound.sh -t alarm -i 10.0.0.10 -p 22 -u sftpuser -d /tmp/ -c 10 -m 100 -s true -e sftp

    This script will modify the alarm information backup configuration file alarm_collect_upload.propertie. The file save path is ${BIGDATA_HOME}/om-server/tomcat/webapps/web/WEB-INF/classes/config.

    ./setNorthBound.sh -t audit -i 10.0.0.10 -p 22 -u sftpuser -d /tmp/ -c 10 -m 100 -s true -e sftp

    This script will modify the audit information backup configuration file audit_collect_upload.properties. The file save path is ${BIGDATA_HOME}/om-server/tomcat/webapps/web/WEB-INF/classes/config.

    ./setNorthBound.sh -t service_audit -i 10.0.0.10 -p 22 -u sftpuser -d /tmp/ -c 10 -m 100 -s true -e sftp

    This script will modify the service audit information backup configuration file service_audit_collect_upload.properties. The file save path is ${BIGDATA_HOME}/om-server/tomcat/webapps/web/WEB-INF/classes/config.

  4. Enter the password as prompted. The password is encrypted and saved in the configuration file.

    Please input sftp/ftp server password:

  5. If the following information is displayed, the operation is successful. The configuration file will be automatically synchronized to the standby management node.

    execute command syncfile successfully. 
    Config Succeed.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6093

Downloads: 12

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