Realm Service Checkpoint Restore
When an ActiveSpaces checkpoint is created for a data grid, the data grid's configuration from the realm service is saved as part of that checkpoint.
The data grid's configuration from the realm service can be found in the following file on any node of the copyset that was first configured for your data grid:
<node_data_dir>/checkpoints/<timestamp>_<epoch>_<counter>_<checkpoint_name>/metadata /realmserver-grid.jsonThe ActiveSpaces administrative command-line tool tibdg is used to restore a data grid's configuration into a realm.
Prerequisites
Procedure
-
Use the following
tibdg command is used to restore the grid configuration from a checkpoint into the primary realm service:
tibdg [-g <grid_name>] -r <realm_service_URL> grid load -rollback \<grid_config_json_file>
For example, tibdg -r http://10.0.1.25:8080 grid load -rollback ./realmserver-grid.json . Remember that in a realm only the primary realm service can accept realm configuration updates. The <realm_service_URL> must be the URL of the primary realm service.
Copyright © Cloud Software Group, Inc. All rights reserved.