1.1 Component Introduction
DBService is a relational database (GaussDB database) used by the components of FusionInsight. It works in active-standby mode. If the active node fails, the standby node becomes the active one and provides services.
The following components depend on DBService:
Hue, Spark, Hive, Oozie, and Loader.
1.2 Log Introduction
Log path:
Default path of DBService logs: /var/log/Bigdata/dbservice/role name
GaussDB: /var/log/Bigdata/dbservice/DB (GaussDB run logs), /var/log/gaussdbinstall.log (GaussDB installation logs), and /var/log/gaussdbuninstall.log (GaussDB uninstallation logs)
HA: /var/log/Bigdata/dbservice/ha/runlog (HA run logs) and /var/log/Bigdata/dbservice/ha/scriptlog (HA script logs)
DBServer: /var/log/Bigdata/dbservice/healthCheck (service process health status check logs), /var/log/Bigdata/dbservice/scriptlog (run logs), and /var/log/Bigdata/audit/dbservice/ (audit logs)
Log archive rule:
The automatic compression function of the DBService run logs and audit logs is enabled. By default, when the size of a log file exceeds 1 MB (the log file size threshold is configurable. For details, see "Configuring the Log Level and Log File Size"), the log file is automatically compressed into a log file named in the following format: <Original log file name>_<No.>.gz. A maximum of 20 latest compressed files are reserved.
Log Type | Log File Name | Description |
DBServer run log | dbservice_serviceCheck.log | Run log file of the service check script |
dbservice_processCheck.log | Run log file of the process check script | |
backup.log | Run log file that records the backup and restoration operations | |
checkHaStatus.log | HA check log file | |
cleanupDBService.log | Uninstallation log file | |
componetUserManager.log | Log file that records the adding and deleting operations on the database by users | |
install.log | Installation log file | |
preStartDBService.log | Pre-startup log file | |
start_dbserver.log | DBServer startup log file | |
stop_dbserver.log | DBServer stop log file | |
status_dbserver.log | DBServer status check log file | |
GaussDB run log | gaussdb.log | Log file that records database running information |
gs_ctl-current.log | Log file that records operations performed by using the gs_ctl tool | |
gs_guc-current.log | Log file that records operations, mainly parameter modification operations, performed by using the gs_guc tool | |
gaussdbinstall.log | GaussDB installation log file | |
gaussdbuninstall.log | GaussDB uninstallation log file | |
HA script run log | floatip_ha.log | Floating IP address resource script log file |
gaussDB_ha.log | GaussDB resource script log file | |
ha_monitor.log | HA process monitoring log file | |
send_alarm.log | Alarm sending log file | |
Audit log | dbservice_audit.log | Audit log file that records DBService operations, such as backup and restoration operations |