Sha256: 8715c5e49e1e3a4a22d3b37773a673df83890edcc98e056121d313afb2d9b2c7
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'dcmgr/rubygems' require 'dcmgr' require 'isono' include Isono::Runner::RpcServer manifest = Isono::Runner::RpcServer::DEFAULT_MANIFEST.dup manifest.instance_eval do node_name 'sta' node_instance_id "#{Isono::Util.default_gw_ipaddr}" config do |c| c.tmp_dir = '/var/tmp' end load_config File.expand_path('config/sta.conf', app_root) load_module Isono::NodeModules::NodeHeartbeat load_module Dcmgr::NodeModules::StaTgtInitializer if config.backing_store == 'raw' end start(manifest) do endpoint "sta-handle.#{@node.node_id}", Dcmgr::Rpc::StaHandler end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wakame-vdc-agents-11.12.0 | bin/sta |