Skip to content

Commit d1cc2df

Browse files
authored
Add guidance to use latest release.
updates due to Acrolinx score
1 parent 9470fef commit d1cc2df

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/azure-netapp-files/azacsnap-troubleshoot.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Troubleshoot Azure Application Consistent Snapshot tool - Azure NetApp Files
3-
description: Troubleshoot communication issues, test failures, and other SAP HANA issues when using the Azure Application Consistent Snapshot (AzAcSnap) tool.
3+
description: Troubleshoot communication issues, test failures, and other issues when using the Azure Application Consistent Snapshot (AzAcSnap) tool.
44
services: azure-netapp-files
55
author: Phil-Jensen
66
ms.service: azure-netapp-files
@@ -17,16 +17,16 @@ This article describes how to troubleshoot issues when using the Azure Applicati
1717
You might encounter several common issues when running AzAcSnap commands. Follow the instructions to troubleshoot the issues.
1818

1919
> [!IMPORTANT]
20-
> To ensure accurate troubleshooting and support, issues should be reproduced using the latest AzAcSnap release. Please update to the most recent version before reporting any problems.
21-
> If you still have issues, go to the Azure Portal and select Support + troubleshooting and search for guidance on issues with AzAcSnap, this will allow you to open a Service Request for Microsoft Support.
20+
> To ensure accurate troubleshooting and support, issues should be reproduced using the latest AzAcSnap release. Update to the most recent version before reporting any problems.
21+
> If you still have issues, go to the Azure portal and select Support + troubleshooting and search for guidance on issues with AzAcSnap, this allows you to open a Service Request for Microsoft Support.
2222
2323
## AzAcSnap command won't run
2424

2525
In some cases AzAcSnap won't start due to the user's environment.
2626

2727
### Failed to create CoreCLR
2828

29-
AzAcSnap is written in .NET and the CoreCLR is an execution engine for .NET apps, performing functions such as IL byte code loading, compilation to machine code and garbage collection. In this case there is an environmental problem blocking the CoreCLR engine from starting.
29+
AzAcSnap is written in .NET and the CoreCLR is an execution engine for .NET apps. It performs functions such as IL byte code loading, compilation to machine code, and garbage collection. In the case of CoreCLR errors, there's an environmental problem blocking the CoreCLR engine from starting.
3030

3131
A common cause is limited permissions or environmental setup for the AzAcSnap operating system user, usually 'azacsnap'.
3232

@@ -86,7 +86,7 @@ Make a `TMPDIR` for the `azacsnap` user:
8686
```
8787

8888
> [!IMPORTANT]
89-
> Changing the user's `TMPDIR` would need to be made permanent by changing the user's profile (e.g. `$HOME/.bashrc` or `$HOME/.bash_profile`). There would also be a need to clean-up the `TMPDIR` on system reboot, this is typically automatic for `/tmp`.
89+
> Changing the user's `TMPDIR` would need to be made permanent by changing the user's profile (for example, `$HOME/.bashrc` or `$HOME/.bash_profile`). Making this change means a manual clean up of the `TMPDIR` would be needed on system reboot. This `TMPDIR` clean up is typically automatic for `/tmp`.
9090
9191
## Check log files, result files, and syslog
9292

@@ -96,13 +96,13 @@ Some of the best sources of information for investigating AzAcSnap issues are th
9696

9797
The AzAcSnap log files are stored in the directory configured by the `logPath` parameter in the AzAcSnap configuration file. The default configuration filename is *azacsnap.json*, and the default value for `logPath` is *./logs*, which means the log files are written into the *./logs* directory relative to where the `azacsnap` command runs. If you make the `logPath` an absolute location, such as */home/azacsnap/logs*, `azacsnap` always outputs the logs into */home/azacsnap/logs*, regardless of where you run the `azacsnap` command.
9898

99-
The log filename is based on the application name, `azacsnap`, the command run with `-c`, such as `backup`, `test`, or `details`, and the default configuration filename, such as *azacsnap.json*. With the `-c backup` command, a default log filename would be *azacsnap-backup-azacsnap.log*, written into the directory configured by `logPath`.
99+
The log filename is based on the application name, `azacsnap`, the command run with `-c`, such as `backup`, `test`, or `details`, and the default configuration filename, such as *azacsnap.json*. With the `-c backup` command, a default log filename would be *azacsnap-backup-azacsnap.log*, written into the directory configured by `logPath`.
100100

101101
This naming convention allows for multiple configuration files, one per database, to help locate the associated log files. If the configuration filename is *SID.json*, then the log filename when using the `azacsnap -c backup --configfile SID.json` option is *azacsnap-backup-SID.log*.
102102

103103
### Result files and syslog
104104

105-
For the `-c backup` command, AzAcSnap writes to a *\*.result* file. The purpose of the *\*.result* file is to provide high-level confirmation of success/failure. If the *\*.result* file is empty, then assume failure. Any output written to the *\*.result* file is also output to the system log (for example, `/var/log/messages`) by using the `logger` command. The *\*.result* filename has the same base name as the log file to allow for matching the result file with the configuration file and the backup log file. The *\*.result* file goes into the same location as the other log files and is a simple one line output file.
105+
For the `-c backup` command, AzAcSnap writes to a *\*.result* file. The purpose of the *\*.result* file is to provide high-level confirmation of success/failure. If the *\*.result* file is empty, then assume failure. Any output written to the *\*.result* file is also output to the system log (for example, `/var/log/messages`) by using the `logger` command. The *\*.result* filename has the same base name as the log file to allow for matching the result file with the configuration file and the backup log file. The *\*.result* file goes into the same location as the other log files and is a simple one line output file.
106106

107107
1. Example for successful completion:
108108

@@ -118,7 +118,7 @@ For the `-c backup` command, AzAcSnap writes to a *\*.result* file. The purpose
118118
Dec 17 09:01:13 azacsnap-rhel azacsnap: Database # 1 (PR1) : completed ok
119119
```
120120
121-
1. Example output where a failure has occurred and AzAcSnap captured the failure:
121+
1. Example output where a failure occurred and AzAcSnap captured the failure:
122122
123123
1. Output to *\*.result* file:
124124
@@ -240,14 +240,14 @@ To troubleshoot this error:
240240
[19/Nov/2020:18:39:49 +13:00] DEBUG: [PID:0020080:StorageANF:659] [1] Innerexception: Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException AADSTS7000215: Invalid client secret is provided.
241241
```
242242

243-
1. Check the log file to see if the service principal has expired. The following log file example shows that the client secret keys are expired.
243+
1. Check the log file to see if the service principal is expired. The following log file example shows that the client secret keys are expired.
244244

245245
```output
246-
[19/Nov/2020:18:41:10 +13:00] DEBUG: [PID:0020257:StorageANF:659] [1] Innerexception: Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException AADSTS7000222: The provided client secret keys are expired. Visit the Azure Portal to create new keys for your app, or consider using certificate credentials for added security: https://learn.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentials
246+
[19/Nov/2020:18:41:10 +13:00] DEBUG: [PID:0020257:StorageANF:659] [1] Innerexception: Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException AADSTS7000222: The provided client secret keys are expired. Visit the Azure portal to create new keys for your app, or consider using certificate credentials for added security: https://learn.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentials
247247
```
248248

249249
> [!TIP]
250-
> For more information on generating a new Service Principal, refer to the section [Enable communication with Storage](azacsnap-configure-storage.md?tabs=azure-netapp-files#enable-communication-with-storage) in the [Install Azure Application Consistent Snapshot tool](azacsnap-installation.md) guide.
250+
> For more information on generating a new Service Principal, see the section [Enable communication with Storage](azacsnap-configure-storage.md?tabs=azure-netapp-files#enable-communication-with-storage) in the [Install Azure Application Consistent Snapshot tool](azacsnap-installation.md) guide.
251251
252252
## Troubleshoot failed 'test hana' command
253253

@@ -281,7 +281,7 @@ Make sure the installer added the location of these files to the AzAcSnap user's
281281
282282
### Invalid value for key
283283

284-
This command output shows that the connection key hasn't been set up correctly with the `hdbuserstore Set` command.
284+
This command output shows that the connection key isn't set up correctly with the `hdbuserstore Set` command.
285285

286286
```bash
287287
hdbsql -n 172.18.18.50 -i 00 -U AZACSNAP "select version from sys.m_database"

0 commit comments

Comments
 (0)