Skip to content

Commit f0051a8

Browse files
committed
updated some additional formatting.
1 parent 75c5667 commit f0051a8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ From a high level, this guide completes the following steps:
4747
6. Create the cluster and set the fencing agents
4848
7. Setup the SQL Server Pacemaker agent resource
4949

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

5252
## Setup and configure the operating system on each cluster node
5353

@@ -106,8 +106,6 @@ The first step is to configure the operating system on the cluster nodes. For th
106106
# systemctl stop mssql-server
107107
```
108108

109-
110-
111109
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.
112110

113111
## 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
175173
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.
176174
177175
```bash
178-
//machine/share /var/opt/mssql/data cifs credentials=/.cifscredfile,uid=995,gid=996 0 0
176+
//machine/share /var/opt/mssql/data cifs credentials=/.cifscredfile,uid=995,gid=996 0 0
179177
```
180178
181179
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
196194
197195
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.
198196
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:
200200
201201
```sql
202202
USE [master]
@@ -206,7 +206,7 @@ To configure SQL Server for Pacemaker, you will need to create a SQL Server logi
206206
GRANT VIEW SERVER STATE TO <loginName>
207207
```
208208

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:
210210

211211
```bash
212212
# touch /var/opt/mssql/passwd

0 commit comments

Comments
 (0)