Skip to content

Commit bac4831

Browse files
authored
Merge pull request #213898 from mikhailalmeida/release-arc-data
Updating docs for better readability.
2 parents 4b9ddb0 + 322a6e5 commit bac4831

File tree

3 files changed

+18
-29
lines changed

3 files changed

+18
-29
lines changed

articles/azure-arc/data/includes/upgrade-rollback.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,33 @@
22
author: grrlgeek
33
ms.service: azure-arc
44
ms.topic: include
5-
ms.date: 07/07/2022
5+
ms.date: 10/22/2022
66
ms.author: jeschult
77
---
88

9-
## Rollback
9+
## Troubleshooting
1010

11-
When you set the desired version, which can be done through Kubernetes, CLI, the portal, or Azure Data Studio, the bootstrap job will attempt to upgrade to that version until it succeeds. If the upgrade is successful, the `RunningVersion` property of the spec is updated to the new version. If the upgrade has a failure, there are several steps to troubleshoot. Common problems are an incorrect image tag, being unable to connect to the registry or repository, not enough CPU or memory in the containers, and not enough available storage.
11+
When the desired version is set to a specific version, the bootstrapper job will attempt to upgrade to that version until it succeeds. If the upgrade is successful, the `RunningVersion` property of the spec is updated to the new version. Upgrades could fail for scenarios such as an incorrect image tag, unable to connect to registry or repository, insufficient CPU or memory allocated to the containers, or insufficient storage.
1212

13-
1. To see which pod has an error or recent retarts, run
13+
1. Run the below command to see if any of the pods show an `Error` status or have high number of restarts:
1414

1515
```console
16-
kubectl get pods -n <namespace>
16+
kubectl get pods --namespace <namespace>
1717
```
1818
1. To look at Events to see if there is an error, run
1919

2020
```console
21-
kubectl describe pod <pod name> -n <namespace>
21+
kubectl describe pod <pod name> --namespace <namespace>
2222
```
2323
1. To get a list of the containers in the pods, run
2424

2525
```console
26-
kubectl get pods <pod name> -n <namespace> -o jsonpath='{.spec.containers[*].name}*'
26+
kubectl get pods <pod name> --namespace <namespace> -o jsonpath='{.spec.containers[*].name}*'
2727
```
2828
1. To get the logs for a container, run
2929

3030
```console
31-
kubectl logs <pod name> <container name> -n <namespace>
31+
kubectl logs <pod name> <container name> --namespace <namespace>
3232
```
3333

34-
## Troubleshooting
35-
3634
To view common errors and how to troubleshoot them go to [Troubleshooting resources](..\troubleshoot-guide.md).

articles/azure-arc/data/upgrade-active-directory-connector.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ ms.date: 10/11/2022
1111
ms.topic: how-to
1212
---
1313

14-
# Upgrade Active Directory connector (adc) for Azure SQL Managed Instance direct or indirect mode connected to Azure Arc
14+
# Upgrade Active Directory connector
1515

16-
This article describes how to upgrade the Active Directory connector deployed on direct or indirect mode connected to Azure Arc-enabled data controller.
16+
This article describes how to upgrade the Active Directory connector.
1717

1818
## Prerequisites
1919

2020
Before you can proceed with the tasks in this article, you need:
2121

2222
- To connect and authenticate to a Kubernetes cluster
2323
- An existing Kubernetes context selected
24-
25-
You need a direct or indirect mode connected to data controller with the `imageTag v1.2.0_2021-12-15` or greater.
24+
- Azure Arc data controller deployed, either in `direct` or `indirect` mode
25+
- Active Directory connector deployed
2626

2727
### Install tools
2828

29-
To upgrade the active directory connector (adc), you need to have the Kubernetes tools installed.
29+
To upgrade the Active Directory connector (adc), you need to have the Kubernetes tools such as kubectl installed.
3030

3131
The examples in this article use `kubectl`, but similar approaches could be used with other Kubernetes tools such as the Kubernetes dashboard, `oc`, or helm if you're familiar with those tools and Kubernetes yaml/json.
3232

@@ -35,20 +35,15 @@ The examples in this article use `kubectl`, but similar approaches could be used
3535

3636
## Limitations
3737

38-
The Azure Arc Data Controller must be upgraded to the new version before the active directory connector (adc) can be upgraded.
38+
Auto upgrade of Active Directory connector is applicable from imageTag `v1.12.0_2022-10-11` and above and the Arc data controller must be at least `v1.11.0_2022-09-13` version.
3939

4040
The active directory connector (adc) must be at the same version as the data controller before a data controller is upgraded.
4141

4242
There is no batch upgrade process available at this time.
4343

44-
## Upgrade the active directory connector (adc)
45-
46-
47-
### Upgrade to `imageTag v1.12.0_2022-10-11` or greater
44+
## Upgrade Active Directory connector for previous versions
4845

49-
The active directory connector (adc) automatically upgrades to the new version part of the data controller upgrade.
50-
51-
### Upgrade prior to `imageTag v1.12.0_2022-10-11` or lower
46+
For imageTag versions `v1.11.0_2022-09-13` or lower, the Active Directory connector must be upgraded manually as below:
5247

5348
Use a kubectl command to view the existing spec in yaml.
5449

@@ -64,9 +59,7 @@ kubectl patch adc <adc-name> --namespace <namespace> --type merge --patch '{"spe
6459

6560
## Monitor
6661

67-
You can monitor the progress of the upgrade with kubectl.
68-
69-
### kubectl
62+
You can monitor the progress of the upgrade with kubectl as follows:
7063

7164
```console
7265
kubectl describe adc <adc-name> --namespace <namespace>

articles/azure-arc/data/upgrade-sql-managed-instance-indirect-kubernetes-tools.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ kubectl patch sqlmi <sqlmi-name> --namespace <namespace> --type merge --patch '{
5858

5959
## Monitor
6060

61-
You can monitor the progress of the upgrade with kubectl.
62-
63-
### kubectl
61+
You can monitor the progress of the upgrade with kubectl as follows:
6462

6563
```console
6664
kubectl describe sqlmi --namespace <namespace>

0 commit comments

Comments
 (0)