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:
- Install ArcGIS Data Store on the new machine.
- Add that machine as a standby to your existing data store.
- 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.
- Log in to the ArcGIS Server REST API site as the ArcGIS Server administrator.
- For relational data stores, go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
- For tile cache data stores, go to data > items > nosqlDatabases > <data store name> > machines > <standby machine name>
- 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.
- 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 the two new machines but do not proceed with configuration yet.
- Remove the existing standby machine from the data store.
- Add one new machine as a standby to your existing data store.
- 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.
- Log in to the ArcGIS Server REST API site as the ArcGIS Server administrator.
- For relational data stores, go to data > items > enterpriseDatabases > <data store name> > machines > <standby machine name> and click makePrimary.
- For tile cache data stores, go to data > items > nosqlDatabases > <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.
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.
- Uninstall ArcGIS Data Store from the machine you removed from the data store.
- Add the second machine as a standby to your data store.