parent_start_deployment_notify
The parent_start_deployment_notify script (on UNIX) and the parent_start_deployment_notify.cmd script (on Windows) runs on the NetBackup primary server. The script runs each time a new deployment parent job starts and initialization is completed. The script runs before all deployment steps are initiated.
To use this script, copy the following file from the primary server:
On UNIX: /usr/openv/netbackup/bin/goodies/parent_start_deployment_notify
On Windows: install_path\NetBackup\bin\goodies\parent_start_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_start_deployment_notify
NetBackup passes the following parameters to the script based on the platform:
Table: UNIX parent_start_deployment_notify parameters
Parameter | Details |
|---|---|
JobID | Specifies the job ID of the parent job. |
PolicyName | Specifies the policy name of the deployment policy. |
Operations | Specifies the operations to perform: precheck, stage, and install. |
Package | Specifies the deployment policy's package. |
Table: Windows parent_start_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. |