Sha256: 7501082cf7bdf3777ce5e778bc27daa21593baf4b8ba5d349524c06b5580225c
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'dcmgr/rubygems' require 'dcmgr' require 'isono' Dcmgr.configure(File.expand_path('../../config/dcmgr.conf', __FILE__)) manifest = Isono::Runner::RpcServer::DEFAULT_MANIFEST.dup manifest.instance_eval do node_name 'collector' node_instance_id 'master' load_module Isono::NodeModules::DataStore 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 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)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wakame-vdc-dcmgr-11.12.0 | bin/collector |