Skip To Content

Move a relational or tile cache data store

You can move a relational or tile cache 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.

Move a single machine data store

If only one machine participates in your data store, do the following to migrate it 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 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. For relational data stores, go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
    3. For tile cache data stores, go to data > items > nosqlDatabases > <data store name> > machines > <standby machine name>
  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.

    For relational data stores, go to data > items > enterpriseDatabases > <data store name> > machines > <old primary machine name> and click remove.

    For tile cache data stores, go to data > items > nosqlDatabases > <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:

  1. Install ArcGIS Data Store on the two new machines but do not proceed with configuration yet.
  2. Remove the existing standby machine from the data store.
  3. Add one new machine as a standby to your existing data store.
  4. Once all feature layer or tile cache 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. For relational data stores, go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
    3. For tile cache data stores, go to data > items > nosqlDatabases > <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.

    For relational data stores, go to data > items > enterpriseDatabases > <data store name> > machines > <old primary machine name> and click remove.

    For tile cache data stores, go to data > items > nosqlDatabases > <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.