[
https://issues.apache.org/jira/browse/IGNITE-14871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Polovtcev updated IGNITE-14871:
-----------------------------------------
Description:
According to the
[IEP|https://cwiki.apache.org/confluence/display/IGNITE/IEP-77%3A+Node+Join+Protocol+and+Initialization],
we are going to have some new CLI commands:
h3. Cluster initialization
h4. Proposed API
{code:bash}
./ignite cluster init --node-endpoint=??? --metastorage-nodes=???
[---cmg-nodes=???]
{code}
* {{--node-endpoint}} - address of the REST endpoint of the receiving node in
host:port format
* {{--metastorage-nodes}} - space-separated list of addresses of the nodes
that will host the Metastorage Raft group. If the "-cmg-nodes" parameter is
empty, the same nodes will also host the Cluster Management Raft group.
* {{--cmg-nodes}} - space-separated list of addresses of the nodes that will
host the Cluster Management Raft group (optional parameter)
h4. Description
The purpose of this command is to deliver the initial cluster settings. The
recipient node should propagate this message to the specified nodes, so that
they will start the corresponding Raft groups. In case some nodes are
inaccessible or the Raft groups are already started, an error message should be
returned and the command must fail.
was:
According to the
[IEP|https://cwiki.apache.org/confluence/display/IGNITE/IEP-77%3A+Node+Join+Protocol+and+Initialization],
we are going to have some new CLI commands:
h3. Cluster initialization
h4. Proposed API
{code:bash}
./ignite cluster init --node-endpoint=??? --metastorage-nodes=???
[---cmg-nodes=???]
{code}
* {{--node-endpoint}} - address of the REST endpoint of the receiving node in
host:port format
* {{--metastorage-nodes}} - space-separated list of addresses of the nodes that
will host the Metastorage Raft group. If the "--cmg-nodes" parameter is empty,
the same nodes will also host the Cluster Management Raft group.
* {{--cmg-nodes}} - space-separated list of addresses of the nodes that will
host the Cluster Management Raft group (optional parameter)
h4. Description
The purpose of this command is to deliver the initial cluster settings. The
recipient node should propagate this message to the specified nodes, so that
they will start the corresponding Raft groups. In case some nodes are
inaccessible or the Raft groups are already started, an error message should be
returned and the command must fail.
> Add cluster initialization commands to the Ignite CLI
> -----------------------------------------------------
>
> Key: IGNITE-14871
> URL: https://issues.apache.org/jira/browse/IGNITE-14871
> Project: Ignite
> Issue Type: Task
> Components: networking
> Reporter: Vyacheslav Koptilin
> Priority: Major
> Labels: ignite-3
>
> According to the
> [IEP|https://cwiki.apache.org/confluence/display/IGNITE/IEP-77%3A+Node+Join+Protocol+and+Initialization],
> we are going to have some new CLI commands:
> h3. Cluster initialization
> h4. Proposed API
> {code:bash}
> ./ignite cluster init --node-endpoint=??? --metastorage-nodes=???
> [---cmg-nodes=???]
> {code}
> * {{--node-endpoint}} - address of the REST endpoint of the receiving node
> in host:port format
> * {{--metastorage-nodes}} - space-separated list of addresses of the nodes
> that will host the Metastorage Raft group. If the "-cmg-nodes" parameter is
> empty, the same nodes will also host the Cluster Management Raft group.
> * {{--cmg-nodes}} - space-separated list of addresses of the nodes that will
> host the Cluster Management Raft group (optional parameter)
> h4. Description
> The purpose of this command is to deliver the initial cluster settings. The
> recipient node should propagate this message to the specified nodes, so that
> they will start the corresponding Raft groups. In case some nodes are
> inaccessible or the Raft groups are already started, an error message should
> be returned and the command must fail.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)