Step 2. Enabling Custom Scripts Functionality
To enable the functionality of custom scripts on AHV Backup Proxy, do the following:
- Log into to the Nutanix Prism console.
- Go to the VMs dashboard, where you can find the AHV Backup Proxy VM.
- Select the AHV Backup Proxy VM and click Launch Console.
- Open the appsettings.json file.
- Find the 3rdPartyJobScripts parameter and change the value of the Enable argument to true.
"3rdPartyJobScripts": { "Enable": true, "ExecutionTimeLimitSec": 1200, |
- Configure other parameters if required. For the list of available parameters, see the table below.
Argument | Description |
---|---|
Enable | Possible values:
|
ExecutionTimeLimitSec | Possible values: a positive integer (0, MAX_INT) |
FailScriptAfterTimeout | Possible values:
|
FailScriptExecutionAfterPolicyCancel | Possible values:
|
- Restart the VeeamBackupAgent service.
Defining AHV Cluster Administrator Credentials
Note |
If you perform backup of the AHV Backup Proxy configuration settings, credentials specified in the custom script will be stored in the plain text format. To avoid this, you can relocate the nutanix.conf file and change its default path in the script. |