Skip To Content

Create an ArcGIS Data Store

In this topic

You can use the ArcGIS Data Store Configuration wizard to create a data store and join it to your ArcGIS Server site.

Or, if you do not have access to a web browser, run the configuredatastore utility on the machine where you installed ArcGIS Data Store.

Note:

An ArcGIS Server site can have only one managed database. If your ArcGIS Server site already has a managed database, you can do one of three things before you create a data store:

  • Remove the managed database and re-add it as a registered database. If you do this, your existing hosted feature layers still function. Once you join ArcGIS Data Store to your ArcGIS Server site, data for newly published hosted feature layers and 3D scene layer caches will be stored in the data store. This is the simplest and recommended method.
  • Remove the managed database. Only do this if you no longer need the existing hosted feature layers, as they cease to function if you remove the managed database and don't add it as a registered database.
  • If you cannot keep your existing managed database, export your existing hosted feature layer data, delete existing hosted feature layers, remove the managed database, join ArcGIS Data Store to your ArcGIS Server site, and republish the exported data. See Migrate to ArcGIS Data Store for more information.

Use the Data Store Configuration wizard

If you run the installation wizard, the Data Store Configuration wizard automatically opens in your default web browser. Alternatively, you can open the wizard from the computer's shortcut menu.

  1. Specify the URL of the ArcGIS Server site for which you want to create and register the data store.

    The URL is in the format https://gisserver.domain.com:6443. Note that even if your ArcGIS Server site uses a web adaptor, provide the URL in the aforementioned format.

  2. Type the user name and password of an ArcGIS Server administrator, and click Next.

    The user must be a built-in user (not an enterprise user).

  3. Type a location for the data store's directory.

    This directory contains the data store files, plus the backup directory.

    Note:

    You cannot use a UNC path when specifying the data store file directory. Keep data store files on the same machine where you install ArcGIS Data Store. However, the backup directory contains the data store backup files necessary to recover hosted feature layer data. After you finish configuring your data store, move the backup directory to a mapped network drive on a machine separate from the one you specified for the installation and data store directories. You can use a UNC path when you change backup directories. See Manage data store backups for more information.

  4. Click Next.
  5. Review the information in the Configuration Summary. If it is correct, click Finish. If changes are needed, click Back to make corrections.

    Note that the first data store you register with an ArcGIS Server site is the primary machine. If you add another data store to the same ArcGIS Server site, it will be a standby machine.

    When the setup completes successfully, you have a primary data store machine, which is used by your ArcGIS Server site to store data for the hosted feature layers and caches for the 3D scene layers you publish to your portal.

    If there were errors with the setup, click Next on the Configuration Summary dialog box to reopen the Data Store Configuration wizard so you can provide different information. See Troubleshoot ArcGIS Data Store for causes and resolutions for setup errors.

  6. Restart ArcGIS Data Store by running stopdatastore.sh and startdatastore.sh in the arcgis/datastore directory.

Now you can specify a backup location.

Use the configuredatastore utility

You can use the configuredatastore command utility to create a data store and register it with your ArcGIS Server site. The utility is installed in <ArcGIS Data Store installation directory>\arcgis\datastore\tools.

  1. Open a command shell.
  2. Run the configuredatastore.sh file and specify the ArcGIS Server URL with which you want to register the data store, the user name and password of an ArcGIS Server administrator, and the path to use for the ArcGIS Data Store data directory.

    In this example, the ArcGIS Server URL is https://myserver.domain.com:6443/arcgis/admin, the administrator user name and password are siteadmin and T1n@sp, and the data directory is /home/dsuser/data.

    /configuredatastore https://myserver.domain.com:6443/arcgis/admin siteadmin T1n@sp /home/dsuser/data

    The primary data store machine is created and registered with your ArcGIS Server site.

  3. Restart ArcGIS Data Store by running stopdatastore.sh and startdatastore.sh in the arcgis/datastore directory.

Next step

Now, configure a secure location for hosted feature layer data backups .