Changeset 7005


Ignore:
Timestamp:
11/16/11 16:53:53 (11 years ago)
Author:
spimming
Message:

#1680:

  • enable Remote Desktop Connection to roles
  • adapt connection string for Azure Storage in cloud configuration
  • add diagnostics to worker role
Location:
branches/HeuristicLab.Hive.Azure
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceConfiguration.Cloud.cscfg

    r6990 r7005  
    44    <Instances count="1" />
    55    <ConfigurationSettings>
    6       <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
     6      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=hivestorage;AccountKey=Idq7D7dTvhpByPproP//rmdEaU5gmRxG62jAnJdghgzKqolnzsWjVTwNbg3p5BXVl86FuAXqvKlUAYFrMuSCMw==" />
     7      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
     8      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="hive" />
     9      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="MIIBnQYJKoZIhvcNAQcDoIIBjjCCAYoCAQAxggFOMIIBSgIBADAyMB4xHDAaBgNVBAMME1dpbmRvd3MgQXp1cmUgVG9vbHMCEHUA/gAGlSmLSAQNTaQ6iIgwDQYJKoZIhvcNAQEBBQAEggEABcxB+WE3pemmg4hWQENKyxqCf9KpTn4eHFM7YYm60mBBta90L4d2mpX5PMj540DYMw8f9j+un1JZHWzQldZxU8D0VkWuK700Qo2YSHxBsS7jkpRXhWfUMkUYYsFDYMm7j9cM8zQInEOsELlaEhrWCNMXD6oZxTQCQTJTIiy7KH41i61Mostpm10gxnOGdrj1HSUVapfF87FvNRzgUWjOMZnO3tu5ptF5INxxQ99kxL5qEmnp7N9qiH2PkbfkTNRV12S54k4xqh9US/3GzRVlLgXQ2XkifPqHIBhl15kOZSbFQ4LwxD4HUGgKKBRmoTbeZqVUshXZvhmfS71zSR7sxjAzBgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECCnKWoHrNUf4gBAf2IojnEYYtX2+Ud/dNrYS" />
     10      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2012-12-31T23:59:59.0000000+01:00" />
     11      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
    712    </ConfigurationSettings>
     13    <Certificates>
     14      <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="8CDEB87D1DF5CC70298920831DC089976D42DBA0" thumbprintAlgorithm="sha1" />
     15    </Certificates>
    816  </Role>
    917</ServiceConfiguration>
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceConfiguration.Local.cscfg

    r6990 r7005  
    55    <ConfigurationSettings>
    66      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
     7      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
     8      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="hive" />
     9      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="MIIBnQYJKoZIhvcNAQcDoIIBjjCCAYoCAQAxggFOMIIBSgIBADAyMB4xHDAaBgNVBAMME1dpbmRvd3MgQXp1cmUgVG9vbHMCEHUA/gAGlSmLSAQNTaQ6iIgwDQYJKoZIhvcNAQEBBQAEggEABcxB+WE3pemmg4hWQENKyxqCf9KpTn4eHFM7YYm60mBBta90L4d2mpX5PMj540DYMw8f9j+un1JZHWzQldZxU8D0VkWuK700Qo2YSHxBsS7jkpRXhWfUMkUYYsFDYMm7j9cM8zQInEOsELlaEhrWCNMXD6oZxTQCQTJTIiy7KH41i61Mostpm10gxnOGdrj1HSUVapfF87FvNRzgUWjOMZnO3tu5ptF5INxxQ99kxL5qEmnp7N9qiH2PkbfkTNRV12S54k4xqh9US/3GzRVlLgXQ2XkifPqHIBhl15kOZSbFQ4LwxD4HUGgKKBRmoTbeZqVUshXZvhmfS71zSR7sxjAzBgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECCnKWoHrNUf4gBAf2IojnEYYtX2+Ud/dNrYS" />
     10      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2012-12-31T23:59:59.0000000+01:00" />
     11      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
    712    </ConfigurationSettings>
     13    <Certificates>
     14      <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="8CDEB87D1DF5CC70298920831DC089976D42DBA0" thumbprintAlgorithm="sha1" />
     15    </Certificates>
    816  </Role>
    917</ServiceConfiguration>
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceDefinition.build.csdef

    r6990 r7005  
    1313    <Imports>
    1414      <Import moduleName="Diagnostics" />
     15      <Import moduleName="RemoteAccess" />
     16      <Import moduleName="RemoteForwarder" />
    1517    </Imports>
    1618  </WorkerRole>
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceDefinition.csdef

    r6990 r7005  
    44    <Imports>
    55      <Import moduleName="Diagnostics" />
     6      <Import moduleName="RemoteAccess" />
     7      <Import moduleName="RemoteForwarder" />
    68    </Imports>
    79  </WorkerRole>
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.AzureClient/WorkerRole.cs

    r6990 r7005  
    1 using System.Net;
     1using System;
     2using System.Net;
    23using System.Threading;
    34using HeuristicLab.Clients.Hive.SlaveCore;
     5using Microsoft.WindowsAzure.Diagnostics;
    46using Microsoft.WindowsAzure.ServiceRuntime;
    57
     
    2325      ServicePointManager.DefaultConnectionLimit = 12;
    2426      core = new Core();
     27
     28      DiagnosticMonitorConfiguration dmc = DiagnosticMonitor.GetDefaultInitialConfiguration();
     29      dmc.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
     30      dmc.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;
     31      DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", dmc);
     32
    2533      return base.OnStart();
    2634    }
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave/3.3/Properties/Settings.Designer.cs

    r6989 r7005  
    302302        [global::System.Configuration.UserScopedSettingAttribute()]
    303303        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    304         [global::System.Configuration.DefaultSettingValueAttribute("Pipe")]
     304        [global::System.Configuration.DefaultSettingValueAttribute("Trace")]
    305305        public global::HeuristicLab.Clients.Hive.SlaveCore.ClientComType ClientComType {
    306306            get {
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave/3.3/Properties/Settings.settings

    r6989 r7005  
    7373    </Setting>
    7474    <Setting Name="ClientComType" Type="HeuristicLab.Clients.Hive.SlaveCore.ClientComType" Scope="User">
    75       <Value Profile="(Default)">Pipe</Value>
     75      <Value Profile="(Default)">Trace</Value>
    7676    </Setting>
    7777  </Settings>
Note: See TracChangeset for help on using the changeset viewer.