Skip To Content

Upgrade ArcGIS Data Store

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

注:

请注意,在升级 ArcGIS Server 前必须先升级托管服务器上的 ArcGIS Data Store。如果您具有可供联合 ArcGIS GeoEvent Server 站点写入数据的时空大数据存储,则必须在升级 ArcGIS Data Store 之前也升级 ArcGIS GeoEvent Server 站点。

升级 ArcGIS Data Store 前的注意事项

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

我可以直接升级到 ArcGIS Data Store 10.5.1 吗?

是的;您可以从任何先前版本的 ArcGIS Data Store 直接升级到 10.5.1 ArcGIS Data Store。不必先升级到任何中间版本。

在安装新版本之前,是否需要卸载 ArcGIS Data Store

不需要,升级过程将为您更新 ArcGIS Data Store 安装。如果您在阅读升级说明之前卸载了软件,升级仍然可以进行。但是,您必须自己安装新版本的 ArcGIS Data Store

升级部署中的软件时是否必须遵循特定顺序?

是,您必须在升级 ArcGIS Server 前先升级 ArcGIS Data Store。部署中使用的 ArcGIS ServerArcGIS Data StorePortal for ArcGIS 安装版本必须相同。

在升级 ArcGIS Data Store 计算机时是否必须遵循特定顺序?

升级数据存储类型的顺序无关紧要,但是在高可用性数据存储中升级每台计算机的顺序非常重要。升级高可用性关系或切片缓存数据存储时,必须先升级主计算机,然后再升级备用计算机。

如果时空大数据存储包含多台计算机,则停止所有计算机,只留下一台时空大数据存储计算机。升级仍在运行的计算机。每次启动一台其他计算机,对其进行升级,直至时空大数据存储中的所有计算机升级完毕。

注:

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

升级 ArcGIS Data Store 需要多长时间?

这取决于有多少不同类型的数据存储和每个数据存储中的数据量。

在升级之前,是否需要创建 ArcGIS Data Store 的备份?

是,请在升级 ArcGIS Data Store 安装之前创建部署中每种类型数据存储的备份。

Steps to upgrade ArcGIS Data Store

升级 ArcGIS Data Store 之前,必须先为要升级的 ArcGIS Data Store 版本下载相应的安装文件 并对您的数据存储进行备份,然后才能升级 ArcGIS Server。如果您正在使用时空大数据存储存档高容量数据,则您必须同时升级 ArcGIS GeoEvent Server 安装。

完成每个 ArcGIS Data Store 安装的升级步骤。注册到同一 ArcGIS Server 站点的所有数据存储必须运行相同的 ArcGIS Data Store 版本。这意味着您需要在以下情况下在不同的计算机上完成升级步骤:

  • 如果每种类型的数据存储在单独的计算机上运行,则单独升级每个数据存储。例如,如果在计算机 1 上有一个关系数据存储,在计算机 2 上有一个时空大数据存储,请分别完成每个数据存储的升级步骤。

    提示:

    ArcGIS Data Store 10.5 之前的版本中,关系和切片缓存数据存储都在配置数据存储时创建。但是,如果组织中没有人在门户上发布托管场景图层,则不会配置切片缓存数据存储,如果升级后您不打算使用切片缓存数据存储,或想要将切片缓存数据存储配置在与关系数据存储不同的计算机上,则不必升级切片缓存数据存储。

  • 如果您的关系或切片缓存数据存储中有主机和备用计算机,则先完成步骤以升级和重新配置主机。确保随后升级和重新配置备用计算机。
  • 如果有使用 ArcGIS Server 站点配置的多个时空大数据存储,则您必须分别升级和重新配置每台时空大数据存储计算机。

  1. Run the backupdatastore utility to create a full backup or snapshot of the data store. 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 web adaptor before upgrading ArcGIS Data Store. See Upgrade ArcGIS Server in the ArcGIS Server installation guide for instructions. If you have ArcGIS GeoEvent Server on one of your federated servers, upgrade it 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 web GIS are upgraded to the same release before you begin using it.

  4. From the command prompt, launch the latest ArcGIS 10.5.1 Data Store setup script as the same user used to install the existing earlier version, for example, <CD ROOT or untar directory>/Setup.

    提示:

    To launch the setup script from the ArcGIS 10.5.1 Data Store setup media, click the setup script, and click Run in Terminal.

    注:

    You do not have to stop the ArcGIS Data Store service manually to upgrade; the setup script will stop it for you.

  5. The setup will detect your existing earlier version of ArcGIS Data Store on the target machine and prompt you to continue or exit the upgrade. For example

    =========================================================================
    ArcGIS 10.5.1 Data Store (Linux)
    =========================================================================
    
    Your ArcGIS 10.3 Data Store is installed at:
    
    /home/ags/arcgis/datastore
    
    Confirm Settings
    =========================================================================
    Product to upgrade:             ArcGIS 10.3 Data Store (Linux)
    Location to upgrade:            /home/ags/arcgis/datastore/usr/arcgisdatastore
    
    Your ArcGIS 10.3 Data Store will be stopped when performing the upgrade 
    and ArcGIS 10.5.1 Data Store will be started after the upgrade completes
    
     'y' to continue with these settings
     'q' to exit without upgrading this product
    
    Enter choice [y,q] (y):

  6. Type y and press Enter to accept the detected settings and continue with the update.

    注:

    Wait while ArcGIS Data Store is upgraded to 10.5.1. This may take several minutes.

  7. After you install the new release of ArcGIS Data Store, reconfigure the data store with the upgraded ArcGIS Server site.
  8. Use the configuredatastore command utility to reconfigure the data store with its ArcGIS Server site. You must run the command prompt on the machine where ArcGIS Data Store is installed, and run it as the user who installed ArcGIS Data Store.

    In this example, the primary relational and tile cache data stores are reconfigured with ArcGIS Server site https://myserver.network.com:6443/arcgis:

    ./configuredatastore.sh https://myserver.network.com:6443/arcgis serveradmin MyAdminPassword /home/ags/arcgis/datastore/usr/arcgisdatastore --stores relational,tilecache

  9. Once you have upgraded and reconfigured the primary relational or tile cache data store or the first spatiotemporal big data store, repeat steps 4 through 7 for the standby relational or tile cache data store or all additional spatiotemporal big data stores.
  10. Upgrading any individual machine in a spatiotemporal big data store stops ArcGIS Data Store on all spatiotemporal big data store machines. Therefore, after you upgrade all machines in a spatiotemporal big data store, you must manually start ArcGIS Data Store on each spatiotemporal big data store machine.
  11. If you have more than one type of data store configured with the same ArcGIS Server site, and the data stores are running on different machines, repeat step 1 and steps 4 through 8 for each type of 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. 检查所有服务是否正在运行。