DPA: DPA unable to execute python script when Alert is generated.
Summary: unable to execute python script when Alert is generated
Symptoms
When an event driven alert in DPA is pointed to run python script when alert is generated, it fails to execute the script and following error message in the server log is observed:2016-12-31 08:03:24,534 ERROR [com.emc.apollo.command.util.ExecCommandsBean] (EJB default - 195) Error running command. Error message was Cannot run program "E:\monitoring\backup_fail.py": CreateProcess error=193, %1 is not a valid Win32 application
Below is the Analysis policy configuration from the DPA GUI:
Cause
Resolution
DPA supports only windows scripts such a Batch script.
The workaround in this scenario would be to create a batch script which will call the python process to run the python script. Then use the batch file in the edit policy-based actions on the DPA GUI.