Skip To Content

Create a data store

You can use the ArcGIS Data Store Configuration wizard to create relational and tile cache data stores and join them to an ArcGIS Server site.

If you do not have access to a web browser, or you want to create a spatiotemporal big data store, 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 you want to create a relational data store but your ArcGIS Server site already has a managed database, you can do one of three things before you create a relational 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 to create relational and tile cache data stores

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.

Now you can specify a backup location.

Use the configuredatastore utility

You can use the configuredatastore command utility to create a any type of data store and register it with your ArcGIS Server site, but you must use this utility if you want to create a spatiotemporal big data store or you want to create a tile cache data store without a relational data store. 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, the path to use for the ArcGIS Data Store data directory, and the type of data store you want to create.

    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, the data directory is /home/dsuser/data, and a relational data store will be created.

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

    Note that when you create a relational data store, a tile cache data store is also created, though it is not started until you publish your first hosted scene layer.

    If you want to create more than one type of data store on the same machine, using the same data directory, you can specify the values separated by a comma; however, due to resource contention, this is not recommended. For example, you can create a tile cache and spatiotemporal big data store by specifying tileCache,spatiotemporal with the stores option.

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

Next step

Now, configure a secure location for relational data store backups .