parent_end_deployment_notify
The parent_end_deployment_notify script (on UNIX) and the parent_end_deployment_notify.cmd script (on Windows) runs on the NetBackup primary server. NetBackup calls the script each time a deployment parent job completes. The script runs after all other deployment steps have completed.
To use this script, copy the following file from the primary server:
On UNIX: /usr/openv/netbackup/bin/goodies/parent_end_deployment_notify
On Windows: install_path\NetBackup\bin\goodies\parent_end_deployment_notify.cmd
Then place the script in the following location on the primary server:
On UNIX: /usr/openv/netbackup/bin/
On Windows: install_path\NetBackup\bin\
To run properly, the script must be executable. To make the script executable on a UNIX primary server, run chmod ugo+rx parent_end_deployment_notify
NetBackup passes the following parameters to the script based on the platform:
Table: UNIX parent_end_deployment_notify parameters
Parameter | Details |
|---|---|
JobID | Specifies the job ID of the parent job. |
PolicyName | Specifies the policy name of the deployment policy. |
Operation | Specifies the operations to perform: precheck, stage, and install. |
Package | Specifies the deployment policy's package. |
JobStatus | Specifies the exit status code of the parent job. |
ClientCount | Specifies the number of child jobs that the parent job initiated. |
Table: Windows parent_end_deployment_notify.cmd parameters
Parameter | Details |
|---|---|
%1 | Specifies the job ID of the parent job. |
%2 | Specifies the policy name of the deployment policy. |
%3 | Specifies the operations to perform: precheck, stage, and install. |
%4 | Specifies the deployment policy's package. |
%5 | Specifies the exit status code of the parent job. |
%6 | Specifies the number of child jobs that the parent job initiated. |