Это видео недоступно.
Сожалеем об этом.

Installing a SQL Server Failover Clustered Instance

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • In this video, we will build a traditional 2-node SQL Server failover clustered instance on Windows Server 2012 from start to finish and install SQL Server 2012 Service Pack 1. The same process works on later versions of SQL Server. This process should get you up and running with a 2-node SQL Server failover clustered instance.
    This video is a part of an in-depth online course: Windows Server Failover Clustering (WSFC) for the Smart SQL Server DBA.
    For more information, visit www.LearnSQLSe...
    Download the Cluster Preparation Check list from here
    learnsqlserver...

Комментарии • 98

  • @DeUraq
    @DeUraq 7 лет назад +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  7 лет назад

      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

  • @fernandomori9351
    @fernandomori9351 Год назад

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

  • @waltergomero
    @waltergomero 6 лет назад +1

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

  • @frankno
    @frankno 2 года назад

    Thank you for this very detailed and thorough explanation.

  • @hamsemohamed1926
    @hamsemohamed1926 7 лет назад

    Really great work Edwin, to the point and concise.

  • @gadgetproblemnoproblem7613
    @gadgetproblemnoproblem7613 8 лет назад

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

  • @CosmeJunior
    @CosmeJunior 8 лет назад +2

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

  • @vikasjain3606
    @vikasjain3606 2 года назад +1

    Great explanation ! its was very clear

  • @danarkamal1556
    @danarkamal1556 8 месяцев назад

    Thanks for you , Really Nice

  • @nageshpoul9021
    @nageshpoul9021 3 года назад

    really nice explanation with all.

  • @jindonuts5301
    @jindonuts5301 4 года назад

    I really appreciate this video Edwin! Thanks so much.

  • @MyBilal7
    @MyBilal7 7 лет назад

    Great work ! Edwin
    Highly appreciated

  • @danielwu3675
    @danielwu3675 8 лет назад

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

  • @djcrookz
    @djcrookz 7 лет назад

    Very well explained. Thanks a lot for these trainings

  • @twinbedcatlady
    @twinbedcatlady 8 лет назад

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

  • @davidgrigoryan1
    @davidgrigoryan1 4 года назад

    Great tutorial, thank you very much

  • @vxlier
    @vxlier 7 лет назад

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

  • @mahadapsantosh
    @mahadapsantosh 8 лет назад

    Thanks a TON. Very useful video.

  • @mohammadhoque51
    @mohammadhoque51 5 лет назад

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

  • @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/

  • @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 ruclips.net/video/bEp0rmy1314/видео.html

  • @gauravbatta
    @gauravbatta 7 лет назад

    Excellent Presentation

  • @abdellahelouertassi318
    @abdellahelouertassi318 6 лет назад

    thank you. it's a very good post

  • @rickyvalencia3492
    @rickyvalencia3492 8 лет назад

    Awesome VideoTutorial!!!

  • @karemzaareer1688
    @karemzaareer1688 3 года назад

    Thanks it is Wroth

  • @boyfromoz7
    @boyfromoz7 8 лет назад

    Really Nice Tutorial!!! Thanks

  • @mprajescu
    @mprajescu 8 лет назад

    Great tutorial!

  • @alessandroferrari9396
    @alessandroferrari9396 3 года назад

    Thank you!

  • @mrkrisma
    @mrkrisma 7 лет назад

    thank you. ure my hero

  • @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.

  • @AbdulRauf-yy2ws
    @AbdulRauf-yy2ws 6 лет назад

    Indeed gr8 job

  • @AmineYAHIACHERIF
    @AmineYAHIACHERIF 4 года назад

    wow thank you

  • @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.

  • @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  6 лет назад

      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....

  • @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  6 лет назад

      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?"

  • @CsabiDuke
    @CsabiDuke 7 лет назад

    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

  • @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

  • @rowervem
    @rowervem 7 лет назад

    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

  • @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.

  • @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

  • @inbedf
    @inbedf 7 лет назад

    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.

  • @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/

  • @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. :-)

  • @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?

  • @inbedf
    @inbedf 7 лет назад

    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

  • @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