agentsclimarketplace

Tenant management

Skill oceanbase/oceanbase-skills/skills/oceanbase-deploy/tenant-management

Manage OceanBase tenants using obd. Create, drop, show, and optimize tenants. Configure backup paths, run backups, and restore from backup. Use when users ask about OceanBase tenants, tenant creation, backup, restore, workload optimization, or multi-tenant management via obd.From its SKILL.md

Install
npx -y skills add oceanbase/oceanbase-skills --skill tenant-management

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.4 KB, as published. Nobody here has run it

OceanBase Tenant Management (obd)

Manage tenants within an OceanBase CE cluster using obd cluster tenant commands.

When to Use This Skill

  • Creating or dropping tenants
  • Viewing tenant information
  • Optimizing tenants for specific workloads
  • Configuring and running backups
  • Restoring tenants from backup

For cluster lifecycle (deploy, start, stop, upgrade): Use cluster-management. For seekdb: Use seekdb. For benchmarks: Use testing-and-benchmark.


Tenant Commands

Create Tenant

obd cluster tenant create <deploy_name> -n <tenant_name> [options]

Drop Tenant

obd cluster tenant drop <deploy_name> -n <tenant_name>

Show Tenants

obd cluster tenant show <deploy_name>

Optimize Tenant

obd cluster tenant optimize <deploy_name> <tenant_name> -o <workload>

Supported workloads: express_oltp, olap, etc.


Backup & Restore

Set Backup Config

obd cluster tenant set-backup-config <deploy_name> <tenant_name> -d  -a <log_uri>

Run Backup

obd cluster tenant backup <deploy_name> <tenant_name>

Restore from Backup

obd cluster tenant restore <deploy_name> <tenant_name>  <log_uri>

See references/backup-restore.md for detailed backup and restore procedures.


Usage Examples

Create a Tenant

obd cluster tenant create test-cluster -n mysql

Configure and Run Backup

obd cluster tenant set-backup-config test-cluster mysql -d file:///backup/data -a file:///backup/log
obd cluster tenant backup test-cluster mysql

Related Skills

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.