Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 54d45ba

Browse files
authored
Merge pull request #107 from MikeRayMSFT/linux-ha-6
updated with livefyre feedback
2 parents 18dd2ce + e4fa111 commit 54d45ba

1 file changed

Lines changed: 10 additions & 32 deletions

File tree

docs/linux/sql-server-linux-shared-disk-cluster-red-hat-7-configure.md

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ ms.assetid:
2727

2828
# Configure Red Hat Enterprise Linux 7.2 shared disk cluster for SQL Server
2929

30-
This guide provides instructions to create a two-node shared disk cluster for SQL Server on Red Hat Enterprise Linux 7.2. The clustering layer is based on Red Hat Enterprise Linux (RHEL) [HA add-on](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/pdf/High_Availability_Add-On_Overview/Red_Hat_Enterprise_Linux-6-High_Availability_Add-On_Overview-en-US.pdf) built on top of [Pacemaker](http://clusterlabs.org/). Corosync and Pacemaker coordinate cluster communications and resource management. The SQL Server instance is active on either one node or the other.
30+
This guide provides instructions to create a two-node shared disk cluster for SQL Server on Red Hat Enterprise Linux 7.2. The clustering layer is based on Red Hat Enterprise Linux (RHEL) [HA add-on](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/pdf/High_Availability_Add-On_Overview/Red_Hat_Enterprise_Linux-6-High_Availability_Add-On_Overview-en-US.pdf) built on top of [Pacemaker](http://clusterlabs.org/). corosync and Pacemaker coordinate cluster communications and resource management. The SQL Server instance is active on either one node or the other.
31+
32+
> Access to Red Hat documentation requires a subscription.
3133
3234
The following diagram illustrates the components in a Linux cluster with SQL Server.
3335

3436
![Red Hat Enterprise Linux 7 Shared Disk SQL Cluster](./media/sql-server-linux-shared-disk-cluster-red-hat-7-configure/LinuxCluster.png)
3537

3638
For more details on cluster configuration, resource agents options, and management, visit [RHEL reference documentation](http://access.redhat.com/documentation/Red_Hat_Enterprise_Linux/7/html/High_Availability_Add-On_Reference/index.html).
3739

38-
> Access to Red Hat documentation may require a subscription.
39-
4040
The following sections walk through the steps to set up a failover cluster solution for demonstration purposes.
4141

4242
## Setup and configure the operating system on each cluster node
@@ -45,29 +45,7 @@ The first step is to configure the operating system on the cluster nodes. For th
4545

4646
## Install and configure SQL Server on each cluster node
4747

48-
1. Install and setup SQL Server on both nodes.
49-
50-
To install SQL Server on RHEL, run the following commands:
51-
52-
```
53-
$ sudo su
54-
# yum install wget
55-
# curl -O https://private-repo.microsoft.com/tools/configure-mssql-repo-2.sh
56-
# chmod a+x configure-mssql-repo-2.sh
57-
# ./configure-mssql-repo-2.sh <--!URL Provided in Email.-->
58-
# exit
59-
60-
$ sudo yum update
61-
$ sudo yum install -y mssql-server
62-
$ cd /opt/mssql/bin
63-
$ sudo ./sqlservr-setup
64-
$ sudo firewall-cmd --zone=public --add-port=1433/tcp--permanent
65-
$ sudo firewall-cmd --reload
66-
```
67-
68-
For detailed instructions see [Install SQL Server on Linux](sql-server-linux-setup.md).
69-
70-
48+
1. Install and setup SQL Server on both nodes. For detailed instructions see [Install SQL Server on Linux](sql-server-linux-setup.md).
7149

7250
1. Configure the hosts file for each cluster node. On each node, the host file must include the IP address and name of every cluster node.
7351

@@ -227,7 +205,7 @@ At this point both instances of SQL Server are configured to run with the databa
227205
228206
229207
230-
2. Set the password for for the default user that is created when installing Pacemaker and Corosync packages. Use the same password for on both nodes.
208+
2. Set the password for for the default user that is created when installing Pacemaker and corosync packages. Use the same password for on both nodes.
231209
232210
```bash
233211
# passwd hacluster
@@ -332,9 +310,9 @@ It may help troubleshoot the cluster to understand the three daemons work togeth
332310
333311
| Daemon | Description
334312
| ----- | -----
335-
| Corosync | Provides quorum membership and messaging between cluster nodes.
336-
| Pacemaker | Resides on top of Corosync and provides state machines for resources.
337-
| PCSD | Manages both Pacemaker and Corosync through the `pcs` tools
313+
| corosync | Provides quorum membership and messaging between cluster nodes.
314+
| Pacemaker | Resides on top of corosync and provides state machines for resources.
315+
| PCSD | Manages both Pacemaker and corosync through the `pcs` tools
338316
339317
PCSD must be running in order to use `pcs`.
340318
@@ -369,7 +347,7 @@ pacemaker: active/enabled
369347
370348
In the example, `partition with quorum` means that a majority quorum of nodes is online. If the cluster loses a majority quorum of nodes , `pcs status` will return `partition WITHOUT quorum` and all resources will be stopped.
371349
372-
`online: [sqlvmnode1 sqlvmnode2 sqlvmnode3]` returns the name of all nodes currently participating in the cluster. If any nodes are not participating, `pcs status` returns `OFFLINE: [*nodename*]`.
350+
`online: [sqlvmnode1 sqlvmnode2 sqlvmnode3]` returns the name of all nodes currently participating in the cluster. If any nodes are not participating, `pcs status` returns `OFFLINE: [<nodename>]`.
373351
374352
`PCSD Status` shows the cluster status for each node.
375353
@@ -392,5 +370,5 @@ Check the following items when a node is offline.
392370
393371
## Next steps
394372
395-
[Operate SQL Server on Red Hat Enterprise Linux 7 shared disk cluster](sql-server-linux-shared-disk-cluster-red-hat-7-operate.md)
373+
[Operate SQL Server on Red Hat Enterprise Linux 7.2 shared disk cluster](sql-server-linux-shared-disk-cluster-red-hat-7-operate.md)
396374

0 commit comments

Comments
 (0)