Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Clients.Hive.Slave.Azure/ServiceConfiguration.Cloud.cscfg @ 13372

Last change on this file since 13372 was 9508, checked in by fschoepp, 12 years ago

#1888:
HL:

  • Web projects requires different users to interact with hive. The singleton HiveServiceLocator.Instance doesn't allow different users at the same time, resulting in serialization during access of HiveClient methods.

The following changes have been introduced in favor of a parallel use of the HL libs:

  • HiveClient, TaskDownloader and ConcurrentTaskDownloader may now use a different IHiveServiceLocator than HiveServiceLocator.Instance (all methods have appropriate overloads now).
  • The default instance is still HiveServiceLocator.Instance.

Automated Scaling of Instances:

  • Added Scaler project to solution which represents a WorkerRole that scales the slave instances based on the global cpu utilization of all slaves.
  • Scaler is based on WASABi, rules can be adjusted in rulesstore.xml. Basic rule is: if < 45% global cpu utilization => remove an instance; if > 65% cpu => add an instance. Minimum boundary is 1 and maximum boundary is 8 slave instances.
  • Adjusted Slave project to automatically register itself to a SlaveGroup during WebRole startup (can be adjusted in service configuration).

Web-Frontend:

  • Added basic error messages to the dialogs when an ajax call fails.
  • Removed Styling.js from scripts.
File size: 1.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<ServiceConfiguration serviceName="HeuristicLab.Clients.Hive.Slave.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-05.1.7">
3  <Role name="HeuristicLab.Clients.Hive.Slave.AzureClient-3.3">
4    <Instances count="1" />
5    <ConfigurationSettings>
6      <!--Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />-->
7      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=ADJUST_ME;AccountKey=ADJUST_ME" />
8      <Setting name="HiveServerAddress" value="http://optimization.cloudapp.net/HiveService.svc" />
9      <Setting name="HiveServerCertifcateEncodedValue" value="ADJUST_ME" />
10      <Setting name="HiveServerUsername" value="ADJUST_ME" />
11      <Setting name="HiveServerPassword" value="ADJUST_ME" />
12      <Setting name="HiveGroup" value="TESTAZURE" />
13    </ConfigurationSettings>
14    <Certificates>
15    </Certificates>
16  </Role>
17</ServiceConfiguration>
Note: See TracBrowser for help on using the repository browser.