SQL Server 容錯移轉叢集安裝SQL Server Failover Cluster Installation

若要安裝 SQL ServerSQL Server 容錯移轉叢集,您必須執行 SQL ServerSQL Server 安裝程式來建立及設定容錯移轉叢集執行個體。To install a SQL ServerSQL Server failover cluster, you must create and configure a failover cluster instance by running SQL ServerSQL Server Setup.

安裝容錯移轉叢集Installing a Failover Cluster

若要安裝容錯移轉叢集,您必須使用具有本機系統管理員權限的網域帳戶,而且在容錯移轉叢集的所有節點上具有權限,能夠登入為服務以及做為作業系統的一部分。To install a failover cluster, you must use a domain account with local administrator rights, permission to log on as a service, and to act as part of the operating system on all nodes in the failover cluster. 若要使用 SQL ServerSQL Server 安裝程式安裝容錯移轉叢集,請遵循下列步驟:To install a failover cluster by using the SQL ServerSQL Server Setup program, follow these steps:

  1. 若要安裝、設定和維護 SQL ServerSQL Server 容錯移轉叢集,請使用 SQL ServerSQL Server 安裝程式。To install, configure, and maintain a SQL ServerSQL Server failover cluster, use SQL ServerSQL Server Setup.

    • 確認建立容錯移轉叢集執行個體 (例如:叢集磁碟資源、IP 位址和網路名稱) 以及可用於容錯移轉之節點所需的資訊。Identify the information you need to create your failover cluster instance (for example, cluster disk resource, IP addresses, and network name) and the nodes available for failover. 其他資訊:For more information:

    • 執行SQL ServerSQL Server安裝程式之前,必須先進行設定步驟;使用 Windows 叢集系統管理員來執行這些工作。針對您想要設定的每個容錯移轉叢集實例,您都必須有一個 WSFC 群組。The configuration steps must take place before you run the SQL ServerSQL Server Setup program; use the Windows Cluster Administrator to carry them out. You must have one WSFC group for each failover cluster instance you want to configure.

    • 您必須確定系統符合最低需求。You must ensure that your system meets minimum requirements. 如需 SQL ServerSQL Server 容錯移轉叢集之特定需求的詳細資訊,請參閱 安裝容錯移轉叢集之前For more information on specific requirements for a SQL ServerSQL Server failover cluster, see Before Installing Failover Clustering.

  2. 新增或移除容錯移轉叢集組態中的節點並不會影響其他叢集節點。Add or remove nodes from a failover cluster configuration without affecting the other cluster nodes. 如需詳細資訊,請參閱在 SQL Server 容錯移轉叢集中新增或移除節點 (安裝程式)For more information, see Add or Remove Nodes in a SQL Server Failover Cluster (Setup).

    • 容錯移轉叢集中的所有節點必須為相同平台 (即 32 位元或 64 位元),而且必須在相同的作業系統版本上執行。All nodes in a failover cluster must be of the same platform, either 32-bit or 64-bit, and must run the same operating system edition and version. 此外,您必須將 SQL ServerSQL Server 64 位元版本安裝在執行 Windows 64 位元版本作業系統的 64 位元硬體上。Also, 64-bit SQL ServerSQL Server editions must be installed on 64-bit hardware running the 64-bit versions of Windows operating systems. 這一版沒有容錯移轉叢集的 WOW64 支援。There is no WOW64 support for failover clustering in this release.
  3. 為每個容錯移轉叢集執行個體指定多個 IP 位址。Specify multiple IP addresses for each failover cluster instance. 您可以為每個子網路指定多個 IP 位址。You can specify mutiple IP addresses for each subnet. 若在相同的子網路上有多重 IP 位址, SQL ServerSQL Server 安裝程式會將相依性設定為 AND。If the mutiple IP addresses are on the same subnet, SQL ServerSQL Server Setup sets the dependency to AND. 若正跨多重子網路進行節點的叢集作業, SQL ServerSQL Server 安裝程式會將相依性設定為 OR。If you are clustering nodes across multiple subnets, SQL ServerSQL Server Setup sets the dependency to OR.

SQL ServerSQL Server 容錯移轉叢集安裝選項SQL ServerSQL Server Failover Cluster Installation options

選項 1:整合式安裝與加入節點Option 1: Integrated installation with Add Node
[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 整合式容錯移轉叢集安裝包含兩個步驟:[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] integrated failover cluster installation consists of two steps: 1. 建立並設定單一節點的 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集執行個體。Create and configure a single-node [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster instance. 節點設定完成時,您就擁有可完整運作的容錯移轉叢集執行個體。At the completion of a successful configuration of the node, you have a fully functional failover cluster instance. 此時,它仍沒有高可用性,因為容錯移轉叢集只有單一節點。At this time it does not have high-availability because there is only one node in the failover cluster. 2. 在要加入至 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集的每個節點上,使用「加入節點」功能來執行安裝程式,以便加入該節點。On each node to be added to the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster, run Setup with Add Node functionality to add that node. ##### 選項 2:進階/企業型安裝Option 2: Advanced/Enterprise installation [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 進階/企業型容錯移轉叢集安裝包含兩個步驟:[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Advanced/Enterprise failover cluster installation consists of two steps: 1. 在即將成為 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集一部分的每個節點上,使用「準備容錯移轉叢集」功能來執行安裝程式。On each node that will be part of the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster, run Setup with Prepare Failover Cluster functionality. 雖然這個步驟會準備即將建立叢集的節點,不過在這個步驟結束時,不會提供任何可運作的 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 執行個體。This step prepares the nodes ready to be clustered, but there is no operational [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance at the end of this step. 2. 備妥要建立叢集的節點之後,請在擁有共用磁碟的節點上,使用「完成容錯移轉叢集」功能來執行安裝程式。After the nodes are prepared for clustering, run Setup on the node that owns the shared disk with the Complete Failover Cluster functionality. 這個步驟會設定並完成容錯移轉叢集執行個體。This step configures and completes the failover cluster instance. 在這個步驟結束時,您將擁有可運作的 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集執行個體。At the end of this step, you will have an operational [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster instance. > [!NOTE] > 兩種安裝選項都允許多節點 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集安裝。Either installation option allows for multi-node [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster installation. 已經建立 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集之後,「加入節點」可用來針對任何一個選項加入其他節點。Add Node can be used to add additional nodes for either option after a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster has been created. > [!IMPORTANT] > [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 安裝位置的作業系統磁碟機代號在加入至 [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 容錯移轉叢集的所有節點上都必須符合。The operating system drive letter for [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] install locations must match on all the nodes added to the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] failover cluster. #### 安裝期間的 IP 位址組態IP Address Configuration During Setup [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 安裝程式可在執行下列動作時,設定或變更 IP 資源的相依性設定:[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Setup lets you set or change the IP resource dependency settings during the following actions: - 整合式安裝 - [建立新的 SQL Server 容錯移轉叢集 (安裝程式)](create-a-new-sql-server-failover-cluster-setup.md)Integrated Install - [Create a New SQL Server Failover Cluster (Setup)](create-a-new-sql-server-failover-cluster-setup.md) - CompleteFailoverCluster (進階安裝) - [建立新的 SQL Server 容錯移轉叢集 (安裝程式)](create-a-new-sql-server-failover-cluster-setup.md)CompleteFailoverCluster (Advanced Install) - [Create a New SQL Server Failover Cluster (Setup)](create-a-new-sql-server-failover-cluster-setup.md) - 加入節點 - [在 SQL Server 容錯移轉叢集中加入或移除節點 (安裝程式)](add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md)Add Node - [Add or Remove Nodes in a SQL Server Failover Cluster (Setup)](add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md) - 移除節點 - [在 SQL Server 容錯移轉叢集中加入或移除節點 (安裝程式)](add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md)Remove Node - [Add or Remove Nodes in a SQL Server Failover Cluster (Setup)](add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md) **注意**支援 IPV6 IP 位址。**Note** IPV6 IP addresses are supported. 如果您同時設定了 IPV4 和 IPV6,而且兩者被視為不同子網路,則 IPV6 預期會先上線。If you configure both IPV4 and IPV6 there are treated like different subnets, and IPV6 is expected to come online first. ##### [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 多重子網路容錯移轉叢集[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Multi-Subnet Failover Cluster 當叢集中的節點位於不同的子網路時,您可以設定 OR 相依性。You can set OR dependencies when the nodes on the cluster are on different subnets. 但是, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] 多重子網路容錯移轉叢集中的每一個節點,必須至少是一個已指定之 IP 位址的可能擁有者。However, each node in the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] multi-subnet failover cluster must be a possible owner of at least one of IP address specified. ## 另請參閱See Also [安裝容錯移轉叢集之前](before-installing-failover-clustering.md) [Before Installing Failover Clustering](before-installing-failover-clustering.md) [建立新的 SQL Server 容錯移轉叢集 (安裝程式)](create-a-new-sql-server-failover-cluster-setup.md) [Create a New SQL Server Failover Cluster (Setup)](create-a-new-sql-server-failover-cluster-setup.md) [從命令提示字元安裝 SQL Server 2014](../../../database-engine/install-windows/install-sql-server-from-the-command-prompt.md) [Install SQL Server 2014 from the Command Prompt](../../../database-engine/install-windows/install-sql-server-from-the-command-prompt.md) [升級 SQL Server 容錯移轉叢集Upgrade a SQL Server Failover Cluster](../windows/upgrade-a-sql-server-failover-cluster-instance.md)