<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Datastore replication issues  - Primary has no server logs, standby has logs in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370914#M14485</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450150"&gt;@hlindemann&lt;/a&gt;&amp;nbsp; I have now checked the ports: 6443 is not running on these machines. See attached screenshots from our test and dev&amp;nbsp; machines. (test is 11.1 and dev is 10.9)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;As for the&amp;nbsp;the logs that fails to write I would first just reapply windows security on the file structure it might just be a permission problem.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have updated the permission to the folders for arcgis service account, but nothing changed. No logs are being recorded in the server folder in the Primary machine.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Regards Thomas&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 12:46:58 GMT</pubDate>
    <dc:creator>Thomas_Puthusserry</dc:creator>
    <dc:date>2024-01-17T12:46:58Z</dc:date>
    <item>
      <title>Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370491#M14480</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a datastore associated with a HA deployment (10.9) which has been switched off for a while. I am in the process of upgrading this to 11.1. As part of the regular checks, it is found that the datastores are not synchronised. Looking at the primary datastore, it is not recording any logs in the usual /content/logs/servername/server folder. describedatastore.bat shows log location is empty:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thomas_Puthusserry_0-1705417100883.png" style="width: 972px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91689i74B5DE163859D66A/image-dimensions/972x288?v=v2" width="972" height="288" role="button" title="Thomas_Puthusserry_0-1705417100883.png" alt="Thomas_Puthusserry_0-1705417100883.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The standby datastore machine seems working properly as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thomas_Puthusserry_1-1705417277708.png" style="width: 776px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91690i0EAF47320DD33C5C/image-dimensions/776x262?v=v2" width="776" height="262" role="button" title="Thomas_Puthusserry_1-1705417277708.png" alt="Thomas_Puthusserry_1-1705417277708.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However the datastore mode is: READONLY in standby.&lt;/P&gt;&lt;P&gt;I have tried to make the standby data store VM as primary via ArcGIS Server Admin directory:&amp;nbsp;server/admin/data/items/enterpriseDatabases/AGSDataStore_ds_402mc3l6/machines, but got the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Failed to change role for data store machine 'NG-DATASTR-SBY.AOW4LVHRJSBULNMTLLXUXOUGKD.ZX.INTERNAL.CLOUDAPP.NET'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: Validation checks on data store machine 'NG-DATASTR-SBY.AOW4LVHRJSBULNMTLLXUXOUGKD.ZX.INTERNAL.CLOUDAPP.NET' failed.''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The full logs are attached.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400739"&gt;@HenryLindemann&lt;/a&gt;&amp;nbsp;anything you can point me to?&lt;/P&gt;&lt;P&gt;I would like to have the datastore sync working properly before I upgrade to 11.1&lt;/P&gt;&lt;P&gt;There are no critical data in this instance, so I can even remove and reconfigure. However not sure how to dis-associate the datastore from the GIS server.&lt;/P&gt;&lt;P&gt;Thanks for suggestions&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:22:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370491#M14480</guid>
      <dc:creator>Thomas_Puthusserry</dc:creator>
      <dc:date>2024-01-16T15:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370840#M14483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/745900"&gt;@Thomas_Puthusserry&lt;/a&gt;, my first thought would be firewall, the read-only is ok it is the default state,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would check with powershell if I can get to 2443 9876 and 6443 from both machines, e.g.&lt;/P&gt;&lt;P&gt;"Test-NetConnection datastore-1 -port 9876" on datastore 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Test-NetConnection datastore-2 -port 9876"&amp;nbsp; on datastore 1&lt;/P&gt;&lt;P&gt;"Test-NetConnection datastore-1 -port 2443" on datastore 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Test-NetConnection datastore-2 -port 2443"&amp;nbsp; on datastore 1&lt;/P&gt;&lt;P&gt;"Test-NetConnection arcgisserver -port 6443" on datastore 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Test-NetConnection arcgisserver -port 6443"&amp;nbsp; on datastore 1&lt;BR /&gt;&lt;BR /&gt;and for the logs that fails to write I would first just reapply windows security on the file structure it might just be a permission problem.&lt;BR /&gt;&lt;BR /&gt;Hope it helps&amp;nbsp;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 05:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370840#M14483</guid>
      <dc:creator>hlindemann</dc:creator>
      <dc:date>2024-01-17T05:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370914#M14485</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450150"&gt;@hlindemann&lt;/a&gt;&amp;nbsp; I have now checked the ports: 6443 is not running on these machines. See attached screenshots from our test and dev&amp;nbsp; machines. (test is 11.1 and dev is 10.9)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;As for the&amp;nbsp;the logs that fails to write I would first just reapply windows security on the file structure it might just be a permission problem.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have updated the permission to the folders for arcgis service account, but nothing changed. No logs are being recorded in the server folder in the Primary machine.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Regards Thomas&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:46:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1370914#M14485</guid>
      <dc:creator>Thomas_Puthusserry</dc:creator>
      <dc:date>2024-01-17T12:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1371455#M14490</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/745900"&gt;@Thomas_Puthusserry&lt;/a&gt;&amp;nbsp; the 6443 port should be your ArcGIS server DNS, e.g. where you installed it. can you also test from you standby to your primary? I did not see that in you test results.&lt;/P&gt;&lt;P&gt;Regards Henry&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 06:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1371455#M14490</guid>
      <dc:creator>hlindemann</dc:creator>
      <dc:date>2024-01-18T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1371529#M14494</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450150"&gt;@hlindemann&lt;/a&gt;&amp;nbsp; I missed that part, please see above, that looks fine. I have also checked the port 2443 and 9876 to both data store VMs from arcgis server and are accessible.&lt;/P&gt;&lt;P&gt;Thanks Thomas&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1371529#M14494</guid>
      <dc:creator>Thomas_Puthusserry</dc:creator>
      <dc:date>2024-01-18T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1374806#M14521</link>
      <description>&lt;P&gt;I have been looking into the HA deployment of data store and have done some additional testing. I got into a situation where:&lt;/P&gt;&lt;P&gt;1. After completely reinstalling the datastore in both primary and standby machines, the logs are recording properly&lt;/P&gt;&lt;P&gt;2. Can demote a Primary to Standby and vice-versa: Standby to Primary via the server/administrative rest service.&lt;/P&gt;&lt;P&gt;3. Tried to publish a hosted services when DSVM1machine is 'Primary' and DSVM2 machine is Standby and in the reverse order too (when DSVM2 is Primary and DSVM1 is Standby). The services are accessible when the VM roles are swapped.&lt;/P&gt;&lt;P&gt;What I am not clear about is the scenario where any of the VM become unhealthy and goes down for a while. What exactly happens. In the scenario I tested when DSVM1 is Primary, and when it goes down, DSVM2 is just saying :&lt;/P&gt;&lt;P&gt;ArcGIS Data Store has detected a replication failure.&lt;/P&gt;&lt;P&gt;Not stepping DSVM2 as primary. Is this the expected behavior?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450150"&gt;@hlindemann&lt;/a&gt;&amp;nbsp;any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 12:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1374806#M14521</guid>
      <dc:creator>Thomas_Puthusserry</dc:creator>
      <dc:date>2024-01-26T12:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore replication issues  - Primary has no server logs, standby has logs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1375335#M14528</link>
      <description>&lt;P&gt;I have now been able to resolve this:&lt;/P&gt;&lt;P&gt;The issue was&amp;nbsp;failover_on_primary_stop=false (set by default). Talking to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/337755"&gt;@AndrewCord&lt;/a&gt;&amp;nbsp;and colleagues from ESRI UK, this has to be set to true on both primary and standby VMs. Once that is set, the failover process works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 11:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/datastore-replication-issues-primary-has-no-server/m-p/1375335#M14528</guid>
      <dc:creator>Thomas_Puthusserry</dc:creator>
      <dc:date>2024-01-29T11:48:30Z</dc:date>
    </item>
  </channel>
</rss>

