Skip to content

Commit 2f8c4fb

Browse files
Merge pull request #214293 from 0xbliang/patch-2
Update managed-instance-high-availability.md
2 parents 307ba78 + 70bd2fa commit 2f8c4fb

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

articles/azure-arc/data/managed-instance-high-availability.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ az sql mi-arc create --name sqldemo --resource-group rg --location uswest2 –s
129129

130130
By default, all the replicas are configured in synchronous mode. This means any updates on the primary instance will be synchronously replicated to each of the secondary instances.
131131

132-
## View and monitor availability group status
132+
## View and monitor high availability status
133133

134134
Once the deployment is complete, connect to the primary endpoint from SQL Server Management Studio.
135135

@@ -147,7 +147,7 @@ kubectl get sqlmi -A
147147

148148
### Get the primary and secondary endpoints and AG status
149149

150-
Use the `kubectl describe sqlmi` or `az sql mi-arc show` commands to view the primary and secondary endpoints, and availability group status.
150+
Use the `kubectl describe sqlmi` or `az sql mi-arc show` commands to view the primary and secondary endpoints, and high availability status.
151151

152152
Example:
153153

@@ -157,22 +157,26 @@ kubectl describe sqlmi sqldemo -n my-namespace
157157
or
158158

159159
```azurecli
160-
az sql mi-arc show sqldemo --k8s-namespace my-namespace --use-k8s
160+
az sql mi-arc show --name sqldemo --k8s-namespace my-namespace --use-k8s
161161
```
162162

163163
Example output:
164164

165165
```console
166166
"status": {
167-
"AGStatus": "Healthy",
168-
"logSearchDashboard": "https://10.120.230.404:5601/app/kibana#/discover?_a=(query:(language:kuery,query:'custom_resource_name:sqldemo'))",
169-
"metricsDashboard": "https://10.120.230.46:3000/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0",
170-
"mirroringEndpoint": "10.15.100.150:5022",
167+
"endpoints": {
168+
"logSearchDashboard": "https://10.120.230.404:5601/app/kibana#/discover?_a=(query:(language:kuery,query:'custom_resource_name:sqldemo'))",
169+
"metricsDashboard": "https://10.120.230.46:3000/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqldemo-0",
170+
"mirroring": "10.15.100.150:5022",
171+
"primary": "10.15.100.150,1433",
172+
"secondary": "10.15.100.156,1433"
173+
},
174+
"highAvailability": {
175+
"healthState": "OK",
176+
"mirroringCertificate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"
177+
},
171178
"observedGeneration": 1,
172-
"primaryEndpoint": "10.15.100.150,1433",
173179
"readyReplicas": "2/2",
174-
"runningVersion": "v1.2.0_2021-12-15",
175-
"secondaryEndpoint": "10.15.100.156,1433",
176180
"state": "Ready"
177181
}
178182
```

0 commit comments

Comments
 (0)