How-To: Restart the Database Server (SQL Server) in SharePoint Farm safely ?

Hello,
My farm has 4 SharePoint servers: 2 Application-Servers, and 2 WFE-Servers.
Each WFE-Server is running Distributed Cache service which means, I have 2 Distributed Cache service.
I must restart my SQL Server, But, How can I do that without losing the Cached data?
I can use Stop-SPDistributedCacheServiceInstance -Graceful   which will move the cache from one server to another, But, what to do with the other one then?
I am really concerned because TechNet says: "Stopping the cache results in partial data loss. The Feed Cache depends on the Distributed Cache service.
Tags and document activities are saved only to the Feed Cache.
Tags and document activities are not persisted to content databases."
https://technet.microsoft.com/EN-US/library/jj219613.aspx#startstopcache
What can be done ?

Hi,
In my opinion you do not need to stop the distributed cache service.
You are correct the graceful shutdown will work if you want to stop a cache host. it is graceful because  it should move the cache data to the other host(s).
I believe that the SQL is not hosted on SharePoint server?
My opinion is that no data should be lost if the SQL is not available for a limited period of time. The Distributed Cache is in memory cache.
You will however have downtime in case you are not using any High Availability solution for your SQL.
In case the period of maintenance on your SQL is longer you should plan it better and maybe stop the SharePoint Farm as described here
https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396 (Move all databases section).
Ivan Yankulov
SharePoint Admin/Consultant
http://spyankulov.blogspot.com/
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft

Similar Messages

  • How to  Restart the web server

    Hi,
    on tools 8.49 on Unix AIX, I'm reading this
    E-WL: What is Verbose Garbage Collection (verbosegc) and How do I Enable it on WebLogic? [ID 759137.1]
    and it is asked to :
    2. Restart the web server
    How should I do that ?
    Thank you.

    If it is restart, then you need to stop it first and then stat it again.
    cd $PS_HOME/webserv
    ls
    (then you find your domain directory)
    cd <your domain directory>
    cd bin
    ./stopPIA.sh
    (wait for conclusion)
    ./startPIA.sh

  • How to restart the Netweaver Server without restarting the whole OS (Suse)

    We are setting up the SAP Netweaver Java on Suse Linux Trial in VMWare.
    We require to restart the Netweaver Server several times. Is there a possibilty to restart the Netweaver Server without restarting the whole Suse Linux Server Operating System?

    Hello Deniz,
    startsap and stopsap have the folllowing syntax :
    startsap [db|r3|j2ee|all|check] [<instance>]
    you could use startsap/stopsap to start/stop any of the db or r3 or j2ee or any particular instance.
    e.g.
    startup db
    startsap r3
    startsap j2ee (just j2ee part)
    similarly for stopsap
    if you have multiple instance you could use the instance ABC as
    startsap ABC
    If you just want to restart any particular process of j2ee engine, you could use jcmon.
    Hope that helps.
    Snehal

  • Entity Framework doesn't create the database in SQL Server Management 2012, instead it just creates in (localdb)\v11.0 How to fix it?

    Hi, I'm Begginer in Entity Framework. Then I'm having some problems.
    I created my entities and I give Save Changes. (Ok)
    Then, I Tried to Connect with the database through Server Explorer, if I use the instance of the SQL Server Management Studio 2012(PC-PAULO\INSTANCIAPJ) as Server Name, the database doesn't appears but, if I use the the instance (localdb)\v11.0 the dabase
    appears.
    How to change the save to the SQL Server Management Studio 2012, I don't know where this (localDB)\v11.0 saves.
    Help-me Thank you :D

    Hello PauloJos,
    The code should be ok and it is really strange that the database is only created into the local database in your machine. I am wondering if it is related with the machine environment, could you please have a try with below demo on your machine which works
    on my side and if it is possible, please have a try to run your application on other machines to see if it works:
    class Program
    static void Main(string[] args)
    #region https://social.msdn.microsoft.com/Forums/en-US/00eff3c4-2336-4807-9212-e6f2a6c8812e/entity-framework-doesnt-create-the-database-in-sql-server-management-2012-instead-it-just-creates?forum=adodotnetentityframework
    using (CFDbContext db = new CFDbContext())
    db.Database.CreateIfNotExists();
    #endregion
    public class CFDbContext : DbContext
    public CFDbContext() : base("UltraFoda3") { }
    public DbSet<TestOne> TestOnes { get; set; }
    public class TestOne
    public int ID { get; set; }
    public string Name { get; set; }
    Config file is similar:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </configSections>
    <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
    <parameters>
    <parameter value="v11.0" />
    </parameters>
    </defaultConnectionFactory>
    <providers>
    <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
    </entityFramework>
    <connectionStrings>
    <add name="UltraFoda3" connectionString="Data Source=YourServer;Initial Catalog=UltraFoda3;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
    </connectionStrings>
    </configuration>
    Regards.
    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 deal with Short dump that restarts the index server?

    Hi ,
    I have been experiencing this problem whenever any exception occurs in my SQL SCRIPT procedure. For instance when there is a situation when I try to insert a value of 50 characters in length to a column with max size of 40 it throws a short dump and restarts the index server. I tried to insert the exception handling code as well but still the problem persists. Is there a way to solve this issue?

    Hi Sudarshan
    crashes are rather generic reactions of the system to virtually any kind of problem that may occur.
    Memory shortage is one of the more common issues in current SAP HANA setups and SAP HANA development is heavily working on handling memory shortage situations more gracefully.
    Massive over allocation of memory, for example by very large intermediate result sets or join result sets typically can be addressed by correcting the query or model that leads to the issue.
    Anyhow, the initial post was not about a memory shortage but about a crash that seemed to have occurred with wrong data type handling.
    These are two very different kinds of problems, so I am not really sure how your comment relates here.
    - Lars

  • 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 get Database name/IP address of the database server from forms10g

    Hi everybody,
    How do I get the database instance name and IP address of the database server?
    I am using Foms 10g and the database server is Oracle 10g.
    Sukanta

    Dear...........
    Plz use this code
    select SYS_CONTEXT('USERENV', 'IP_ADDRESS', 15) ipaddr from dual;
    SELECT utl_inaddr.get_host_address IP ,UTL_INADDR.get_host_name NAME FROM dual;
    select SYS_CONTEXT('USERENV', 'HOST') HELLO from dual;
    select SYS_CONTEXT('USERENV', 'TERMINAL') HELLO from dual;
    select SYS_CONTEXT('USERENV', 'OS_USER') HELLO from dual;
    SELECT SYS_CONTEXT ('USERENV', 'SESSION_USER') FROM DUAL;
    SELECT SYS_CONTEXT ('USERENV', 'DB_UNIQUE_NAME') FROM DUAL;
    thx.

  • Javascript development on Apex - How to show changes on the Javascript on Apex without restarting the web server?

      Hi,
    I am working on a Javascript for Apex. The changes are not reflected and I was told to restart the app server. Is there a better way for Apex to process the changed Javascript? Thanks.

    Hi,
    I assume you store JavaScript to web server folder and browser caches your file.
    Use query string end of file name like
    /my.js?v=0.0.1
    And when you change file, change query string value
    Templates JavaScript help says:
    File reference using a query string in the URL referencing the application version, such that when the application is upgraded
    (and the version is incremented), the browser will be instructed to always load the new file and ignore any previously cached files.
    /myjs/main.js?version=#APP_VERSION#

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database?
    For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
    How do I restart apex?
    How do I get it to restart automatically on failure.
    How do I receive failure notification messages.
    How do I diagnose the cause of the failure.
    We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
    Regards,
    David

    David,
    >> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
    1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
    2) Are there any reported issues in the database alert log?
    3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
    4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
    Joel

  • How to start oracle database server and client in windows 8

    Hi at all
    I'm a new entry in this forum and I'm a beginner with database oracle.
    I used always SQL Server as database and it was easy to use after installation.
    With SQL Server configuration management program I could to launch the SQL Server (SQLEXPRESS) service and the database server start up!!
    With SQL Server management studio I could to launch the client application, then was establishing a connection to the server and all was working fine!
    Now, how to work with oracle database?
    I installed oracle server and client version 11g R2 on windows 8, but how can I start the server database? .. and how can I start the client application for querying?
    regards in advance.
    P.S.: Sorry for my english. 

    SomeoneElse
    thanks for the response.
    I setting the service to start manually because otherwise windows is slow to startup.
    In particular I have precisely this oracle service on my operating system after installation.
    - ) OracleVssWriterSYSDBA
    - ) OracleDBConsolesysdba
    - ) OracleJobSchedulerSYSDBA
    - ) OracleMTSRecoveryService
    - ) OracleOraDb11g_home1ClrAgent
    - ) OracleOraDb11g_home1TNSListener
    - ) OracleServiceSYSDBA
    What are the services that start the server and I have to launch?
    What is the client program in menu --> start -- > all program --> Oracle - OraClient 11g home..... that I have to use for querying database?
    thanks.

  • Conflict resolution manager having which spid at the database server.

    Folks,
    I've come across a situation where in one of the
    1.SID was generating high redo SID - 1098 .
    2.when i checked what this sid was doing - i figure out that it belongs to a report set, still having the sid at the database server.
    3.The client process id(12041) of thie SID(1098) is shown as the spid shown in the system column at system administrator --> concurrent manager --> Administer --> Highlight conflict resolution manager --> click processes.
    4. I understand that we need to grep for the osporcess "ps" using spid and not using "client process id" (process from v$session). Please clarify.
    5.when I grep for 10241 it is indeed pointing to CRM process. but when I query for spid (12055) associated with sid (1098) it points to a Reports set which completed error and generating some kind of redo ( which triggered all the above questions).
    6.Now the question is should we be checking for SPID (120550) associated with SID(1098) which says (LOCAL=NO) and safe to kill. as the status of the SID says inactive, though the last_call_et is just showing 1.
    Thanks in advance.

    Run the queries in these docs to determine the database session details of a running concurrent program.
    bde_request.sql - Process and Session info for one Concurrent Request (11.5) [ID 187504.1]
    How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. [ID 735119.1]
    How to Retrieve SID Information For a Running Request [ID 280391.1]
    If the request has completed and you suspect the database sessions is still active, edit the query and correct the status of the request (from running to completed).
    Thanks,
    Hussein

  • Sending Mail Notification From the database server

    Hi All,
    I want to send the mail notification to any email id from the database server.
    I used the in built Package UTL_SMTP(pp_to,pp_from,pp_subject,pp_hostname) but i didn't got the success. Actually i dont know how and what parameters has to pass to this package .
    It will great help if some body helps with the an example.
    Thanks in Advance

    917574 wrote:
    I want to send the mail notification to any email id from the database server.Oracle version?
    The easiest is to use UTL_MAIL - available from 10g onwards. If you're on 11g, you also need an ACL (Access Control List) entry to allow PL/SQL code to step outside the database and connect to an external server.
    UTL_MAIL uses UTL_SMTP. You can use UTL_SMTP directly, but then you need to understand the SMTP protocol and how to correctly construct Multipurpose Internet Mail Extensions (MIME) e-mail bodies. Not difficult - but something that many developers seem insistent to remain ignorant about.

  • What are the procedure to be followed while restart the exchange server..?

    Dear All,
    Pls provide the procedure to be followed while restarting the exchange server. i.e. what is the sequence for restarting and starting the exchange server.
    Regards
    R Nantha Ram

    As suggested above no such procedure to be followed unless it is a DAG.
    If you are running exchange and DC in one OS. Stop exchange services first then restart server. (commands below to stop exchange related services)
    net stop msexchangeadtopology /y
    net stop msexchangefba /y
    net stop msftesql-exchange /y
    net stop msexchangeis /y
    net stop msexchangesa /y
    net stop iisadmin /y
    net stop w3svc /y
    This is bcz DC stops quicker than Exchange, therefore Exchange is unable to write to the domain controller and has to be be "killed" by the operating system.
    This continual "killing" of the Exchange services, instead of allowing them to shutdown gracefully is not good for the database and is one of the prime reasons for recommending that Exchange is not installed on a domain controller.
    A better option is to stop the services before you begin to shutdown the server. This will also cause the server to shutdown more quickly because it isn't waiting for the services to timeout. This can significantly decrease the shutdown/reboot time of Server.
    MAS

  • How to setup the SMTP server in Oracle apps?

    Hi,
    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    Thanks,
    Bijoy
    Edited by: user12070886 on Feb 6, 2013 4:26 AM
    Edited by: user12070886 on Feb 6, 2013 4:27 AM

    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? No, it is not mandatory. Also please note that the mails are sent out from concurrent manager mode. Not from the database node.
    Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    >
    It depends on the operating system you are using. If you are using *nix then sendmail needs to be configured.
    Thanks

Maybe you are looking for

  • App-v 5.0 Sequence package that requires reboot?

    Hi, I'm sequecing a package that requires a reboot. When I do the reboot, I cannot continue packaging (it does not give me the option to continue). Please advise. J. Jan Hoedt

  • Enabling a table on an action

    Hi all,   I have a table with 4 coulums : the 1st 2 of these columns have links which the user can click to get the detail report. My problem is that I do not want the hand appearing on the last colums with no links. The only way to do this is to set

  • Read settings/c​onfigurati​ons from file

    Hi, I am developing a program that reads from several thermocouples. The reading can then changed by an offset and gain factor.  What I want to achieve is once the user has calibrated the sensors he can click on a save button to save those offset and

  • SQL Server 2008 to Oracle 11G

    Hi, I have few scripts which needs to be migrated from microsoft SQL server 2008 to Oracle 11G. Can some one let me know can this be done by Oracle SQL developer or any other way ? I am new to SQL server 2008 & havent worked on that. Thanks in advanc

  • Anyone ever tried this?

    So I'm trying to create the sound of a sports car engine accelerating using only a synth in Logic. I'm working on a project for which I cannot use any audio samples, only MIDI instruments. I was just going to skip the car engine sound, but thought it