Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


rw-ui-texttextbox-boxmacro
sizemedium
typeinfo

This post applies only to customers with on-premise installation of interworks.cloud platform



Excerpt

For collecting in daily basis the Azure usage data, we have implemented the Azure Usage Update service. For getting Microsoft's rates we have implemented the Azure RateCard service.

Both services are deployed during installation in the following locations:


Cloud360 Azure Usage Update Service
It is responsible for collecting the Azure usage records

Default LocationC:\Program Files (x86)\Interworks\Cloud360.Setup.AzureUsagesUpdateController
Configuration FileCloud360.Services.AzureUsagesUpdate.exe.config
Cloud360 Azure RateCard Service
It is responsible for getting Microsoft rates for the Azure resouces 
Default LocationC:\Program Files (x86)\Interworks\Cloud360.Setup.AzureRateCard\
Configuration FileCloud360.Services.AzureRateCard.exe.config

 


Both configuration files have the appSettings section for setting how often the corrspondent service will run.

<appSettings>
<add key="StartHour" value="10" />
<add key="StartTime" value="00" />
<add key="Interval" value="12" />
<!--the Interval is in hours–>
......
</appSettings>

For example, how often the "Azure Usage Update" service will run for collecting the usage data depends on the Interval parameter and the start time as defined from the parameters StartHour and StartTime. 

In the above paradigm, the service will run twice the day at 10:00 and 22:00 o'clock. If we want the service to run more often, you need to decrease the interval. If for example, the Interval was every 6 hours, the service would run 10:00, 16:00, 22:00 and 04:00 o'clock.

medium
rw-ui-text-box
size
textbox-macro
typetip

Make sure that the RateCard service runs before the "Usage Update" service and both run before the Billing Service

Since the collected usage data will be billed from the billing service, you must make sure that:

  1. The RateCard service will run before the Usage Data service. This is necessary for making sure that the correct rate will be applied to the usage records
  2. The Usage Data service will run before the Billing Service. This is necessary for the billing service to bill the latest consumption. Check the page Cloud Platform Window Services for understanding how you will setup when the Billing Service will run.

NOTE: Allow at least 1 hour interval between the 3 services. A good practice would be to schedule your services with the following way:

  • RateCart Sevice: Runs twice per day at 09:00 and 21:00 o'clock
  • Usage Update Service: Runs four times per day at 04:00, 10:00, 16:00 and 22:00 o'clock
  • Billing Service (It can only runs once per day): Runs at 23:00 o'clock