Realm Server Checkpoint Restore
When an ActiveSpaces checkpoint is created for a data grid, the data grid's configuration from the realm server is saved as part of that checkpoint.
The data grid's configuration from the realm server 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 server:
tibdg [-g <grid_name>] -r <realm_server_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 server can accept realm configuration updates. The <realm_server_URL> must be the URL of the primary realm server.
Copyright © Cloud Software Group, Inc. All rights reserved.