If the token shared key for the Portal for ArcGIS site is different from the token shared key in the haconfig.properties file, hundreds of log errors, "High Availability: The Portal sharedkey is not equal to the High Availability site configuration" are generated without a clear reason or resolution.
上次发布: July 8, 2019Portal for ArcGIS
漏洞 ID 编号
BUG-000121860
已提交
April 22, 2019
上次修改时间
June 5, 2024
适用范围
Portal for ArcGIS
找到的版本
10.7
操作系统
Windows OS
操作系统版本
2016 64 Bit
修正版本
11.2
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Take note of the token shared key in the portaladmin, security, tokens.
Stop the Portal for ArcGIS windows service (on both systems).
Access the haconfig.properties file (it is in the UNC/network shared Portal content, items, portal-ha folder).
Open the haconfig.properties file and edit the: tokenConfig = {\"sharedKey\":\"RANDOMCHARACTERSHERE\"} so that the "RANDOMCHARACTERSHERE" is displaying the token key taken from Step 1. Ensure to leave the slashes in the brackets.
Start the primary Portal for ArcGIS machine and the standby machine. Confirm that they are running.