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)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
#IndicDba: Gather DBAs indicators
 
#IndicDba: Gather DBAs indicators
 
IndicDba:$gvsqw_CasBin/sqwcas_GatherIndicators.ksh -I <CAS_SID>
 
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
 +
 +
#NodetoolRepairInc: run "nodetool repair -inc -par" on all nodes
 +
NodetoolRepairInc:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'repair -inc -par' -S All -Dynamic -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
 +
 +
#BackupFull: run backup full on all nodes
 +
BackupFull:$gvsqw_CasBin/sqwcas_Backup.ksh -I <CAS_SID> -Type full -Exec
 +
 +
#BackupInc: run backup inc on all nodes
 +
BackupInc:$gvsqw_CasBin/sqwcas_Backup.ksh -I <CAS_SID> -Type inc -Exec
 
</pre>
 
</pre>
 
<br>
 
<br>

Latest revision as of 09:49, 17 May 2017

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

#NodetoolRepairInc: run "nodetool repair -inc -par" on all nodes
NodetoolRepairInc:$gvsqw_CasBin/sqwcas_CentralisedNodetool.ksh -I <CAS_SID> -C 'repair -inc -par' -S All -Dynamic -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

#BackupFull: run backup full on all nodes
BackupFull:$gvsqw_CasBin/sqwcas_Backup.ksh -I <CAS_SID> -Type full -Exec

#BackupInc: run backup inc on all nodes
BackupInc:$gvsqw_CasBin/sqwcas_Backup.ksh -I <CAS_SID> -Type inc -Exec