You can register data directories and databases with an ArcGIS Server site from ArcGIS Pro, ArcCatalog, or the Catalog window in ArcMap. Data registration provides the server with a list of locations for your web services' source data. Data registration helps you validate that your services will reference data locations known and approved by the server administrator.
Registering your data directories does not grant the ArcGIS Server account permissions to access your data. You need to give the ArcGIS Server account at least read permissions to any folder that you register. If you register a database (including enterprise or workgroup geodatabases), the type of permissions you need to grant depends on what type of database and authentication method you use to connect. See Make your data accessible to ArcGIS Server to learn more about the scenarios where you need to apply permissions.
Tip:
For more information on what is required to register a database, see the topic specific to your database management system in the list below. Note that if the database does not contain a geodatabase, it cannot be registered as a GIS Server site's managed database.
- Register an ALTIBASE hybrid database with ArcGIS Server
- Register a Dameng database with ArcGIS Server
- Register a Db2 database with ArcGIS Server
- Register a Netezza database with ArcGIS Server
- Register an Oracle database with ArcGIS Server
- Register a PostgreSQL database with ArcGIS Server
- Register an SAP HANA database with ArcGIS Server
- Register a SQL Server database with ArcGIS Server
- Register a Teradata database with ArcGIS Server
Follow the steps in the sections below based on what you want to register with the ArcGIS Server site.
Register a database
You can register databases that contain enterprise or workgroup geodatabases and databases that do not. See About registering your data with ArcGIS Server for information on which registration scenarios you can use for each.
Register a database from ArcGIS Pro
Use the Manage registered data stores pane to register databases and enterprise geodatabases from ArcGIS Pro. See Manage registered data stores in the ArcGIS Pro help for instructions.
Register a database from ArcMap or ArcCatalog
To register the database and allow services to reference your data, follow these steps. For file geodatabases, use the option described in the subsequent section titled Register a folder.
- Confirm that the 64-bit version of the database's client software is installed on each ArcGIS Server machine in the site before registration.
- Right-click your administrative or publisher GIS Server connection in the Catalog tree and choose Server Properties.
- Click the Data Store tab of the ArcGIS Server Properties window.
- Next to the Registered Databases dialog box, click the Add button.
- Provide a unique name for the registered database. Names can be alphanumeric and can contain spaces.
- Specify the database connection for the publisher.
- If you've already configured a connection to the publisher's database, click Import to select a connection file (.sde or .odc only). The default location is C:\Users\<user name>\AppData\Roaming\ESRI\Desktop<version number>\ArcCatalog.
- If you need to create a connection to the database, click Add next to the Publisher database connection section to specify the publisher's connection type, properties, and authentication mode. If you need help adding a connection, see Database connections in ArcMap.
- Depending on how you've set up your data sources to work with ArcGIS, choose one of the following scenarios:
- If the publisher's machine and the server are working with the same database, click the Same as publisher database connection check box. This specifies the publisher's machine, and ArcGIS Server will view and access data residing in the same database. To learn more about this scenario, see About registering your data withArcGIS Server.
- If the publisher's machine and the server are working with different databases, click Add next to the Server database connection section to specify the publisher's connection type, properties, and authentication mode. If you've already set up a connection to the server's database, click Import to select a connection file.
- If you're using an enterprise or workgroup geodatabase for both the publisher and server databases, you can optionally click the Create geodata service check box. When you choose this option, a geodata service is automatically created for the server's enterprise geodatabase. You can use this geodata service to send a replica of the data from the publisher's enterprise geodatabase to the server's enterprise geodatabase (thereby populating the server's database) and later use it to synchronize changes between both databases. To learn more about this scenario, see About registering your data with ArcGIS Server.
- Click OK. The database (or databases) you registered appear on the Registered Databases dialog box.
Register a folder
You can register a local file directory or shared directory that contains GIS resources and data, such as shapefiles and file geodatabases. When you register a directory, all subdirectories under the folder you specify are also registered with the ArcGIS Server site.
Register a folder from ArcGIS Pro
Use the Manage registered data stores pane to register a folder from ArcGIS Pro. See Manage registered data stores in the ArcGIS Pro help for instructions.
Register a folder from ArcMap or ArcCatalog
Follow these steps to register a folder from the Catalog tree in ArcMap or ArcCatalog to allow services to reference the data in the folder and its subfolders:
- Next to the Registered Folders dialog box, click the Add button.
- Provide a unique name for the registered folder. Names can be alphanumeric and can contain spaces.
- Next to the Publisher folder path section, click Add to specify the path to the publisher's folder.
- Depending on how you've set up your data sources to work with ArcGIS, you'll need to choose one of the following scenarios:
- If the publisher's machine and the server are working out of the same folder, click the Same as publisher folder path check box. This specifies the publisher's machine and ArcGIS Server will view and access data residing in the same folder. To learn more about this scenario, see About registering your data with ArcGIS Server.
- If the publisher's machine and the server are working out of different folders, click Add next to the Server folder path section to specify the path to the server's folder. To learn more about this scenario, see About registering your data with ArcGIS Server.
- Click OK.
The folder or folders you registered appear on the Registered Folders dialog box.
Register a GIS Server site's managed database
Using the tools on the Data Store tab, you can register an enterprise geodatabase as a GIS Server site's managed database. You must explicitly create this database before you can register it. To learn more about managed databases and scenarios for using one, see Copying data to the server automatically when publishing.
Follow these steps to register a managed database with a GIS Server site, which allows ArcGIS Server to copy feature service data to the managed database and automatically remap paths:
- Next to the Registered Databases dialog box, click the drop-down arrow next to the Add button and select Register Database as ArcGIS Server's Managed Database.
- Provide a unique name for the geodatabase connection. Names can be alphanumeric and can contain spaces.
- Next to the Server database connection section, click Add to specify the connection to the managed database. If you've already set up a connection to the database, click Import to select a connection file (.sde). If you need help with adding a database connection, see Database connections in ArcGIS Desktop.
- Click OK.
The managed database is registered to the GIS Server site and appears on the Registered Databases dialog box.
Update password for registered or managed database
Database passwords, like other software and system passwords, are frequently changed for security reasons. If the password saved in the database connection file (.sde) that you registered with your ArcGIS Server site changes, create a new database connection file containing the new password, and edit the existing data store registration to point to the new file. This updates the registration for all services except search, stream, Workflow Manager services and geoprocessing services published prior to ArcGIS 10.4.
- Start ArcMap or ArcCatalog.
- Right-click your administrative or publisher GIS Server connection in the Catalog tree and choose Server Properties.
- Choose the registered or managed database from the list of Registered Databases and click the Properties button.
Note that you cannot edit the connection for an ArcGIS Data Store managed database. To update a password for ArcGIS Data Store, use the changepassword utility.
- Click Edit next to the Publisher database connection to change the password for this connection.
- Type the new password for the connection and click OK.
- If a different connection is used for the Server database connection, click Edit next to this connection, type the new password, and click OK.
- Click OK to save changes to your registered or managed database connection.
- Restart the services that were published from the registered database, or restart the feature services published to the managed database.
- Restart any geoprocessing services published from ArcGIS Server 10.4 or later. Geoprocessing services published from previous releases of ArcGIS Server must be republished to use the new password.
Services published from the registered database or feature services published to the managed database can access data again.
You must republish search, stream, and Workflow Manager services, and any geoprocessing service published to an ArcGIS Server 10.3.1 and earlier release to update the password.