How do I set up Azure Sql Server to have multiple instances?

Hi all;
We are setting up a new SAAS application on Azure and while we have used Azure before, not at this level of multiple apps, etc.
We plan to have both a web app and a cloud app in both a US and EU data center. They need to hit a common database because requests will go to the closest data center via traffic manager and a lot of the data works off of the customer table. And a customer
(company) can have users in both the U.S. and E.U.
Is there a way to set up Azure Sql Server so it has instances in both data centers, and Azure keeps them synchronized? If I understand sharding right, that is not what we need as someone hitting either data center could be requesting any of the data in the
DB.
thanks - dave
What we did for the last 6 months -
Made the world's coolest reporting & docgen system even more amazing

Hi,
As far as I am aware, when you set the webapp/cloudapp to connect to a database you will have to specify the connection string in the app. The app will hit the database which is mentioned in the  connection string you have specified. So it is not automatic
or Traffic manager. You have full control over it as you can tell your app to connect whichever database you want.The database could be located in any region, however the you have to keep latency in mind as the app in US Datacenter could be calling the Database
in EU, if that is  they way it is setup.
You can have separate databases in each region and use Azure Data Sync
to have the database synchronized, however please keep in mind that Azure Data Sync is in Preview.
Regards,
Mekh.

Similar Messages

  • SQL Server Always On Multiple Instances

    I have 2 instances on 2 server for each I have the default set up and then an instance called Test.
    i.e. Server1, Server2 and Server1/Test, Server2/Test
    I have set up "Always on", on the default instances, and have a database called Test on both so I know that is working correctly.
    As soon as the Server1/Test and Server2/Test instances are set up it automatically picks up the Always On Group and Test database.
    Is it possible to stop this as I would like to use the separate instance for different databases?
    Thanks
    Chris

    UPDATE
    Chris opened support case with Microsoft and fortunately it came to my notice. Based on our troubleshooting we found that it was connection to wrong instance via management studio "registered server"
    After giving proper port, the issue was resolved.
    Nice talking to you Chris. Thanks!
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How to install and configure the SQL Server

    Hi All,
    We have to install SQL server in the new server because the old server is crash and need to upgrade. Please advice How to install and configure the SQL Server to run SAP Business One 8.8 successfully and what part we do have to give attention.
    Kind Rgds,
    Steve

    Hi,
    Try this solution:
    The step-by-step installation guide can be found in the documentation included in the installation media. (\Documentation\SystemSetup\AdministratorGuide_SQL.pdf).
    Below are some important parts that you should pay attention to during the Installation process.
    Resolution
    Collation setting: It must be set as SQL_Latin1_General_CP1_CI_AS,even the company DB is non-english location. The company DB will be created as corresponding collation settings automatically.
    Instance and TCP Port : It is recommended to run SBO on default instance and TCP port 1433. Otherwise,some optional components such as B1i may not work properly.
    Native Client: SQL Server Native Client should be installed on every client machine to enable the ODBC connection to DB server.
    Rgds,

  • How to create CATALOG with MS SQL Server?

    Connection class has getCatalog(strCatalog) method. In order to use it, we must create CATALOG in Database?
    How to create CATALOG with MS SQL Server?
    Help me, please!!!

    You do not create these for any database, this is part of the Connection metadata.
    The Catalog is the third level of table-like database object qualification as in "Catalog.Schema.Table". For SQLServer the qualification scheme is "Database.Owner.Table" and I would be surprised if they reported anything for the current connections getCatalog() method call.
    What many people do is avoid table qualification altogether by setting the connection's context in a database proprietary manner and then keeping the SQL as clean as possible. For many ODBC and JDBC drivers this can be set in the configuration. For MS SQLServer you can also execute a "USE dbname" statement on the connection to avoid table qualification.

  • Setting up Microsoft SQL Server datasource in Websphere 4.0

    Does anyone know how to setup an SQL Server jdbc driver in Websphere 4.0? I am using jdbc driver from jTurbo. But I am having trouble specifying the proper URL and other datasource settings in Websphere 4.0 (or WTE) server configuration.

    Hi,
    Please find the extract from jTurbo site (http://www.newatlanta.com/support/jturbo/third-party.jsp#WebSphere)
    which will explain the steps to follow for setting up Microsoft SQL Server datasource
    in Websphere 4.0 using jTurbo jdbc driver.
    1.Always make sure the JTurbo.jar is set in your classpath.
    2.Started "WebSphere Admin Server"
    3.Open "WebSphere Administrative Console"
    4.Install the JTurbo Driver into WAS by modifying the following field of "Admin DB Driver"
    Name: JTurbo
    Class Name: com.ashna.jturbo.driver.Driver
    URL prefix: jdbc:JTurbo://localhost/pubs
    JTA Enabled: false
    (apply changes which resulted in the installation of JTurbo Driver)
    5.Selected "Create Data Source" in Console "Wizards" drop down
    6.Selected "Use an already installed JDBC Driver" JDBC Option
    7.Specified "my ds name" as the "Data Source Name"
    Specified "pubs" as the "Database Name" pull down is showing "JTurbo"
    This should sucessfully create a new data source by the name of "my ds name".
    Also there is an excellent document on "Configuring the Merant ConnectJDBC data source for MS SQL Server for the WebSphere Application Server Advanced Single Server Edition" at http://www-4.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/was402/rn112253.4.html .
    Hope this helps. Good luck.
    Best Regards
    Gayam_Slash

  • How to change Rendering Extension in sql server Reporting Services based on User Permissions

    Hi,
    I want to provide SQL server reporting services rendering extension based on user Access.
    For Example
    User1 can have options of Rendering to EXCEL and PDF
    User2 can have a option of CSV
    i read one article which is useful for report basis rendering extension changes. but i want to give user basis rendering options.
    http://www.mssqltips.com/sqlservertip/3569/how-to-change-rendering-extensions-in-sql-server-reporting-services/?utm_source=dailynewsletter&utm_medium=email&utm_content=headline&utm_campaign=20150406
    Thanks in advance.
    GVRSPK VENI

    You can use a data driven subscription for that
    Maintain a table with rendering extension information for various users ie their AD user login. Then setup a data driven subscription based on table values
    You will be creating a dataset with query for retrieving userid as well as rendering extensions and then just set the value as Get value from database for  render Format and To properties 
    For more details refer
    http://beyondrelational.com/modules/2/blogs/101/posts/13460/ssrs-60-steps-to-implement-a-data-driven-subscription.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to enable remote connections in SQL Server 2008

    I'm trying to enable remote connections in SQL Server 2008 R2 as described in the following article.  I see the error message at the top of the article. 
    http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx
    One step in the article describes how to enable TCP/IP in Configuration Manager.  Specifically it says that
    'SQL Server NETWORK Configuration' should have TCP/IP enabled.
    The issue I've encountered is that my Configuration Manager
    is different than what appears in the article. My Configuration Manager shows the following:
    SQL Server 2005 Services
    SQL Server 2005 Network Configuration (32 bit)
           - Protocols for SQLExpress
    SQL Native Client Configuration (32 bit)
           - Client protocols
           - Aliases
    Note that I see 'SQL Server 2005 Network Configuration'
    rather than that for 2008.  When 'Protocols for SQLExpress'
    is expanded, there is a TCP/IP setting, but it's disabled and I see an
    Access Denied message if I try to enable this. 
    I also see a TCP/IP setting under Client protocols and successfully enabled this.  This uses port 1433 and I configured my firewall to accomodate this port as suggested in the article. 
    I also followed the other steps in the article, but still don't have remote access to SQL Server 2008 R2.  (I can access it from the office.)  I'm wondering if this remote access issue is because SQL Server
    2008 Network Configuration does not appear in Configuration Manager
    and if so, I'm interested in how this might be resolved.  (I'm running Windows 7 - 64 bit.)
    I'd appreciate any ideas on this.  Thanks. 

    Hello,
    Please refer to the following resource.
    http://support.microsoft.com/kb/KbView/914277
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Failed to set security on SQL Server registry key. Error: 2

    Hi,
    I have a Primary site (mixed mode) running SCCM 2007 SP1 for many months now with no issues.
    This site is made up of two Win 2008 sp2 servers sharing the SCCM roles:-
    SCCM01 - Site server, DP, RP, PXE and SQL2005 hosting the SCCM database
    SCCM02 – SUP, MP, FSP, SLP
    The SQL2005 on SCCM01 is running under a domain service account called
    domain\service_sccm which is also a sysadmin in SQL as is the SCCM02 server.
    In an effort to resolve the isse I have made this account a Domain Admin.
    I have also used this account to log onto SEC01 to run the Secondary Site installation and to be the SQL Service account.
    I'm now trying to add a Secondary Site on a Domain Controller called SEC01 (also Win2008 sp2) and on the same LAN as the SCCM01/02.
    This is where I get problems.
    I run the installation locally on the Sec Site server (DC) as a Domain Admin and the installation completes OK (all green ticks),
    the ComponentSetup.log and Pre-Reqs are all good as well however when I check the ConfigMgrSetup.log I see the below -
    Failed to set security on SQL Server registry key. Error: 2.
    <11-09-2010 22:46:59> SMS Setup full version is 4.00.6221.1000
    <11-09-2010 22:46:59> Successfully set security on Setup registry key.
    <11-09-2010 22:46:59> Failed to set security on SQL Server registry key. Error: 2
    <11-09-2010 22:46:59> Successfully set security on Identification registry key.
    <11-09-2010 22:46:59> Creating SMS Inbox Source registry key ...
    <11-09-2010 22:46:59> Installing SMS Site Component Manager ...
    <11-09-2010 22:46:59> Installing Site Component Manager under acct <NT AUTHORITY\SYSTEM> path <C:\Program Files (x86)\Microsoft
    Configuration Manager\bin\i386\sitecomp.exe>
    <11-09-2010 22:47:01> Started Site Component Manager service
    <11-09-2010 22:47:01> SMS Site Component Manager installation completed.
    <11-09-2010 22:47:01> Done with service installation
    Adding the PMP role to SEC01 also fails to install and no MPSetup or MPControl logs are created.
    WebDav and win2008 roles, features all added and server fully patched.
    Despooler.log on SCCM01 seems good and passing keys.
    Tried installing to default path and to shortened path such as C:\SCCM
    The new secondary site is listed in the console and an address can be added for the Secondary Site
    BITS Server Extensions and Remote Differential Compression Features are enabled.
    The Group memberships all appear ok:-
    SCCM01
    Local Admins    
    contains the sec site server SEC01, SCCM01, installation accounts
    SMS_SiteToSiteConnection_001              
    SEC01 (the sec site server)
    SMS_SiteSystemToSiteServerConnection_001                 
    SCCM02
    SEC01
    No Local Admins as a DC
    SMS_SiteToSiteConnection_002              
    SCCM01
    SMS_SiteSystemToSiteServerConnection_002     
    empty
    SQL 2005
    This has the account logged in during installation as a sysadmin
    SCCM02 is also sysadmin
    The fundamental issue appears to be that the SEC01$ server account is not being added to SQL Logins (and therefore SCCM database Roles)
    therefore the installation cannot complete.
    I have tried to manually add the SEC01 account to SQL Logins before installation of Sec Site but this did not work.
    Not sure if the fact that SEC01 is a DC may be a factor.
    Appreciate any help if anyone has seen this before or can suggest a resolution.
    Thanks

    After a lot of digging around and head scratching I eventually found the resolution.
    The original thread title Error turned out to be a bit of a red herring in that my failure to deploy Sec Sites came down to two separate issues seemingly unrelated to the error message of the thread title.
    The first part of the resolution was to manually create the SQL Server accounts for the Sec Site Servers and assign them to the smsdbrole_MP DB role to
    let the SQL side of the SCCM install complete a s these were not being created automatically.
    This then left the fact that that the installation of the Sec Site completed successfully according to the install logs in C:\ however the DP and MP would
    never install.
    The big clue was eventually contained in the mpfdm.log errors relating to
    **ERROR: Cannot find path for destination inbox SMS_AMT_PROXY_COMPONENT on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
    and
    **ERROR: Cannot find path for destination inbox Asset Intelligence KB Manager on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
    Thankfully the errors led me to these two blogs:
    http://myitforum.com/cs2/blogs/scassells/archive/2009/07/20/error-cannot-find-path-for-destination-inbox-sms-amt-proxy-component-on-server-registry.aspx
    and
    http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/5fcc53d4-8629-4b34-9eaa-6cb020eedc13/
    As it turned out the SCCM installation registry and folder creation does not complete and I had to manually enter the reg settings as detailed in the
    links above to complete the installation. Once I did as described everything worked a treat – all my MPs and DPs are 100% now.
    Solutions
    Add the following reg keys to each of your effected secondary sites.
    Inbox Fix
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\MPFDM\Inboxes]
    "Asset Intelligence KB Manager"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\AIKbMgr.box"
    "SMS_AMT_PROXY_COMPONENT"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\amtproxy.box" 
     Asset Intelligence fix:
     Note: you will need to identify the next largest key value. 
    In my example it was key 49
     Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\49]
    "Inbox Name"="Asset Intelligence KB Manager"
    "Relative Path"="inboxes\\AIKbMgr.box"
    "NAL Path"=""
    "User Rights"=dword:00000000
    "Service Rights"=dword:00000004
    "Monitoring Enabled"=dword:00000001
    "Location Type"=dword:00000001
    "Guest Rights"=dword:00000001
    AMT registry Fix.
      Note: you will need to identify the next largest key value. 
    In my example it was key 50
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\50]
    "Inbox Name"="SMS_AMT_PROXY_COMPONENT"
    "Relative Path"="inboxes\\amtproxy.box"
    "NAL Path"=""
    "User Rights"=dword:00000000
    "Service Rights"=dword:00000004
    "Monitoring Enabled"=dword:00000001
    "Location Type"=dword:00000001
    "Guest Rights"=dword:00000001
    Big thanks to Shaun Cassells and John Marcum for these blogs

  • How do I set up a mail server and SMTP server to send messages to other mail servers at mavericks

    How do I set up a mail server and SMTP server to send messages to other mail servers at mavericks

    You need to get the settings for your email from your email provider and enter them in Internet Accounts (System Preferences). Many of the common systems are already available, all you need is a password and an email address to set them up.

  • How to create a database in Sql server management studio

    how to create a database in Sql server management studio

    One method is to run the SQL statement below from a SSMS query window:
    CREATE DATABASE MyDatabase;
    You can also right-click on the Databases node in SSMS Object explorer and select New Database.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How to connect external database(Ex:SQL Server/Tivoli)  from ABAP Webdynpro

    Hi,
    Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
    Please point to me some links if you have
    Thanks
    Praveen

    Hi,
    Please check out this link -
    FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
    Regards,
    Lekha.

  • How to open sdf files in SQL server 2012?

    How to open sdf files in SQL server 2012?
     I couldn’t figure out how to open the sdf files in SQL server 2012
     Thank you
     Best
     Jamal

    I don't think it's hard if understood the question properly you can try this I do it most of the time and this might be the solution for you, sometimes minor simple click is a life saver:)
    1. 
    Open SQL Server Management Studio, or if it's running select File -> Connect Object Explorer... and click the
    connect drop down arrow
    2. 
    In the Connect to Server dialog you will see Database Enghine, Analaysis Servie on so on and you go head change Server type to
    SQL Server Compact Edition
    3. 
    From the Database file drop-down as shown below click the drop down arrow and select <
    Browse for more...>
    4. 
    And you will see C:\, D:\, G:\
    drive and so on and open, your SDF file where it is located
    I hope this has been informative for you and good luck
    Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer

  • How to store jpeg images in SQL server using NI database Connectivity Toolset. Can anyone please help me in this regard.

    Please tell how to store jpeg images in SQL Server using NI Database Connectivity Toolset.

    http://www.w3schools.com/sql/sql_datatypes.asp
    You setup a field as BLOB and store the binary of the picture there. Depending on the database it can be called differently as you can see in the link, in SQL server there's even a Image datatype.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How to replicate data from MS SQL Server  to Oracle

    Hi,
    Can someone please help me on how to replicate data from MS SQL Server to Oracle 8i database.

    Dear,
    I'm a student.
    I do simple replication on Oracle 8.0.5 successfully. (one master site and one snapshot site). I only use the SQL*Plus and Schema Manager to do.
    But when I do advance replication (multimaster replication) I meet many problem. So I don't get the result.
    Do you show me the technology to do that ?
    Thanks !

  • How to study for the MCSA: SQL Server Exams?

    Hi guys, 
    Forgive me if this question has already been answered but I'm simply trying to find out the best way to tackle the three exams required for the MCSA in SQL Server. I read a blog post on the Pluralsight website which, in discussing the MCSA in Windows
    Server, it was advised that the best approach is to study for all three exams rather than one at a time as there's a certain amount of overlap.
    My question is does this apply to SQL Server 2012 too? Or would it be bets to study for, and take, the three exams separately and one at a time? I'm just completing the Trainsignal (now Pluralsight) SQL Server 2012 Administration Essentials 28-video course
    and was just about to begin going through the equivalent book when I read the blog post.
    My background is mainly in desktop/server support (10years following an IT degree) and before now, have had no real exposure to SQL Server. I was asked about a year ago by my current manager to "keep an eye" on the SQL instances we have and began
    by replicating the our fail-over cluster in a virtual environment for testing purposes and to gain an understanding of the set-up. I've since developed a keen interest in SQL Server and plan to get certified...  
    Many thanks in advance.
    Marcus.
    Exams are:
    1
    Querying Microsoft SQL Server 2012
    2
    Administering Microsoft SQL Server 2012 Databases
    3
    Implementing a Data Warehouse with Microsoft SQL Server 2012
     

    Hello,
    My humble recommendation is to study for each exam one at a time. I found 70-461 most difficult exam of SQL Server I have
    taken to this date for its XML content and the extent of the exam. Go for 70-461 first.
    You will find tips and recommendations on the following Channel 9 resources:
    http://channel9.msdn.com/Events/TechEd/Europe/2013/EXM15
     (70-461)
    http://channel9.msdn.com/Events/TechEd/Europe/2013/EXM16
     (70-462)
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • How to use DATETIME parameters in stored procedure?

    I can not define a variable or parameters with data type of DATETIME when I define stored procedure using Developer/2000. Does Oracle not support DATETIME? null

  • Firefox doesn't display some text on certain pages.

    I've noticed that on some pages, Firefox doesn't display certain text. I have the newest version of Firefox installed and my flash and java are updated. The text displays fine on Chrome and IE. Please see my example in the screenshots of the stevenso

  • Adobe After Effects CS6 Ram Preview Crash Problem

    Hey, Recently my AE cs6 has been crashing when I started to RAM preview and the message that shows up is. "After Effects error: Crash In Progress. last logged message was: <1948><ai.blit.pipe><2> HardwareBlitpipe Disenaged." Specs: AMB 8150 16 GB of

  • Old podcast track only appears in smartplaylist

    I have an old podcast track that will only appear in a smartplaylist using the Podcast is true parameter. It's two years old and doesn't appear in any of the other menus on the left hand side. It's also in the iTunes Library.xml file, but directly ed

  • Differing info on hard disk?

    This is the info I get from Disk Utility. While this is the info I get when I go a 'Get Info' for the same disk. Is the difference due to the recovery partition?