bin/collector in wakame-vdc-dcmgr-11.06.0 vs bin/collector in wakame-vdc-dcmgr-11.12.0
- old
+ new
@@ -18,15 +18,20 @@
load_module Dcmgr::NodeModules::StaCollector
load_module Isono::NodeModules::NodeCollector
load_module Isono::NodeModules::JobCollector
load_module Dcmgr::NodeModules::HvaCollector
load_module Dcmgr::NodeModules::InstanceHA
+ load_module Dcmgr::NodeModules::Scheduler
config do |c|
c.data_store.connection_block = proc {
require 'sequel'
- next if Isono::NodeModules::DataStore.disconnected? == false
+ next if Isono::NodeModules::DataStore.disconnected? == false
Dcmgr.run_initializers('sequel')
+
+ # TODO; configuration in dcmgr.conf.
+ # c.node_collector.timeout_sec = (60*20).to_f
+ # c.node_collector.kill_sec = (60*20*2).to_f
}
end
end
Isono::Runner::RpcServer.start(manifest)