Skip To Content

Move a data store

You can move a data store from one machine to another by adding a machine to the data store. 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 relational, tile cache (primary-standby mode), or spatiotemporal big 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 to your existing data store.
  3. The next step varies depending on the type of data store you're moving.
  4. For a relational or tile cache data store, promote the new standby machine to be the primary machine. The old primary machine will become the standby machine. You can then remove the standby machine from the data store.
    1. Once all data from the primary machine has been replicated to the standby machine, sign in to the ArcGIS Server REST API site for the hosting server as the ArcGIS Server administrator.
    2. Go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary. This promotes the standby machine you just added to act as the primary machine.
    3. Once the new primary machine is online, the old primary will become a standby machine. Use the ArcGIS Server REST API remove command to remove the old primary machine from the data store. Go to data > items > enterpriseDatabases > <data store name> > machines > <old primary machine name> and click remove.
  5. For a spatiotemporal big data store, wait until all data has replicated from the old machine to the new machine. Once that completes, remove the old machine from the data store.
    1. Open a command window on one of the spatiotemporal big data store machines.
    2. Run the removemachine utility to remove the old machine from the data store.
  6. Access the hosted web layers in your portal to ensure they still function properly.
  7. Uninstall ArcGIS Data Store from the machine you removed from the data store.

Move a two-machine relational or tile cache data store

If your relational data store or tile cache data store running in primary-standby mode 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 relational 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 site to promote the standby to be the primary machine.
    1. Sign in to the ArcGIS Server Server REST API site for the hosting server 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 site to remove this standby machine (the old primary machine) from the data store.

    Go to data > items > enterpriseDatabases > <data store name> > machines > <old primary machine name> and click remove.

  6. Access the hosted feature layers in your portal to ensure they still function properly.
  7. Uninstall ArcGIS Data Store from the machine you removed from the data store.
  8. Add the second machine as a standby to your data store.

Move machines in a multimachine spatiotemporal big data store

To replace more than one machine in a multimachine spatiotemporal big data store, add a new machine for each machine you want to replace. Once the spatiotemporal big data store finishes replicating data to the new machines, remove the machines you want to retire, one at a time.

Note:
You must wait for the spatiotemporal big data store to rebalance content across the machines before you remove the next machine.