DataPilot is an AI-driven data analysis agent development platform independently developed by OceanBase.
This topic describes how to install and uninstall DataPilot by using OAT.
Prerequisites
Before you install DataPilot, confirm the following information:
You have installed OAT and logged in as a super administrator or an O&M engineer. For more information, see Install OAT.
You have added the server on which to install DataPilot. For more information, see Add a server.
You have created the MetaDB component for DataPilot. For more information, see Create MetaDB.
Notice
The version of MetaDB used must be V4.3.5 or later.
Install DataPilot
To install DataPilot, perform the following steps:
In the left-side navigation pane, click Product Service > Products.
On the Product Management page, click Install Product in the upper-right corner and select Install DataPilot.
On the Install DataPilot page, configure the parameters for Basic Configuration:
ParameterDescriptionProduct Name The product name, which must be unique. Server The IP address of the server on which to install DataPilot. Configure External S3 Configuring External S3 is optional if only one server is selected; it is required if multiple servers are selected. Datapilot Image Select the DataPilot image. Datapilot CPU Set the number of CPU cores available to Datapilot on each server. Default: 4C. Datapilot Memory Set the memory available to Datapilot on each server. Default: 8G. E2B Image Select the E2B image. E2B CPU Set the number of CPU cores available to E2B on each server. Default: 4C. E2B Memory Set the memory available to E2B on each server. Default: 8G. HTTP Port The port for the product's HTTP service. Default: 8091.Prefect Port The Prefect service port. Default: 8092.Prefect Administrator Password The Prefect administrator password. Docker Network The Docker network CIDR for the Datapilot container. Default: 172.31.255.0/24.Data Directory The storage path for data generated during DataPilot runtime. Default: /home/admin/logs/DataPilot.Configure External S3:
ParameterDescriptionS3 ENDPOINT The storage endpoint compatible with S3 (such as OSS, MinIO, and SeaweedFS). S3 Access Key The access key ( S3_ACCESS_KEY) used for authentication, provided by the S3-compatible storage service.S3 Secret Key The security key ( S3_SECRET_KEY) used in conjunction with the Access Key for signing requests to ensure communication security.Bucket name The name of the bucket created in the S3-compatible storage ( S3_BUCKET).Bucket path prefix The relative path prefix for storing data within the bucket, default is datus.Region The region identifier ( S3_REGION) of the S3-compatible storage service.On the Install DataPilot page, configure the parameters for MetaDB Configuration:
ParameterDescriptionMetaDB Type Select the type of MetaDB. Options: - Created MetaDB
- Other OB_MySQL
Select Created MetaDB Select an existing MetaDB for DataPilot. Tenant Name The name of the tenant, default is datapilot_meta.Tenant Password The password of the tenant. Database Name The name of the database, default is datapilot.Tenant CPU Sets the number of CPU cores available to MetaDB on each server, default is 2C. Memory Sets the memory available to MetaDB on each server, default is 5G. On the Install DataPilot page, configure the parameters for Load Balancing Configuration:
The options of load balancing modes are as follows:
Created NLB: NLB automatically adds load rules for the actual product
HTTPservice address based on theVIPandVPORTyou entered. Additionally, if you select "Created MetaDB", NLB will also be automatically added to the MetaDB load rules.ParameterDescriptionSelect Created NLB Select an existing NLB. Select Configured VIP Select a configured VIP. HTTP Service Port (VPORT) HTTP service port (VPORT). Other load balancing: Configure the load balancing algorithm for HTTP protocol proxy to be of the Hash type to avoid session exceptions in the backend service.
ParameterDescriptionMetaDB TCP Proxy Address MetaDB TCP proxy address. MetaDB TCP Proxy Port MetaDB TCP proxy port, default value is 3306.DataPilot HTTP Proxy Address Supports entering a VIP or DNS address. DataPilot HTTP Proxy Port DataPilot HTTP proxy port, default value is 80.Do Not Use: Choosing not to use load balancing will result in the loss of high availability capability. By default, the first IP address is used as the connection information.
After configuring DataPilot, click Submit.
If your configuration is incorrect, click Reset to restore the default configuration with one click.
Uninstall DataPilot
To uninstall DataPilot, follow these steps:
In the left-side navigation pane, click Product Service > Products.
Find the DataPilot service to be uninstalled and click its name in the Name column to go to the details page.
Note
You can search for products by name at the top of the page.
In the upper-right corner of the details page, click Uninstall.
In the confirmation dialog box that appears, click Uninstall.
OAT displays a message indicating that the uninstallation is in progress. OAT also creates an uninstallation task. You can click the task ID in the confirmation dialog box to view the execution progress of the current uninstallation task.
