Brad’s Sure Guide to SQL Server Maintenance Plans- P8 ppt

5 265 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P8 ppt

Đang tải... (xem toàn văn)

Thông tin tài liệu

Chapter 2: Before you Create any Maintenance Plans… 36 Figure 2.6: If the SMTP settings are not set correctly, Database Mail will not work. Once you're happy with the account information, clicking OK will return you to the original mail Profile screen, which will display the SMTP account you just set up, as shown in Figure 2.7. Chapter 2: Before you Create any Maintenance Plans… 37 Figure 2.7: Although you are only setting up one account, you can see that multiple accounts can be set up if desired. To continue with the Database Mail Configuration Wizard, click on Next to reach the Manage Profile Security screen, shown in Figure 2.8. Chapter 2: Before you Create any Maintenance Plans… 38 Figure 2.8: You have to specify whether a mail profile is public or private. As shown in Figure 2.8, your Maintenance Plan profile has been created (it's called "Maintenance Plan"). Now you have to assign the profile as either public or private. A private profile is only usable by specific users or roles, while a public profile allows any user or role (with access to msdb) to send mail. To keep your setup as simple as possible, make the Maintenance Plan profile public, by selecting the checkbox under Public then clicking Next to move on to the Configure System Parameters screen, shown in Figure 2.9. Chapter 2: Before you Create any Maintenance Plans… 39 Figure 2.9: You have the opportunity to configure additional Database Mail parameters. The last option in the Database Mail Configuration Wizard allows you to set the values of specific Database Mail parameters for the profile. Generally, we will leave these options at their default values. The only one I suggest you might consider changing is the value of the Account Retry Attempts parameter. By default, this value is 1, which means that there is only one attempt made to send an e-mail. If the SMTP server should be down when an e-mail is to be sent, and there are no alternative SMTP accounts available, then the e-mail won't be delivered. If you want to add some robustness to Database Mail, and help ensure that the mail is delivered should the SMTP server go down for a short time, you can choose to increase this value to a higher number, such as 10. If you do this, and don't change any of the remaining settings, then Database Mail will try up to 10 times, waiting 60 seconds between tries, before it gives up. You are now done, so click on Next to go to the summary screen, shown in Figure 2.10. Chapter 2: Before you Create any Maintenance Plans… 40 Figure 2.10: You are now done configuring Database Mail. After a quick review of the summary screen, click on Finish and a final Configuring… screen appears, (Figure 2.11) indicating that your profile and its SMTP account have been created. . access to msdb) to send mail. To keep your setup as simple as possible, make the Maintenance Plan profile public, by selecting the checkbox under Public then clicking Next to move on to the. you want to add some robustness to Database Mail, and help ensure that the mail is delivered should the SMTP server go down for a short time, you can choose to increase this value to a higher. up to 10 times, waiting 60 seconds between tries, before it gives up. You are now done, so click on Next to go to the summary screen, shown in Figure 2.10. Chapter 2: Before you Create any Maintenance

Ngày đăng: 04/07/2014, 23:20

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan