Azure Worker Role reboots when adding instance of Web Role

I have a Windows Azure cloud service with a Web Role and a Worker Role. I I have built a website that allows me to perform various management functions against the cloud service (stop/start, reboot instance, add instance, remove instance). All functions are
performed via the web api. My issue is that when I add an instance of the web role, the worker role reboots. Note that this doesn't happen if I add an instance via the Azure portal. The code functions correctly in all other aspects. Any idea how to do this
so that only the role being affected recycles instead of all roles recycling?
My code:
 public void AddInstance()
        XDocument configDoc = this.GetDeploymentConfiguration();
        var ns = configDoc.Root.GetDefaultNamespace();
        configDoc.Root
            .Elements( ns + "Role" )
            .FirstOrDefault( r => r.Attribute( "name" ).Value.ToLower() == this.RoleName.ToLower() )
            .Element( ns + "Instances" )
            .Attribute( "count" )
            .Value = ( int.Parse( configDoc.Root
                           .Elements( ns + "Role" )
                           .FirstOrDefault( r => r.Attribute( "name" ).Value.ToLower() == this.RoleName.ToLower() )
                           .Element( ns + "Instances" )
                           .Attribute( "count" )
                           .Value ) + 1 ).ToString();
        string encodedString = Convert.ToBase64String( Encoding.UTF8.GetBytes( configDoc.ToString() ) );
        this.SetDeploymentConfig( encodedString );
    public XDocument GetDeploymentConfiguration()
        string uri = string.Format( this.servicePropertiesOperationFormat, this.subscriptionID, this.serviceName, "production", "" );
        ServiceManagementOperation operation = new ServiceManagementOperation( this.thumbprint, this.versionID );
        var xdoc= operation.Invoke( uri );
        var myelm = xdoc.Element( wa + "Deployment" ).Element( wa + "Configuration" );
        var mystring=  Encoding.UTF8.GetString( Convert.FromBase64String( myelm.Value ) );
        return XDocument.Parse( mystring );
    public string SetDeploymentConfig( string configurationFile )
        string uri = string.Format( this.servicePropertiesOperationFormat, this.subscriptionID, this.serviceName, "production", "/?comp=config" );
        ServiceManagementOperation operation = new ServiceManagementOperation( this.thumbprint, this.versionID );
        string payloadString = string.Format(
            @"<?xml version=""1.0"" encoding=""utf-8""?>
            <ChangeConfiguration xmlns=""http://schemas.microsoft.com/windowsazure"">
                    <Configuration>{0}</Configuration>
            </ChangeConfiguration>", configurationFile );
        XDocument payload = XDocument.Parse( payloadString );
        return operation.Invoke( uri, payload );

Hi,
From my experience, if you add one role instance, the whole cloud service will run in translating state, and this cloud service will stop to working, so maybe this is a future request.
Best 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

  • Just moved my email from entourage to Mail. Having real problems with getting my signatures to work properly. When adding in a small company logo, windows computers only receive signature as an attachment. Am sending email as Rich Text. Any ideas on a fix

    Just moved my email from Entourage to Mail. Having real problems with getting my signatures to work properly despite sending email as Rich Text.
    When adding in a small company logo to the signature, PC's / windows computers only receive signature and logo as attachments.
    I've tried all possible fixes I can find including getting a PC user to format the logo but no joy. Has anyone experienced this and any ideas on a fix gratefully received.

    Send it as html so the signature is an image source URL

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • Unable to Sign In when trying to publish Web Role to Azure

    I am getting an error trying to publish an azure application with two webroles in it. After clicking on publish I'm prompted to sign in and after signing in I get the below error message. Authentication is succeeding because I'm signed into visual studio
    and the azure portal just fine with the same credentials.
    Sorry, but we're having trouble signing you in
    User account you used to sign in is not supported for this application. Please use a different account to sign in.
    View details
    CorrelationId: ba6eafd9-9a83-4bce-9625-968aa259ac7b
    Timestamp: 2014-11-13 12:49:57Z

    There is a bug in VS Update 4 related to Azure sign-in. This issue is going to fix in next major release of Azure SDK, however in mean time, if you're effected by this issue, please follow
    one of the below mentioned workarounds :
    Workaround 1
    1. Right click on the "Azure" node in VS Server Explorer, and then click "Connect to Microsoft Azure Subscription...".
    2. If a dialog appears saying you are already signed in with an account, click OK to sign out.
    3. Sign in with the desired account.
    Workaround 2
    1. Right click on the "Azure" node in VS Server Explorer, and then click "Manage Subscriptions...".
    2. In the "Manage Microsoft Azure Subscriptions" dialog, click the "Sign Out" button on the "Subscriptions" tab if you are already signed in.
    3. Close the dialog, and then close Visual Studio.
    4. Open Windows File Explorer, navigate to "This PC -> Documents -> Visual Studio 2013 -> Settings" folder.
    5. You will see the file "Windows Azure Subscriptions.xml". Rename or delete the file.
    6. Start Visual Studio again.
    7. Right click the "Azure" node in VS Server Explorer, and then select "Connect to Microsoft Azure Subscription...".
    8. Sign in with the desired account.
    Cloud Integration Engineering

  • Gettin a portal runtime error when adding iviews in web page composer

    we are getting the Following error when we try to add a iview in page builder .we have done the configurations as per the documentation ((http://help.sap.com/saphelp_nw70/helpdata/en/45/3fe7b4f34d4a18e10000000a114a6b/frameset.htm).and will appreciate any help on this issue .
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 08:09_31/10/07_0015_15308650
    See the details for the exception ID in the log file.
    #1.5 #00145ECC9C67007E000000190000117800043DC0D68F6E39#1193798349688#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#myadmin#5872##myportalci.keells_JPP_15308650#myadmin#015ef900875a11dc8a3700145ecc9c67#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error##Java###08:09_31/10/07_0015_15308650
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Can&\#39;t read the prameter &\#39;siteString&\#39; from the PCD.
         at com.sapportals.portal.httpconnectivity.urliviews.runtime.URLIView.checkPCDVal(URLIView.java:631)
         at com.sapportals.portal.httpconnectivity.urliviews.runtime.URLIView.readFromPCD(URLIView.java:528)
         at com.sapportals.portal.httpconnectivity.urliviews.runtime.URLIView.doContent(URLIView.java:326)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:149)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sap.nw.wpc.runtime.AbstractContainerComponent.doContent(AbstractContainerComponent.java:88)
         at com.sap.nw.wpc.runtime.ContainerComponent.doDesign(ContainerComponent.java:183)
         at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:134)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)

    Dear Prabash Balsuriya,
    I got similar issue while adding iView to WPC during public, can you elaborate how you solve this issue?
    Thanks.
    Regards,
    Weng

  • Deploy Files In Azure Worker Role

    I have a worker role that uses the MAF framework. That means I need to add assemblies that my project do not reference directly, and these files need to be in a specific folder structure(http://msdn.microsoft.com/en-us/library/bb384201.aspx).
    I had the same scenario with a web role and was able to achieve this because when you package a web role, it can copy every file found in the project folder. So I had a BeforeBuild event that would copy all the files to my bin folder for my web app, and all
    the files in there were packaged in my azure package.
    The same thing does not apply to worker roles. Before the build I create the folder structure in the bin\config folder, I can see the structure there, but the files do not get copied in the azure package at the end. I know the usual way to achieve this is
    to add a reference to those dll and set them to copy local, but that won't place the files in the required folder structure.
    Another way around would be to add custom code that would load those files from azure storage, and copy them when the role is starting, but that means I need to make extra steps everytime I deploy, and make sure that the storage is updated at the same time
    of my package. I was wonedring if there was any other way to achieve this. I cannot believe that this is completely unsupported. I did not create a custom framework for my add-ins, I am usign the one provided by Microsoft with the .NET framework, so I really
    hope there is a way to add those files to the azure package.
    Thanks, Louis

    Here is what I dened up doing to achieve this:
    Make a copy of the Microsoft.WindowsAzure.targets file found in the MSBuild folder to your Azure project folder. (C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.6 was the folder for me)
    Modify the filed you just copied to comment a part that would delete any "oprhan" file that does not belong to the role it is building. Without removing this, the file will get deleted automatically because it will detect that the project does not need it.
    <ItemGroup>
          <OrphanedWorkerFiles Include="$(IntermediateWorkerOutputPath)**\*.*" Exclude="@(WorkerFiles->'$(IntermediateWorkerOutputPath)%(TargetPath)')" />
        </ItemGroup>
        <Delete Files="@(OrphanedWorkerFiles)" ContinueOnError="true" />
    That can be found on line 2864 with version 1.6 of the Azure SDK. Comment it out or remove it.
    Modify the ccproj file of your Azure project to point to that file instead fo the original one. The import should now look like this: <Import Project="$(ProjectDir)Microsoft.WindowsAzure.targets" />
    You can then add a <Target Name="BeforeBuild"></Target> node in that ccproj file, or add before build events in that project that will copy the required file to this folder: $(ProjectDir)obj\$(ConfigurationName)\[Azure role], and replace [Azure
    role] by the name of the role you want to copy these files to.
    Once you've done that, you can rebuild your solution, and any files copied during your before build event will be included in your final azure package.
    Cheers!

  • Add role to user when added to room

    Hi,
    We currently have all the users from our LDAP server available in the portal. When our content manager creates a new room and adds members we also have to give the members a default role in order to logon. These seperate steps are necessary, because we don't want give access to all the LDAP users.
    Does anyone know if there is a feature, by which we can give users a default role automatically, when adding them as room members?
    Looking forward to your reply.
    Kind regards,
    Joost Christenhusz

    Hi Joost,
    This feature is not available out of the box. To achieve this functionality you can write your own room extension and make sure that this extension is used in the room template. In the extension you can assign the required portal role to the room members. The extension gets executed when the room is created and your room members will be assigned the appropriate portal role. Use this guide as a starting point for room extensions
    https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/coll/Room%20Extension%20Developer%20Guide.html
    Hope this helps.
    Akhilesh

  • CUA client doesn't know any profile/role anymore after adding child system

    Hi,
    I did set up a CUA client on our Solman system. The client is client 500 which has been copied over from 000 via the SAP_CUST profile.
    In this client 500 I did create some users with the SAP_ALL profile, so no problem here.
    After adding a child system to the CUA, it seems that if I want to create a new user in the CUA client 500 it doesn't know any role/profile anymore which is standard available in this client.
    In PFCG I can find a lot of standard roles, but when adding one via SU01 I do get the error that it doesn't exist. The same goes for the profile SAP_ALL.
    Just to be clear, adding profiles or roles from child systems is not a problem, just adding roles or profiles for the CUA client itself doesn't seems to work anymore.
    I had this problem on a 7.0 solman system and now also on a 7.01.
    Did anyone had the same problem?
    Thanks,
    Gregory

    Hello Georges,
    I have exactly the same issue.
    I have created a new CUA. I have copie 001 client to 333 client, using SAP_ALL profile.
    Now, from CUA client (333), I cannot add any roles or profiles to my user.
    I have created an RFC D1CCLNT333, but it does not resolved the problem.
    Did you do anything else to fix your issue ?
    Thanks
    Best regards
    CP2009

  • Change basicHttpBinding to wsHttpBinding in azure cloud service web role

    So I created a cloud service project in visual studio and added wcf service web role to cloud service.
    By default wcf service web role binding is set to basicHttpBinding.
    Currently my web.config looks like this:
    <?xml version="1.0"?>
    <configuration>
    <system.diagnostics>
    <trace>
    <listeners>
    <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    name="AzureDiagnostics">
    <filter type="" />
    </add>
    </listeners>
    </trace>
    </system.diagnostics>
    <system.web>
    <compilation debug="true" targetFramework="4.0" />
    </system.web>
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior>
    <!-- To avoid disclosing metadata information, set the value below to false before deployment -->
    <serviceMetadata httpGetEnabled="true"/>
    <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
    <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <directoryBrowse enabled="true"/>
    </system.webServer>
    </configuration>
    How do I change my config to use wsHttpBinding?

    Hi,
    Please refer to
    http://msdn.microsoft.com/en-us/library/ms733099.aspx. From my experience, in Windows Azure, we cannot use Windows authentication (the default configuration for WSHttpBinding), unless we use WAAD and let the cloud server join the local domian. So it is
    needed to turn off authentication, or use an alternative authentication mechanism (such as username and password).
    Best Regards,
    Ming Xu
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Cloud service web role did not get request

    Hi Team,
    we have an application host in web role in a cloud service, 
    sometimes it keeps loading when clicking a button in GUI and got no response till our GUI timeout (30 minutes)
    we use Fiddler to trace the http request and also check IIS logs and found that sometimes the web role didn't get a request,  sometimes the IIS
    got the request and finished to processe the request but didn't return result to GUI.
    it seems the message lost during interaction between UI and web role.
    note that this problems comes out just recently.
    is there some known issues related with this kind of problems. 
    thanks in advance.

    hi Baker,
    Firstly, I need confirm what's meaning is GUI from your description ? The GUI is your cloud service project UI? Or your UI in your client?
    Secondly, base on my experience, we usually could occur timeout error because of the azure load balancer and the long time request.
    For this error, I recommend you refer to those thread:
    Azure Web Role - Long Running Request (Load Balancer Timeout?)
    Windows Azure Load Balancer TimeOut for Cloud Service Roles (PAAS Web/Worker)
    Windows Azure Load Balancer Timeout Details
    http://social.msdn.microsoft.com/Forums/windowsazure/en-US/89b283f0-dfca-49a7-99fe-c3b73d77ff6d/azure-load-balancer-sending-http-request-to-multiple-web-role-instances?forum=windowsazuredevelopment
    If I misunderstood, please let me know.
    Regards,
    Will
    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.

  • IIS Site Hosted in Web Role can not start up

    Hello Team,
    We occured a problem when deploying application to web role 
    the WaIISHost can not start up and there are two error information in event log :
    Application: WaIISHost.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.IO.FileLoadException
    Stack:
       at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.<InitializeRole>b__0()
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    Faulting application name: WaIISHost.exe, version: 2.3.1198.663, time stamp: 0x53115226
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17031, time stamp: 0x53089862
    Exception code: 0xe0434352
    Fault offset: 0x00000000000068d8
    Faulting process id: 0x6d4
    Faulting application start time: 0x01cf89326cfa011a
    Faulting application path: E:\base\x64\WaIISHost.exe
    Faulting module path: D:\Windows\system32\KERNELBASE.dll
    Report Id: ad418c8f-f525-11e3-80bc-00155dd153c7
    Faulting package full name: 
    Faulting package-relative application ID: 
    if we miss some files when deploying the environment and how to check what files are missing. 
    thanks in advanced.

    Hello Baker.aveinc,
    I understand that is a old thread, I will still go ahead and reply to this in case if this can be of help to other users.
    The troubleshooting for this issue mostly depends on the status of the website on the portal. From the event logs, it appears that the faulty application is WaIISHost.exe.
    I suggest that you have a look at this article that explains the scenario for Web Role Recycling.
    http://blogs.msdn.com/b/kwill/archive/2013/10/03/troubleshooting-scenario-7-role-recycling.aspx
    If this does not fix the issue, please post back with the status of the webrole on the portal
    Thanks,
    Syed Irfan Hussain

  • Database connection error when running report from web application

    Hi all,
    When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
    Rep-501 : Unable to connect to the specified database.
    I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
    GPGWL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = GPGWL)
    )

    Please ask this question in Jdeveloper forum.

  • What actions will trigger azure worker role reboot

    Hi team,
    we have a application host in worker role, the worker process will create a new process if it receive a request, 
    i we want to update the worker and keep new process still working smoothly, what we should do during the Udate.
    we did some test for this and found that when updating the worker role via portal, the worker role VM will not reboot, 
    will all update not cause worker role reboot?
    another question, what actions will cause worker role reboot,so that we could avoid them when doing update.
    thanks in advance.

    Hi,
     Thanks for Posting. I see that no one in the forum community has answered the question.  hope the following resource points you in the right direction.
     There are certain implicit and explicit factors that may force the runtime to reboot or re-launch the role instances. Implicit factors are internal to Azure environment and explicit factors are those that are initiated through the change in configuration
    files or by performing an in-place upgrade.
    Refer to this link :
    http://yourstory.com/2012/03/understanding-windows-azure-runtime-part-ii/
    and
    http://msdn.microsoft.com/library/azure/ff729422.aspx
    Regards,
    Nithin.Rathnakar

  • Azure Web role scaling not working when using Reserved IP

    Hi,
    I am using autoscaling feature for long time now on my web role deployment. I've recently create new deployment (with same web role bits) to use a reserved IP. Since that moment, the autoscaling is NOT working anymore. I can see many AutoscaleAction failures
    in the Management Portal Operation logs.
    When I try to update the role instance count using REST call (via Azure Management Studio of Cerebrata), I get the following error:
    Code: BadRequest
    Message: A reserved IP cannot be added, removed or changed during deployment update or upgrade.
    I cannot find anything about scaling and reserved IP on the net but I can't believe I am the only one in this situation ?!?!
    Thanks for your help
    Jean Bédard
    Regards, Jean

    Hi,
    Refer to the
    Publish Windows Azure Application Wizard on MSDN, specifically #7 in Configuration Your Settings.
    When ‘Deployment Update’ is checked, only the changes since your last deployment will be pushed out to update your services. This is not possible when changing the virtual network settings of the service. To enable full deployments, you have two options:
    Uncheck the ‘Deployment update’ checkbox
    Click ‘Settings’ on the ‘Deployment update’ item, and select ‘If deployment can’t be updated, do a full deployment’.

  • What happens when Azure Worker Role VM goes down in middle of a computation process

    Hi,
    I wanted to know what happens if the Azure Fabric controller decides to bring down an Azure Worker Role VM during a computation process within the worker role ? Does the new VM that FC spins up start from the same place where it left off (when the VM
    was brought down). As per my understanding, answer is "NO" because an Azure VM is stateless. If we want that the new VM starts from the same place where it left off, we need to save the state and read it from there, when the VM starts (probably
    somewhere in the RoleEntryPoint class).
    can someone please confirm my understanding ?

    Hi,
    You are right.
    Azure PaaS instances are stateless. 
    If the instance that is just configured were to fail and Azure spun up a replacement instance, all the work that you have done would not carry over.  
    To know more about it, you might want to refer to the link provided below
    http://azure.microsoft.com/en-us/documentation/articles/fundamentals-application-models/
    (Refer To Section : Cloud Services )
    Hope this helps !
    Regards,
    Sowmya

Maybe you are looking for

  • Question about user accounts in multi domain scom design

    hello, there is a root forest with 30 child domains. fully trusted. we want to have a MS in each of the child domains and RMS in the root. so each MS in child domains report to the RMS which holds the SQL as well. since we want to use a single accoun

  • FrameMaker 10 not printing PDFs

    When I try to print to PDF on FrameMaker,  I get the "printing book" dialog box but nothing happens....the PDF is not created and no errors are reported. If I choose to print to poscript, open Acrobat Distiller, the PDF is generated there. I recently

  • Deleting Auxilary channel strips

    I must be missing something, but I cannot seem to find the function to delete auxilary channel strips. Can someone help point me in the right direction. Thanks

  • IBook won't log in to OSX

    Hi, OS X told me I needed to restart, so I held the power button to turn off. WHen I restarted, the computer would not progress from the grey screen with the apple logo and the spinning wheel. I have tried to to reboot in safe mode but the command lo

  • How well do the MBP's hold up?

    I've been using laptops for some years now, mainly Dell Inspiron and Latitudes, but just picked up myself an MBP. The MBP seems to be build like a tank with its aluminun case...but how well do these things hold up? For those of you who have them I wo