Created
March 14, 2025 19:28
-
-
Save joeywhelan/32e506a20fe003780bf6ef9fca696e25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo -e "\n*** Create a Follower Index, east_ccr on East Cluster ***" | |
| json=$(jq -nc \ | |
| '{ | |
| remote_cluster: "west_remote", | |
| leader_index: "west_ccr", | |
| max_read_request_operation_count: 5120, | |
| max_outstanding_read_requests: 12, | |
| max_read_request_size: "32mb", | |
| max_write_request_operation_count: 5120, | |
| max_write_request_size: "9223372036854775807b", | |
| max_outstanding_write_requests: 9, | |
| max_write_buffer_count: 2147483647, | |
| max_write_buffer_size: "512mb", | |
| max_retry_delay: "500ms", | |
| read_poll_timeout: "1m" | |
| }') | |
| curl -s -k -u "elastic:elastic" -X PUT "https://$EAST_ELASTIC_IP:9200/east_ccr/_ccr/follow" \ | |
| -H "Content-Type: application/json" \ | |
| -d "$json" > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment