Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manage OceanBase cluster lifecycle using obd. Deploy, start, stop, restart, destroy, redeploy, upgrade, scale out, and configure clusters. Includes OCP CE takeover and monitoring setup. Use when creating, operating, or maintaining OceanBase CE clusters via obd, or when users mention obd, OceanBase deployment, cluster management, OCP, or monitoring.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 134% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 245% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 52% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 51% | 0% |
Manage OceanBase CE cluster lifecycle using the obd command-line tool.
Official quick-start guide: https://www.oceanbase.com/docs/common-obd-cn-1000000005246289
For tenant operations (create, drop, backup, restore): Use tenant-management. For seekdb: Use seekdb. For benchmarks and testing: Use testing-and-benchmark. Overview & routing: See oceanbase-deploy.
ocp-ce component in obd config).ocp-express is a legacy lightweight web console. When users explicitly ask for "OCP Express" / "ocp-express" / "lightweight OCP", do NOT deploy it. Explain: ocp-express has been replaced by obshell dashboard — deploy OceanBase CE directly and access the dashboard on port 2886.ocp-express.obd cluster check4ocp / export-to-ocp target a running OCP CE (or enterprise OCP) control plane, not ocp-express.See references/ocp-ce.md for OCP CE deployment and takeover details.
WARNING: These commands are destructive and require explicit user confirmation:
obd cluster destroy — Destroys a cluster and deletes data.obd cluster redeploy — Destroys and redeploys a cluster, deleting data.obd cluster prune-config — Deletes configuration files of destroyed clusters.Always ask the user for confirmation before running these commands.
If obd is not installed, download the RPM from the OceanBase mirror: https://mirrors.oceanbase.com/community/stable/el/
bashobd demo
-c to specify components (e.g., oceanbase-ce, obproxy-ce, obagent). For OCP use ocp-ce by default.obd demo -c oceanbase-ce,obproxy-ce| Command | Description | |---------|-------------| | obd cluster deploy <name> -c <config> | Register config and deploy cluster | | obd cluster deploy <name> -i | Interactive deploy (guided config) | | obd cluster start <name> | Start a deployed cluster | | obd cluster stop <name> | Stop a running cluster | | obd cluster restart <name> | Restart a running cluster | | obd cluster list | List all registered clusters | | obd cluster display <name> | Show cluster status | | obd cluster edit-config <name> | Edit cluster configuration | | obd cluster reload <name> | Reload config on running cluster | | obd cluster upgrade <name> -c <component> -V <version> | Upgrade a component | | obd cluster scale_out <name> -c <config> | Scale out a component | | obd cluster component add <name> -c <config> | Add a new component | | obd cluster component del <name> <component> | Delete a component |
See references/config-deployment.md for detailed deployment steps and config file examples.
4.3.5.5).ocp-ce is not in the public mirror by default. Use obd mirror list to verify availability.obshell_port in config to override.Add GUI-based monitoring with OBAgent, Prometheus, and Grafana.
obagent, prometheus, and grafana to config and redeploy/start.prometheus and grafana, configure Prometheus to scrape OBAgent.obd cluster display <name>.grafana and prometheus before obagent (dependency order).See references/monitoring.md for setup details.
| Command | Description | |---------|-------------| | obd mirror list [repo] | List mirrors | | obd mirror update | Update mirrors | | obd mirror clone <rpm> [-f] | Clone RPM to local | | obd mirror create -n <name> -p <path> -V <version> | Create mirror | | obd mirror enable <repo> / disable <repo> | Enable/disable mirror | | obd mirror clean | Clean mirrors |
See references/mirror-management.md for details.
Prepare an OBD-deployed cluster to be managed by OCP CE (or enterprise OCP).
obd cluster check4ocp <name> -V <ocp_version>obd cluster export-to-ocp <name> -a <ocp_address> -u <user> -p <password>See references/ocp-ce.md for complete OCP CE deployment and takeover procedures.
bashobd demo
bashobd cluster deploy my-cluster -c config.yaml obd cluster start my-cluster
bashobd cluster deploy demo-cluster -i
User: "Help me deploy ocp-express." Agent: "ocp-express has been replaced by obshell dashboard. Deploy OceanBase CE directly and access the dashboard on port 2886."
User: "Destroy my-cluster." Agent: "This will destroy 'my-cluster' and all its data. Are you sure?" User: "Yes."
bashobd cluster destroy my-cluster
Other measured skills in the registry, with their headline benchmark lift.