Difference between revisions of "SQWareProduction:cassandra:etc:sqwcas CreInst Jobs.cfg"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 10: Line 10:
  
 
#NetBackup: run user backup command
 
#NetBackup: run user backup command
NetBackup:$gvsqw_CasBin/sqwcas_NetBackup.ksh -I <CAS_SID> -Policy <Policy> -Schedule <Schedule> -Exec
+
NetBackup:$gvsqw_CasBin/sqwcas_NetBackup.ksh -I <CAS_SID> -Policy <Policy> -Schedule <Schedule> -Exec
 +
 
 +
#NodetoolRepairPr: run "nodetool repair -pr" on all nodes
 +
NodetoolRepairPr:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'repair -pr' -S All -Dynamic -Exec
 +
 
 +
#NodetoolRepair: run "nodetool repair" on all nodes
 +
NodetoolRepair:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'repair' -S All -Dynamic -Exec
 +
 
 +
#NodetoolCompact: run "nodetool compact" on all nodes
 +
NodetoolCompact:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'compact' -S All -Dynamic -Exec
 +
 
 +
#NodetoolCompactOne: run "nodetool compact keyspace col_fam" on all nodes
 +
NodetoolCompactOne:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'compact keyspace col_fam' -S All -Dynamic -Exec
 
</pre>
 
</pre>
 
<br>
 
<br>

Revision as of 19:09, 30 November 2015

Configuration file $gvsqw_CasBin/../etc/sqwcas_CreInst_Jobs.cfg:



File content:


#IndicDba: Gather DBAs indicators
IndicDba:$gvsqw_CasBin/sqwcas_GatherIndicators.ksh -I <CAS_SID>

#NetBackup: run user backup command
NetBackup:$gvsqw_CasBin/sqwcas_NetBackup.ksh -I <CAS_SID> -Policy <Policy> -Schedule <Schedule> -Exec

#NodetoolRepairPr: run "nodetool repair -pr" on all nodes
NodetoolRepairPr:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'repair -pr' -S All -Dynamic -Exec

#NodetoolRepair: run "nodetool repair" on all nodes
NodetoolRepair:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'repair' -S All -Dynamic -Exec

#NodetoolCompact: run "nodetool compact" on all nodes
NodetoolCompact:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'compact' -S All -Dynamic -Exec

#NodetoolCompactOne: run "nodetool compact keyspace col_fam" on all nodes
NodetoolCompactOne:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'compact keyspace col_fam' -S All -Dynamic -Exec