Template:SQWareProduction sqwcas RollingRestart.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
No edit summary |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwcas_Global.lib | Sourcing sqwcas_Global.lib v2025.06 SQWareProduction for Cassandra (dbSQWare) ... | ||
Usage: sqwcas_RollingRestart.ksh [-h] -I < | Usage: sqwcas_RollingRestart.ksh [-h] -I <CAS_SID> [+ options] | ||
DESCRIPTION | DESCRIPTION | ||
Line 12: | Line 12: | ||
-I instance : Target instance. | -I instance : Target instance. | ||
OPTIONS | OPTIONS | ||
-h | -h : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-A action : Action (start, stop, restart : by default restart). | -A action : Action (start, stop, restart : by default restart). | ||
-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). | ||
-FRT | -FRT code : Force return code value on error. | ||
-AddMail email | -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. | ||
-Timeout Nb_sec : Timeout before kill off 'nodetool drain' command when stop (by default 900). | -Timeout Nb_sec : Timeout before kill off 'nodetool drain' command when stop (by default 900). | ||
-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 : Disable sendmail on error | -NoMail : Disable sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). | ||
-Locale | -Locale locale : Force Locale for help display (fr,en). | ||
-Wait : Wait between two nodes restart (by default 120). | -Wait : Wait between two nodes restart (by default 120). | ||
-Exec : Execute commands (default, display generated commands) | -Exec : Execute commands (by default, display generated commands). | ||
</pre> | </pre> |
Latest revision as of 18:52, 1 July 2025
Sourcing sqwcas_Global.lib v2025.06 SQWareProduction for Cassandra (dbSQWare) ... Usage: sqwcas_RollingRestart.ksh [-h] -I <CAS_SID> [+ options] DESCRIPTION sqwcas_RollingRestart.ksh Run 'stop/start/restart' cassandra on selected nodes SUPPORT Cassandra supported versions: 2.0 <= v <= 4.0 PARAMETERS -I instance : Target instance. OPTIONS -h : Display the full usage. -s : Display samples of usage. -A action : Action (start, stop, restart : by default restart). -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). -FRT code : Force return code value on error. -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. -Timeout Nb_sec : Timeout before kill off 'nodetool drain' command when stop (by default 900). -SendReport : Send execution log report. -Dynamic : Force dynamic discovery of nodes (by default, search in $gvsqw_RootCfg/.clucfg generated by sqwcas_GenNodesConf.ksh). -NoMail : Disable sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -Wait : Wait between two nodes restart (by default 120). -Exec : Execute commands (by default, display generated commands).