You can move a data store from one machine to another by adding and promoting a standby machine. You might do this if you want the data store to run on a newer, faster, or larger capacity machine.
Note:
If you have hosted scene layers, do not move the data store; scene layer caches cannot be rebuilt on the new machine.
Move a single machine data store
If only one machine participates in your data store, do the following to migrate your data store to a new machine:
- Install ArcGIS Data Store on the new machine.
- Add that machine as a standby to your existing data store.
- Once all feature layer data from the primary machine has been replicated to the standby machine, use the makePrimary command in the ArcGIS Server REST API to promote the standby to be the primary machine.
- Log in to the ArcGIS Server REST API site as the ArcGIS Server administrator.
- Go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
- Once the new primary machine is online, the old primary will become a standby machine. Use the remove command in the ArcGIS Server REST API
to remove the old primary from the data store.
Go to data > items > enterpriseDatabases > <data store name> > machines > <old primary machine name> and click remove.
- Uninstall ArcGIS Data Store from the machine you removed from the data store.
Move a two-machine data store
If your data store contains a primary and standby machine and you want to replace both machines, do the following: install ArcGIS Data Store on a new primary machine, stop both the primary and standby machines, restore the data store to the new machine, install ArcGIS Data Store on a new standby machine, add the standby to the data store, and uninstall ArcGIS Data Store from the old primary and standby machines. If you want to register the data store with a new ArcGIS Server site, be sure to specify --bound false when you restore the data store.
- Remove the existing standby machine from the data store.
- Install ArcGIS Data Store on the two new machines.
- Add one new machine as a standby to your existing data store.
- Once all feature layer data from the primary machine has been replicated to the standby machine, use the makePrimary command in the ArcGIS Server REST API to promote the standby to be the primary machine.
- Log in to the ArcGIS Server REST API site as the ArcGIS Server administrator.
- Go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
- Once the new primary machine is online, the old primary will become a standby machine. Use the remove command in the ArcGIS Server REST API
to remove the old primary from the data store.
Go to data > items > enterpriseDatabases > <data store name> > machines > <old primary machine name> and click remove.
- Uninstall ArcGIS Data Store from the machine you removed from the data store.
- Add the second machine as a standby to your data store.