Changeset 7371
- Timestamp:
- 01/19/12 15:15:15 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceConfiguration.Cloud.cscfg
r7005 r7371 4 4 <Instances count="1" /> 5 5 <ConfigurationSettings> 6 <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=hivestorage;AccountKey=Idq7D7dTvhpByPproP//rmdEaU5gmRxG62jAnJdghgzKqolnzsWjVTwNbg3p5BXVl86FuAXqvKlUAYFrMuSCMw==" />7 6 <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" /> 8 7 <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="hive" /> -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceConfiguration.Local.cscfg
r7005 r7371 4 4 <Instances count="1" /> 5 5 <ConfigurationSettings> 6 <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />7 6 <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" /> 8 7 <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="hive" /> -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceDefinition.build.csdef
r7005 r7371 12 12 <WorkerRole name="HeuristicLab.Clients.Hive.Slave.AzureClient" vmsize="Small"> 13 13 <Imports> 14 <Import moduleName="Diagnostics" />15 14 <Import moduleName="RemoteAccess" /> 16 15 <Import moduleName="RemoteForwarder" /> -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.Azure/ServiceDefinition.csdef
r7005 r7371 3 3 <WorkerRole name="HeuristicLab.Clients.Hive.Slave.AzureClient" vmsize="Small"> 4 4 <Imports> 5 <Import moduleName="Diagnostics" />6 5 <Import moduleName="RemoteAccess" /> 7 6 <Import moduleName="RemoteForwarder" /> -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.AzureClient/HeuristicLab.Clients.Hive.Slave.AzureClient.csproj
r7215 r7371 62 62 </ItemGroup> 63 63 <ItemGroup> 64 <Compile Include="Constants.cs" /> 64 65 <Compile Include="WorkerRole.cs" /> 65 66 <Compile Include="Properties\AssemblyInfo.cs" /> -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.AzureClient/WorkerRole.cs
r7005 r7371 18 18 while (true) { 19 19 Thread.Sleep(10000); 20 //Trace.WriteLine("Working", "Information");21 20 } 22 21 } … … 25 24 ServicePointManager.DefaultConnectionLimit = 12; 26 25 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); 26 try { 27 if (!String.IsNullOrEmpty(RoleEnvironment.GetConfigurationSettingValue(Constants.DiagnosticsConnectionString))) { 28 DiagnosticMonitorConfiguration dmc = DiagnosticMonitor.GetDefaultInitialConfiguration(); 29 dmc.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(1); 30 dmc.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose; 31 DiagnosticMonitor.Start(Constants.DiagnosticsConnectionString, dmc); 32 } 33 } 34 catch (RoleEnvironmentException ex) { 35 //diagnostics connectio string not in configuration 36 //-> diagnostics disabled 37 //nothing more to do 38 } 32 39 33 40 return base.OnStart();
Note: See TracChangeset
for help on using the changeset viewer.