# Elastic licences

**URL:** <https://discuss.elastic.co/t/elastic-licences/329174>\
**Category:** Kibana\
**Created:** [April 3, 2023, 8:20am UTC](https://discuss.elastic.co/t/elastic-licences/329174 "2023-04-03T08:20:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 3, 2023, 8:20am UTC](https://discuss.elastic.co/t/elastic-licences/329174/1 "2023-04-03T08:20:59Z")

</div>

Hello, I have a cluster with 1 master and 2 nodes, if I install the enterpise license on a node, will it move to the other node or to the master?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 4, 2023, 1:38am UTC](https://discuss.elastic.co/t/elastic-licences/329174/2 "2023-04-04T01:38:37Z")

</div>

Welcome to our community! 😃

A license is applied to all nodes in the cluster. Which means yes, it will be added to the other nodes.

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 4, 2023, 3:17pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/3 "2023-04-04T15:17:33Z")

</div>

Can you tell me how can I implement multi-tenancy and how can I implement a license in one node and it won't be added to other nodes ?  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/2/d/2daeaa8b5f19f0bc209d976c02bd6acb51b00b0a.gif)ᐧ

Mark Walkom via Discuss the Elastic Stack \<[notifications@elastic.discoursemail.com](mailto:notifications@elastic.discoursemail.com)\> escreveu no dia terça, 4/04/2023 à(s) 02:48:

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 4, 2023, 5:13pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/4 "2023-04-04T17:13:36Z")

</div>

> [@Joel\_Goncalves](#):
>
> Can you tell me how can I implement multi-tenancy

Multi-tenancy depends on your indexing strategy, it is done by giving specific permissions according to the indices that each tenant can access and in Kibana you can use Spaces to help with that.

> [@Joel\_Goncalves](#):
>
> how can I implement a license in one node and it won't be added to other nodes ?

Not possible, the license is applied on the cluster, all nodes on the same cluster will have the same license.

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 8:12am UTC](https://discuss.elastic.co/t/elastic-licences/329174/5 "2023-04-05T08:12:15Z")

</div>

Is there any way I can implement multi-tenancy and in each elastic have a different license ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 5, 2023, 9:25am UTC](https://discuss.elastic.co/t/elastic-licences/329174/6 "2023-04-05T09:25:40Z")

</div>

Only with separate clusters.

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 9:28am UTC](https://discuss.elastic.co/t/elastic-licences/329174/7 "2023-04-05T09:28:51Z")

</div>

Can you tell me then how can I implement multi-tenancy with separate clusters ?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2023, 12:41pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/8 "2023-04-05T12:41:27Z")

</div>

> [@Joel\_Goncalves](#):
>
> Can you tell me then how can I implement multi-tenancy with separate clusters ?

I'm not sure what is your question, you need to have one cluster per tenant, that is how you implement multi-tenancy with separate cluster.

Every tenant would have access to a different cluster running on different places.

Can you provide more context about what you are trying to do? it is not clear.

Also, are you running on-premises or using Elastic Cloud?

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 1:22pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/9 "2023-04-05T13:22:07Z")

</div>

I have 3 elasticsearch clusters installed locally and I want to connect 2 clusters to one cluster. I'm just not getting it. I have port 9300/9200 open but it is not connecting. These are my settings.

cluster.name:client\_1

cluster.remote.central.seeds: ["192.168.10.67:9300"]

http.port: 9200

network.host: 192.168.10.73

The cluster I'm trying to connect to is also configured this way.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2023, 1:31pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/10 "2023-04-05T13:31:57Z")

</div>

> [@Joel\_Goncalves](#):
>
> I have 3 elasticsearch clusters installed locally and I want to connect 2 clusters to one cluster.

Are you talking about **nodes** or **clusters**? A Node is an Elasticsearch instance that is part of a cluster, a cluster is composed of _one_ or _more_ elasticsearch nodes.

You will need to share the entire `elasticsearch.yml` of all your nodes.

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 1:36pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/11 "2023-04-05T13:36:38Z")

</div>

I have one node per cluster, and I want to connect these two clusters

 ![3](https://us1.discourse-cdn.com/elastic/original/3X/d/e/de7ebd734e40360b14c0d64c83b8305a1388d470.png)  
 ![1](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4ec30b3f78adc7358c4b1fe42c5a08bbd9ba7fff.png)  
 ![2](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c87ded0fd2f5b0407e00a3c5c9217b58185bfecb.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2023, 2:21pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/12 "2023-04-05T14:21:40Z")

</div>

> [@Joel\_Goncalves](#):
>
> I have one node per cluster, and I want to connect these two clusters

You mean connect to search? You need to follow the documentation on how to configure [cross cluster search](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cross-cluster-search.html#ccs-supported-configurations).

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 2:26pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/13 "2023-04-05T14:26:47Z")

</div>

I want them to connect so I can monitor later. I've already seen this documentation and followed all the steps but I can't connect the clusters

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2023, 3:59pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/14 "2023-04-05T15:59:07Z")

</div>

> [@Joel\_Goncalves](#):
>
> I've already seen this documentation and followed all the steps but I can't connect the clusters

Then you need to share the Elasticserch logs that would indicate an issue, without the logs is not possible to know what is the issue.

> [@Joel\_Goncalves](#):
>
> I want them to connect so I can monitor later.

Monitor in wich way?

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 4:54pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/15 "2023-04-05T16:54:41Z")

</div>

To be more clear this is what I want to do. I have two clusters with 1 node in each cluster and I want to connect node 192.168.10.74 to node 192.168.10.67, these nodes are in different clusters.

 ![3](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d18f74f831132df77cafdc5d3cfe69029ed1481e.png)  
 ![1](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2e713dfe7e9b9e436047d0427a94c0b4ced4dab0.png)  
 ![2](https://us1.discourse-cdn.com/elastic/original/3X/7/b/7b672b1a9bba1a5e5340f4bbc7c01a48f7097c50.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2023, 5:04pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/16 "2023-04-05T17:04:58Z")

</div>

As I said, you need to share logs that indicate some issue, without it is not possible to know.

Also, avoid sharing screenshots of configurations, just copy and share the plain text using the Preformatted text button, the `</>` button, it makes it easier to read.

What is the return of the request: `GET /_remote/info`?

What do you have when you click in the `?` on the Not Connected status?

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 5, 2023, 5:20pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/17 "2023-04-05T17:20:46Z")

</div>

What logs do you want me to show you ?  
This was the output of the request: GET /\_remote/info -

```auto
curl -k -u elastic:techbase -X GET "https://192.168.10.67:9200/_remote/info?pretty"
{
  "Client_1" : {
    "connected" : false,
    "mode" : "sniff",
    "seeds" : [
      "192.168.10.73:9300"
    ],
    "num_nodes_connected" : 0,
    "max_connections_per_cluster" : 3,
    "initial_connect_timeout" : "30s",
    "skip_unavailable" : false
  }
}

```

? = Ensure the seed nodes are configured with the remote cluster's transport port, not the http port.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2023, 5:46pm UTC](https://discuss.elastic.co/t/elastic-licences/329174/18 "2023-04-05T17:46:50Z")

</div>

> [@Joel\_Goncalves](#):
>
> What logs do you want me to show you ?

You need to look at both your Elasticsearch cluster logs and see if there is anything in the logs that would indicate any issue while it tries to connect to the remote cluster.

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 6, 2023, 8:19am UTC](https://discuss.elastic.co/t/elastic-licences/329174/19 "2023-04-06T08:19:03Z")

</div>

Cluster

```auto
[2023-04-05T17:13:03,678][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-security]
[2023-04-05T17:13:03,679][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-shutdown]
[2023-04-05T17:13:03,679][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-sql]
[2023-04-05T17:13:03,679][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-stack]
[2023-04-05T17:13:03,679][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-text-structure]
[2023-04-05T17:13:03,680][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-voting-only-node]
[2023-04-05T17:13:03,680][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-watcher]
[2023-04-05T17:13:03,680][INFO][o.e.p.PluginsService] [techbase] loaded module [x-pack-write-load-forecaster]
[2023-04-05T17:13:03,680][INFO][o.e.p.PluginsService] [techbase] no plugins loaded
[2023-04-05T17:13:08,856][WARN][stderr] [techbase] Apr 05, 2023 5:13:08 PM org.apache.lucene.store.MemorySegmentIndexInputProvider <init>
[2023-04-05T17:13:08,869][INFO][o.e.e.NodeEnvironment] [techbase] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [25.6gb], net total_space [30.3gb], type>
[2023-04-05T17:13:08,870][INFO][o.e.e.NodeEnvironment] [techbase] heap size [3.8gb], compressed ordinary object pointers [true]
<old, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest]
[2023-04-05T17:13:13,604][INFO][o.e.x.m.p.l.CppLogMessageHandler] [techbase] [controller/2744] [Main.cc@123] controller (64 bit): Version 8.7.0 (Build e4e1c23721e58c) Copyrigh>
[2023-04-05T17:13:13,961][INFO][o.e.x.s.Security] [techbase] Security is enabled
[2023-04-05T17:13:14,692][INFO][o.e.x.s.a.s.FileRolesStore] [techbase] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2023-04-05T17:13:15,303][INFO][o.e.x.s.InitialNodeSecurityAutoConfiguration] [techbase] Auto-configuration will not generate a password for the elastic built-in superuser, as>
[2023-04-05T17:13:15,802][INFO][o.e.x.p.ProfilingPlugin] [techbase] Profiling is enabled
[2023-04-05T17:13:16,953][INFO][o.e.t.n.NettyAllocator] [techbase] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, sugge>
[2023-04-05T17:13:16,992][INFO][o.e.i.r.RecoverySettings] [techbase] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2023-04-05T17:13:17,065][INFO][o.e.d.DiscoveryModule] [techbase] using discovery type [multi-node] and seed hosts providers [settings]
[2023-04-05T17:13:19,241][INFO][o.e.n.Node] [techbase] initialized
[2023-04-05T17:13:19,245][INFO][o.e.n.Node] [techbase] starting ...
[2023-04-05T17:13:19,271][INFO][o.e.x.s.c.f.PersistentCache] [techbase] persistent cache index loaded
[2023-04-05T17:13:19,272][INFO][o.e.x.d.l.DeprecationIndexingComponent] [techbase] deprecation component started
[2023-04-05T17:13:19,416][INFO][o.e.t.TransportService] [techbase] publish_address {192.168.10.67:9300}, bound_addresses {192.168.10.67:9300}
[2023-04-05T17:13:19,611][INFO][o.e.b.BootstrapChecks] [techbase] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2023-04-05T17:13:19,617][INFO][o.e.c.c.ClusterBootstrapService] [techbase] this node has not joined a bootstrapped cluster yet; [cluster.initial_master_nodes] is set to [tech>
[2023-04-05T17:13:19,633][INFO][o.e.c.c.Coordinator] [techbase] setting initial configuration to VotingConfiguration{9QtVsolBTxmgAdfTupmgGg}
[2023-04-05T17:13:19,933][INFO][o.e.c.s.MasterService] [techbase] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {techbase}{9QtVsolBTxmgAdfTupmgGg}{T0WoZUWuQpicF7>
[2023-04-05T17:13:19,996][INFO][o.e.c.c.CoordinationState] [techbase] cluster UUID set to [fFznsIZ8QDCWph5g6vzaGQ]
[2023-04-05T17:13:20,048][INFO][o.e.c.s.ClusterApplierService] [techbase] master node changed {previous [], current [{techbase}{9QtVsolBTxmgAdfTupmgGg}{T0WoZUWuQpicF741EmucrQ}>
[2023-04-05T17:13:20,126][INFO][o.e.r.s.FileSettingsService] [techbase] starting file settings watcher ...
[2023-04-05T17:13:20,147][INFO][o.e.h.AbstractHttpServerTransport] [techbase] publish_address {192.168.10.67:9200}, bound_addresses {[::]:9200}
[2023-04-05T17:13:20,154][INFO][o.e.c.c.NodeJoinExecutor] [techbase] node-join: [{techbase}{9QtVsolBTxmgAdfTupmgGg}{T0WoZUWuQpicF741EmucrQ}{techbase}{192.168.10.67}{192.168.1>
[2023-04-05T17:13:20,136][INFO][o.e.r.s.FileSettingsService] [techbase] file settings service up and running [tid=60]

```

```auto
[2023-04-06T00:05:24,879][WARN][o.e.c.c.Coordinator] [techabse] This node is a fully-formed single-node cluster with cluster UUID [fFznsIZ8QDCWph5g6vzaGQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[192.168.10.73:9300, 192.168.10.74:9300]] setting. Fully-formed cluster do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). Remove the discovery configuration to suppress this message.

```

---

<div class="post-metadata">

**Author:** ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)\
**Post date:** [April 6, 2023, 8:24am UTC](https://discuss.elastic.co/t/elastic-licences/329174/20 "2023-04-06T08:24:56Z")

</div>

All I wanna do is set up a Cross-Cluster but I am having trouble connecting the clusters

[Next page](https://discuss.elastic.co/t/elastic-licences/329174.md?page=2)
