Install ArcGIS Data Store
You can install ArcGIS Data Store using an using an interface or run the installation file from the command line. Specify the type or types of data store to install on each machine.
Note:
Each type of ArcGIS Data Store can use either relatively little or significant amounts of resources depending on the number of users and workloads that it supports in the system. It is imperative to ensure that the machines have sufficient resources for all software, data, and network traffic that they are expected to consume; otherwise, resource issues could result in inoperable data stores.
Apply good judgement in decisions around whether or not to collocate multiple data stores or ArcGIS Server sites on the same infrastructure with this in mind, and monitor system performance. If you are in doubt, a conservative approach that preserves flexibility and minimizes impact to other parts of the system is to install and run each data store type on separate machines.
The license that you purchase for ArcGIS Knowledge Server dictates the core capacity of the machines where you install the graph store. See the product sales update for ArcGIS Knowledge Server for more information.
Complete the steps to Prepare to install ArcGIS Data Store, and then install ArcGIS Data Store.
Note:
You cannot alter which ArcGIS Data Store types are installed on the machine. That means you cannot add another type later, but it also means you cannot uninstall an ArcGIS Data Store type if you decide you do not need it.
Prepare to install ArcGIS Data Store
Complete these steps before you install ArcGIS Data Store:
Verify that your server meets the minimum system requirements for ArcGIS Data Store and read Considerations before creating a data store.
Modify the firewall of the data store server to allow communication on ports needed for the type of data store you will create.
If the firewall on the data store server blocks communication through these ports, the GIS Server site can't connect to the data store.
Download the ArcGIS Data Store setup package from My Esri and extract it to a directory on the server where you will install ArcGIS Data Store.
Before beginning the installation, read the license agreement located at
<CD_ROOT or untar directory>/Documentation/EULA.pdf.
Use an installation interface
For an interactive ArcGIS Data Store installation experience, complete the following steps:
Sign in to the server as a user with administrative privileges.
You cannot install ArcGIS Data Store as a root user.
Run the setup program from the ArcGIS Data Store download folder or setup media.
The setup program begins by checking the prerequisites that must be met to set up and use ArcGIS Data Store. If your system does not meet the prerequisites, follow the instructions on the dialog box to correct any issues.
If all prerequisites are met, the Introduction dialog box appears.
Click Next on the Introduction dialog box to proceed.
On the Master Agreement dialog box, read the license agreement, and do one of the following:
If you accept the terms, click I accept the master agreement, and click Next to proceed.
If you do not accept the terms, close the Master Agreement dialog box by clicking Cancel.
Choose the type of data store to install on this machine and click Next.
It is recommended that you install data store types on separate machines to avoid resource contention between data stores. This is especially important in the case of spatiotemporal big data stores and graph stores. Do not install these data stores on the same machine as other data stores or ArcGIS Enterprise components.
On the Choose Install Folder dialog box, specify the installation location, and click Next to continue.
Review the summary information, and click Install to begin the installation.
When completed, click Done to close the interface.
Follow the postinstallation instructions below to configure ArcGIS Data Store to start with the operating system.
Create a Microsoft Windows account to be used for the ArcGIS Data Store account.
It is recommended that you use a domain account, so you may need to request this from your IT department. If you choose to use a local Windows account, the installation interface can create the account for you, but it will not work if you have more than one machine that runs ArcGIS Data Store.
Download the ArcGIS Data Store setup packages from My Esri.
Note:
There are two ArcGIS Data Store self-extracting files—
ArcGIS_DataStore_Windows_<version>_<productID>.exeandArcGIS_DataStore_Windows_<version>_<productID>.exe.001. Download both files.To extract the setup files, double-click the
ArcGIS_DataStore_Windows_<version>_<productID>.exesetup package and specify a folder on the server where you will install ArcGIS Data Store.Note:
The
ArcGIS_DataStore_Windows_<version>_<productID>.exeandArcGIS_DataStore_Windows_<version>_<productID>.exe.001files must be in the same folder when you extract their contents.Before you begin the installation, read the End User License Agreement (EULA), which is included as a PDF in the
\Documentationfolder of the ArcGIS Data Store download.
Run the ArcGIS Data Store installation
For an interactive installation experience, follow the steps below:
Double-click the
Setup.exefile to run the ArcGIS Data Store installation.The interface prompts you to provide a location for the installation directory. The installation directory contains the ArcGIS Data Store application files.
Choose the type of data store to install on this machine.
If a data store type is already installed on this machine, that option will be disabled.
Specify a location on the local machine where you want the data store files to be stored.
Provide credentials for the ArcGIS Data Store account you created in the preparation steps, or allow the installer to create a local account.
You must provide a login and password for a Windows domain or local account.
If you use a local Windows account, you cannot define a shared backup location until you change to a domain account.
If you allow the installer to create a local account, the password you provide must adhere to your operating system's local security policy. Read the Microsoft documentation for instructions to determine the password requirements of your Windows machine.
After installation, you can run the
configureserviceaccountutility to change the ArcGIS Data Store account if needed.
The Data Store configuration app opens when the installation completes. Use the configuration app to create a relational store, object store, spatiotemporal big data store, or graph store and register it with the GIS Server site you will use as the hosting server.
Run from a terminal
To install ArcGIS Data Store from a command prompt, complete the following steps:
Sign in to your machine as a user with administrative privileges.
You cannot install ArcGIS Data Store as a root user.
Run the setup silently at the prompt.
See the following sample syntax:
<CD_ROOT or untar directory>/Setup -m silent -l yes -d /software/datastore -f RelationalCommand line options include the following:
Option
Description
-m MODEor--mode MODEOptional.
MODE is one of the following:
silentorgui. The default value isgui.-l CHOICEor--license-agreement CHOICERequired for silent mode.
CHOICEcan beyesorno.Yesindicates that you have read and agreed to the Esri Master Agreement (E204, E300). Read the agreement at https://www.esri.com/legal/licensing-translations.-d DIRECTORYor--directory DIRECTORYOptional. By default, ArcGIS Data Store is installed in the user's
$HOMEdirectory. To use a different directory, specify it with the-dor--directoryoption.The path
/arcgis/datastorewill be appended to the installation directory.-f CHOICEor-features CHOICEOptional. This option specifies the type of data store that will be installed on the machine. The default value is
Relational,Object.CHOICEcan be one of the following:GraphObjectRelationalSpatiotemporalComplete
Although you can specify more than one choice separated by commas or use
Completeto install all data store types, It is recommended that you install each data store type on separate machines to avoid resource contention between data stores. This is especially important in the case of spatiotemporal big data stores and graph stores. Do not install these data stores on the same machine as other data stores or ArcGIS Enterprise components.-vor--verboseInstaller runs in verbose mode.
-hor--helpDisplays command line help and exits.
-eor--examplesDisplays usage examples of these options and exits.
Follow the postinstallation instructions below to configure ArcGIS Data Store to start with the operating system.
Postinstallation configuration
If you want ArcGIS Data Store to start with the operating system, complete the steps specific to your operating system below.
Operating systems that support systemd
If your operating system supports the use of systemd to bootstrap and manage processes, complete the following steps to configure ArcGIS Data Store to start with the operating system:
Within a command shell, switch to root user.
Copy
<ArcGIS Data Store installation directory>/framework/etc/scripts/arcgisdatastore.serviceto/etc/systemd/system, and update the permissions of/etc/systemd/system/arcgisdatastore.servicefrom 700 to 600.If you configure a spatiotemporal big data store on the machine, edit the
arcgisdatastore.servicefile to add comment marks (#) to the relational store parameter and remove the comment marks from the spatiotemporal big data store parameters as follows:/# Configuration for relational data store /# LimitNOFILE=65535 /# LimitNPROC=25059 /# Configuration for spatiotemporal big data store LimitNOFILE=65536 LimitNPROC=25059 LimitAS=infinity LimitFSIZE=infinityNo edits are needed for machines running any of the other ArcGIS Data Store types.
Still as the root user, run the following command to automatically create the links in
/etc/systemd/system/multi-user.target.wants:$ systemctl enable arcgisdatastore.serviceTo verify that the systemd service is properly configured, restart the service and check its status as follows:
$ systemctl stop arcgisdatastore.service $ systemctl start arcgisdatastore.service $ systemctl status arcgisdatastore.serviceEnd the root user session.
Reboot the operating system and verify that ArcGIS Data Store restarts properly.
Note:
If you install ArcGIS Data Store on a Linux machine that includes systemd v228 or a later version, you may need to enable and raise the systemd limit to 512 maximum threads if the data store machine is heavily used. (For example, SUSE Linux Enterprise Server (SLES) 12 SP2 includes systemd v228.) Setting systemd to a maximum of 512 threads can prevent any single service from spawning too many threads and consuming all server resources.
To enable and raise the limit, as the root user, uncomment and edit the following line in the arcgisdatastore.service unit file before deploying it to the /etc/systemd/system directory:
# TasksMax=512
Operating systems that support SysV
If your operating system supports the use of SysV to bootstrap and manage processes, complete the following steps to configure ArcGIS Data Store to start with the operating system:
Within a command shell, switch to root user.
Copy the
<ArcGIS Data Store installation directory>/framework/etc/scripts/arcgisdatastoreshell script to the appropriate supported Linux distribution-based locations provided below:RHEL Server:
/etc/rc.d/init.d/SLES:
/etc/init.d/
Change the directory to the applicable
init.dfolder, and review thearcgisdatastorescript to ensure that root has at least read and execute permissions.Edit the
arcgisdatastorescript as follows:Update the
datastorehomevariable to the ArcGIS Data Store installation directory, for example,/home/username/arcgis/datastore.For RHEL Server only, add the following line just before
# Description: ArcGIS Data Store Service:# chkconfig: 35 99 01Save the edits to the
arcgisdatastorescript.
Still as root user, run the following command to automatically create the links in
/etc/rc*.dwith the appropriate run levels:RHEL Server:
$ chkconfig --add arcgisdatastore $ chkconfig arcgisdatastore onSLES:
$ insserv arcgisdatastore $ chkconfig arcgisdatastore on
End the root user session.
Reboot the operating system and verify that ArcGIS Data Store restarts properly.
Install from a command prompt
Instead of using an interface, you can call the installation file from a command prompt and provide the necessary information to install ArcGIS Data Store by following the steps below:
Open a command prompt using the Run As Administrator option.
Run the ArcGIS Data Store setup from the command line.
The syntax to run the setup file from the command line is as follows:
<path to ArcGIS Data Store setup>\Setup.exe /qb ACCEPTEULA=<yes | no> {ADDLOCAL=<graph | object | relational | spatiotemporal | ALL} {MSA=<true | false>} {INSTALLDIR=<directory>} USER_NAME=<account login> PASSWORD=<account password>Option
Description
/qbThe
/qboption is not required, but it allows you to run the setup without prompts (also called a silent installation). Use this if you script the installation.ACCEPTEULAThe
ACCEPTEULAoption is required to accept the End User License Agreement during a silent installation. Specify yes to agree to the End User License Agreement and install the software. Specifying no or omitting this property will result in a failed installation.ADDLOCALUse the
ADDLOCALoption to specify the type of data store to install on this machine.If you do not specify the
ADDLOCALoption, it defaults torelational,object.You can specify more than one choice separated by commas to install all data store types. However, if you install multiple data store types on the same machine, it is imperative to ensure that there are enough machine resources to support all intended workloads concurrently. In the case of the spatiotemporal big data store and graph store, do not install these data stores on the same machine as other data stores or ArcGIS Enterprise components.
INSTALLDIRThe first time you install ArcGIS Data Store on a machine, you can specify an installation directory for the data store using the
INSTALLDIRoption. If you do not specify a directory the first time you install ArcGIS Data Store on a machine, the default location ofC:\Program Files\ArcGIS\DataStoreis used.MSATo use a group managed service account for the ArcGIS Data Store account, specify the
MSAoption and set it totrue. If you do not specify theMSAoption, it defaults tofalse.A managed service account must already exist on your domain if you set the
MSAoption totrue. Do not use theMSAoption with a local account or a domain account that requires a password.USER_NAMEUse the
USER_NAMEoption to specify the login to be used for the ArcGIS Data Store account.If you set the
MSAoption totrue, use theUSER_NAMEoption to specify the group managed service account.If you did not specify the
MSAoption or you set it tofalse, use theUSER_NAMEoption to specify the local or network Windows login to use for the ArcGIS Data Store account.For domain accounts (which include group managed service accounts and Windows network logins), provide the domain and account name; for example, for Windows account myaccount on domain mydomain, specify
mydomain\myaccountwith theUSER_NAMEoption.PASSWORDUse the
PASSWORDoption to specify the password of the local or network Windows login that you provided for theUSER_NAMEoption.Do not use the
PASSWORDoption if you provided a group managed service account for theUSER_NAMEoption.In the following example, a domain account is specified when installing ArcGIS Data Store, the relational store files are installed, and the silent option (
/qb) is specified to avoid prompts:<path to ArcGIS Data Store setup>\Setup.exe /qb ACCEPTEULA=yes ADDLOCAL=relational INSTALLDIR=c:\arcgisdatastore USER_NAME=mydomain\mylogin PASSWORD=D0mayneAcc0untPwIn this example, a group-managed service account is used and the files for a spatiotemporal big data store are installed:
<path to ArcGIS Data Store setup>\Setup.exe /qb ACCEPTEULA=yes ADDLOCAL=spatiotemporal MSA=TRUE INSTALLDIR=c:\arcgisdatastore USER_NAME=mydomain\managedserviceaccountCaution:
If you do not specify the ArcGIS Data Store account during a silent (
/qb) installation, or you provide invalid credentials, the setup displays a warning message during installation. The message can be closed by clicking OK. Under these circumstances, the ArcGIS Data Store account is set to the Windows LocalSystem account.
Next step
After you install ArcGIS Data Store, create the data store type (or types) that you installed.