Connect Ceph RADOS Gateway (RGW) to FileMigrata
This article explains how to connect on-premises Ceph object storage to FileMigrata, for example to move a bucket to a public cloud.
FileMigrata connects through the RADOS Gateway (RGW), which provides an S3 API. It does not use librados. Use the same HTTPS URL your users enter in s3cmd.
Limitations
- An HTTP-only RGW on the public internet is refused. Put TLS in front of it.
- Swift API users are not S3 users and will not pass Verify.
- RBD block devices and CephFS are not supported. For CephFS, use WebDAV or a gateway.
- Multisite replication is a Ceph feature. FileMigrata copies once from the endpoint you give it.
- Large listings on RGW can be slow. If data is still moving, the job is not stuck.
What is migrated
FileMigrata copies files and objects over the Amazon S3 API or a compatible dialect. It does not copy IMAP mail.
- This store can be a source or a destination.
- Jobs copy by default and leave the source in place. Move, which deletes the source after verification, is optional.
- Only the current version of each file is copied. See Current files only.
- Re-runs skip objects whose hash already matches.
- Data streams through FileMigrata and is not stored. See We never store your files.
Prerequisites
- The RGW base URL (the S3 endpoint), not the Ceph Dashboard address.
- A dedicated RGW user created with
radosgw-admin user create, with keys for one bucket. - A network route from the FileMigrata engines to the RGW URL.
Connection details
| Setting | Value |
|---|---|
| Protocol | S3-compatible |
| Authentication | Access key |
| Endpoint | http://<radosgw-host> (served over TLS) |
| Region | The RGW zonegroup name, or default if none is set |
| Addressing | Path-style (typical) |
Steps
- Create a dedicated RGW user for the migration. Do not reuse the dashboard admin login.
- In FileMigrata, select Ceph or S3 Compatible.
- Turn on path-style addressing and enter the RGW host.
- Click Verify. A 404 on the host means you entered the Grafana or dashboard port; correct it.
A successful Verify means FileMigrata could list the store. It does not mean a multi-terabyte migration will finish by a given date. For a dated cutover, contact sales. Start with one mapping. If a job fails partway, resume it rather than starting a duplicate.
Choosing the root
Each RGW bucket is a root and maps to one destination.
Troubleshooting
- InvalidArgument / InvalidRegion: The zonegroup name does not match. Set the region to the zonegroup name or
default. - Connection timed out: The engine cannot reach RGW. Use a VPN or private link, not localhost.
If something does not match, include the raw vendor error in your support ticket rather than starting a second job.