AppController/djinn.rb
# Starts the InfrastructureManager service on this machine, which exposes
# a SOAP interface by which we can dynamically add and remove nodes in this
# AppScale deployment.
Starts the InfrastructureManager service on this machine, which exposes
a SOAP interface by which we can dynamically add and remove nodes in this
AppScale deployment.
Starts the InfrastructureManager service on this machine which exposes a SOAP interface by which we can dynamically add and remove nodes in this AppScale deployment .
def start_infrastructure_manager()
    iaas_script = "#{APPSCALE_HOME}/InfrastructureManager/infrastructure_manager_service.py"
    start_cmd = "#{PYTHON27} #{iaas_script}"
    stop_cmd = "#{PYTHON27} #{APPSCALE_HOME}/scripts/stop_service.py " +
          "#{iaas_script} #{PYTHON27}"
    port = InfrastructureManagerClient::SERVER_PORT
    env = {
      'APPSCALE_HOME' => APPSCALE_HOME,
      'EC2_HOME' => ENV['EC2_HOME'],
      'JAVA_HOME' => ENV['JAVA_HOME']
    }
    MonitInterface.start(:iaas_manager, start_cmd, stop_cmd, [port], env,
                         start_cmd, nil, nil, nil)
    Djinn.log_info("Started InfrastructureManager successfully!")
  end
def start_infrastructure_manager ( ) iaas_script = "#{APPSCALE_HOME}/InfrastructureManager/infrastructure_manager_service.py" start_cmd = "#{PYTHON27} #{iaas_script}" stop_cmd = "#{PYTHON27} #{APPSCALE_HOME}/scripts/stop_service.py " + "#{iaas_script} #{PYTHON27}" port = InfrastructureManagerClient :: SERVER_PORT env = { 'APPSCALE_HOME' => APPSCALE_HOME , 'EC2_HOME' => ENV [ 'EC2_HOME' ] , 'JAVA_HOME' => ENV [ 'JAVA_HOME' ] } MonitInterface . start ( :iaas_manager , start_cmd , stop_cmd , [ port ] , env , start_cmd , nil , nil , nil ) Djinn . log_info ( "Started InfrastructureManager successfully!" ) end
Starts the InfrastructureManager service on this machine, which exposes
a SOAP interface by which we can dynamically add and remove nodes in this
AppScale deployment.
Starts the InfrastructureManager service on this machine which exposes a SOAP interface by which we can dynamically add and remove nodes in this AppScale deployment .