Note that there are some explanatory texts on larger screens.

plurals
  1. POquartz scheduler clustering
    primarykey
    data
    text
    <p>I have a 2 node HA server. Node 1 is active and node 2 is standby.</p> <p>I have made one application and used the quartz api to do clustering. I have made all the tables in the db.</p> <p>Now do i need to run the module in both the nodes or jst node 1 so that when the node 1 goes down the application automatically starts in node 2.</p> <p>The trigger and the job name should be same or different while running the module in both the nodes?</p> <h2>Quartz.properties:</h2> <p>org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool</p> <p>org.quartz.threadPool.threadCount = 10</p> <p>org.quartz.threadPool.threadPriority = 5</p> <p>org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true</p> <p>-- Using RAMJobStore</p> <p>-- if using RAMJobStore, please be sure that you comment out</p> <p>-- org.quartz.jobStore.tablePrefix, org.quartz.jobStore.driverDelegateClass, org.quartz.jobStore.dataSource</p> <p>-org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore</p> <p>-- Using JobStoreTX</p> <p>-- Be sure to run the appropriate script(under docs/dbTables) first to create database/tables</p> <p>org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX</p> <p>-- Using DriverDelegate</p> <p>org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate</p> <p>--New conf for Clustering</p> <p>org.quartz.jobStore.isClustered = true</p> <p>org.quartz.jobStore.clusterCheckinInterval = 20000</p> <p>org.quartz.scheduler.instanceId = AUTO</p> <p>org.quartz.scheduler.instanceId = AUTO</p> <p>org.quartz.scheduler.instanceName = MyClusteredScheduler</p> <p>-- Configuring JDBCJobStore with the Table Prefix</p> <p>org.quartz.jobStore.tablePrefix = QRTZ_</p> <p>-- Using datasource</p> <p>org.quartz.jobStore.dataSource = qzDS</p> <p>-- Define the datasource to use</p> <p>org.quartz.dataSource.qzDS.driver = oracle.jdbc.driver.OracleDriver</p> <p>org.quartz.dataSource.qzDS.URL = jdbc:oracle:thin:@10.172.16.147:1521:emadb0</p> <p>org.quartz.dataSource.qzDS.user = BLuser</p> <p>org.quartz.dataSource.qzDS.password = BLuser</p> <p>org.quartz.dataSource.qzDS.maxConnections = 30</p> <h2>-----------------------</h2>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload