Auto Scaling with complex rules

Im currently using the auto scaling application block (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-autoscaling-application-block/) which allows quite complex rules for the auto scaling, such as "Each Friday for the
entire Year, scale like this", same goes for other days of the week.
I was hoping to switch over to the auto scaling feature in the Azure portal, but I REALLY need more complicated rules, is there any way to define a rule for each Friday of the year, and then apply exceptions for certain Fridays when I know that I am going
to need slightly different rules?

Hi,
Since the issue regards Windows Azure Auto Scale. I move it to Monitor, Alert and Auto scale in Azure forum. It is appropriate and more experts will assist you.
Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Dealing with complex rules - best practice?

    hello,
    I am currently involved in a project to develop BRFplus rules for a new social security benefit.
    some ofd the legislation is complex. for example:
    if ( A = true) AND ( (B = true) OR (C = true) OR (D = true) OR ( (E = true) AND (F= true)) ) then
       Result = true
    Else
       Result = false
    Endif
    My question is, what is the best/most efficient way of developing this rule?
    is it to develop one rule with a very complex condition?
    what are the alternative/preffered approaches?
    Thanx in advance.

    You can create "named" rules for each sub-rule (the condition A, B, C,...) and then use them in a master rule. This would improve the readability and hence maintenance by breaking the complexity down into simpler modules and would also let you re-use the sub-rules at other places.

  • Auto scaling takes time to execute the rules

    Hi,
    I am using the windows azure application. In that I am using the scaling feature provided into the azure portal. Here, I have configured the rule to scale up my web role instance by 1 if CPU load increases up to certain limit. and the reverse rule that for
    decrementing the role instance.
    However, I tried to increase my system load. and checked the scaling feature. So, here I observed that the rules gets satisfied to auto scale the role instance by 1 but it took around 12-15 min to execute it.
    NOTE: I have set the rule checking time duration to 5 min.
    Please help me.

    Thank you for your response.
    But I guess this will not solve my problem. Let me elaborate my problem in detail.
    I have a site hosted on azure environment. To make the site performance better we are doing some research out of that one attempt we did is the performance test. So in that we are increasing the load on our site to check how it works with heavy user load.
    And we observed that when web roles CPU usage goes beyond 50% then we gets lower response from our site. So get the better performance we have used the scaling feature from azure portal. and configured the rule that if CPU usage goes beyond 50% then scale
    up the web role instance. Here, we observed that when CPU usage goes beyond 50% at the same time scaling doesn't triggered and we got lower response from our site and then after 12-15 min scaling rules got executed and at that time CPU usage was around 70%
    but the triggered in auto scaling was for the 50% condition. In short we are experiencing delay in executing rule. Please help.

  • How to submit the Data with Business rule auto executed with VBA in excel?

    Anyone knows how can I submit the data into planning with the business rule auto executed in planning?
    Currently, I am using HypExecuteCalcScriptEx () + HypSubmitData() in my program that auto executed the business rule prior saving the data into planning.
    However when it try to run HySubmitData(), the Business rule window pops up again and ask user to run the business rule again.
    Therefore, is there a way that I can submit the data with auto execute the business rule?
    many thanks, highly appreciate !!!!!!

    Hi Rafeek,
    One solution is to set the column width after manually or programmatically refresh the PivotTable, for example:
    Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    End Sub
    Another option is to set the column width, then protect the columns from been updated by the user, before refreshing the PivotTable, unprotect the worksheet. For example:
    Public Sub LockColumnA()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    ws.Columns("A").Locked = True
    ws.Protect "123"
    End Sub
    Public Sub UnprotectWorksheet()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Unprotect ("123")
    End Sub
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • PlotXY manual X Axis Scaling doesn't rescale Y-Axis auto-scaling

    I'm using PlotXY(..) to display data on a graph.
    I use SetAxisScalingMode(...) to set set VAL_LEFT_YAXIS to VAL_AUTOSCALE.  
    I use SetAxisScalingMode(...) to set set VAL_TOP_XAXIS scaling to VAL_MANUAL.
    I make various calls to SetAxisScalingMode(...) which change the min & max values for the X-Axis.
    Everything thing seems to display correctly except that changing min & max values using manual scaling on the x-axis does not seem to change the range of data used to auto-scale the y-axis.
    For example say you have a peak in your data that you want to exclude so the auto-scaling on the y-axis will zoom in.
    So you change the max, min manual x-axis scaling to leave out the peak but scaling but the y-axis scaling doesn't change.
    Is this the way it should work?
    Ideas for a work around?
    Thanks,
    Kirk

    Hi Kirk,
    As you've noticed, the autoscaling of an axis in the graph is based on the entire data of each plot, not just on the portion of the plot that is within the range of the other axis.
    If you use only integer limits for the min and max of the x axis, if you plot only 1D arrays, and if you don't mind re-plotting every time that you want to manually change the x-axis, there's a possible workaround, consisting of replacing PlotY with PlotWaveform, so that you can offset the data to plot.
    I've adapted the code that you attached earlier to illustrate this:
    int xmin = 40;
    int xmax = 90;
    SetAxisScalingMode(handle, PANEL_GRAPH, VAL_BOTTOM_XAXIS, VAL_MANUAL, (double)xmin, (double)xmax);
    PlotWaveform (handle, PANEL_GRAPH, datapoints + xmin, xmax - xmin, VAL_DOUBLE, 1.0, 0.0, xmin, 1.0,
                  style, VAL_EMPTY_SQUARE, VAL_SOLID, 1, color);

  • SAP AUTO ID with screen shots.

    Is there any step by step scenario,where we can understand about SAP AUTO ID with screen shots.

    Hello PSRK,
    Please note the Outbound Delivery scenario to be used here is the Slap & Ship Outbound Scenario
    which only uses SAP AII.
    Steps in the same will be:
    1) Maintain ID settings - Defauly ID version - spro - aotu id - basic settings - id settings - default id version
    2) Maintain Products - spro -auto id - master data + sap easy access -- auto id -- master data
    3) Maintain Devices - spro - -auto id master data  + sap easy access -- auto id -- master data
    4) Maintain number ranges - spro --auto id  master data + sap easy acccess -  auto id -- master data
    5) Maintain Rules - spro - auto id - Rules
    6) Maintain activities - spro - auto id - Activities
    7) Maintain Locations - easy access - master data
    8) Maintain Conditions  spro - auto id - conditions
    9) RFC for simulating device controllers - sm59
    10 ) then use auto id test tool - easy access - auto id - tools -auto id
    Thnks

  • Assign error with complex type return message

    Dear all,
    I have an axis web service with complex type return message. When I invoke the web service, and try to assign one element of the result to other variable, it fails with following error message(BPEL Fault:{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure{}
    The invoking web service and assignment BPEL source is as follows:
    <invoke name="registerConference" partnerLink="conferenceCenter" portType="tns:ConfArrangementPort" operation="Conference_Register" inputVariable="registerInput" outputVariable="registerOutput"/>
    <copy>
    <from variable="registerOutput" part="Conference_RegisterReturn" query="/Conference_RegisterReturn/confcity"></from>
    <to variable="bookHotelInput" part="si" query="/si/city"/>
    </copy>
    I tunneled the response SOAP message:
    ==== Response ====
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Date: Sun, 31 Oct 2004 08:28:27 GMT
    Server: Apache Coyote/1.0
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:Conference_RegisterResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://conference.sjtu.edu">
    <ns1:Conference_RegisterReturn href="#id0"/>
    </ns1:Conference_RegisterResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:ConfInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://conference.sjtu.edu">
    <confcity xsi:type="xsd:string">star</confcity>
    <confend xsi:type="xsd:string">20041120</confend>
    <confstart xsi:type="xsd:string">20041116</confstart>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    ==============
    However, when i check the invoke activity audit trail, it return the following info:
    <messages>
    <registerInput>
    <part xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="gi">
    <gi xmlns="http://conference.sjtu.edu">
    <attendeename xmlns="">ss</attendeename>
    <confname xmlns="">hh</confname>
    </gi>
    </part>
    </registerInput>
    <registerOutput>
    <part xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="Conference_RegisterReturn">
    <ns1:Conference_RegisterReturn xmlns:ns1="http://conference.sjtu.edu" href="#id0" />
    </part>
    </registerOutput>
    </messages>
    The detailed value of the return message lost, only leaving the href. Can I find the desired value again? should I try another XPATH expression? should I parse the result from the SOAP message directly? Or it's a problem of the system itself?
    Hope you can do me a favor, thanks.

    From Axis's user guide: RPC services default to the soap section 5 encoding rules, objects will be encoded via "multi-ref" serialization. Document services do not use any encoding (so in particular, you won't see multiref object serialization or SOAP-style arrays on the wire)
    May be I should try document service style instead of RPC. Thanks for your reply.

  • Error importing composite with business rules into SVN

    Hello,
    When I import a composite with business rules into Tortoise SVN I get below error.
    Error: Commit blocked by pre-commit hook (exit code 1) with output:
    Error: Path
    Error: '/trunk/ProjectName_SCA/.rulesdesigner/jaxb_classes/com/ProjectName/package-info.class'
    Error: is restricted for commit by pattern '\.class$' for the current user.
    I could import other composites(w/o business rules)
    Thanks

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • How to make pdf file auto open with adobe reader after downloaded

    how to make pdf file auto open with adobe reader after downloaded

    I note from your system details that you have the plugin for adobe pdf s so I would have expected the files should open in firefox '''without''' you needing to explicitly download them.
    Once the files are open in firefox, you will also get the option to save them permanently to a location on your computer. If you wish I suppose you could set the file type pdf to be associated with and be opened by firefox instead of with the Adobe Acrobat Reader, but that would just seem to be an additional complexity.

  • Rules should be for complex rules

    Hi,
    Could you please help to write rules for following two business scenarios for following type of hierarchical data input to Oracle rule decision Function.
    1. To make sure that InstanceId is unique across the data. (According to this sample, this rule must be evaluated to 'true')
    2. TimeRef data (2 data points as per the sample) within Town.Village is same as the TimeRef data is referenced by the Town.Village->ItemRef value (ItemRef refers the ItemData defined at the top. value refers using InstanceId). (According to this sample, this rule must be evaluated to 'true')
    <GoodsTransport>
         <TimeData InstanceId="221">1</TimeData>
         <TimeData InstanceId="222">2</TimeData>
         <TimeData InstanceId="223">3</TimeData>
         <ItemData InstanceId="111">
              <TimeRef>221</TimeRef>
              <TimeRef>222</TimeRef>
         </ItemData>
         <Town InstanceId="4444">
              <TimeRef>222</TimeRef>
              <TimeRef>223</TimeRef>
              <Village InstanceId="6666">
                   <ItemRef>111</ItemRef>
                   <TimeRef>221</TimeRef>
                   <TimeRef>222</TimeRef>
              </Village>          
         </Town>
         <Town InstanceId="4445">
              <TimeRef>221</TimeRef>
              <TimeRef>223</TimeRef>
              <Village InstanceId="6667">
                   <ItemRef>111</ItemRef>
                   <TimeRef>221</TimeRef>
                   <TimeRef>222</TimeRef>
              </Village>          
         </Town>     
    </GoodsTransport>
    Thanks
    Hareendra
    How can I write a rule

    Have not any one wrote complex rules like this?
    Since the JDeveloper allows to create FACTS using schema file, I thought that this is a simple case with Oracle rules....is not it the case?
    I posted important questions after looking at my customer requirement but the response from this ORACLE forum is unacceptable. I initially thought that this is a big forum from ORACLE and can find answers easily...but looking back now, I doubt that this even working at all:(.
    - Hareendra
    Note:
    I saw lot of disappointed statements from many people on this forum unfortunately.

  • Exporting to PNG, Stroke Weight not Scaling with Export Scale

    Hi there
    I am having some issues exporting illustrator documents to multiple sizes of PNG.
    I am actually scripting this, but the issue seems to be more general - hence the posting here.
    If you export a PNG through the web and devices tool:
    File->Save for Web & Devices
    And you scale the image by 50%, the line weight does not seem to be scaled with the export scale.
    In Illustrator->Preferences->General I have Scale Strokes and Effects ticked.
    This problem is also apparent when scaling a scripted PNG export through the ExportOptionsPNG24 class.
    Is there anything I am missing please - or does anyone know of workarounds?
    Thank you

    Thanks for looking into it Kurt.
    I can't post the illustrator file in question to the forum.
    And, you are right, when I aim to make a demo file from scratch I can't reproduce the problem either.
    I am having this difficulty on multiple files though, and they are all quite complex.
    I will aim to try and make a file that shows the problem.
    The files in question may have symbols that were created in much earlier versions of Illustrator.
    I'm not sure if that could do it.
    The sequence above shows the output as I export via script to successively smaller scales.
    This is by setting the horizontalScale and verticalScale in ExportOptionsPNG24.
    I see the same results if scaling in Save for Web & Devices.

  • Auto Scaling when Printing

    For some reason when I try and print a large banner from InDesign it auto scales the image up by exactly 1 inch proportionately. In other words, it makes my 36 inch wide document 37 inches exactly and adjusts the length accordingly. I've checked and double checked the print settings to make sure that it is not set to scale the document, but it keeps doing it.
    Does anyone have any experience with printing large documents that get auto scaled? I've tried uninstalling and reinstalling my printer, printing from a PDF, copy-pasting the artwork into a new Indesign document to no avail.

    I found the problem. It was in the print options.
    Under setup > Paper Size
    This was set to Defined by Driver, but when I change it custom and enter in the paper size amounts (even though they're the same as what the driver was selecting) it doesn't scale it anymore.

  • Issues with update rule

    Hi All,
    I am having a problem with update rule
    My object
    A
    B
    C
    D(Seller phase) (complex table)
    Q1(Question)
    A1(Answer) (complex table)
    Q2(Question)
    A2(Answer) (complex table)
    Q3(Question)
    A3(Answer) (complex table)
    E(Collection object)
    D(seller Phase)
    Q(Question)
    A(Answer)
    My transaction during Add
    A
    B
    C
    D(Seller phase)(complex table)
    Q1(Question)
    A1(Answer)(complex table)
    Q2(Question)
    A2(Answer)(complex table)
    Q3(Question)
    A3(Answer)(complex table)
    E(Collection object)
    D(seller Phase)
    Q(Question)
    A(Answer)
    here is my requirement:
    During Activity create/Edit upon choosing seller phase i bring questions based on update rules of q1 q2 and q3 from complex table.
    Possible answers are also fetched from complex table based on selection of phase for each question. I have a update rules for answers to check the object collection(E) and determine if this phase exist or not, If exist previously selected Answers will bulled from collection for the corresponding question if not it has to empty.
    All rule are working with out any problem.
    Issue.
    During create or edit if some one chooses phase P1 and answers for the questions and with out saving if they change phase then answers which are been selected earlier still exist.
    This is happening in IPAD but not in ATE. I have checked the log for rules all the rules are returning values as expected.
    So i tried the below options to test
    1) with special value option in field level
    2) I created a dummy field with update rule with value test. On creation i have modified the dummy field value X then changed the phase the value is not getting updated as per update rule.
    Is it the real behavior of update rule? Is there any work around for this problem
    Regards,
    Gupta

    Gupta,
    So based on your comments above I have the workarounds I gave you.
    1) A button that refreshes "resets" to make the screen repaint (in essence a button that just re-navigates to the same screen will make all the system reset) if you just want one screen.
    2)Or the multiple screen approach. Let phase 1 be in one screen and the other questions and answers on others.
    Not sure if you can just do 1 screen with multi-tiles - If this is better approach where the phase selection is on 1 tile (top tile) and the questions and answers are on a different tile (bottom tile).
    The trick is to make the screen repaint. As long as you present to the customers a flawless flow you will be okay. The one that you don't want to happen is when your rules are buggy then it may be just a good idea to sell a more controlled flow that works than debugging what went down the wrong during UAT (User Acceptance Test).
    Regards,
    Mark

  • Inbox rules (auto reply) and Outbox rules questions

    I'm checking incoming messages for a certain subject. If the subject contains the string I want to auto-reply with a certain message.
    The auto-reply works, but I notice the message doesn't show up in the Sent maibox. Is there a reason for that?
    Also, I have an Outbox rule set up to forward the auto-reply mail to another address. That doesn't seem to take place.
    What I really want to accomplish is just to auto-reply and bcc the auto-reply to a 3rd email address. Is that possible?
    Thanks!
    doug

    Hi.
    On 05.03.2014 06:38, Thomas Roberts wrote:
    > We up-stream to an smtp relay server that has some strict rules in place. They
    > are not our ISP but have white listed our domain name to allow us to relay through.
    > Things work well but now auto replies like vacation rule messages now bounce.
    Apart from Lauras excellent answer, make your relay provider whitelist
    your hostname and put it back in place. The hostname *is* important,
    even when using a relay, and is used as sender for other mails, like
    error messages.
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Period account closing bal includes cumul movements, even with a rule.WHY?!

    Hello chaps, I've been struggling with this for a few days now and I'm going to have admit defeat. :(
    I'm trying to do two things.
    1. View periodic balance sheet movements
    2. Get the correct custom closing balance to roll up once I've done 1 (in Periodic view)
    What I've done.
    For Point 1. I use the SwitchTypeForFlow attribute on the flow members. This let's me see the balance sheet movements in Periodic view. Great.
    Which leads me onto Point 2. Whilst I can now see the balance sheet movements in Periodic view, the closing balance (the parent of Opening + increases - decreases) does not total correctly. Instead of adding the Opening + increases - decreases for ONE period, It adds them for ALL the previous periods.
    Ok, so to get round that, I thought I'd just create a new member called "ClosingBal" and override what HFM is doing. I'll now have two rules. The "OpeningBal" is just the closing balance of last period. "ClosingBal" is just the sum of opening + increases - decreases for the period. So here are the two simple rules
    HS.Exp "C1#OpeningBal=C1#ClosingBal.P#Prior"
    HS.Exp "C1#ClosingBal=C1#OpeningBal+C1#increases-C1#decreases"
    But when I do this, even with the rule, it STILL adds up the cumulative increases and decreases for all prior periods as well, not just the ones for the period. Why is it doing that? All I want is my closing balance in that one period to be equal to opening balance + increases - decreases. It works fine in YTD view, but not Periodic view. I need it to work in Periodic view
    any help much appreciated.
    Thanks,
    Sal

    Sal,
    There is no solution here that allows the user to simpley change the View member from Periodic to YTD, keeping all else the same, and get your desired result. However, you could create a solution that when a user wants Periodic numbers he/she would select the Periodic View member and then select a unique ClosingBal member (eg. 'ClosingBalPer') and a unique OpenBal member (eg. 'OpenBalPeriodic'). When the user wants YTD numbers he/she would select the YTD View member and then select a different and also unique ClosingBal member (eg. 'ClosingBalYTD') and a different and also unique OpenBal member (eg. 'OpenBalYTD').
    Here you would have 2 different rules for you opening balances:
    HS.Exp "C1#OpeningBalPer=C1#ClosingBal.P#Prior"
    HS.Exp "C1#OpeningBalYTD=C1#ClosingBal.P#Last.Y#Prior"
    And your ClosingBal rules would look like this:
    HS.Exp "C1#ClosingBalPer=C1#OpeningBalPer+C1#increases-C1#decreases"
    HS.Exp "C1#ClosingBalYTD=C1#OpeningBalYTD+C1#increases-C1#decreases"
    In regards to the ClosingBal rules, these aren't necessary if you make the ClosingBal member a parent of the other members. If 'decreases' need to be subtracted then they should be flagged as 'SwithSignForFlow'.
    With this solution if a user selected YTD with the Periodic members or Periodic with the YTD members then their numbers wouldn't make sense so there would be some user eduction involved with this solution.

Maybe you are looking for

  • POI Information Updates when Costing Changes are not Saved

    Hi All, When you go to the costing screen of a party in Oracle HRMS, make changes to the costing string (Cost Allocation Flexfield) and not save them. Then, exit from the costing form and go to the Purchase Order Information (POI) screen and press Ct

  • IPad 2, 32 gb

    How much do you think I could get for an iPad 2, 32 gb, cracked screen, with a $25 case?  Apple wants $300 to repair the screen and I'd rather sell my iPad and get the iPad 3. $300 is a little much..... I was thinking around $450? I paid about $600..

  • Trackpad Problems: Two-Finger Sometimes Not Working

    This is a recent problem I've been having that's just surfaced only this week. Every now and then, as I'm two-finger scrolling, the trackpad will register only one finger, consequently moving the mouse only. Settings are alright, otherwise two-finger

  • How to creating Service Contract using BAPI_SLSTRANSACT_CREATEMULTI

    Hi, In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI  and data which are comming from flat files are, Serial number, Sold-to party, Ship-to party, Installation date, Contract start dat

  • HT1418 use 2 iphones,with 1 computer,or ipad

    use 2 iphones with i computer,oripad