E-Mail notification for Netbackup 7..........
Hi,
I am trying to configure the email notification for netbackup 7.
I have successfully configured the blat for "SMTP"server and receptiant mail address.
I have also configured the "nbmail.cmd" file for blat configuration. Along I g=have entered the mail address in the global attributies in the master server .
but still the netbackup unable to send the mail to my address.
The following is the error :-
Below is the "nbmail.cmd" file for the blat configuration portion:-
@IF "%~4"=="" (
blat %3 -s %2 -t %1
) ELSE (
blat %3 -s %2 -t %1
)
As , you can see that I have omitted the "-i" and "-server " option as the latest version does'nt required this, where "-install" works.
Even I have tried giving the -i and -server detail, but did'nt worked.
Thanks.
Mrinal
Comments
OS is MS windows 2008 server 64bit.
Hi All,
I have another doubt dose blat support windows 64 bit.
If no then what is the alternative way to go for mail notification of Netbackup 7
Thanks
Mrinal.
Remember, Kowledge & Wisdom always makes a person success.
Mrinal Sarkar
Howrah, India
E-mail notification works for me
I copied blat.dll, blat.exe, and blat.lib for Blat 2.6.2 into a folder in the path on my server.
Then I ran:
(where smtp.mydomain.com is an alias for my mail server).
The relevant part of my nbmail.cmd looks like so:
Using %COMPUTERNAME% all over the place lets me make things generic server to server. The -cc in the above commands ensures that I get a copy of all e-mails.
I then copy nbmail.cmd into NetBackup\bin. Then I specify "Client sends mail" and the desired e-mail address for each each server.
But not working for me........
Hi,
Please provide me Troe , which OS you are using for your netbackup Master sarver.
As I not sure that Blat can be used in windows 2008 64 bit(that one I have for Netbackup 7)
I have created a VM in windows 2003 32 bit and the balt worked fine.
But not in 64 bit OS.
If any one have any idea to work blat in 64 bit, please do update .
Thanks
Remember, Kowledge & Wisdom always makes a person success.
Mrinal Sarkar
Howrah, India
Any on ehelp me for the blat............
Hi all,
Can any one help me to configure BLAT in the windows 2008 R2(64Bit) OS.
Thanks.
Mrinal
Remember, Kowledge & Wisdom always makes a person success.
Mrinal Sarkar
Howrah, India
Why BLAT???
Hey Mrinal,
I am not sure why you want to use BLAT with NBU 7. You can leverage on OpsCenter which is free for existing NBU 7 customers. Install OpsCenter for more details and historical reporting of you NBU reporting.
I always recommend customer using OpsCenter instead of BLAT as you can get very robust reporting regarding NBU.
Do revert in case if you still want to configure BLAT instead of OpsCenter
Below link will give you more information on OpsCenter
http://eval.symantec.com/mktginfo/enterprise/white_papers/b-nbu_7_opscenter_analytics_WP.en-us.pdf
Note - OpsCenter is free for NBU customer and OpsCenter Analytics is not free.
Hope this helps...
-- Deepak W (Kindly close the thread if your query is resolved)
Maybe you're having a System32 vs. SysWow64 issue . . .
I'm running Server 2008 x64 SP2 (no R2, though). That said, I just had an idea as to where your problem might lie. Are you copying blat into C:\WINDOWS\system32? If so, keep in mind that the system32 you see from a 64-bit cmd.exe is not the same as the system32 that a 32-bit process sees. 32-bit processes get C:\WINDOWS\SysWow64 transparently remapped over C:\WINDOWS\system32. I have the 32-bit version of Blat installed into C:\WINDOWS\binlocal (where I stick utilities), which is in the path on the system. As a result, both 32-bit and 64-bit processes can see it because there is no path substitution going on. To see the actual C:\WINDOWS\system32 (the one with the 64-bit code in it) from a 32-bit process, you have to refer to it as C:\WINDOWS\SysNative. See http://msdn.microsoft.com/en-us/library/aa384187(VS.85).aspx for an explanation. I don't know if the process that calls nbmail.cmd is 32-bit or 64-bit . . .
You can have lots of fun opening up Command Prompts and then running C:\WINDOWS\SysWow64\cmd.exe in one of them (which will start a 32-bit Command Prompt), and then roaming around the directory structure and seeing all the differences.
Thanks a lot guys.........
Thanks a lot deepak and Troe.
For your good suggestion
I 'll work out on this sson let you know.
Thanks .
Mrinal Sarkar
Remember, Kowledge & Wisdom always makes a person success.
Mrinal Sarkar
Howrah, India
Any update on this Mrinal?
Any update on this Mrinal?
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links
How I solved it....
Hi all,
We also run NetBackup 7 on Windows Server 2008 r2 and want to receive email notifications from Catalog backups. Here are the steps I did to make it work;
@IF "%~4"=="" (
blat %3 -s %2 -t %1 -i NetBackup -server smtpserver.yourdomain.com -f % COMPUTERNAME%@yourdomain.com -q
) ELSE (
blat %3 -s %2 -t %1 -i NetBackup -server smtpserver.yourdomain.com -f %COMPUTERNAME%@yourdomain.com -q -attach %4
)
Hi
I've set up and have blat working on 4 NBU 7.0 Master servers running on Windows 2008 R2.
As TROE states, make sure blat.exe is called and is in environment path.
Easy check is to verify tatt when running command prompt you can type blat and have blat respond when you are running the command from the C:\ driver
Example
C:\blat shoud give you output like this
C:\Users\admextkha>blat
Blat v2.6.2 w/GSS encryption (build : Feb 25 2007 12:06:19)
Win32 console utility to send mail via SMTP or post to usenet via NNTP
by P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde
http://www.blat.net
syntax:
Blat <filename> -to <recipient> [optional switches (see below)]
Blat -SaveSettings -f <sender email addy> -server <server addr>
[-port <port>] [-try <try>] [-profile <profile>]
[-u <login id>] [-pwd <password>]
or
Blat -install <server addr> <sender's addr> [<try>[<port>[<profile>]]] [-q]
Blat -profile [-delete | "<default>"] [profile1] [profileN] [-q]
Blat -h
Note!! What I have seen is that you MUST run command promt with administrator privliges. Meaning right click run as administrator. When you run the command blat -install option.
My experience is that non the less you run the command as administrator or not the command completes with no error. But blat may not work as intended.
As Deepak W says OPCSenter is not a bad way to go. It gives you alot more than just a email status, it is worth looking in to.
Would you like to reply?
Login or Register to post your comment.