Got it

DBService:Basic Information

771 0 2 0 0


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



This post was last edited by chz at 2018-12-28 08:47.

This article contains more resources

You need to log in to download or view. No account? Register

x

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.