Cluster ID and tag: identification of the cluster

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cluster ID and tag: identification of the cluster

Sergey Chugunov
Hello folks,

I would like to propose implementing new properties to identify the cluster
and simplify managing it by external tools (e.g. custom scripts built on
top of standard Control Utility).

These properties are Cluster ID (UUID) and Cluster tag (String) exposed
through existing IgniteCluster public API.

Both properties are generated upon cluster startup (before activation if
the cluster requires it) and survived restarts if cluster is configured in
persistent mode and regenerated again if it is an in-memory cluster.

Cluster ID is immutable and useful more for automated tools while Cluster
tag is mutable (may be changed by user) and is supposed to be human
readable to view it in any GUI or web-based management solutions.

I already created a ticket [1] with some more technical details and invite
community to discuss this feature.

[1] https://issues.apache.org/jira/browse/IGNITE-12111
--
Best Regards,
Sergey Chugunov.
Reply | Threaded
Open this post in threaded view
|

Re: Cluster ID and tag: identification of the cluster

Dmitry Pavlov
Hi Sergey,

Would cluster tag be isolator of two clusters? E.g. I want in the same
network create 2 clusters, e.g. for educational purposes. Can I select
cTag=dpavlov, cTag=schugunov and these would be independent clusters?

Dmitriy Pavlov

ср, 28 авг. 2019 г. в 11:01, Sergey Chugunov <[hidden email]>:

> Hello folks,
>
> I would like to propose implementing new properties to identify the cluster
> and simplify managing it by external tools (e.g. custom scripts built on
> top of standard Control Utility).
>
> These properties are Cluster ID (UUID) and Cluster tag (String) exposed
> through existing IgniteCluster public API.
>
> Both properties are generated upon cluster startup (before activation if
> the cluster requires it) and survived restarts if cluster is configured in
> persistent mode and regenerated again if it is an in-memory cluster.
>
> Cluster ID is immutable and useful more for automated tools while Cluster
> tag is mutable (may be changed by user) and is supposed to be human
> readable to view it in any GUI or web-based management solutions.
>
> I already created a ticket [1] with some more technical details and invite
> community to discuss this feature.
>
> [1] https://issues.apache.org/jira/browse/IGNITE-12111
> --
> Best Regards,
> Sergey Chugunov.
>