You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-configure-shared-disk-cluster.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ From a high level, this guide completes the following steps:
47
47
6. Create the cluster and set the fencing agents
48
48
7. Setup the SQL Server Pacemaker agent resource
49
49
50
-
Walkthrough to set up a failover cluster solution for demonstration purposes.
50
+
The following sections walk through the steps to set up a failover cluster solution for demonstration purposes.
51
51
52
52
## Setup and configure the operating system on each cluster node
53
53
@@ -106,8 +106,6 @@ The first step is to configure the operating system on the cluster nodes. For th
106
106
# systemctl stop mssql-server
107
107
```
108
108
109
-
110
-
111
109
At this point, SQL Server should be stopped on both nodes. On one node, you have copied the SQL Server database files to a temporary directory and deleted the files from the original directory. The next step is to configure shared storage.
112
110
113
111
## Configure shared storage and move database files
@@ -175,7 +173,7 @@ To configure shared storage, you need to create a network share and mount it to
175
173
For example, the following line adds the `\\StorageServer\SQL` share to the `/var/opt/mssql/data` with credentials for Linux cluster file with the SQL Server UID and gid.
If the `/etc/fstab` file was edited correctly, the share is mounted to`/var/opt/mssql/data` and will be automatically re-mounted when the node restarts.
@@ -196,7 +194,9 @@ At this point both instances of SQL Server are configured to run with the databa
196
194
197
195
To configure SQL Server for Pacemaker, you will need to create a SQL Server login, credentials, and configure the firewall for password. Before proceeding, start SQL Server on one node.
198
196
199
-
1. On the node that is running SQL Server, create a SQL server login for Pacemaker and grant the login permission to run `sp_server_diagnostics`. Pacemaker will use this account to verify which node is running SQL Server. On the node that is running, connect to the SQL Server `master` database with the sa account and run the following:
197
+
1. On the primary node, start SQL Server.
198
+
199
+
1. Create a SQL server login for Pacemaker and grant the login permission to run `sp_server_diagnostics`. Pacemaker will use this account to verify which node is running SQL Server. On the node that is running, connect to the SQL Server `master` database with the sa account and run the following:
200
200
201
201
```sql
202
202
USE [master]
@@ -206,7 +206,7 @@ To configure SQL Server for Pacemaker, you will need to create a SQL Server logi
206
206
GRANT VIEW SERVER STATE TO <loginName>
207
207
```
208
208
209
-
2. On both cluster nodes, create a file to store the SQL Server usename and password for the Pacemaker login. The following command creates and populates this file:
209
+
2. On both cluster nodes, create a file to store the SQL Server username and password for the Pacemaker login. The following command creates and populates this file:
0 commit comments