Difference between revisions of "Template:SQWareProduction sqwcas CentralisedNodetool.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwcas_Global.lib | + | Sourcing sqwcas_Global.lib v2024.07 SQWareProduction for Cassandra (dbSQWare) ... |
− | Usage: sqwcas_CentralisedNodetool.ksh [-h] -I < | + | Usage: sqwcas_CentralisedNodetool.ksh [-h] -I <CAS_SID> -C <command options> [+ options] |
DESCRIPTION | DESCRIPTION | ||
Line 13: | Line 13: | ||
-C command : Options for the nodetool command (ex: 'version', 'compact keyspace column_family' or other). | -C command : Options for the nodetool command (ex: 'version', 'compact keyspace column_family' or other). | ||
OPTIONS | OPTIONS | ||
− | -h | + | -h : Display the full usage. |
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | -S scope : Scope of the execution (default: Local) | + | -S scope : Scope of the execution (by default: Local). |
− | Local => only on the local node | + | Local => only on the local node. |
− | LocalNode => only on the local node | + | LocalNode => only on the local node. |
− | Node_$NodeName => only on the node '$NodeName' | + | Node_$NodeName => only on the node '$NodeName'. |
− | LocalDC => all nodes on the local datacenter | + | LocalDC => all nodes on the local datacenter. |
− | DC_$DCName => all nodes on the datacenter '$DCName' | + | DC_$DCName => all nodes on the datacenter '$DCName'. |
− | All => all nodes on the cluster(all datacenters) | + | All => all nodes on the cluster(all datacenters). |
− | AllNodes => all nodes on the cluster(all datacenters) | + | AllNodes => all nodes on the cluster(all datacenters). |
− | AllDC => all nodes on the cluster(all datacenters) | + | AllDC => all nodes on the cluster(all datacenters). |
− | -AGR | + | -AGR Nb_sec : Nb of seconds between two runs (by default 1s). |
− | -AGE | + | -AGE Nb_sec : Nb of seconds between two checks of end (by default 5s). |
− | -FRT | + | -FRT code : Force return code value on error. |
− | -AddMail email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-Timeout Nb_sec : Timeout kill of ssh session. | -Timeout Nb_sec : Timeout kill of ssh session. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-Dynamic : Force dynamic discovery of nodes (by default, search in $gvsqw_RootCfg/.clucfg generated by sqwcas_GenNodesConf.ksh). | -Dynamic : Force dynamic discovery of nodes (by default, search in $gvsqw_RootCfg/.clucfg generated by sqwcas_GenNodesConf.ksh). | ||
-NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
− | -Locale | + | -Locale locale : Force Locale for help display (fr,en). |
− | -Exec : Execute commands (default, display generated commands) | + | -Exec : Execute commands (by default, display generated commands). |
</pre> | </pre> |
Latest revision as of 15:55, 31 October 2024
Sourcing sqwcas_Global.lib v2024.07 SQWareProduction for Cassandra (dbSQWare) ... Usage: sqwcas_CentralisedNodetool.ksh [-h] -I <CAS_SID> -C <command options> [+ options] DESCRIPTION sqwcas_CentralisedNodetool.ksh Run 'nodetool' command on selected nodes SUPPORT Cassandra supported versions: 2.0 <= v <= 4.0 PARAMETERS -I instance : Target instance. -C command : Options for the nodetool command (ex: 'version', 'compact keyspace column_family' or other). OPTIONS -h : Display the full usage. -s : Display samples of usage. -S scope : Scope of the execution (by default: Local). Local => only on the local node. LocalNode => only on the local node. Node_$NodeName => only on the node '$NodeName'. LocalDC => all nodes on the local datacenter. DC_$DCName => all nodes on the datacenter '$DCName'. All => all nodes on the cluster(all datacenters). AllNodes => all nodes on the cluster(all datacenters). AllDC => all nodes on the cluster(all datacenters). -AGR Nb_sec : Nb of seconds between two runs (by default 1s). -AGE Nb_sec : Nb of seconds between two checks of end (by default 5s). -FRT code : Force return code value on error. -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -Timeout Nb_sec : Timeout kill of ssh session. -SendReport : Send execution log report. -Dynamic : Force dynamic discovery of nodes (by default, search in $gvsqw_RootCfg/.clucfg generated by sqwcas_GenNodesConf.ksh). -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -Exec : Execute commands (by default, display generated commands).