Installing a SQL Server Failover Clustered Instance

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 98

  • @DeUraq
    @DeUraq 8 років тому +1

    I rarely comment but this is excellent work. Setting up sql clustering is straightforward but managing it needs an in-depth understanding and this video answers a lot of points.

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      Thank you for the feedback. This is the main reason why I created my online course Windows Server Failover Clustering for the Smart SQL Server DBAs. I've struggled with the complexity of managing these systems for a long time www.LearnSQLServerHADR.com

  • @mahadapsantosh
    @mahadapsantosh 8 років тому

    Thanks a TON. Very useful video.

  • @abdellahelouertassi318
    @abdellahelouertassi318 6 років тому

    thank you. it's a very good post

  • @alessandroferrari9396
    @alessandroferrari9396 4 роки тому

    Thank you!

  • @danarkamal1556
    @danarkamal1556 10 місяців тому

    Thanks for you , Really Nice

  • @elmerben3365
    @elmerben3365 7 років тому

    Nice tutorial. If you have 30 instances in a cluster, how you configure the storage? if you are using drive letters it is not enough.

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      Either you use clustered shared volumes if you are on SQL Server 2014 and higher or create another cluster for the other instances to accommodate the drive letters in the alphabet.
      A more important question is, "why do you have so many instances in the cluster?"

  • @pinhead8455
    @pinhead8455 7 років тому

    I am new to SQL. may I know what is the difference between SQL agent service and the SQL Engine?

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому +2

      The SQL Engine - or the database engine - is the service that's responsible for the SQL Server relational database management system (RDBMS) while the SQL Server Agent is the service responsible for running the scheduled administrative tasks or jobs

  • @vikasjain3606
    @vikasjain3606 2 роки тому +1

    Great explanation ! its was very clear

  • @CosmeJunior
    @CosmeJunior 8 років тому +2

    Really nice! thank you for your effort in doing this! we all appreciate it

  • @fernandomori9351
    @fernandomori9351 2 роки тому

    Edwin this video is SHOW, congratulations about this technical profile and experience with SQL Server FC

  • @ClevergunsYT
    @ClevergunsYT 2 роки тому

    do you have a Database mirroring tutorial?

    • @EdwinMSarmiento
      @EdwinMSarmiento  2 роки тому +1

      Have a look at the Database Mirroring articles here: www.mssqltips.com/sql-server-tip-category/64/database-mirroring/

  • @AmitIngle
    @AmitIngle 7 років тому +1

    Really worth watching this video, I liked the way you explain and demonstrate, highly appreciable! When can you do us a favor by preparing similar for SQL Server 2016?

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому +1

      You can follow along using the steps outlined in this series of articles www.mssqltips.com/sqlservertip/4769/stepbystep-installation-of-sql-server-2016-on-a-windows-server-2016-failover-cluster--part-1/

  • @waltergomero
    @waltergomero 6 років тому +1

    Thank you sir. I used your tutorial to validate/ install/configure SQL cluster on our environment. Great job.

  • @karemzaareer1688
    @karemzaareer1688 3 роки тому

    Thanks it is Wroth

  • @frankno
    @frankno 2 роки тому

    Thank you for this very detailed and thorough explanation.

  • @michaelgyekye893
    @michaelgyekye893 2 роки тому

    Thanks for the video Edwin. Why would you want to create the tempdb in local drives? This is because you said during failover, it will be recreated in new server. Wouldn't all queries with temp tables lose their data when the secondary server is online?

    • @EdwinMSarmiento
      @EdwinMSarmiento  2 роки тому

      Having the tempdb in the local drive is just an option. Most people still store the tempdb on shared storage for failover clustered instance deployments.

  • @CsabiDuke
    @CsabiDuke 8 років тому

    Great work!! If I do this method, can I manage the CPU and Memory allocation? I have 20 Core in one node, and I want to license it for 12 Core only. I want to use the server only with 125GB memory from 192GB. Can I install the SQL next to the Hyper-V VM-s on same node?

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      I'm trying to understand what you mean by installing SQL Server next to the Hyper-V VMs on the same node. Are you saying you want to run a Hyper-V cluster and install SQL Server failover clustered instance as well? If this is the case, I won't recommend it. Note that your Hyper-V VMs and your SQL Server failover clustered instances have different service level agreements (SLAs) and you don't want one workload affecting the other. The Hyper-V VMs can benefit from LiveMigration should you have resource contention on one of the nodes but SQL Server will have to failover (stop and restart) which will cause downtime

  • @gadgetproblemnoproblem7613
    @gadgetproblemnoproblem7613 9 років тому

    Thank for this video i have learnt a lot from, not only this video but from your videos

  • @adamalabtah8034
    @adamalabtah8034 4 роки тому

    Thank you so much @Edwin great post!
    if I want to configure the SQL Clustering on-premises on the physical server, are these steps work for that. ?!

    • @EdwinMSarmiento
      @EdwinMSarmiento  4 роки тому

      These steps will work for physical servers. You just need to properly configure the hardware - cluster nodes, shared storage, networking, etc.

  • @nageshpoul9021
    @nageshpoul9021 3 роки тому

    really nice explanation with all.

  • @jarturorv
    @jarturorv 8 років тому

    Hi, excellent video tutorial but I have a question: who admin or controls the cluster? ( sql or windows)
    Thanks, regards.

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      This is an organizational decision, not a technical one. In small organizations, one person controls the failover cluster - both SQL Server and Windows. In large organizations, segregation of duties dictate that different teams manage the SQL Server failover cluster and the Windows Server Failover Cluster

  • @pedroemanuel5506
    @pedroemanuel5506 6 років тому

    Hello, I have a lab similar to yours but I have two questions. In my lab I have 3 networks, one for domain, other for iscsi and other for cluster ( i guess heartbeat). Why do u put the cluster on the same network of your public nodes? shouldn't be on the same network of the hearbeat?
    The second question is, if I have a shared storage and the 2 node are getting data from it, when a failure occurs, the second node will have the same database information (tables and that) or its necessary to replicate ?
    Thanks alot!

    • @EdwinMSarmiento
      @EdwinMSarmiento  5 років тому

      The cluster I built in the video has 3 networks - one for public/Active Directory domain, one for heartbeat/internal communications and one for iSCSI.
      Windows Server 2012 (and higher) Failover Cluster will use all of the available network to send and receive heartbeat/internal communications to and from all cluster nodes unless you specifically tell it to not allow cluster communication thru the network like the iSCSI network. Even the public/Active Directory domain network will be used to send and receive heartbeat/internal communications to and from all cluster nodes.
      The concept of shared storage is that every node in the cluster has access to the disks but only one node at a time can write to it. When one of the nodes fail, the other will still have access to the storage. No need to do storage level replication in this configuration.

  • @davidgrigoryan1
    @davidgrigoryan1 4 роки тому

    Great tutorial, thank you very much

  • @boyfromoz7
    @boyfromoz7 8 років тому

    Really Nice Tutorial!!! Thanks

  • @Abdulhafeezkalsekar
    @Abdulhafeezkalsekar 4 роки тому

    nice video however i guess for both windows and sql cluster we need private ip and not public ip
    1 public for windows clustering
    1 public for sql clustering

    • @EdwinMSarmiento
      @EdwinMSarmiento  4 роки тому +1

      You would need a public/production IP address for both SQL Server and Windows cluster

    • @Abdulhafeezkalsekar
      @Abdulhafeezkalsekar 4 роки тому

      @@EdwinMSarmiento so in normal window and SQL cluster we will need 2 or 3 public IP. For each node

    • @EdwinMSarmiento
      @EdwinMSarmiento  4 роки тому

      @@Abdulhafeezkalsekar That depends on your design and architecture. And it would take more than a simple answer. Because your definition of "normal" may not be something that would meet your company's recovery objectives (RPO/RTO) and service level agreements. :-)

  • @twinbedcatlady
    @twinbedcatlady 8 років тому

    OMG! Thank you so much! You are a life-saver!

  • @jindonuts5301
    @jindonuts5301 4 роки тому

    I really appreciate this video Edwin! Thanks so much.

  • @rowervem
    @rowervem 8 років тому

    Really great work Edwin. I enjoy it so much. Thanks a lot.
    I am using windows server 2012 R2 Standard. The thing is i am unable to find the option "node and disk witness" or "node and file share witness". It only shows that current vote=1 for each node and disk witness/file share witness. There is nothing witness type "node and disk witness" or "not and file share witness". Is it because of my Windows version is Standard?

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      I'm not sure if this has something to do with Standard Edition. But you can try using Windows PowerShell to perform this task technet.microsoft.com/en-us/library/hh847275.aspx

    • @rowervem
      @rowervem 7 років тому

      I already try out Datacenter version with same result and really cannot find an option Node and File share witness. Did perform by PowerShell but the status in Failover Manager is still "Witness: File Share witness" which is very strange. Thanks

  • @rickyvalencia3492
    @rickyvalencia3492 9 років тому

    Awesome VideoTutorial!!!

  • @vxlier
    @vxlier 7 років тому

    Hats Off to you Sir..
    Great Vid tut and Very Fine Explanation.

  • @AmineYAHIACHERIF
    @AmineYAHIACHERIF 4 роки тому

    wow thank you

  • @mulumebetmaruf7037
    @mulumebetmaruf7037 7 років тому

    Thank you so much, the presentation is easy to understand. do you have tutorial on active active and active passive nodes?

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      What specifically do you want to learn about active/active and/or active/passive? This video is an example of an active/passive SQL Server failover clustered instance.

  • @anassohail7347
    @anassohail7347 5 років тому

    Super....

  • @hamsemohamed1926
    @hamsemohamed1926 7 років тому

    Really great work Edwin, to the point and concise.

  • @danielwu3675
    @danielwu3675 8 років тому

    Thanks for great sharing. Your explanation was great and detail!

  • @inbedf
    @inbedf 8 років тому

    SQL clustering / failover. I have query: 1) I need 4 SQL Server can access sing Data store and databases in replication mode. 4 SQL I can cluster togather (2 per site cross other 2 at other site under singe vcenter) but logically we define seperate site. I dont assigned luns but I have big 5TB Lun active/active mirroring and I am giving all VM 500GB each as D: drive partition volume from that 5TB Lun. All SQL VM have 500GB from same 5TB. so how I ensure that independent 500GB volumes each can be a part of SQL cluster and access same database if any of that server fails or crashed? any idea. If I can creat SQL_Lun1 2TB and that SQL_Lun1 give virtual RDM's volume to all SQL that will good idea but for that I have to make space and create lun, because I am asking question, I dont have more space to create luns, if I create luns I have to destroy lun and recreate space. But if any idea or technique to do volume partition to partition clustering than that helps. Any idea.

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      I'm not sure what you are trying to accomplish here. What is your primary goal in this design?

    • @inbedf
      @inbedf 7 років тому

      my mean , I can use vmdk storage assign to VM that partition as d:\ drive in SQL Cluster? that vmdk partition size is 500GB get from 5TB Lun.

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      There isn't a supported way (yet) to use a VMDK file as a shared storage in a Windows Server Failover Cluster as a guest inside VMWare. You can use an iSCSI target to accomplish this goal.

    • @inbedf
      @inbedf 7 років тому

      that's true I can use Raw Mapping of that iSCSI target, but if I can do VMDK as failover how DFS feature works before in clusters that helps to use lots of unwanted disk space we have on already used Luns which I can't degrade it. I have to create multiple Luns for multiple SQL Databases for my environment thats headache.

  • @MyBilal7
    @MyBilal7 7 років тому

    Great work ! Edwin
    Highly appreciated

  • @djcrookz
    @djcrookz 7 років тому

    Very well explained. Thanks a lot for these trainings

  • @inbedf
    @inbedf 8 років тому

    what if I use FC instead of iSCI?

    • @EdwinMSarmiento
      @EdwinMSarmiento  7 років тому

      FC or iSCSI works so long as the underlying storage supports SCSI-3 Persistent Reservation

  • @harshmishra5641
    @harshmishra5641 9 років тому

    Great presentation !!
    Waiting for Geo-Clusters demo ..

    • @_edwinmsarmiento
      @_edwinmsarmiento 9 років тому +1

      harsh mishra It's now available :-)

    • @naveenrachapally
      @naveenrachapally 8 років тому

      Hi Edwin, excellent video for a beginner. can I have the links to access Geo-clusters demo.Thanks

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      +Naveen Rachapally Here it is ua-cam.com/video/bEp0rmy1314/v-deo.html

  • @RaedAlsafrani
    @RaedAlsafrani 8 років тому

    Thank you Edwin for the video. actually I'm seeking your help in min 33:00. once i click next it says "volume does not belong to cluster group" however the storages that i select are shared cluster storages any idea?

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      +Raed Alsafrani What does your Failover Cluster Validation Wizard say? Did it validate the storage properly?

    • @RaedAlsafrani
      @RaedAlsafrani 8 років тому

      +Edwin M Sarmiento appreciate your support. actually after validating my cluster and run the report it ends up with no errors and the SQL wizard says "The Volume that contains SQL Server data directory G:\MSSQL11.MSSQLSERVER\MSSQL\Data does not belong to the cluster group "

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      +Raed Alsafrani Have you tried putting the shared drive in maintenance mode and reformatting it prior to running the SQL Server cluster installation process?

    • @RaedAlsafrani
      @RaedAlsafrani 8 років тому

      +Edwin M Sarmiento i putted them on a maintenance mode and reformatting them and didn't work. actually i have a two nodes and my storages connected via ISCSI I don't know if ISCSI needs a different installation??

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      +Raed Alsafrani Can you confirm that the iSCSI storage that you are using supports shared disks and SCSI-3 persisted reservations/ What product are you using for your iSCSI storage?

  • @mrkrisma
    @mrkrisma 7 років тому

    thank you. ure my hero

  • @gauravbatta
    @gauravbatta 7 років тому

    Excellent Presentation

  • @mohammadhoque51
    @mohammadhoque51 5 років тому

    Thank you Edwin. Exellent work. I have learned so much.

  • @AbdulRauf-yy2ws
    @AbdulRauf-yy2ws 6 років тому

    Indeed gr8 job

  • @mprajescu
    @mprajescu 8 років тому

    Great tutorial!

  • @NotSergioLeone
    @NotSergioLeone 8 років тому

    Hi. If we have two named instances in a active-passive cluster, can I send one of the instances to the passive node, while the other remains on the first one?

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      Yes, this can be done by configuring the Preferred Owner policy on the SQL Server clustered resource, assigning one of the instances to one of the nodes. But you have to be careful with this in terms of licensing because you now need two SQL Server licenses instead of one.
      I just launched my latest online course Windows Server Failover Clustering (WSFC) for the Smart SQL Server DBA that covers this topic in much detail. Visit LearnSQLServerHADR.com for more information

    • @NotSergioLeone
      @NotSergioLeone 8 років тому

      But in that case the cluster is no longer an ative-passive. He becomes an ative-ative cluster, right?
      Thanks for the reply.

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      I avoid using the term active-active because it creates the impression that SQL Server can run on multiple nodes at the same time and respond to client requests. The reality is that a SQL Server instance runs on "only one node in the failover cluster" at any given point in time. In a t2o-instance, two-node failover cluster, one instance runs on one node while the other instance runs on the other.

    • @NotSergioLeone
      @NotSergioLeone 8 років тому

      So, in my scenario it continues to be a cluster ative-passive, even with each node running diferent instances.
      Thanks for the explanation.

    • @EdwinMSarmiento
      @EdwinMSarmiento  8 років тому

      That is correct. Which is also why I said you need to evaluate this configuration against your existing SQL Server licensing. Because this is now technically "TWO" active-standby SQL Server failover clustered instances.
      For more information about how to configure the Preferred Owner policy for the SQL Server resource group, you can check out my latest online course Windows Server Failover Clustering (WSFC) for the Smart SQL Server DBA LearnSQLServerHADR.com