[ 
https://issues.apache.org/jira/browse/IGNITE-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405984#comment-16405984
 ] 

Sergey Kosarev commented on IGNITE-7864:
----------------------------------------

1. you are correct, we don't print waring for --baseline as it only prints 
current baseline state.
2. fixed:
  Deactivate cluster:
    control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password 
PASSWORD] --deactivate [--force]

  Add nodes into baseline topology:
    control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password 
PASSWORD] --baseline add consistentId1[,consistentId2,....,consistentIdN] 
[--force]

  Remove nodes from baseline topology:
    control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password 
PASSWORD] --baseline remove consistentId1[,consistentId2,....,consistentIdN] 
[--force]

  Set baseline topology:
    control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password 
PASSWORD] --baseline set consistentId1[,consistentId2,....,consistentIdN] 
[--force]

  Set baseline topology based on version:
    control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password 
PASSWORD] --baseline version topologyVersion [--force]

By default cluster deactivation and changes in baseline topology commands 
request interactive confirmation. 
  --force option can be used to execute commands without prompting for 
confirmation.

> Control utility: Add confirm on dangerous operations
> ----------------------------------------------------
>
>                 Key: IGNITE-7864
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7864
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexey Kuznetsov
>            Assignee: Sergey Kosarev
>            Priority: Major
>             Fix For: 2.5
>
>
> control.sh can deactivate cluster.
> It could be very dangerous in some cases.
> Lets add manual confirmation for dangerous operations: deactivate, change 
> base line, ...
> Also, lets add "-force" option to not ask for confirmation (will be useful in 
> scripts).
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to