Configure commonly used settings for a cloud service

Hi All,
Have a question regarding Azure Cloud Service.  If I change a cloud service setting (Cloud Service -> Configure) in the portal, does the change persist if or when an instance is re-imaged?  For example, if I change the "DatabaseRetryCount"
parameter from 5 to 10 and save it, this change will update the runtime configuration.  However, when Azure rebuild this role, is this change get carried over?
Thanks

In azure cloud services nothing is persistent, meaning that every time role instances are restarted or created, it will be created from the scratch and will pick up only those settings which you either have done in the role start up or defined as a start
up activity.
About azure cloud service configuration files, i.e. cscfg - you can specify the settings similar to what you define in web configuration file of your application, these settings can be read at run time and can be reffered in your custom code. If you add
/ update any setting from the portal - you should also do similar in cscfg file in your solution so that next time you upgrade the deployment, the updated settings will be deployed.
Read more information here - https://msdn.microsoft.com/en-us/library/azure/ee758710.aspx
Bhushan | Blog |
LinkedIn | Twitter

Similar Messages

  • How do I tell my clients to configure the connectionstrings for a cloud service?

    I have an application that exists in two forms
    A Windows Service
    A Clouse Service with a Web Worker Role
    Both applications have an encrypted connection string in the app.config;
    for clients using the Windows Service I know how to tell them to change the config file.
    For a cloud service is it possible to edit the configuration file?
    I read something about Azure Settings, but I can't find any good information about that, is that the preferred method for setting environment settings in a Cloud Service?
    Can you remote in to a VM or whatever hosts the Cloud Service?
    Thank you for any help. I am writing the documentation about how to setup the Azure environment and I realized I don't know myself, I only know how to publish with Visual Studio to a cloud service with the values already set. That works, but I can't
    tell a client to use Visual Studio.

    Hi,
    For a cloud service, though it is possible to access instance VMs and do changes on their file system by RDP sessions, but it is not recommended, as you will end up loosing your changes if role instance VMs are restarted.
    If you really want to keep certain settings configurable and which will be shared by all your role instances, best way to do is to utilise the cloud service configurations, typically you mention these settings in .cscfg file and you can also edit those using
    azure management portal.
    You can also access those from your code 
    string settingValue = CloudConfigurationManager.GetSetting("SettingString");
    Read more about it here - http://msdn.microsoft.com/en-us/library/azure/ee405486.aspx
    http://haishibai.blogspot.in/2012/09/windows-azure-cloud-service.html
    Bhushan | Blog |
    LinkedIn | Twitter

  • Is it possible to do Continuous deployment for azure cloud services(website,web and worker roles) using VSO Release management?

    Hi,
    I am trying to do continuous deployment using visual studio online and release management for Azure cloud services. But not able to find the way to do it(with the help of different blogs, those are describing using VM only).
    I tried using Release management visual studio extension also. But no Luck.
    Please help me if it is possible to do continuous deployment using release management.
    Thanks,
    Phani

    Hi,
     Please refer to the following Forum Thread with similar question which has been answered. Let us know if this helps.
     https://social.msdn.microsoft.com/Forums/en-US/9d8322f6-36e5-4cca-a982-d420d34d2072/realease-management-deployment-to-azure-websites-webworker-roles?forum=tfsbuild
    Regards,
    Nithin Rathnakar

  • My iphone 4s in unlocked and i am currently using it for tmobile prepaid service. i want to restore the 7.0 settings back to 6.1.3 .. will this lock my iphone 4s once again after i restore it back to 6.1.3?

    My iphone 4s in unlocked and i am currently using it for tmobile prepaid service. i want to restore the 7.0 settings back to 6.1.3 .. will this lock my iphone 4s once again after i restore it back to 6.1.3?

    Because GPS has nothing to do with WiFi, cellular signals, or data of any sort. GPS is implemented by signals sent by satellites that are received by GPS receivers. The receivers process the information from the GPS satellites and calculate your location. GPS never sends data anywhere; GPS functionality is receive only.
    If you have WiFi or cellular data turned on this can improve the accuracy of GPS, because the GPS receiver can then use the known location of cell towers and WiFi networks to refine the GPS location. GPS by itself has an accuracy of 10 meters, or about 34 feet. Using the additional information from WiFi and cellular data this can be brought down to 3 meters (10 feet). This mode is called Augmented GPS, or A-GPS.

  • Is it possible to configure size disk for a Cloud Service?

    Is it possible to configure size disk for a Cloud Service?
    What happens is, I have deployed a Solr Server on a Cloud Service, and the application folder is on E: Drive, but it is only 1.5 GB. I want to increase it, because index content created easily exceeds this limit.
    Thank you.

    hi Luis,
    Base on my experience, E drive is the app disk. The apps (application) disk is where your .cspkg is extracted and includes your website, binaries, role host process, startup tasks, web.config, and so on. It is only 1.5G (http://msdn.microsoft.com/en-us/library/windowsazure/dn197896.aspx
    ). So I think you didn't worry about its space.
    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.

  • OSB & WLST: changing operational settings for a proxy service via WLST

    Hi all,
    we are trying to change the operational settings for a proxy service via WLST.
    In details we would like to change the "Logs" level (Monitoring section).
    We have a lot of deployed services and our 'deployer people' need an automatic way (via WLST for example) for doing that instead of using the OSB console.
    Thanks in advance
    ferp

    Hi,
    OSB is the Oracle Service Bus. Oracle Service Bus is a configuration-based, policy-driven enterprise service bus.
    The OSB is deployed into an Oracle WebLogic Server instance.
    OSB uses also WLST functionality provided by WebLogic Server.
    Best regards
    ferp

  • Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

    I'm trying to find a solution that I can use to perform virus scanning on files that have been uploaded to Azure blob storage.  I wanted to know if it is possible to copy the file to local storage on a Worker Role instance, call Antimalware for Azure
    Cloud Services to perform the scan on that specific file, and then depending on whether the file is clean, process the file accordingly.  If the Worker Role cannot call the scan programmatically, is there a definitive way to check if a file has been scanned
    and whether it is clean or not once it has been copied to local storage (I don't know if the service does a real-time scan when new files are added, or only runs on a schedule)?  

    Hi,
    I would suggest you have a look at this article:
    http://azure.microsoft.com/blog/2014/10/30/microsoft-antimalware-for-azure-cloud-services-and-virtual-machines/, please note the Microsoft Antimalware Client and Service is not installed by default in cloud service, please try to use the PowerShell
    cmdlet, Set-AzureServiceAntimalwareExtension to enable antimalware in your cloud service. Here's some more info:http://msdn.microsoft.com/en-us/library/azure/dn771718.aspx
    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.

  • Is there a list of best practices for Azure Cloud Services?

    Hi all;
    I was talking with a Sql Server expert today and learned that Azure Sql Server can take up to a minute to respond to a query that normally takes a fraction of a second. This is one of those things where it's really valuable to learn it when architecting as
    opposed to when we go live.
    Cloud Services are not Sql Server (obviously) but that led to the question - Is there a list of best practices for Azure Cloud Services? If so, what are they?
    We will be placing the cloud services in multiple datacenters and using traffic manager to point people to the right one. The cloud service will set between an IMAP client & server, pretending to be the mail client to the server, and the server to the client.
    Mostly it will pass all requests & responses across from one to the other.
    thanks - dave
    What we did for the last 6 months -
    Made the world's coolest reporting & docgen system even more amazing

    hi dave,
    >>Cloud Services are not Sql Server (obviously) but that led to the question - Is there a list of best practices for Azure Cloud Services? If so, what are they?
    For this issue, I have collected some blogs and document about best practices for azure cloud service, you can view them, but I am not sure they are your need.
    http://msdn.microsoft.com/en-us/library/azure/xx130451.aspx
    http://gauravmantri.com/2013/01/11/some-best-practices-for-building-windows-azure-cloud-applications/
    http://www.hanselman.com/blog/CloudPowerHowToScaleAzureWebsitesGloballyWithTrafficManager.aspx
    http://msdn.microsoft.com/en-us/library/azure/jj717232.aspxhttp://azure.microsoft.com/en-us/documentation/articles/best-practices-performance/
    >>The cloud service will set between an IMAP client & server, pretending to be the mail client to the server, and the server to the client. Mostly it will pass all requests & responses across from one to the other.
    For your scenarioes, If you'd like to communicate with each instances, I recommend you refer to this document (
    http://msdn.microsoft.com/en-us/library/azure/hh180158.aspx ). And generally, if we want connect the client to server on Azure, the service bus is a good choice (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-multi-tier-app-using-service-bus-queues/
    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.

  • How to add security for Azure Cloud Service?

    Hi,
    We have build some API's in azure cloud service.
    We want to add security for Azure Cloud Service.
    How to add security for Azure Cloud Service?

    Hi Santhosh,
    You may add security for your API's by using:
    Mutual certificate authentication
    Using OAuth 2.0
    Manage developer accounts
    Regards,
    Manu Rekhar

  • WHY ARE THE UK USERS PAYING MORE FOR THE CLOUD SERVICES????

    WHY ARE THE UK USERS PAYING MORE FOR THE CLOUD SERVICES????
    OR IS IT JUST LAZYINESS THAT YOU CHANGE THE DOLLAR SIGN FOR THE POUND?

    it obviously doesn't, but then again some people or organisation only care about price when it comes to purchasing their laptops, and it is hard to justify making a special model for a selected few.
    Sure everything can be done if there is a market for it, but Lenovo won't know how large the market is before hand, as such they are hedging a bet by not moving with the market (which Lenovo have done on many occasions). I guess the finanical return is not the worth the risk for Lenovo to keep the 4:3 or 16:10 screens.
    But this debate has been going back and forth for a long time, so no point bringing it up again and again.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • What is "Use Settings for All iViews"?

    Dear all,
    Could anyone tell me what is "Use Settings for All iViews" in the presentation setting of folder under the document sharing iView in the collaboration room?
    Thanks and best regards,
    Marcus

    The layout set you choose here normally just applies to the exact iView you are currently in, so it is tight to the current folder as well as the iView you are using to see its content right now. Using another iView to display the content of this folder might use a different presentation. But if you want to make sure that this folder is presented in a certain way in every iView (e.g. if you want to show a picture folder always with a thumbnail explorer), then you choose "Use Settings for All iViews". But be careful: this is really sticky -- you won't get rid of it easily if the chosen layout has no "Details" link to the parent (e.g. an HTML renderer). In this case you can only reset this setting with the administrative "Folder Settings" helper under "Content Administration/KM content/Tools"...
    Regards, /-/ansi

  • Make Settings for Skills Profile Service

    Hi SAP Gurus,
    I want to make the settings for Skills Profile Service in IMG. The documentation says "Switches QUALI DEST1 and QUALI DEST2 allow you to set up the system ID required for the RFC connection for ESS. "
    How can I find out the required system ID?
    Thank you in advance.
    Best regards,
    Nadin

    hi p gopala
    Go to IMG -> Cross-Application Components -> Homepage framework -> Resources -> Derfine Resources -> (Add Entries)
    Double Click on Resource object "EMPLOYEE_SKILLSPROFILE_SERVICE".
    Under URL of PCD page, you will find
    ROLES:// portal_content/com.sap............
    Delete this line and replace it with following..
    ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.roles/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.area_career_job/com.sap.pct.ess.serv_career_job
    save your entry.
    Customizing request is created.
    Release this request from 'SE09'
    Restart the J2EE server.
    Regards,
    Kaushal

  • Error Configuring Common Server Settings

    I'm trying to install several JES components, each one wants to configure the Common Server Settings first.
    When I try to do so, I get the following error:
    Error in Host IP Address
    Valid Host IP Address Required.
    The Host IP Address Provided could not be validated.
    The services being installed required a valid Host IP Address.
    Installation cannot proceed until a valid Host IP Address is provided.
    The IP address I am using is 10.0.5.16. This is the IP address of the server I want to install the software on - obviously it is in the class C private IP space. I can't imagine how this would be "invalid".
    I'm installing this on a RH Linux platform.
    Help is appreciated. Thanks.

    I was able to solve this problem by putting the host and domain information in /etc/hosts file:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain
    #andrew_linux.msn00.oneamerica.com
    #localhost andrew_linux
    161.199.69.57 andrew_linux
    161.199.69.57 andrew_linux.msn00.istotalcrap.com

  • How to configure default parental settings for all users (10.7)?

    Hello,
    I've made a silent installation of iTunes using MSI files and it works well.
    I need to enable parental controls and configure it. Users must be preventing of changing these settings.
    At the end of the iTunes installation I automatically created registry keys :
    [HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls]
    "AdminFlags"=dword:001b7ac5
    "AdminMoviesLimit"=dword:000000c8
    "AdminTVShowsLimit"=dword:000001f4
    "AdminRatingSystemID"=dword:0000000b
    "AdminGamesLimit"=dword:0000012c
    According to http://support.apple.com/kb/HT2102 it is the procedure to set default parental settings for all users and to lock these settings.
    When iTunes is first launched, parental settings are not set nor locked.
    I use iTunes 64 bits on Windows 7 64 bits.
    Where is the mistake?
    Thanks in advance.

    You can set up a system cache for sharing jars: See here: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/enterprise_config.03.06.html

  • Problem in configuring SSO using SAML for applications hosted on diff m/c

    Hi Techies,
    I am stuck in a weird problem for past month or so without any resolution. Not much help by googling. So I hope i get the answer from the mouth of the horses -
    I am trying to use SSO using the sample application appA and appB as stated in the tutorial of SSO by BEA.
    I am summarizing the problem below -
    Steps followed for Configuring SSO using SAML
    1. Created 2 domains on 2 seperate machines namely domainA and domainB
    2. Source appliction is deployed on domainA and the target application is deployed on domaninB
    The steps mentioned in the following tutorial has been followed-
    http://dev2dev.bea.com/pub/a/2006/12/sso-with-saml.html
    3. As mentioned in the tutorial the certificate is generated using keytool utility. The same certificate is copied
    to WEBLOGIC_HOME/server/lib of destination machine.
    4. The certificate was successfully registered on desitnation or host 2 but while activating the configuration
    changes(SSL client Ientity Alias and SSL Client Identity Pass Phrase) for Federation services the following error
    is thrown -
    " SAMLBeanUpdateListener: SAMLKeyManager.prepareUpdate() failed with exception:
    weblogic.descriptor.BeanUpdateRejectedException: SAML key Manage failed to validate key (SSL Client) configuration
    in the FederationServicesMBean, key alias: testalias "
    The interesting bit of the problem is that the same configuration works on 2 domains created on same machine. The
    problem only occurs when domains are created on seperate machines.
    Alterative to the problem: when the certificate is generated seperately for domainB and copied to
    WEBLOGIC_HOME/server/lib, it works. However, the certificate generated in domainA should have been copied.
    Note: I am using Weblogic portal 9.2.1
    Any quick replies will be much appreciated. Thanks.
    Edited by saurabh.agrawal at 02/06/2008 2:01 PM

    Hi François,
    You are right about the use of the NameID format. But the issue here is/was that OIF at SP is integrated with OAM, and the authenticated user at OIF-SP and OAM will be the Anonymous user rather than the user who was identified at the IdP even though the remaining attributes sent are for the IdP user. I think these attributes can be used by with OAM for authorization using custom authorization plug-ins but haven't tried that one out.
    As for the attribute sharing profile, it's this one - http://www.oasis-open.org/committees/download.php/18058/sstc-saml-x509-authn-attrib-profile-cd-02.pdf, although for the life of me, I cannot remember why I suggested this in the first place!
    -Vinod

Maybe you are looking for

  • How to find DateofBirth of  currently login user?

    Hi everyone, I got some problem regarding how to get the DateofBirth of a user?Is there any class or property in C# or ASP.NET from where we can find the date of birth?

  • Email form created in Acrobat 9, custom subject line and content

    I'm revisiting a form I created about a year back, and I can't remember how I got a javascript to work. What I want is for the user to click on an "Email" button, which will open their email program and create a new message, with the subject line fil

  • If I change my Orange Sim UK to an Orange Sim CH (Switzerland).....

    ..... when I am in Switzerland, will my Blackberry email still be pushed to my phone if I have set up Data Services with the Swiss Sim?  Will there be any conflicts. I basically go between UK and Switzerland several times a month and am on a Pay as Y

  • Customer Stock

    My client is wanting to use Customer Stock B segement for the special stock indicator.  I have never used this type of segment before and not sure of the benefits.  There will be a sales order created however the sales order will have nothing to do w

  • Shipping Cost in Order Sync webtools 2007

    Hey All, Can anyone tell me what the synch does with the shipping rate expenses and shipping total from the NPORder object in regards to how that data is used in Business One? IE: Do the shipping expenses items get created as additional expenses in a