Replication How To
Gratia has the ability to replicate its database contents (actually, the JobUsageRecords)
to another instance of gratia running "out there somewhere".
This service can be found on the gratia-administration dashboard.
Assuming your database is the source, and our database at Fermi is the target:
- You must first determine whether or not the target is running secured by contacting our gratia system administrator.
- You add an entry to our "open" connection e.g. http://fermilab:8080
- You select which probes you want to replicate to our system.
- Press the “update” button to add the entry to your local database.
-
If we at Fermi are running "secured", you must
(1) set the security flag to "secured" and update,
(2) using the "registed" entry, register your server with us.
- You can test the connection by using the "Test" link.
Your server will send a dummy transaction to our machine at Fermi and let you know
whether or not the connection was made. If it reports and error, you should contact
the target gratia administrator for support.
- Finally, start the replication process by using the "Start" link.
Replication should start within a minute or so. You can stop the process with the "Stop" link
(which will also take a minute or so).
From our testing gratia can replicate roughly 2000 records per minute for each active replication entry.