This topic describes how to deploy InfluxDB after you deploy OceanBase Migration Service (OMS). You can perform the following steps:
Deploy InfluxDB Deploy InfluxDB and verify that the service is available by referring to the InfluxDB deployment documentation.
Configure OMS Run the following command to go to the OMS container:
cat /home/admin/conf/config.yamlModify the configuration file. Example:
"tsdb_enabled": !!bool "true" "tsdb_password": "XXXXXX" "tsdb_service": "INFLUXDB" "tsdb_url": "influxdb_ip:influxdb_port" "tsdb_username": "XXXXX"You must replace the
influxdb_ipandinfluxdb_portfields with the actual IP address and port number of your InfluxDB.Execute the
sh /root/docker_init.shstatement to distribute the configuration of InfluxDB to all services of OMS.Restart the Supervisor component and the console of OMS.
supervisorctl restart oms_drc_supervisor supervisorctl oms_consoleNotice
You can deploy only one InfluxDB for OMS, regardless of whether you deploy OMS in one more multiple regions.