Вы находитесь на странице: 1из 9

How to set up the Alert to send the result of the backup by email.

To be able to use the Alert in a job it is necessary to first set up the Alert via the Alert Manager. For more information on the Alert manager please check TEC379982. 1. Setting up the Alert manager on the ARCserve Server. Open the Alert Manager by clicking on Alert in the Quick Start bar.

Fig.1.Quick Start

Then select under My Computer the Configuration section and expand it. Expand the Default definition and choose SMTP if you re using Microsoft Exchange 2003 (see fig 2.). If you re using Exchange 5.5 or 2000 you also can set up the Microsoft Exchange section. (see chapter 1.2.) And for Exchange 2007 check TEC427388. 1.1. Setting up Alert for Exchange 2003

Fig. 2. Alert Manager

Right Click on SMTP and choose SMTP settings . Fill in a name of an existing user on this mailserver for the Sender Address. The mailbox of this user may not be disabled, marked as deleted or hidden (this will mean that it must be visable in the address book of Exchange.) In the box SMTP Server the name of the server must be filled in as it can be reached on the domain. The Subject is free to choose for the user. Then click OK to confirm the screen.

Fig.3. SMTP Settings

Right click on SMTP and choose New Item . Now the popup box SMTP Recipients will appear. Fill in the email-address and name of the employee you would like to receive the result of the backup. And click OK to confirm the screen.

Fig. 4. SMTP Recipients

1.2.Setting up the Alert for Exchange 2000 and 5.5 To do the settings for Exchange 2000 or 5.5 via the Microsoft Exchange setting you first need to set the account via which the Alert manager can gain access to the ARCserve server and the mailbox it may use to send mail from. Click on the menu item Service and select Set Service Account . A popup will appear called Service Logon Settings . This is the same as via the right-click on Microsoft Exchange and select MS Exchange Settings

Fig.6. Service Logon Settings

In the section Impersonation fill in the NT-domain in which the ARCserve server resides, as well as the username and password it needs to logon and access the Exchange mailbox. On the Microsoft Exchange section you need to fill in the name of the Exchange server and the name of the mailbox belonging to the username you filled in in the Impersonation section. Then click OK to confirm the screen. If the credentials are not correct then a popup will appear telling that the user could not be logged on. If they are okay no message will appear.

Fig.7. Error on wrong credentials

Test these settings by right-clicking on the Microsoft Exchange section under Default in the Configuration part., and select Logon to Mail System . A popup should appear to confirm the credentials and server-names are filled in correctly.

Fig.8. logon test

You now can define the default text for the mail which will appear in the subject. Right-Click on Microsoft Exchange and select Message Attributes You will get a popup with two sections. The first section Subject is to fill in a text for the

subject of the mail. And the second section Attachments if to include a file. This can be used when you want always to include the same file. You do NOT need to set the joblog file here ,since its name will change daily and you can set this in the job to be included. (see section 2. Figure 14.)

Fig.9. Subject for the mail.

Then add a recipient to this section by right-clicking on Microsoft Exchange and selecting New Item . A popup with the Address Book will appear.

Fig.10. Address Book

Select the user you want to receive the email with the result of the backup job. You may select multiple users to receive the email both in the To field as well as in the CC field. Press OK to confirm. Now you can send a test message to test the account. This can be done by selecting the user and right_click on it and choose Send Test Message or select the user and the SendTestmessagebutton will become available in the button-bar. (see fig. 11.)

Fig. 11. Alert manager with SendTestMessage-button available

After sending the testmessage you of course can check if the user receives the mail. But also in the Activity part under Alert Activity Log you can check if the mail has been send and received successful.

Fig. 12. Alert Activity Log

In the Activity Log for the Alert can you see the time of sending and the result. As example you ll see the failure with error 80000001. For the exact meaning of the error numbers please refer to the internet, since no exact list seems to exist which is complete. Http://support.microsoft.com/kb/238119/en-us will help a bit, but this error 80000001 is not in there and means :
80000001 means unknown (domain)for smtp server or port 25 blocked.

This mostly is being caused by McAffee Virus checker blocking the port 25. 2. Setting the job to send email with result. Once the Alert manager has been set up completely and is able to send mail via SMTP or Exchange, it is time to tell the job that after it has been finished it can send a mail based on its result to the defined user.

Fig. 13. Global Options button

Modify the job you want to have a mail sent for and open the global Options screen by pressing the Options-button (see fig.13) . In there select the tab called Alert . Now you can define the actions for which you want to have a mail send. In the Event-box select the action, and check the Attach Job Log if you want the Logfile of the job send as attachement to the mail. Then click on the Add button. You can define several actions and for each choose whether or not to include the joblog. This is all you need to do for the mail to be sent.

Fig.14. Global Options screen to setup the alert for the job NOTE: 1. Leave the Methods & Recipients set to <Default> !! NOTE: 2. For ARCserve 11.5 using staging a message will be send with status successful when one of the phases has been successful. So if the staging part went okay and the backup has been written to the Staging device and the migration part fails to write to tape the mail still reports successful !!

3. The result mail from the job with the status of the job 3.1 When the job has completed successful

Fig.15. Mail after backup succesful

3.1 When the job has not completed successful

Fig. 16. Mail after backup Incomplete

4. putting Alert in Debug For trouble shooting the Alert you can put the service in debug-mode to obtain more information in the logfiles. Open the registry editor and go to the key: HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\Alert\ CurrentVersion\Service

If subkey Trace does not exists then create it with: Highlight Service, then select NEW key

Key Name: Trace Class: (leave blank), click OK

Fig 17. Registry entry for debug mode.

Highlight Trace, then select New

DWORD value

Value Name: (pick from the list below), Data Type: REG_DWORD, click OK, Data: 1 = On, 0 = Off
NOTE: Other acceptable data values = 2, 3 (higher value generating the most details) Application to Trace MS Exchange MS Mail Unicenter Lotus Notes SMTP Alert API Key name ExchPstr MsmlPstr TNGPstr NotePstr SMTPPstr AlBuild Name Ouput File AlrtExch.log AlrtMsml.log Alrt_TNG.log AlrtNote.log AlrtSMTP.log Alert.log

The result of the debugging will be in the logfile as mentioned in the last column of the list.

Вам также может понравиться