diff --git a/x-pack/plugins/cross_cluster_replication/README.md b/x-pack/plugins/cross_cluster_replication/README.md index 8baccf4f7333e..9c500950c20df 100644 --- a/x-pack/plugins/cross_cluster_replication/README.md +++ b/x-pack/plugins/cross_cluster_replication/README.md @@ -4,11 +4,9 @@ You can run a local cluster and simulate a remote cluster within a single Kibana directory. -1. Run `yarn es snapshot --license=trial` and kill the process once the snapshot has been installed. -2. Duplicate the ES installation by running `cp -aR .es/8.0.0 .es/8.0.0-2`. -3. Start your "local" cluster by running `.es/8.0.0/bin/elasticsearch` and starting Kibana. -4. Start your "remote" cluster by running `.es/8.0.0-2/bin/elasticsearch -E cluster.name=europe -E transport.port=9400`. -5. Index a document into your remote cluster by running `curl -X PUT http://elastic:changeme@localhost:9201/my-leader-index --data '{"settings":{"number_of_shards":1,"soft_deletes.enabled":true}}' --header "Content-Type: application/json"`. +1. Start your "local" cluster by running `yarn es snapshot --license=trial` and `yarn start` to start Kibana. +2. Start your "remote" cluster by running `yarn es snapshot --license=trial -E cluster.name=europe -E transport.port=9400` in a separate terminal tab. +3. Index a document into your remote cluster by running `curl -X PUT http://elastic:changeme@localhost:9201/my-leader-index --data '{"settings":{"number_of_shards":1,"soft_deletes.enabled":true}}' --header "Content-Type: application/json"`. Note that these settings are required for testing auto-follow pattern conflicts errors (see below). Now you can create follower indices and auto-follow patterns to replicate the `my-leader-index`