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。
- 您必须按以下顺序升级:
- 升级 Portal for ArcGIS。
- 升级 ArcGIS Web Adaptor(对于门户)。
- 升级 ArcGIS Server 站点。在升级 ArcGIS Server 之前,必须升级托管服务器和其他所有联合的 ArcGIS Data Store 站点(如果存在)。
- 升级 ArcGIS Web Adaptor(对于 ArcGIS Server)。
- 升级 ArcGIS Data Store。
- 安装新版本的 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 软件的旧版本,使用目录的备份副本替换每台计算机上的内容目录。
高可用性数据存储
升级数据存储类型的顺序无关紧要,但是在高可用性数据存储中升级每台计算机的顺序非常重要。升级高可用性关系或切片缓存数据存储时,必须先在主计算机和备用计算机上安装 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 的新版本。
- 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.
- Download the latest ArcGIS Data Store, Portal for ArcGIS, ArcGIS Server, and ArcGIS Web Adaptor software installation files from My Esri.
- 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.
- 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.
- 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.
- 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, and then update the installation on the primary machine.
To update the installation, run the latest ArcGIS Data Store 10.6.1 setup script from the command prompt as the same user who installed ArcGIS Data Store the first time. Do not uninstall the existing installation.
To run the command, change to the ROOT or untar directory and run /Setup.
To run the setup script from the ArcGIS Data Store 10.6.1 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 stops it for you.
- The setup detects your existing version of ArcGIS Data Store on the target machine and prompts you to continue or exit the upgrade. See the following example:
========================================================================= ArcGIS 10.6.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.6.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):
- Type y and press Enter to accept the detected settings and continue with the update.
注:
Wait while the ArcGIS Data Store installation on this machine is updated to 10.6.1. This may take several minutes.
- Once all ArcGIS Data Store installations are updated to the latest release, use the configuredatastore command utility to reconfigure each data store type with the hosting GIS Server site.
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 the user who installed ArcGIS Data Store 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.sh https://myserver.network.com:6443/arcgis serveradmin MyAdminPassword /home/ags/arcgis/datastore/usr/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.sh https://gisserver.mynetwork.com:6443/arcgis serveradmin MyAdminPassword /home/ags/arcgis/datastore/usr/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.
- 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 验证关系数据存储:
- 登录到 ArcGIS Server Manager。
- 转至站点 > 数据存储。
- 选中关系数据存储旁的复选框 (ArcGIS_Data_Store)。
- 单击验证。
如果数据存储正在运行并且 GIS Server 站点可以与其通信,则状态列中将显示一个绿色复选框。
要在升级后验证切片缓存或时空大数据存储,请登录到 ArcGIS Server 管理员目录(URL 格式为 https://gisserver.domain.com:6443/arcgis/admin)并使用验证命令。
提示:
您还可以从 ArcGIS Server 管理员目录中验证关系数据存储,因此如果您的站点有多种类型的数据存储正在运行,请从 ArcGIS Server 管理员目录中验证所有数据存储。
确认图层有效
您还应该确保您的服务在升级后仍然工作。
- 登录到 ArcGIS Server Manager。
- 转至服务 > 托管。
- 检查所有服务是否正在运行。