Database MIRRORING in SharePoint 2010 - What to do in absence of Witness server

Hi,
Our environment is divided in 2 DC's, DC1 has our database cluster(2 nodes) and the DC2 has our mirroring server. 
Now as part of DR test, DC1 will be shut down. So our Mirrored server in DC2 should cater all requests. To achieve this, I have set "Failover Server" for our content DBs, service application DBs from Central Admin > Manage Content DB/Service
Application. I will set failover server for Config DB using Powershell.  However I DONOT have "witness server" in place.
Now here are the things which I need help on:
1. Once I set "Failover Server" for content DB in Central Admin, where can I see these changes? I mean where is that config file where this change is set?
2. As we do not have a Witness Server, what all steps will be followed manually to achieve this failover? 

You do not need to use a SQL Alias when implementing mirroring, or failing over to the mirror.
You simply need to update each database's FailoverServer value, e.g.:
$db = Get-SPDatabase | where {$_.Name -eq "SharePoint_Config"}
$db.FailoverServer = "SQLMirroringPartner"$db.Update()
All databases should have this parameter and can be handled in this way (some databases, such as Usage and Sync, aren't recommended to be mirrored as they hold transient information).
To failover, you will manually initiate bringing the secondary online via SQL Server Management Studio.
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • Web Database for existing Sharepoint 2010 List

    I would like to create an Access Web Database based on a list that already exists in my SharePoint site. Is this possible?

    Hi Adam,
    From your description, my understanding is that you want to create an Access database using an existing SharePoint list.
    In SharePoint lists, there is a button called "Open with Access". You can synchronize the data in a SharePoint list with Access 2010 by using the Open with Access command in the list ribbon. This command creates an Access table linked to the SharePoint
    list, and a supplementary UserInfo table that contains additional information, such as user names, accounts, and e-mail addresses.
    You can also link a table to an existing SharePoint List by using the SharePoint List command in the Import & Link group on the External Data tab.
    More information about Access and SharePoint, you can refer to the link:
    https://support.office.com/en-us/article/Synchronize-a-SharePoint-2010-list-with-Access-2010-975BFB97-C799-4FCE-B7CC-3DB3B397F116
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Update item in SharePoint 2010 list when a entry made in SQL server

    Hi there,
    I have four lists on a SharePoint 2010 site. There is a column - Equipment Name - in each of the lists. I want only this column to be updated in all the lists, when a new entry is made in SQL server.
    I referred
    http://oszakiewski.net/eric/connecting-a-sharepoint-2010-list-to-external-database-table and found it good, however I want to only update one column and not to perform CRUD. Also, can it be possible to achieve this without referring to Central Administration
    settings?
    Thanks

    Hi,
    Let’s verify the following:
    Whether your four lists are external list with SQL Server data source. If not, you can’t sync the list with SQL Server.
    External list items are sync from data source, they keep sync all the time.
    Whether you aren’t want to perform CRUD in the list. You can select some of them instead of using all of them.
    You can create all of the column from the four lists in your SQL Server database table, and then create four external lists with that table as data source.
    Modify view-> in each external list check the columns which you want display in every list. Then you can update the “Equipment” column in each external list.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Added a content database from Company A's SharePoint 2010 farm to ours

    I have added a content database from a company (Company A) that we are acquiring. The sent it my SFTP, we downloaded it, added it to the sql db, and I added it as a content database to a SharePoint 2010 farm  at our company (Company B) that is built
    to the exact build that Company A's farm was built to.
    Presently, the database resides in our Development Environment which is a single server that interacts with SQL, which resides on a different server.
    If I copy the URL for the site collections from the Company A's DB (from the site collection list), the content renders perfectly, but  when I attached the database to a Web application that was tied to a host header with an IP address on the DNS Server
    here, at company B, the content doesn't render at all. The only thing that happens is that I am asked to enter my credentials. None of the farm credentials or my credentials (all domain users) work.
    I have made myself via the farm administration password the owner of the site content, but I must be missing something, because I get this error from the page when I try to render it:
    <b>Error message 401.2.: </b> Unauthorized; Logon failed due to server configuration. &nbsp; Verify that you have permission to view this directory or page based on the credentials you supplied and the authenticatio methods enabled
    on the web server.
    I am wondering if this has something to do with the origin of the content, due to the fact that it was created on a different farm under completely different credentials and what I have to do to get it to work outside of the server as content
    under a new Web app.

    Hi,
    Do you have any update?
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Attaching TFS sharepoint database to Sharepoint 2010

    Hello,
    I'm in the middle of upgrading from TFS 2008 (on one server) to TFS 2013 (on another server).  I was able to get the TFS portion of the upgrade working, but I'm encountering some difficulty with the Sharepoint database portion.  Due to the specs
    of the server, I will need to use Sharepoint 2010 instead of Sharepoint 2013.  I have a copy of the Sharepoint databases on a SQL Server 2012 instance (on a different server then the actual Sharepoint software).  Should I just proceed to attach the
    TFS Sharepoint database to the Sharepoint 2010 instance?  If so, isn't that done with a stsadm.exe command?  I have also yet to configure the Sharepoint 2010 instance in case there is some special considerations when dealing with the TFS sharepoint
    databases.
    Thanks!

    check this one:
    http://blogs.msdn.com/b/tfssetup/archive/2014/05/15/migrating-team-foundation-server-databases.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Move A Site From Moss 2007 To Sharepoint 2010

    i have a site in sharepoint 2007 and i want to move it to a sharepoint 2010 server
    not too sure what is the best method to do this ?
    thanks

    I landed in this thread because I had a similar need to Muthuvel's. I am wanting to bring over just one subsite out of several.  My database in 2007 is around 7GB, and all I really want is just one site out of the many in it. 
    Ahmed's Ammar's steps were just right, and worked well for me in order to get the complete 7GB database over to SharePoint 2010, and later export\import that single site I was looking for.
    For Muthuvel, here are my updated steps, starting with Ahmed's text (sorry for plagiarizing!).  Steps 7 and 9 are for subsites.  See links at the bottom for dealing with site collections.
    1) Find the content Database;  These are listed under Central Admin->Application Management->Site Collection List
    2) Backup the content database. Just doing a backup in SQL Server Management studio.
    3) Restore content database to the new server, I mean the DB server for your SP2010
    Copy the BAK file to new server. Create an empty DB in Management Studio, restore from backup, you may need to change an option in the "options" tab of the restore dialog to get it to work. (Overwrite db).
    4) Create a new Web App on SharePoint 2010
    For Step 4, I created a new Web App, choosing to create it with a suggested port number, such as 4072.  This was a temporary web application that I ended up deleting later.
    5) Remove Content Database from the new web app.
    I didn't find that you neeed to remove the Content Database first.  You can add the content database by Central Admin or by STSADM, or by Powershell. 
    Central Admin would be Application Management > Web Applications > Manage Content DAtabases > Set the web application to your newly created web app > Add Content Database > specify the name of the database you just restored
    STSADM is as Ahmed gave: 
    Now use STSADM to add restored DB to this web app
    c:\program files\common files\microsoft shared\web server extentions\14\bin on new server is where you can find the STSADM.
    run this command from there. Which will upgrade the content db to 2010?
    stsadm -o addcontentdb -url http://yourwebapp:port -databasename yourcontentdb -databaseserver yoursqlserver
    Powershell would be this command below.  Be sure to run the "SharePoint 2010 Management Powershell" console, found under Programs\SharePoint 2010 Products.  If you run just regular powershell this won't work. 
    Mount-SPContentDatabase "MyDatabase" -DatabaseServer "MyServer" -WebApplication
    http://sitename:port
    6) Run ISSRESET from command prompt
    I'm not sure this was necessary, but I did it anyway.
    NOW, the rest of the part about getting that subsite you want. 
    7)  Export the subsite.  I did this with Powershell.
    Export-SPWeb http://sitename:port/sites/subsitename –Path "subsitename.cmp"
    8)  Create a new site for you to import this subsite into, in the Web Application where you want it to go.  This would be done with the regular Site Actions > New Site command.  You can also do it from Powershell, but that requires knowing
    site templates by name, something I'm just learning myself.  The other thing here is that you have to create the subsite using the same template as the site you just exported.  So if that was a Team site, be sure to use a team site when you create
    this new area.
    9)  Import the subsite to where you want it to land permanently. Here I'm saying port 80 because that's the requirement Muthuvel mentioned.
    Import-SPWeb http://sitename:80 –Path "subsitename.cmp" -Overwrite
    10) Even after things say they are done on the server, the site may take an extra minute or two to come up when testing from a client.  Give it a little time. Once it comes up, somehow I found a way to change the visual appearance from the old SharePoint
    2007 to SharePoint 2010, but now that I flipped that switch, I can't find the option again.  So I'm sorry that I am not documenting that here.
    11) Delete that temporary web app you created in step 4.  Again you can do this with Central Admin or Powershell.  Here's the Central Admin way:
    Central Admin would be Application Management > Web Applications > Manage Web Applications, land on the temporary web app, click Delete.  Choose Yes to deleting the content database and the IIS web site. 
    GROAN!! I'm sorry, I just wrote all this out and realized Muthuvel was asking about a site collection, not a subsite.  Then for Steps 7 and 9 you'd want to use
    Backup-SPSite 
    http://technet.microsoft.com/en-us/library/ee748617.aspx
    and
    Restore-SPSite 
    http://technet.microsoft.com/en-us/library/ee748655.aspx
    Good luck, hope someone else finds this as useful as I did!
    Lady_M MCITP SharePoint 2010

  • SharePoint 2010 Excel Services with SQLserver 2012 cubes

    I have two tier sharepoint 2010 enterprise setup
    1)wfe  and app server
    2) sqlserver
    I also have a sqlserver 2012 which hosts all our BI cubes .
    is it possible to connect excel (office 2010)  to sql 2012 BI and save that in my sharepoint 2010 server  under shared documents and expect it to refresh when aall authenticated users hit " refresh all connections"
    It is not able to hit refresh . I get a " unable to refresh data for  a data connection in this notebook" the following connections fail to refresh.
    Interesting when I do the same this using sql server 2008 r2 BI , everything works fine

    Hi,
    According to your description, my understanding is that the SharePoint 2010 Excel Service cannot work with SQL Server 2012.
    Did you install Service Pack 1 for SharePoint 2010?
    SharePoint 2010 Service Pack 1 is required for SQL Server 2012 PowerPivot for SharePoint features.
    Please check if the Service Pack 1 is installed for SharePoint 2010. If not, please download it from the link below and install it:
    http://www.microsoft.com/en-hk/download/details.aspx?id=26623
    More references:
    http://msdn.microsoft.com/en-us/library/ee210708(v=sql.110).aspx
    http://msdn.microsoft.com/en-us/library/6d61be91-0396-443c-a7f4-02dcf973775e(v=sql.110)
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Sharepoint 2010 Remote Development using Visual Studio 2013 Connection Errors

    I have a customer who is using a custom skinned site developed in Sharepoint 2010.
    I am trying to debug a webpart that is not loading on a page.
    My Environment:
    Local Laptop running Win 7 64 Enterprise, Visual Studio 2013, and Sharepoint Designer 2010.
    I connect to the customers network via VPN and use RDP to access the server. I have Admin rights to the server.
    Everything that I have read indicates that Web Part dev has to be done in VS. When I try to connect using server explorer, VS kicks back a 'Server Can not be found' error.
    I have tried using the computer name, the app url listed in SP Central Admin, the IP address of the box, and the actual URL of the site. However, VS can not connect to the server.
    I have done some homework on connecting VS to a remote machine:
    Adding New Servers in Server Explorer
    http://msdn.microsoft.com/en-us/library/edfcxas2%28v=vs.71%29.ASPX
    Add Server Dialog Box
    http://msdn.microsoft.com/en-us/library/107b72aa%28v=vs.71%29.ASPX
    SharePoint -how to connect remotely to production server
    http://stackoverflow.com/questions/3188364/sharepoint-how-to-connect-remotely-to-production-server
    SharePoint 2010 Development with Visual Studio
    http://stackoverflow.com/questions/10529917/sharepoint-2010-development-with-visual-studio
    Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
    http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
    Using SharePoint Designer 2010 to Work with Web Parts
    http://msdn.microsoft.com/en-us/library/ff630941%28v=office.14%29.aspx#odc_sp14_qn_UsingSharePointDesigner2010WorkwithWebParts_CreateXSLTListView
    The last connection article is confusing because one of the SO answers indicates that you do not need to have SP2010 installed.
    I have been doing lots of reading on SP structure, and it seems to jump all over the place. (Or at least my research does). I have been reading this Ebook:
    SharePoint 2010 Development with Visual Studio 2010
    http://books.google.com/books/about/SharePoint_2010_Development_with_Visual.html?id=TVKICs4vHTcC
    My questions are:
    Why cant I connect to the Server if I connected through VPN which would inherently make the server a local network computer?
    Do I need to have VS installed on the actual server? I read that I can install Sharepoint Foundation locally and this will give me access to the server in VS.
    Do I need to have the full version of VS installed in order to use Remote Tools?
    For the Web Parts:
    Why cant I see the web parts in Sharepoint Designer? I take it they are exclusively designed in VS, which brings me back to the questions above.
    In Sharepoint Designer, I can see a custom view that was created from a custom list. I want to add that list to the page where the web part isnt working. When I open up the Edit Interface, and try to find that list, it does not display in the 'Lists and Libraries'
    menu

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Sharepoint 2010 Report viewer Parameters disappear after selected

    Hi,
    I have Sharepoint 2010 installed and pointing to a different SQL Server 2012 in Sharepoint integrated mode. 
    In Sharepoint if I create a new report using report builder or if I add one from reporting services server, when I execute it, it shows the parameters on the right side. When I open the list the values are ok, then if I select one of them the page do a postback
    and the selected parameter value disappears and I can never run the report because if I hit Apply it gives an error saying that the parameter is not set.
    If I change the report and set default value for each parameter it works well. I can change the parameters and they work great, but I don't want to set the default values and let the user choose them.
    Sharepoint server is SQL Server 2012 version 11.0.3368.0
    Reporting server is SQL Server 2012 11.0.3000.0
    Can anybody help me with this issue?
    Thanks
    Carlos Pereira

    Hi  Carlos,
    As per your query.. ensure your web.config has debug="false".
    Still see your SP2 has been installed or not because you using SQL Server 2012 and SharePoint Server 2010.
    FIXING your Reporting Service's Issues
    Detail and step by step of passing multiple filter parameters to custom report viewer web part
    Thanks
    Indul Hassan

  • What are the steps to change existing sharepoint 2010 farm database server to a new server

    Hi
    i have a sharepoint 2010 farm and backend with sqlserver2012 standard edition on windows server 2008 r2 server
    now what are the steps to if  want to  connect this farm to a new sql server 2012 on windows server 2012 server and remove this existing server
    adil

    You have two options:
    Use a SQL Alias and you will then need to swing all databases over to the new SQL Server
    Don't use a SQL Alias and swing all but the Configuration and Administration databases to the new SQL Server, and individually re-configure Service Applications/Web Applications to use the new SQL Server. This will force you to keep the old SQL Server around.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Sharepoint 2010 - configuration database size limit

    Hi,
       We have below scenario in our production farm. Ours is a SharePoint 2010 Enterprise Edition server.
    Medium size farm (4 WFE, 4 App Servers, Content DBs in separate tier. No SharePoint search in this farm)
    Configuration DB reached 250+ GB. Please clarify below queries.
    1. What is the boundary limit for configuration database size?
    2. How we can scale the configuration database?
    3. Can we add multiple configuration database per farm?
    4. What are the best practices and regular maintenance activities to be done to keep the configuration db size under control?
    It would be really really great if someone gives some good knowledge in this area.

    1) Not aware of one
    2) You can add multiple files to the file group
    3) No
    Is the growth in the MDF or the LDF (log file)? If it is in the log file, are you using high availability (Clustering, Mirroring, Log Shipping, AlwaysOn)? If so, you need to run a BACKUP LOG periodically to maintain the LDF size, or allow you to truncate
    the LDF.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • 2 servers can do "Mirroring" are there 3 servers in Sharepoint 2010 Server mirroring?

    Hello Community
        In providing availability using Sharepoint 2010 Server using "Mirroring"
    you need a "Principal, Mirror and a Witness".
        Logically speaking the principal and mirror I would say are the two servers
    that are involved in Sharepoint 2010 Server availability.
        The question is in a 2 server farm what is the "Witness" in availability,is it a Sharepoint
    2010 Server, is it the Domain Controller or is it a separate server and do you have
    to purchase a copy of Sharepoint 2010 Server to run it on?
        Thank you
        Shabeaut

    For SharePoint web front end servers you use multiple web servers and a load balancing service or device. SharePoint application server will auto load balance.  For database servers you can use database mirroring. The running SQL server is the Primary,
    the backup SQL server is the Mirror and the Witness is any other SQL server.
    Be aware that SQL mirroring is going away in the future:
    http://msdn.microsoft.com/en-us/library/ms190202.aspx
    More on mirroring:
    http://msdn.microsoft.com/en-us/library/ms189852.aspx (click the dropdown on the page for each SQL version.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Reporting Services 2012 in SharePoint 2010 - SQL database edition?

    We currently have a SharePoint 2010 farm, running on a SQL Server 2008 R2 Standard database.  On one of the SharePoint 2010 servers, we have an instance of Reporting Services 2008 Enterprise running in SharePoint integrated mode.  (We require Enterprise
    for data-driven subscriptions)
    We'd like to upgrade to Reporting Services 2012 for Data Alerts and a few other new features.  However, I noticed something on
    this blog stating that the SharePoint 2010 database server edition needs to match the Reporting Services edition. My concern is that I've not seen any official mention of this in Microsoft's documentation, and would like to avoid upgrading to Enterprise
    for the SharePoint 2010 database if I can avoid it.
    So, what I'd like to run is:
    SharePoint 2010
    SharePoint database: SQL Server 2008 R2 Standard
    Reporting Services 2012 Enterprise
    Reporting Services database: same as SharePoint database, so SQL Server 2008 R2 Standard
    Is this possible?  Or do I need to upgrade the SharePoint database to SQL Server 2008 R2 Enterprise?  
    Alternatively, could I install a separate database engine just for Reporting Services to host its databases (for example, SQL Server 2012 Enterprise), so I don't have to mess around with upgrading the SP database?

    While you don't need to upgrade your SQL 2008 R2 to 2012, you will need to install an instance of SQL 2012 & SSRS 2012. They can be side-by-side and independent of each other. The following blog post provides steps to do so,
    http://www.madronasg.com/blog/how-configure-sql-server-reporting-services-2012-use-sharepoint-2010#.UuEVd2Ao74Y
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Databases running in compatibility range, upgrade recommended. Sharepoint 2010 SP2 after installing December 2013 CU

    I just installed December 2013 CU for Sharepoint 2010 with SP2.  I runned the Product Configuration Wizards a couple of time and exexute "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures".
     But still I'm left with one database that is out of date.
    The following databases have versions that are older than the current SharePoint software, but are within the backwards compatible range: 
    Search_Services_Application_DB_0256be25a85b4c3081387181e4a8c6c7.
    Do you know what can I try next to fix this?
    Thanks!

    Hi Steve,
    In the Upgrade log what is the error when PSconfig attempts the Upgrade, I am assuming it completes with a warning?
    Cheers,
    -Ivan

  • Content Database Status Error in SharePoint 2010 Central Administration

    Hi,
    I am having a new problem with SharePoint 2010 on Windows Server 2008 R2. I have SQL Server 2008 R2 as SharePoint Database on Windows Server 2008 R2. I have total no. of
    Seven Content Databases for one Web Application. I found
    two of my Content Databases showing Error under the
    Database Status column in Manage Content Database section in
    Central Administration. Five Content Databases are showing
    Started.
    Would someone please guide how to resolve it and whats wrong is going on? 
    Thanks in advance.

    What is the output of:
    $db = Get-SPContentDatabase <error'ed db name>
    $db.Status
    And can you set it to Started?
    $db = Get-SPContentDatabase <error'ed db name>
    $db.Status = "Online"
    $db.Update()
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • No audio output device is installed help me!!!

    Satellite U305-S5097 vista home premium sp2 32bit I've visited the Toshiba website and download the driver, but no change. I found "This device can not start. (Code 10) (Realtek High Definition Audio Properties)" I've tried to check solution but it d

  • Invalid Cursor Position Error on Windows XP using CachedRowSet

    Hello, I don't know if this question lies here, but I thought it would be the well suited place so please pardon me if it isn't. I am trying to access multiple pages from my database on my XP machine but I am getting an "invalid cursor position" erro

  • PO email notification Issue

    Hi Everyone, I have a query where it is related to sending mail notification for PO. My client is using the same mail address for 2 users. But the problem is even if both the users are creating the PO, the mail notification is triggering as if from o

  • SSD drive for Lion?

    I have a Mac Pro Desktop. It is 2007 vintage with duo core. I presently have two hard drives in it, and am running Snow Leopard. I would like to add a SSD drive and install Lion on it. I would like to be able to boot from either Lion or Snow Leopard.

  • Unicode and Debian

    This is kind out of topic, but I've searched the whole web for a reason and nothing so far. Our application runs in Jboss + Postgre + Debian 3.0rc2. When inserting especial chars like ç on forms it works ok. Problem is when the form is a multipart fo