programming4us
 
Applications Server
 

Microsoft Lync Server 2013 : SQL Server Dependencies - Creating SQL Server Maintenance Plans

2/3/2015 7:22:37 PM

Maintaining the Lync Server Back End databases is important to the overall health and performance of a Lync deployment. Yet this is an aspect that frequently gets overlooked, primarily because Lync administrators are kept busy caring for other aspects of the Lync environment.

Fortunately, Microsoft has provided maintenance plans as a way to automate the tasks required to maintain SQL database health. A maintenance plan performs a comprehensive set of SQL Server jobs that run at scheduled intervals. For example, a maintenance plan can include tasks that ensure that databases are performing optimally, are regularly backed up, and are checked for anomalies.


Tip

SQL maintenance plans should be scheduled to run during off-peak hours to minimize the performance impact.


The example SQL Server maintenance plan configuration below is based on SQL Server 2012, however the steps are very similar for SQL Server 2008 R2. The following steps are used to configure a SQL Server database maintenance plan:

1. Log on to the server where Lync Back End databases are installed using an account with SQL administrative rights, and open SQL Server Management Studio.

2. At the Connect to server prompt, keep the default options of connecting to the local server with Windows Authentication, and click Connect.

3. In the Object Explorer, expand Management, and then right-click on Maintenance Plans and select Maintenance Plan Wizard.


Tip

If the Maintenance Plan Wizard is initiated on a new instance of SQL Server, an error might occur stating that the command cannot be executed due to the security configuration for the server. If this is the case, the SQL Server Agent extended stored procedures need to be enabled. You can do this by executing the following statements in the SQL Query window:

sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO


4. At the SQL Maintenance Plan Wizard screen, click Next to begin the configuration.

5. At the Select Plan Properties screen, enter a name and description for the maintenance plan. Several options are also presented for the scheduling of the maintenance plan. To configure separate schedules for individual tasks within a single maintenance plan, select Separate Schedules for Each Task. To configure a single schedule for the entire plan, select Single Schedule for the Entire Plan or No Schedule. If this option is selected, the Change button is available to configure the scheduling for the plan.

6. Click Change to display the New Job Schedule dialog box, shown in Figure 11. Select from the available scheduling options to configure the frequency and timing of the plan. When finished, click OK to save the schedule, and click Next to continue with the Maintenance Plan Wizard.

Image

Figure 1. SQL maintenance plan scheduling.

7. On the Select Maintenance Tasks screen, select the maintenance tasks to include in the plan, and then click Next to continue.

8. At the Select Maintenance Task Order page, review the order in which the tasks will be executed. If necessary, change the order by selecting a task and then clicking either Move Up or Move Down as needed. When finished, click Next.

9. The wizard now provides options for each task that was selected. For example, Figure 2 shows the configuration options for the Database Check Integrity task. Using this example, the All Databases option has been selected for integrity checking.

Image

Figure 2. Configuration of the Database Check Integrity task.


Tip

From the list of available maintenance tasks, the Check Database Integrity and Maintenance Cleanup tasks should be selected for all Lync Server databases. It is also recommended to not select the Shrink Database task, primarily because the automatic shrinking of databases on a routine basis leads to excessive fragmentation as well as excessive I/O, which can negatively impact the performance of Lync Server.


10. Continue the configuration of each task that was selected as part of the maintenance plan on each successive screen, selecting the desired options.

11. At the Select Report Options page, keep the default option of Write a Report to a Text File, and change the report file location if necessary. If an email report is desired, select this option and enter the target email address. When finished, click Next.

12. At the Complete the Wizard screen, review the listed options for accuracy and then click Finish to complete the Wizard.

 
Others
 
- Microsoft Lync Server 2013 : SQL Server Dependencies - Maintaining the Lync SQL Databases
- Microsoft Lync Server 2013 : SQL Server Dependencies - SQL Backup Procedures - Backing Up SQL Using SQL Server Management Studio
- Microsoft Lync Server 2013 : SQL Server Dependencies - SQL Backup Procedures - Backing Up SQL Using Windows Server Native Backup
- Microsoft Lync Server 2013 : SQL Server Dependencies - Lync Database Requirements, Installing SQL Server for Lync
- Active Directory 2008 : Publishing Active Directory Objects (part 2) - Publishing Shared Folders, Querying Active Directory
- Active Directory 2008 : Publishing Active Directory Objects (part 1) - Publishing Printers
- Microsoft Sharepoint 2013 : Using SharePoint Commands (part 6) - Disposing of SharePoint Variables
- Microsoft Sharepoint 2013 : Using SharePoint Commands (part 5) - Working with Objects Below the Web Level
- Microsoft Sharepoint 2013 : Using SharePoint Commands (part 4) - Working with Webs
- Microsoft Sharepoint 2013 : Using SharePoint Commands (part 3) - Working with Site Collections
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft