Select to view content in your preferred language

Unable to find the primary portal. Check if the highly available configuration on your portal was configured correctly.

1798
1
08-05-2019 06:57 AM
ZeeshanKhan1
Occasional Contributor

Hi all,

I was trying to upgrade my Portal for ArcGIS to 10.7.1 from 10.6.1 in HA deployment following instruction I run the setup on both machines which completed successfully on both machines. after installation when I go to upgrade the Portal https://localhost:7443/arcgis/portaladmin/upgrade. I start getting the following Error.

Unable to find the primary portal. Check if the highly available configuration on your portal was configured correctly.

I can see this error on both machines. When I check the Log Files.

Machine 1:

<Msg time="2019-08-01T02:58:30,781" type="SEVERE" code="216012" source="Portal" process="2988" thread="1" methodName="" machine="DFS-GEOPRTL-11.DPKO.UN.ORG" user="" elapsed="">HA: Error in HA plugin. Missing key 'master.node' in the properties file.</Msg>
<Msg time="2019-08-01T02:59:31,37" type="DEBUG" code="9999" source="Portal" process="2988" thread="1" methodName="" machine="xxxxxx.xxx.ORG" user="" elapsed="">com.esri.arcgis.portal.admin.core.PortalException: Missing key 'master.node' in the properties file.
at com.esri.arcgis.portal.plugins.HAPlugin.getProperty(HAPlugin.java:1609)
at com.esri.arcgis.portal.plugins.HAPlugin.a(HAPlugin.java:702)
at com.esri.arcgis.portal.plugins.HAPlugin.b(HAPlugin.java:726)
at com.esri.arcgis.portal.plugins.HAPlugin.c(HAPlugin.java:743)
at com.esri.arcgis.portal.plugins.HAPlugin.a(HAPlugin.java:1731)
at com.esri.arcgis.portal.plugins.HAPlugin.access$500(HAPlugin.java:82)
at com.esri.arcgis.portal.plugins.HAPlugin$d.run(HAPlugin$d.java:417)
</Msg>

and 

Machine 2: 

<Msg time="2019-08-05T10:57:12,300" type="SEVERE" code="216012" source="Portal" process="2780" thread="1" methodName="" machine="xxxxxxxx.xxxx.ORG" user="" elapsed="">HA: Error in HA plugin. Missing key 'master.node' in the properties file.</Msg>
<Msg time="2019-08-05T10:58:12,564" type="DEBUG" code="9999" source="Portal" process="2780" thread="1" methodName="" machine="xxxx.xxxxx.ORG" user="" elapsed="">com.esri.arcgis.portal.admin.core.PortalException: Missing key 'master.node' in the properties file.
at com.esri.arcgis.portal.plugins.HAPlugin.getProperty(HAPlugin.java:1609)
at com.esri.arcgis.portal.plugins.HAPlugin.a(HAPlugin.java:702)
at com.esri.arcgis.portal.plugins.HAPlugin.b(HAPlugin.java:726)
at com.esri.arcgis.portal.plugins.HAPlugin.c(HAPlugin.java:743)
at com.esri.arcgis.portal.plugins.HAPlugin.a(HAPlugin.java:1731)
at com.esri.arcgis.portal.plugins.HAPlugin.access$500(HAPlugin.java:82)
at com.esri.arcgis.portal.plugins.HAPlugin$d.run(HAPlugin$d.java:417)
</Msg>

I need advice on this matter, please.

0 Kudos
1 Reply
ZeeshanKhan1
Occasional Contributor

I resolved the problem - Issue was related to

 ...\arcgisportal\content\items\portal-ha - nodes.properties file was Empty, so a manual addition of properties helps to fix the problem.