# US 2021/0279244 A1 · Data replication and site replication in a clustered computing environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0279244 A1
- Document ID: US20210279244A1
- Status: Published application
- Kind: A1
- Application number: 17/230,646
- Filed: 2021-04-14
- Published: 2021-09-09
- Earliest claimed: 2012-05-15
- Assignees: Splunk Inc.
- Applicants: Splunk Inc.
- Inventors: Vishal Patel; Mitchell Neuman Blank, JR.; Sundar Renegarajan Vasan; Stephen Phillip Sorkin
- Web page: https://patentgrep.com/patent/US20210279244A1

## CPC

- G06F 16/24575: {using context}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/20: using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 16/2272: {Management thereof}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/275: {Synchronous replication}
- G06F 16/29: Geographical information databases
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9537: Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 3/0617: {in relation to availability}
- G06F 3/065: {Replication mechanisms}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 2201/835: Timestamp
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of data replication in a clustered computing environment comprises receiving, at a selected indexer within a plurality of indexers in a cluster, data from a forwarder indexer, wherein the selected indexer is designated as a primary indexer for the data, wherein the primary indexer has primary responsibility for responding to search queries pertaining to the data, wherein the cluster comprises a plurality of sites. The method further comprises receiving, at the selected indexer, data replication instructions, wherein the data replication instructions comprise a number of other indexers in the cluster for storing a replicated copy of the data and further comprise a number of sites from the plurality of sites across which to store a replicated copy of the data determined in accordance with a site replication factor.

## Claims

### Claim at position 1

1-30. (canceled)

### Claim 31

A method, comprising:
receiving, at a selected indexer within a plurality of indexers in a cluster, data from a forwarder indexer, wherein the selected indexer is designated as a primary indexer for the data, wherein the primary indexer is operable to respond to search queries pertaining to the data, wherein the cluster comprises a plurality of sites, wherein each site of the plurality of sites comprises a subset of the plurality of indexers;
receiving, at the selected indexer, data replication instructions from a master node of the cluster, wherein the data replication instructions identify a number of other indexers in the cluster for storing a replicated copy of the data determined in accordance with a replication factor configured for the cluster, and wherein the data replication instructions further identify a number of sites from the plurality of sites across which to store the replicated copy of the data determined in accordance with a site replication factor; and
transmitting, from the selected indexer, the data to the other indexers for replication.

### Claim 32 (depends on 31)

The method of claim 31, wherein the wherein the replication factor and the site replication factor are included in the data replication instructions.

### Claim 33 (depends on 31)

The method of claim 31, wherein each site of the plurality of sites is associated with a separate geographical location.

### Claim 34 (depends on 31)

The method of claim 31, wherein, for each of the other indexers, the data replication instructions indicate whether a respective indexer is to store a searchable copy of the data.

### Claim 35 (depends on 31)

The method of claim 31, wherein each site of the plurality of sites is associated with a separate geographical location, and wherein at least one of the other indexers is located at a different site from the plurality of sites than the selected indexer.

### Claim 36 (depends on 31)

The method of claim 31, wherein, for each of the other indexers, the data replication instructions indicate whether a respective indexer is to store a searchable copy of the data, and wherein further a number of searchable copies to be replicated on the other indexers is determined in accordance with a search factor configured for the cluster.

### Claim 37 (depends on 31)

The method of claim 31, wherein, for each of the other indexers, the data replication instructions indicate whether a respective indexer is to store a searchable copy of the data, and wherein further the searchable copy of the data comprises index files, wherein the index files are operable to be searched in response to search requests.

### Claim 38 (depends on 31)

The method of claim 31, wherein, for each of the other indexers, the data replication instructions indicate whether a respective indexer is to store a searchable copy of the data, and wherein the respective indexer generates the searchable copy of the data by processing the data to generate a separate keyword index.

### Claim 39 (depends on 31)

The method of claim 31, wherein the forwarder indexer is one of a plurality of forwarder indexers, each forwarder indexer operating independent of each other forwarder indexer to select an indexer as a primary indexer for data sent to the cluster by a respective forwarder indexer of the plurality of indexers.

### Claim 40 (depends on 31)

The method of claim 31, wherein the site replication factor is based on one of a type of data to be replicated and information from a forwarder indexer.

### Claim 41 (depends on 31)

The method of claim 31, wherein at least one indexer in the plurality of indexers is designated as a secondary indexer for the data and as a primary indexer for different data.

### Claim 42 (depends on 31)

The method of claim 31, wherein the data replication instructions are generated by the master node in accordance with a data replication policy for the cluster.

### Claim 43 (depends on 31)

The method of claim 31, wherein the other indexers are determined by the master node of the cluster based on load balancing criteria.

### Claim 44 (depends on 31)

The method of claim 31, wherein the selected indexer is designated as a primary indexer for the data at a specified generation identifier, and wherein the other indexers are each designated as secondary indexers for the data at the specified generation identifier.

### Claim 45 (depends on 31)

The method of claim 31, wherein the selected indexer is designated as a primary indexer for the data at a specified generation identifier, wherein the other indexers are each designated as secondary indexers for the data at the specified generation identifier, and further wherein for a given query request for the data at the specified generation identifier received by each of the indexers in the cluster, the primary indexer for the data at the specified generation identifier responds to the query request, and each secondary indexer for the data at the specified generation identifier ignores the request.

### Claim 46 (depends on 31)

The method of claim 31, wherein the selected indexer is designated as a primary indexer for the data at a specified generation identifier, and wherein the other indexers are each designated as secondary indexers for the data at the specified generation identifier, and wherein further the master node of the cluster is configured to assign the specified generation identifier to the data, and further is configured to select at least one of the secondary indexers to become a new primary indexer of the data when the primary indexer for the specified generation identifier is determined to be non-responsive.

### Claim 47 (depends on 31)

The method of claim 31, wherein the transmitting the data to the other indexers for replication comprises transmitting the data with a journal comprising metadata useable to recreate the data.

### Claim 48 (depends on 31)

The method of claim 31, wherein each indexer of the plurality of indexers stores search affinity information, which indicates, for each subset of data stored by a respective indexer and for each site from which a query originates, whether the respective indexer has primary responsibility for returning search results for a respective subset of data.

### Claim 49

A non-transitory computer-readable medium storing computer-executable instructions which, when executed by a processor, cause the processor to perform operations comprising:
receiving, at a selected indexer within a plurality of indexers in a cluster, data from a forwarder indexer, wherein the selected indexer is designated as a primary indexer for the data, wherein the primary indexer is operable to respond to search queries pertaining to the data, wherein the cluster comprises a plurality of sites, wherein each site of the plurality of sites comprises a subset of the plurality of indexers;
receiving, at the selected indexer, data replication instructions from a master node of the cluster, wherein the data replication instructions identify a number of other indexers in the cluster for storing a replicated copy of the data determined in accordance with a replication factor configured for the cluster, and wherein the data replication instructions further identify a number of sites from the plurality of sites across which to store the replicated copy of the data determined in accordance with a site replication factor; and
transmitting, from the selected indexer, the data to the other indexers for replication

### Claim 50

A system comprising:
at least one memory storing computer-executable instructions; and
at least one processor, wherein the at least one processor is configured to access the at least one memory and to execute the computer-executable instructions to:
receive, at a selected indexer within a plurality of indexers in a cluster, data from a forwarder indexer, wherein the selected indexer is designated as a primary indexer for the data, wherein the primary indexer is operable to respond to search queries pertaining to the data, wherein the cluster comprises a plurality of sites, wherein each site of the plurality of sites comprises a subset of the plurality of indexers;
receive, at the selected indexer, data replication instructions from a master node of the cluster, wherein the data replication instructions identifies a number of other indexers in the cluster for storing a replicated copy of the data determined in accordance with a replication factor configured for the cluster, and wherein the data replication instructions further identifies a number of sites from the plurality of sites across which to store the replicated copy of the data determined in accordance with a site replication factor; and
transmit, from the selected indexer, the data to the other indexers for replication
