You would uninstall ArcGIS Data Store for any of the following reasons:
- You moved the data store to another machine and no longer need ArcGIS Data Store installed on the old one.
- You do not want a standby machine in the relational data store or you want to remove one of the machines from the spatiotemporal big data store, so you remove the data store machine and uninstall ArcGIS Data Store.
- You migrated hosted scene layer caches to the object store and have disabled the tile cache data store. If the tile cache data store was installed on its own machine or set of machines, you can uninstall ArcGIS Data Store from the tile cache data store machines.
Uninstalling ArcGIS Data Store also unregisters the data store from the hosting GIS Server site. Hosted web layers that used the data or caches in the data store will no longer function after you uninstall the ArcGIS Data Store software. However, the data still exists because the data store directory remains on the server after you uninstall ArcGIS Data Store. If you later decide you need the feature layers, you can reinstall ArcGIS Data Store and register the data store with the same GIS Server site.
Use one of the workflows described below to uninstall ArcGIS Data Store from a machine.
Remove daemons before uninstalling ArcGIS Data Store
If you configured ArcGIS Data Store to start with the operating system, you must remove the daemons before you uninstall.
- Connect to the ArcGIS Data Store machine as the root user.
- Remove the daemons by running the commands appropriate for the operating system.
- If the operating system supports systemd, run these commands to remove links in /etc/systemd/system/multi-user.target.wants:
systemctl disable arcgisdatastore.service rm -f /etc/systemd/system/arcgisdatastore.service
- If ArcGIS Data Store is installed on a Red Hat Enterprise Linux Server that supports SysV, run these commands:
chkconfig --del arcgisdatastore rm -f /etc/rc.d/init.d/arcgisdatastore
- If ArcGIS Data Store is installed on a SUSE Linux Enterprise Server that supports SysV, run these commands:
insserv -r arcgisdatastore rm -f /etc/init.d/arcgisdatastore
- If the operating system supports systemd, run these commands to remove links in /etc/systemd/system/multi-user.target.wants:
Now you can proceed with uninstalling ArcGIS Data Store from a machine.
Uninstall using a script
To uninstall ArcGIS Data Store using a script, run the uninstall_ArcGISDataStore script, as described below.
- Sign in to the data store server with the account that installed ArcGIS Data Store.
- Open a command shell and launch the uninstall_ArcGISDataStore script.
This script is in the root of the ArcGIS Data Store installation directory.
The uninstallation interface opens.
- Click Uninstall to proceed.
- When the uninstallation process completes, click Done to exit.
Uninstall silently
To uninstall ArcGIS Data Store without being prompted for input (silently), use the following command line syntax:
<ArcGIS Data Store installation directory>/uninstall_ArcGISDataStore -s