You would uninstall ArcGIS Data Store for any of the following reasons:
- You've moved your data store to another machine and no longer need ArcGIS Data Store installed on the old one.
- You decide you do not want a standby machine in your relational data store or you want to remove one of the machines from your tile cache or spatiotemporal big data store, so you remove the data store machine and uninstall ArcGIS Data Store.
- You had an object store running on its own set of machines, and you upgraded to a version of ArcGIS Data Store that doesn't support the object store.
- You no longer want to use ArcGIS Data Store.
Uninstalling ArcGIS Data Store also unregisters the data store from your GIS Server site. Hosted feature layers that used the data in the data store and caches used by any scene layers you published to your portal will no longer function once you uninstall the 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 following methods 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 executing the commands appropriate for your operating system.
- If your 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 your 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
Run the uninstall_ArcGISDataStore script to uninstall ArcGIS Data Store.
- Log 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 run a silent uninstallation of ArcGIS Data Store, use the following command line syntax:
<ArcGIS Data Store installation directory>/uninstall_ArcGISDataStore -s