02-22-2018 05:53 PM
Hi All,
We have one client who supposed to be notified when monthend backup (policy:Nas_Userterms, schedule name: Monthly, schedule: Full)started and completed through email.
Email not triggered today. Can anyone help me in where i can find confifered files for my policy to invenstigate. or how to create a new mail alert for a policy.
i can not find existed config files anywhere, i dont know where this files resides generally too.
02-22-2018 09:35 PM - edited 02-22-2018 09:38 PM
02-23-2018 07:48 PM
I can not see client os as its a NDMP. I have no idea where config files. i am new to this project.
i can not see client host propertees.
Is there option in opcenter like when monthend schedule of 3 schedule executed, mail nofification will generate? not for any schedule that runs in policy which i am receiving now.
I did test mail through blat and received email too. i don't know what to do next.
I tried bpstart_notify.policy.sche.bat(bpstart_notify_NAS_UserTerms.Full.bat in master server kept under netbackup\bin.
not triggered any mail.
02-23-2018 09:22 PM
I found config files on media servers. Attached here for analasis.
What i observerd is in below line under start_notify script and end_notify as well, is space between email recipents. would it be reason for not triggering mail?
Command started with c:\blat not as simply blat .Why? and i can see blat.exe in c:\. is this fine?
c:\blat "C:\Backup started for TO_BE_BACKED_UP.txt" -to ITStorageAdmins@careered.com,sn_siteops-CSC@careered.com,skatari@careered.com, DSrinivas@careered.com.
and i can see C:\Backup started for TO_BE_BACKED_UP.txt text file also lastly modified on fen 22 exatly when backup executed nad completed.
Script is running somehow as per dates but not generating mail.
1. All of this due to space between Mail recipents?
2. i think i need to add -server relay.careered.com q to above line like below
c:\blat "C:\Backup started for TO_BE_BACKED_UP.txt" -to ITStorageAdmins@careered.com,sn_siteops-CSC@careered.com,skatari@careered.com, DSrinivas@careered.com -server relay.careered.com q
because when i did test mail with blat without smtp details. i received error like below. i added smtp then mail received.
C:\>blat "C:\testmail.txt" -to anakka@careered.com
Blat v3.1.1 (build : Feb 27 2013 20:04:55)
64-bit Windows, Full, Unicode
Error: Server refused connection.
Error: Server refused connection.
i received test mail by adding smtp
C:\>blat "C:\testmail.txt" -to anakka@careered.com -server relay.careered.com
Blat v3.1.1 (build : Feb 27 2013 20:04:55)
64-bit Windows, Full, Unicode
Sending C:\testmail.txt to anakka@careered.com
Subject: Contents of file: testmail.txt
Login name is ITStorageAdmins@careered.com
Try number 1 of 4.
Please suggest me me what changes i need to do.
delte spaces or add smtp details or both.
02-25-2018 10:47 PM
Herewith 2 TNs about blat configuration.
https://www.veritas.com/support/en_US/article.TECH24110
https://www.veritas.com/support/en_US/article.000039915
Seems all examples have ' -server <SMTP server> ' option.
PS:
Please do not upload any files with .cmd extention. The file cannot be opened online an has to be downloaded first. All AntiVirus software have a problem with executables.
Rather copy files to .txt before uploading.