Skip To Content

Upgrade ArcGIS Data Store

ArcGIS Data Store 注册到您设置为 ArcGIS Enterprise 部署的托管服务器的 GIS Server 站点。必须将此系统中的所有组件升级到同一版本。

准备升级 ArcGIS Data Store

升级之前,应仔细考虑下列问题。

  • 升级到 10.6.1 之前,您必须首先从 My Esri 获取新的授权文件。
  • 运行 10.6.1 安装程序会自动将 ArcGIS Data Store 升级到 10.6.1。无需按序获取并安装之前的每个发行版本。不要卸载 ArcGIS Data Store 的之前版本。
  • 为了让 ArcGIS Enterprise 门户正常运行,它必须与托管服务器为相同版本。此外,您必须重新安装 Web Adaptor 实例,以使其版本与 ArcGIS Server 相同。
  • 如果您要从 10.4 版本升级并要将来自联合 ArcGIS GeoEvent Server 站点的流式观测数据存档到您的时空大数据存储,则您必须将 ArcGIS 10.4 GeoEvent Extension Patch 1 应用到您的 ArcGIS GeoEvent Server应用修补程序后,请按照说明修复数据,然后继续升级您的 ArcGIS Enterprise 部署组件。
  • 如果您要使用联合 ArcGIS GeoEvent Server 站点,请先停止所有计算机上的 ArcGIS GeoEvent Server 服务,然后再升级 ArcGIS Server
  • 您必须按以下顺序升级:
    1. 升级 Portal for ArcGIS
    2. 升级 ArcGIS Web Adaptor(对于门户)
    3. 升级 ArcGIS Server 站点。在升级 ArcGIS Server 之前,必须升级托管服务器和其他所有联合的 ArcGIS Data Store 站点(如果存在)。
    4. 升级 ArcGIS Web Adaptor(对于 ArcGIS Server
    5. 升级 ArcGIS Data Store
    6. 安装新版本的 ArcGIS GeoEvent Server 软件
  • 创建数据存储的备份。创建备份的方式取决于从何种 ArcGIS Data Store 版本进行升级以及正在升级的数据存储类型。
    • 如果是从 10.5 或更高版本进行升级,请使用 backupdatastore 实用程序创建每个数据存储的完整备份。如果升级过程出错,而您需要恢复到之前的安装,可以重新安装 ArcGIS Data Store 软件的旧版本,并使用这些备份文件和 restoredatastore 实用程序恢复数据。
    • 如果是在升级 10.4.1 或之前版本的切片缓存数据存储,请使用 exportmanageddb 实用程序创建切片缓存数据存储的备份副本。如果升级过程出错,而您需要恢复到之前的安装,可以重新安装 ArcGIS Data Store 软件的旧版本,并使用 importmanagedb 实用程序来导入导出的文件。
    • 如果是在升级 10.4 或 10.4.1 时空大数据存储,请在时空大数据存储的每台计算机上创建内容目录的备份副本。如果升级过程出错,而您需要恢复到之前的安装,可以重新安装 ArcGIS Data Store 软件的旧版本,使用目录的备份副本替换每台计算机上的内容目录。
  • 如果从 10.3 或 10.3.1 升级,则需要将 ArcGIS Data Store 内容目录的完全控制权限授予 ArcGIS Data Store 帐户。如果从 10.4 或更高版本升级,则已经设置了权限。

高可用性数据存储

升级数据存储类型的顺序无关紧要,但是在高可用性数据存储中升级每台计算机的顺序非常重要。升级高可用性关系或切片缓存数据存储时,必须先在主计算机和备用计算机上安装 ArcGIS Data Store 的新版本,然后才能从主计算机上运行数据存储配置向导或 configuredatastore 实用程序来配置两台计算机。这会同时配置主计算机和备用计算机。

如果您的时空大数据存储包含多台计算机,请在所有计算机上安装 ArcGIS Data Store 的新版本。然后,以管理员身份登录其中一台计算机,并运行数据存储配置向导或 configuredatastore 实用程序配置时空大数据存储中的所有计算机。这会配置时空大数据存储中的所有计算机。

注:

在所有计算机的时空大数据存储升级完成前,请勿运行创建托管要素图层的 GeoAnalytics 工具 和为 ArcGIS GeoEvent Server 创建新的存档服务。要确保在时空大数据存储升级时无人运行 GeoAnalytics 工具,您可以 ArcGIS Server 管理员身份登录至 ArcGIS Server Manager 并停止 GeoAnalyticsTools 系统服务。

Steps to upgrade ArcGIS Data Store

具有安装文件和备份文件,并已升级所有所需 ArcGIS Server 站点后,完成针对每种类型数据存储的升级步骤。注册到同一 ArcGIS Server 站点的所有数据存储必须运行相同的 ArcGIS Data Store 版本。升级 ArcGIS Data Store 时,请牢记以下内容:

  • 在重新配置数据存储之前,务必在数据存储的所有计算机上安装 ArcGIS Data Store
  • 开始安装新版本之前,不要卸载 ArcGIS Data Store
  • 如果关系或切片缓存数据存储中具有主计算机和备用计算机,请在主计算机和备用计算机上安装 ArcGIS Data Store 的新版本,然后从主计算机重新配置数据存储。这会同时重新配置备用计算机。
  • 如果有使用 ArcGIS Server 站点配置的多个时空大数据存储,请在每台时空大数据存储计算机上安装 ArcGIS Data Store 的新版本。

You can upgrade using an interactive wizard-driven experience by launching the Setup.exe program, or run Setup.exe to install the software only and run the configuredatastore utility from a command prompt or script to silently upgrade ArcGIS Data Store. No matter which method you use, the Setup.exe installation file detects and updates the existing installation of ArcGIS Data Store.

注:

Upgrading ArcGIS Data Store restarts the ArcGIS Data Store service.

Upgrade using an interactive wizard-driven experience

Install ArcGIS Data Store on every machine in the data stores that are configured with the same GIS Server site. Do not uninstall the existing ArcGIS Data Store installation.

  1. Run the backupdatastore utility to create a full backup or snapshot of each of your data stores. Be sure your backup files are stored in a remote, secure location.
  2. Download the latest ArcGIS Data Store, Portal for ArcGIS, ArcGIS Server, and ArcGIS Web Adaptor software installation files from My Esri.
  3. You must upgrade ArcGIS Server and its ArcGIS Web Adaptor on your hosting server before upgrading ArcGIS Data Store. See Upgrade ArcGIS Server in the ArcGIS Server installation guide for instructions. If you have federated ArcGIS GeoEvent Server or ArcGIS GeoAnalytics Server sites, upgrade them as well.

    提示:

    You can upgrade Portal for ArcGIS before or after upgrading ArcGIS Server and ArcGIS Data Store; just be sure all components of your ArcGIS Enterprise deployment are upgraded to the same release before you begin using it.

  4. If you are using a spatiotemporal big data store with ArcGIS GeoEvent Server, sign in to ArcGIS GeoEvent Server Manager and stop the feature services used to archive data.
  5. Optionally, if you want to prevent users from editing hosted feature layers while you are upgrading, connect to the hosting server (GIS Server site) from ArcGIS Server Manager and stop all hosted feature services. Similarly, if you have a federated ArcGIS GeoAnalytics Server site, connect to it from ArcGIS Server Manager and stop all hosted feature services.
  6. Update the ArcGIS Data Store installation on every data store machine. For highly available tile cache data stores, update the ArcGIS Data Store installation on the standby machine first, then update the installation on the primary machine.

    To update the installation, run the ArcGIS Data Store Setup.exe on every machine that participates in a data store that is configured with the same hosting server. Do not uninstall the existing ArcGIS Data Store installation.

  7. During the installation, read the license agreement and accept it, or exit if you do not agree with the terms.

    If you accept the license agreement, the ArcGIS Data Store setup program displays the features that will be installed.

  8. The account used by your existing installation is prepopulated in the ArcGIS Data Store input box. Provide the password for the account. Typically, this is the password you defined when installing the software. If the password has changed since you installed the software, you need to provide the password you designated when modifying the account. If the password is not validated successfully, an error message is displayed indicating the password is invalid. If you are unsure of the password for the account, contact your system administrator.

    注:

    Earlier versions of ArcGIS Data Store used the Local System account to create the ArcGIS Data Store service. At version 10.4 and later, you specify a local user or domain user account to start the ArcGIS Data Store service. If you are upgrading from ArcGIS Data Store 10.3 or 10.3.1, you must manually provide this account full control to your ArcGIS Data Store content directory (the default location is C:\arcgisdatastore).

  9. 警告:

    When the installation program completes, it automatically opens the Data Store Configuration wizard in your default browser. Do no proceed with configuration until you have installed the same version of ArcGIS Data Store on every data store machine.

  10. Once you have updated the ArcGIS Data Store installation on all data store machines, run the Data Store Configuration wizard to configure each type of data store to complete the upgrade.

    Where and how many times you run the Data Store Configuration wizard depends on your configuration.

    • For relational and tile cache data stores, connect to the primary machine from the Data Store Configuration wizard. Completing the steps in the wizard upgrades the data store on both the primary and secondary machines.
    • If your primary relational and tile cache data stores run on the same machine, you only have to run the Data Store Configuration wizard once. This upgrades the primary and standby relational and tile cache data stores.
    • For spatiotemporal big data stores, connect to any of the spatiotemporal big data store machines from the Data Store Configuration wizard. Complete the steps in the wizard to upgrade all machines in the spatiotemporal big data store.

  11. The following steps take you through the Data Store Configuration wizard.
  12. In the Data Store Configuration wizard, provide the URL for the hosting server and the user name and password of an ArcGIS Server administrator for the hosting server and click Next.
  13. ArcGIS Data Store checks each machine for each data store registered with this hosting server to be sure it meets the following prerequisites:
    • All machines in the data stores associated with this hosting server have the same version of ArcGIS Data Store installed.
    • All machines in the data stores associated with this hosting server are accessible.
    • The hosting server is accessible.

    If any prerequisites are not met, they appear on the Prerequisite Check page in the status for each data store type. You must correct any problems before you can proceed with upgrading.

  14. Once all prerequisites are met, the Prerequisite Check page shows each data store to be upgraded. Click Next to reconfigure these data stores with the hosting server and complete the upgrade.
  15. When configuration completes, the Upgrade Status page appears.
    • For each data store that was upgraded successfully, success appears in Status field. For highly available relational or tile cache data stores, a status appears for both the primary and standby machines. If all data store machines upgraded successfully, click Next to proceed to the Configuration Status page. You can close the Data Store Configuration wizard at this point.
    • If any upgrades were not successful, that data store or machine shows a failed status, and messages are displayed to help you troubleshoot the problem. Correct the problems and run the Data Store Configuration wizard again to upgrade the machines that previously failed.
  16. Once configuration is complete and the spatiotemporal big data store shows a status of healthy (if you have a spatiotemporal big data store), you can restart the services running on your ArcGIS GeoEvent Server and ArcGIS GeoAnalytics Server sites.

    To determine a data store's status, log in to the ArcGIS Server Administrator Directory for the hosting server and run the validate REST command.

Silently upgrade using commands

Rather than run the setup program, you can run the Setup.exe file at a command prompt or in a batch script.

  1. Run the backupdatastore utility to create a full backup or snapshot of each of your data stores. Be sure your backup files are stored in a remote, secure location.
  2. Download the latest ArcGIS Data Store, Portal for ArcGIS, ArcGIS Server, and ArcGIS Web Adaptor software installation files from My Esri.
  3. You must upgrade all ArcGIS Server sites and their ArcGIS Web Adaptor installations before upgrading ArcGIS Data Store. See Upgrade ArcGIS Server in the ArcGIS Server installation guide for instructions. If you have federated ArcGIS GeoEvent Server or ArcGIS GeoAnalytics Server sites, upgrade them as well.

    提示:

    You can upgrade Portal for ArcGIS before or after upgrading ArcGIS Server and ArcGIS Data Store; just be sure all components of your ArcGIS Enterprise deployment are upgraded to the same release before you begin using it.

  4. If you are using a spatiotemporal big data store with ArcGIS GeoEvent Server, sign in to ArcGIS GeoEvent Server Manager and stop the feature services used to archive data.
  5. Optionally, if you want to prevent users from editing hosted feature layers while you are upgrading, connect to the hosting server (GIS Server site) from ArcGIS Server Manager and stop all hosted feature services. Similarly, if you have a federated ArcGIS GeoAnalytics Server site, connect to it from ArcGIS Server Manager and stop all hosted feature services.
  6. Update the ArcGIS Data Store installation on every data store machine. For highly available tile cache data stores, update the ArcGIS Data Store installation on the standby machine first, then update the installation on the primary machine.

    Run the Setup.exe file from a command prompt or in a script on every machine in your data store. For example, if you have a highly available relational data store (two machines) and a highly available spatiotemporal big data store that includes three machines, run the Setup.exe file on all five machines before you proceed with configuration.

    注:

    Do not uninstall the existing ArcGIS Data Store installation.

    When silently upgrading using Setup.exe, you must specify the ArcGIS Data Store account. Typically, this is the account you defined when installing the software. If the account has changed since you installed, you need to provide the user name and password you designated when modifying the ArcGIS Data Storeaccount.

    Earlier versions of ArcGIS Data Store used the Local System account to create the ArcGIS Data Store service. At version 10.4 and later, you specify a local user or domain user account to start the ArcGIS Data Store service. If you are upgrading from ArcGIS Data Store 10.3 or 10.3.1, you must manually provide this account full control to your ArcGIS Data Store content directory (the default location is C:\arcgisdatastore).

    If you do not specify the ArcGIS Data Store account, or it does not match the account used by your current installation, the installation process displays a message indicating the credentials could not be validated. As a result, the installation will exit.

    In the following example, the account used by the software is myaccount:

    <path to ArcGIS Data Store setup download folder>\Setup.exe /qb USER_NAME=myaccount PASSWORD=mypassword

    For example, to run the command with a domain account, such as mydomain\myaccount, with the password 4myI.s0nly, type the following:

    \\machinename\mydownloadfolder\Setup.exe /qb USER_NAME=mydomain\myaccount PASSWORD=4myI.s0nly

    警告:

    Command line parameters are case sensitive. If you are having trouble upgrading, confirm the case matches the properties as shown in the examples.

  7. After you install the new version of ArcGIS Data Store on every machine in the data store, reconfigure each type of data store to complete the upgrade.
  8. Use the configuredatastore command utility to reconfigure the data store with the same GIS Server site you were using before upgrading. You must run the command prompt as an administrator on the machine where ArcGIS Data Store is installed.

    Where and how many times you run the configuredatastore utility depends on your configuration.

    • For relational and tile cache data stores, log in to the primary machine as a Windows administrator and run the configuredatastore utility. This upgrades the data store on both the primary and secondary machines.
    • If your primary relational and tile cache data stores run on the same machine, you only have to run the configuredatastore utility once on the primary machine. This upgrades the primary and standby relational and tile cache data stores.
    • For spatiotemporal big data stores, log in to any of the spatiotemporal big data store machines as the user who installed ArcGIS Data Store and run the configuredatastore utility. This upgrades all machines in the spatiotemporal big data store.

    In this example, the configuredatastore utility is run on the primary machine where both the relational and tile cache data stores are running. Both data stores are configured with the GIS Server site https://myserver.network.com:6443/arcgis:

    configuredatastore https://myserver.network.com:6443/arcgis serveradmin MyAdminPassword C:\arcgisdatastore --stores relational,tilecache

    In this example, the configuredatastore utility is run on one of the machines in a spatiotemporal big data store that is configured with the GIS Server site https://gisserver.mynetwork.com:6443/arcgis:

    configuredatastore https://gisserver.mynetwork.com:6443/arcgis serveradmin MyAdminPassword C:\arcgisdatastore --stores spatiotemporal

    Running the configuredatastore utility restarts ArcGIS Data Store on all machines in the data store.

    Before upgrading, ArcGIS Data Store confirms that all machines in the data store have the same version of ArcGIS Data Store installed and all machines are accessible. If any machines are not updated or accessible, ArcGIS Data Store cannot proceed with the upgrade. Correct the installation or network problems and run the configuredatastore utility again.

  9. Once configuration is complete and the spatiotemporal big data store shows a status of healthy (if you have a spatiotemporal big data store), you can restart the services running on your ArcGIS GeoEvent Server and ArcGIS GeoAnalytics Server sites.

    To determine a data store's status, log in to the ArcGIS Server Administrator Directory for the hosting server and run the validate REST command.

升级 ArcGIS Data Store 后的注意事项

升级程序会将所有现有 10.5 和旧版关系数据存储备份文件以及 10.5 和时空大数据存储备份文件移动到备份目录位置中新的子目录内。目录名称包含 ArcGIS Data Store 版本号。ArcGIS Data Store 移动这些文件可以防止您意外尝试使用它们来恢复升级后的关系数据存储,因为这种操作不受支持。

升级后,您应确认您的数据存储可访问。您可通过 ArcGIS Server Manager 或 ArcGIS Server 管理员目录执行此操作。还要确认托管要素和场景图层仍然有效。

验证数据存储

您可登录到 ArcGIS Server Manager 来验证您的 GIS Server 站点是否仍可与关系数据存储进行通信。您无法通过 ArcGIS Server Manager 验证切片缓存或时空大数据存储。

按照以下步骤通过 ArcGIS Server Manager 验证关系数据存储:

  1. 登录到 ArcGIS Server Manager。
  2. 转至站点 > 数据存储
  3. 选中关系数据存储旁的复选框 (ArcGIS_Data_Store)。
  4. 单击验证

如果数据存储正在运行并且 GIS Server 站点可以与其通信,则状态列中将显示一个绿色复选框。

要在升级后验证切片缓存或时空大数据存储,请登录到 ArcGIS Server 管理员目录(URL 格式为 https://gisserver.domain.com:6443/arcgis/admin)并使用验证命令

提示:

您还可以从 ArcGIS Server 管理员目录中验证关系数据存储,因此如果您的站点有多种类型的数据存储正在运行,请从 ArcGIS Server 管理员目录中验证所有数据存储。

确认图层有效

您还应该确保您的服务在升级后仍然工作。

  1. 登录到 ArcGIS Server Manager。
  2. 转至服务 > 托管
  3. 检查所有服务是否正在运行。