[
https://issues.apache.org/jira/browse/IGNITE-10279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721367#comment-16721367
]
ARomantsov commented on IGNITE-10279:
-------------------------------------
Can you please also fix help of control.sh
I suggest something like
{code:java}
Contol.sh is used to execute admin commands on cluster or get common cluster
info. The command has the following syntax:
control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password
PASSWORD] [--ping-interval PING_INTERVAL] [--ping-timeout PING_TIMEOUT]
[--ssl_enabled] [--ssl_protocol SSL_PROTOCOL[, SSL_PROTOCOL_2, ...]]
[--ssl_algorithm SSL_ALGORITHM] [--ssl_cipher_suites SSL_CIPHER_1[,
SSL_CIPHER_2, ...]] [--ssl_key_store_type SSL_KEY_STORE_TYPE]
[--ssl_key_store_path PATH] [--ssl_key_store_password PASSWORD]
[--ssl_truststore_type SSL_TRUST_STORE_TYPE] [--ssl_truststore_path PATH]
[--ssl_truststore_password PASSWORD] [command] <command_parameters>
This utility can do the following commands:
Activate cluster:
control.sh --activate
Deactivate cluster:
control.sh --deactivate [--yes]
Print current cluster state:
control.sh --state
Print cluster baseline topology:
control.sh --baseline
Add nodes into baseline topology:
control.sh --baseline add consistentId1[,consistentId2,....,consistentIdN]
[--yes]
Remove nodes from baseline topology:
control.sh --baseline remove
consistentId1[,consistentId2,....,consistentIdN] [--yes]
Set baseline topology:
control.sh --baseline set consistentId1[,consistentId2,....,consistentIdN]
[--yes]
Set baseline topology based on version:
control.sh --baseline version topologyVersion [--yes]
List or kill transactions:
control.sh --tx [xid XID] [minDuration SECONDS] [minSize SIZE] [label
PATTERN_REGEX] [servers|clients] [nodes
consistentId1[,consistentId2,....,consistentIdN]] [limit NUMBER] [order
DURATION|SIZE|START_TIME] [kill] [--yes]
View caches information in a cluster. For more details type:
control.sh --cache help
By default commands affecting the cluster require interactive confirmation.
Use --yes option to disable it.
Default values:
HOST_OR_IP=127.0.0.1
PORT=11211
PING_INTERVAL=5000
PING_TIMEOUT=30000
SSL_PROTOCOL=TLS
SSL_ALGORITHM=SunX509
SSL_KEY_STORE_TYPE=JKS
SSL_TRUST_STORE_TYPE=JKS
Exit codes:
0 - successful execution.
1 - invalid arguments.
2 - connection failed.
3 - authentication failed.
4 - unexpected error.
{code}
> Control.sh utility unify options naming format
> ----------------------------------------------
>
> Key: IGNITE-10279
> URL: https://issues.apache.org/jira/browse/IGNITE-10279
> Project: Ignite
> Issue Type: Improvement
> Affects Versions: 2.6
> Reporter: Sergey Antonov
> Assignee: Sergey Antonov
> Priority: Major
> Fix For: 2.8
>
>
> Now we have options in several styles:
> {noformat}
> --ping-interval
> {noformat}
> {noformat}
> --skipZeros
> {noformat}
> I think, we must unify options naming format and we should use linux like
> format, i.e. {{--word1-word2}}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)