Logservice is a distributed logging service in OceanBase Database, used to receive, store, and manage log data for AI clusters. Through OCP, you can conveniently manage Logservice clusters, including operations such as cluster creation, monitoring, and parameter configuration.
What is a Logservice cluster?
A Logservice cluster is the core component of the distributed logging service in OceanBase Database. In OceanBase's compute-storage separation architecture, the logging service functionality previously integrated into OBServer has been split out and is now independently provided by the Logservice cluster, specifically designed to offer logging services for AI clusters.
Its main features include:
- Log reception: Receives log data from OceanBase clusters, including transaction logs, audit logs, runtime logs, etc.
- Log storage: Provides high-reliability and high-availability log storage capabilities to ensure no log data loss.
- Log query: Supports fast querying and retrieval of log data, facilitating troubleshooting and data analysis.
- Log analysis: Provides log analysis features to help you understand the operational status and performance of clusters.
Each Logservice cluster consists of multiple LogServer nodes, distributed across different zones, providing distributed logging service capabilities.
Logservice clusters provide logging service capabilities for AI clusters.
What is a parameter template?
A parameter template is a management tool for parameter configurations of a Logservice cluster, used for:
- Batch configuration: You can predefined a set of parameter values, create them as a parameter template, and then select this template when creating a new cluster to avoid repeated configuration.
- Unified management: Parameter templates allow you to unify the parameter configurations of multiple clusters, ensuring configuration consistency.
Procedure
The typical procedure for using a Logservice instance is as follows:
- Create a parameter template: First, create a parameter template on the parameter template page, defining the template name, remarks, and parameter values.
- Create a cluster and apply the template: When creating a new Logservice cluster, select the created parameter template, and the system will automatically fill in the parameter configurations from the template.
- Manage cluster parameters: After the cluster is created, if you need to modify parameters, you can only do so directly through the parameter management feature; batch updates via a parameter template are no longer possible.
Note
- Logservice clusters must be used in conjunction with AI clusters. For details, see Logservice Product Documentation.
- Parameter templates are only available for application during cluster creation. After the cluster is created, you cannot modify parameters via a parameter template; you can only modify cluster parameters individually through the parameter management feature.
- Before modifying parameters, be sure to understand the purpose and impact of each parameter to avoid affecting service stability due to improper configuration. Modifying some key parameters may require restarting the service; proceed with caution.
- For details about parameter templates and specific operation steps, see the Parameter Templates section.
Module description
Cluster list
The LogService cluster list module provides centralized management functions for clusters, including:
- Cluster View: Displays all LogService clusters in a list format, showing information such as the cluster name, version number, associated OceanBase cluster, creation time, and status.
- Cluster Search: Supports searching by name to quickly locate the target cluster.
- Status Filter: Supports filtering by cluster status to quickly view clusters in a specific state.
- Cluster Details: Click a cluster name to go to the cluster details page and view detailed information about the cluster.
- Cluster Operations: Supports operations such as creating a new cluster, adding a LogServer, viewing monitoring data, and managing parameters.
Parameter Templates
The parameter template module provides batch management functions for parameter configuration, including:
- Template Creation: Create a parameter template by defining the template name, remarks, and parameter values.
- Template Application: Select a parameter template when creating a new cluster, and the system automatically fills in the parameter configurations.
- Template Management: Supports editing and deleting parameter templates for flexible management of template configurations.
- Template View: View the list of parameter templates to understand information such as the number of parameters, creator, and modification time for each template.
Other Features
In addition to the cluster list and parameter templates, the LogService instance also provides the following features:
- Performance Monitoring: Monitor performance metrics of LogService clusters, including log volume, disk read/write performance, etc.
- Parameter Management: View and modify parameter configurations of LogService clusters.
