Template:SQWareProduction sqwcas RollingRestart.ksh help

From Wiki_dbSQWare
Revision as of 17:57, 25 March 2018 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Sourcing sqwcas_Global.lib v4.0.04 SQWareProduction for Cassandra (dbSQWare) ... 

Usage: sqwcas_RollingRestart.ksh [-h] -I <instance> [+ options]

DESCRIPTION
   sqwcas_RollingRestart.ksh Run 'stop/start/restart' cassandra on selected nodes
SUPPORT
   Cassandra supported versions: 2.0 <= v <= 3.0

PARAMETERS
     -I  instance       : Target instance.
OPTIONS
     -h    help         : Display the full usage.
     -s                 : Display samples of usage.
     -A    action       : Action (start, stop, restart : by default restart).
     -S    scope        : Scope of the execution (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  return_code  : Force return code value on error.
     -AddMail email     : Email Address to add at 'pmexpdba@gmail.com'.
     -Timeout Nb_sec    : Timeout before kill off 'nodetool drain' command when stop (by default 900).
     -SendReport        : Send execution log report.
     -Dynamic           : Strength discover of nodes (by default, search in $gvsqw_RootCfg/.clucfg generated by sqwcas_GenNodesConf.ksh).
     -NoMail            : Disable sendmail on error pmexpdba@gmail.com (by default, send on error).
     -Wait              : Wait between two nodes (by default 120).
     -Exec              : Execute commands (default, display generated commands)