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


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

Knowledge Base

Manually Triggering LogGeter to Back Up Component Logs

Publication Date:  2018-10-18  |   Views:  369  |   Downloads:  0  |   Document ID:  EKB1001928701


Issue Description

Manually trigger LogGetter to back up component logs.

Handling Process

(1) Execute the backup task of Linux components (take the scenario where GaussDB, HDC, WI, and License are deployed as an example): (a) Log in to the Linux component server as the root user. (b) Run the shell command to back up GaussDB, HDC, WI, and License to the /var/vdesktop/backup directory of the local host, and then upload the backup files to the LogGetter server.

sh /opt/BackupTools/main/

(2) Back up Windows components (ITA,AD,DNS, and DHCP). Take the ITA server as an example.

(a) Log in to the ITA server using a domain account.
(b) Choose Start > Administrative Tools > Task Scheduler. The Scheduled Task dialog box is displayed.
(c) Right-click ITABackupTask and choose Run from the shortcut menu to run the local backup task.

(3) Log in to the LogGetter server and back up the C:\Loggetter\AutoUploadBackFile\config\BakFileConfig.xml file (Replace C:\Loggetter as required).

(4) Open the file in notepad, change the value of SendTime to the backup time, and save the file. 

(6) Choose Start > Administrative Tools > Services to go to the service list and restart Huawei Loggetter. 

(7) After the backup is complete, open C:\backupresult\backupresult.xml in notepad to view the backup result.

(8) If backupresult.xml contains an item whose Status is failed, the component backup fails. If Status of all items is success, all components are backed up successfully. If Status of the component whose Role is ThirdBackupServer is failed, the connection to the third-party backup server failed.

(9) Use the backup file to overwrite C:\Loggetter\AutoUploadBackFile\config\BackFileConfig.xml and restart the Huawei LogGetter service.

2. If the backup fails, collect all logs in C:\Loggetter\AutoUploadBackFile\log and analyze the logs. If the backup succeeds, alarms of FusionAccess will be automatically cleared the next day.


Fault symptom summary:

1. Data backup alarms are generated for all infrastructure domain components.

2. Data of several components in the infrastructure domain failed to be backed up.

Case 1:
Check whether the logserviceuser account in the AD is added to the domianadmin group. If not, the LogGetter server does not have the permission to access the shared directory of each component.

Case 2:
(1) Log in to the LogGetter server to check whether the network of the components that failed to be backed up/that encounter backup failures is normal.
(2) Check whether the Huawei LogGetter service of the LogGetter server is started.
(3) Use the domain account to log in to the component server that failed to be backed up, and check whether its backup folder is shared with the domain administrator account and whether the domain administrator account has the read and write permissions.