Skip to content

Commit 8d0e407

Browse files
committed
Update image.
1 parent 479f3e8 commit 8d0e407

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

-9.85 KB
Loading

docs/linux/sql-server-linux-kubernetes-deploy.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,26 +133,28 @@ After Kubernetes creates the SQL Server containers, complete the following steps
133133
1. Create a database.
134134

135135
```sql
136-
CREATE DATABASE [TestDB]
136+
CREATE DATABASE [demodb]
137137
```
138138

139139
1. Take a full backup of the database to start the log chain.
140140

141141
```sql
142-
BACKUP DATABASE [TestDB]
142+
USE MASTER
143+
GO
144+
BACKUP DATABASE [demodb]
145+
TO DISK = N'/var/opt/mssql/data/demodb.bak'
143146
```
144147

145148
1. Add the database to the availability group.
146149

147150
```sql
148-
USE MASTER
149-
GO
150-
ALTER AVAILABILITY GROUP [ag1]
151-
ADD DATABASE [TestDB]
151+
ALTER AVAILABILITY GROUP [ag1] ADD DATABASE [demodb]
152152
```
153153

154154
The availability group is created with automatic seeding so SQL Server will automatically create the secondary replicas.
155155

156+
You can view the state of the availability group from the SQL Server Management Studio Availability Group dashboard.
157+
156158
## Next steps
157159

158160
[Connect to SQL Server availability group on Kubernetes cluster](sql-server-linux-kubernetes-connect.md)

0 commit comments

Comments
 (0)