Skip To Content

Move a data store

In this topic

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:

  1. Install ArcGIS Data Store on the new machine.
  2. Add that machine as a standby to your existing data store.
  3. 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.
    1. Log in to the ArcGIS Server REST API site as the ArcGIS Server administrator.
    2. Go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
  4. 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.

  5. 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.

  1. Remove the existing standby machine from the data store.
  2. Install ArcGIS Data Store on the two new machines.
  3. Add one new machine as a standby to your existing data store.
  4. 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.
    1. Log in to the ArcGIS Server REST API site as the ArcGIS Server administrator.
    2. Go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
  5. 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.

  6. Uninstall ArcGIS Data Store from the machine you removed from the data store.
  7. Add the second machine as a standby to your data store.