Commits

timemachine  committed 8e0052e

Added mysql node3 config example.

  • Participants
  • Parent commits 46fa18b
  • Branches 1.1.x

Comments (0)

Files changed (1)

File timemachine-hibernate/config/scheduler-mysql-node3.properties

+# Copyright 2012 Zemian Deng
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#    http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Setup multiple scheduler nodes
+timemachine.scheduler.schedulerName = TimeMachineScheduler
+timemachine.scheduler.nodeName = Node3
+
+# Use MySQL for scheduler as data store
+timemachine.scheduler.dataStore.class = timemachine.scheduler.hibernate.HibernateDataStore
+
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.driver_class = com.mysql.jdbc.Driver
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.url = jdbc:mysql://localhost:3306/tmscheduler
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.username = admin
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.password = admin123
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.pool_size = 5
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.dialect = org.hibernate.dialect.MySQLDialect
+timemachine.scheduler.dataStore.hibernateDataStore.hibernate.show_sql = false