You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
4
4
services: azure-netapp-files
5
5
author: Phil-Jensen
6
6
ms.service: azure-netapp-files
@@ -17,16 +17,16 @@ This article describes how to troubleshoot issues when using the Azure Applicati
17
17
You might encounter several common issues when running AzAcSnap commands. Follow the instructions to troubleshoot the issues.
18
18
19
19
> [!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.
22
22
23
23
## AzAcSnap command won't run
24
24
25
25
In some cases AzAcSnap won't start due to the user's environment.
26
26
27
27
### Failed to create CoreCLR
28
28
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.
30
30
31
31
A common cause is limited permissions or environmental setup for the AzAcSnap operating system user, usually 'azacsnap'.
32
32
@@ -86,7 +86,7 @@ Make a `TMPDIR` for the `azacsnap` user:
86
86
```
87
87
88
88
> [!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 cleanup of the `TMPDIR`would be needed on system reboot. This `TMPDIR` clean up is typically automatic for `/tmp`.
90
90
91
91
## Check log files, result files, and syslog
92
92
@@ -96,13 +96,13 @@ Some of the best sources of information for investigating AzAcSnap issues are th
96
96
97
97
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.
98
98
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`.
100
100
101
101
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*.
102
102
103
103
### Result files and syslog
104
104
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.
106
106
107
107
1. Example for successful completion:
108
108
@@ -118,7 +118,7 @@ For the `-c backup` command, AzAcSnap writes to a *\*.result* file. The purpose
118
118
Dec 17 09:01:13 azacsnap-rhel azacsnap: Database # 1 (PR1) : completed ok
119
119
```
120
120
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:
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.
244
244
245
245
```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
247
247
```
248
248
249
249
> [!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.
251
251
252
252
## Troubleshoot failed 'test hana' command
253
253
@@ -281,7 +281,7 @@ Make sure the installer added the location of these files to the AzAcSnap user's
281
281
282
282
### Invalid value for key
283
283
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.
285
285
286
286
```bash
287
287
hdbsql -n 172.18.18.50 -i 00 -U AZACSNAP "select version from sys.m_database"
0 commit comments