Dual Partitions with Dual Patterns Gateway with Backup

Use this partition for high availability capable deployment scenarios with large data and linear scalability.

In this type of setup, the topology section points to two different gateways. The first one is the primary gateway and the other is the backup gateway. These two independent gateways are indexed so that if the primary setup fails, the backup setup can take over searches. Ensure that the clusterIndex should always be one.

<Topology>
<Server clusterIndex="1" backupIndex="1">
  <Name>PrimaryGateway</Name>
  <Connection>myHost1:5051</Connection>
</Server>
<Server clusterIndex="1" backupIndex="2">
  <Name>BackupGateway</Name>
  <Connection>myHost2:5051</Connection>
</Server>
</Topology>
    <IndexEntityList>
        <IndexEntity>
            <Name>Person</Name>
            <RootRepository>PERSON</RootRepository>
             …
        </IndexEntity>
        <IndexEntity>
            <Name>Address</Name>
            <RootRepository>ADDRESS</RootRepository>
             …
        </IndexEntity>
        <IndexEntity>
            <Name>PersonToAddress</Name>
            <RootRepository>PERSON</RootRepository>
             …
        </IndexEntity>
    </IndexEntityList>