Skip to content

Commit 1c85114

Browse files
authored
Add details of EXTERNAL_CMD_TIMEOUT_SECS
1 parent 59f8c1a commit 1c85114

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@ AzAcSnap 8 introduced a new global settings file (`.azacsnaprc`) which must be l
2020

2121
Settings, which can be controlled by adding/editing the global override settings file or by setting them as environment variables are:
2222

23-
- **MAINLOG_LOCATION** which customizes the location of the "main-log" output file, which is called `azacsnap.log` and was introduced in AzAcSnap 8. Values should be absolute paths and the default value = '.' (which is the current working directory). For example, to ensure the "main-log" output file goes to the `/home/azacsnap/bin/logs` add the following to the `.azacsnaprc` file:
24-
- `MAINLOG_LOCATION=/home/azacsnap/bin/logs`
2523
- **AZURE_MANAGEMENT_ENDPOINT** to customize the location of the Azure Management Endpoint which AzAcSnap will make Azure REST API calls to was introduced in AzAcSnap 9a. Values should be URL paths and the default value = 'https://management.azure.com'. For example, to configure AzAcSnap to ensure all management calls go to the Azure Management Endpoint for US Govt Cloud (ref: [Azure Government Guidance for developers](/azure/azure-government/compare-azure-government-global-azure#guidance-for-developers)) add the following to the `.azacsnaprc` file:
2624
- `AZURE_MANAGEMENT_ENDPOINT=https://management.usgovcloudapi.net`
25+
- **EXTERNAL_CMD_TIMEOUT_SECS** customizes the timeout for external shell commands. Values should be integers and the default value = 300. For example, to set the external command timeout to 10 minutes (600 seconds) add the following to the `.azacsnaprc` file:
26+
- `EXTERNAL_CMD_TIMEOUT_SECS=600`
27+
28+
> [!NOTE]
29+
> As of AzAcSnap 11, the `EXTERNAL_CMD_TIMEOUT_SECS` only applies to Db2 database commands.
30+
31+
- **MAINLOG_LOCATION** which customizes the location of the "main-log" output file, which is called `azacsnap.log` and was introduced in AzAcSnap 8. Values should be absolute paths and the default value = '.' (which is the current working directory). For example, to ensure the "main-log" output file goes to the `/home/azacsnap/bin/logs` add the following to the `.azacsnaprc` file:
32+
- `MAINLOG_LOCATION=/home/azacsnap/bin/logs`
2733

2834
> [!NOTE]
2935
> As of AzAcSnap 9a all these values can be set as command-line environment variables as well, or instead of, the `.azacsnaprc` file. For example, on Linux the `AZURE_MANAGEMENT_ENDPOINT` can be set with `export AZURE_MANAGEMENT_ENDPOINT=https://management.usgovcloudapi.net` before running AzAcSnap.

0 commit comments

Comments
 (0)