Recommended: Click Here to Update All of Your PCs Outdated Drivers

SMS Database Maintenance and Disaster Recovery

SMS Database Maintenance Tasks

The main SMS database maintenance task that you need to perform is to implement a backup strategy for the SMS site server and SMS database server. A backup is the process of archiving data and system files on a computer to a different location on a hard disk, or other media type. A backup plan or strategy should detail the data that has to be backed up, the manner in which the data should be backed up, the frequency at which the backups should occur, and the manner in which data restorations should occur. The backup should be implemented to restore system files and other valuable data.

There are different ways in which you can backup files or data. The different backup types are summarized below:

The SMS maintenance tasks that you need to perform are listed here:

A few daily maintenance tasks that you should perform to secure your SMS servers are listed here:

A few weekly maintenance tasks that you should perform to secure your SMS servers are listed here:

A few monthly maintenance tasks that you should perform are listed here:

Scheduling SMS Maintenance Tasks

In the Tasks node of the SMS Administrator console, there are a number of predefined database tasks that you can schedule.

These predefined database tasks are listed here:

The following predefined database tasks are enabled by default:

You can also configure and schedule SQL commands to run and create reports:

  1. Open the SMS Administrator console.
  2. Expand the Site Settings node.
  3. Expand the Database Maintenance node.
  4. The SMS console tree displays the SQL Commands node and the Tasks node.
  5. Select the SQL Commands node.
  6. Right-click the SQL Commands folder, and select New and then SQL Command from the shortcut menu.
  7. The SQL Command Properties dialog box opens.
  8. Ensure that the Enable SQL command checkbox is selected.
  9. In the Name textbox, provide a name for the SQL command.
  10. In the SQL Command box, provide the command name. To ensure that the command does not fail, make sure that the correct syntax is utilized.
  11. In the Log Status To textbox, provide the path and filename of the text file where the command results should be recorded.
  12. In the Schedule area of the SQL Command Properties dialog box, specify when the SQL command should run.
  13. Click OK.
  14. The new SQL command is added to the SQL Commands folder.

Overview of Backing up the SMS Site Server

To perform a full back up of the SMS site server, you have to back up the following:

There are a number of elements which you need to provide or modify before you can perform a back up of the site server:

How to stop a SMS component or service

  1. Open the SMS Administrator console.
  2. Expand the Site Settings node.
  3. Expand the Database Maintenance node.
  4. The SMS console tree displays the SQL Commands node and the Tasks node.
  5. Select the Tasks node.
  6. Right-click the Tasks node and select All Tasks and then Start SMS Service Manager from the shortcut menu.
  7. Expand the site server.
  8. Select the Components folder.
  9. All currently available components are displayed.
  10. A component is disabled by selecting the specific component and then selecting the Stop button.
  11. To verify that the component has been disabled, select the component and then click the Query Component button.
  12. You can start a component that has been disabled, by selecting the component, and then clicking the Start button.

How to verify that all SMS components and services have been stopped

  1. Open Control Panel
  2. Navigate to the Services applet.
  3. Verify that the following SMS components and services have been stopped:
    • Info Sentinel service
    • Info Agent service
    • Info APS service
    • SMS Executive
    • SMS License Server Manager
    • SMS Logon Discovery Agent
    • SMS Site Component Manager
    • SMS SQL Monitor
    • SQL Executive
    • SQL Server Agent
    • Windows Management

How to create a backup device in SQL Server Enterprise Manager

  1. Open SQL Server Enterprise Manager.
  2. Expand the server folder.
  3. Expand the Management folder.
  4. Select Backup.
  5. Right-click Backup and select New Backup Device from the shortcut menu.
  6. The Backup Device Properties dialog box opens.
  7. In the Name textbox, provide a name for the backup device.
  8. Specify if the backup device you are creating resides on tape or if it resides as a file.
  9. Click OK.
  10. The new backup device will be displayed under the Backup folder in the SQL Server Enterprise Manager.

How to configure the Export Site Database task in the SMS Administrator console

  1. Open the SMS Administrator console.
  2. Expand the Site Settings node.
  3. Expand the Database Maintenance node.
  4. Select the Tasks node.
  5. Right-click Export Site Database and select Properties from the shortcut menu.
  6. The Export Site Database Task Properties dialog box opens.
  7. Select the Enable This Task checkbox.
  8. In the Export To textbox, provide the name of the backup device. All paths should be specified as well.
  9. In the Schedule area of the Export Site Database Task Properties dialog box, define the schedule for the backup.
  10. Click OK.

How to configure the Backup SMS Site Server task in the SMS Administrator console

  1. Open the SMS Administrator console.
  2. Expand the Site Settings node.
  3. Expand the Database Maintenance node.
  4. Select the Tasks node.
  5. Right-click Backup SMS Site Server and select Properties from the shortcut menu.
  6. The Backup SMS Site Server Task Properties dialog box opens.
  7. Check the Enable This Task checkbox.
  8. In the Export To textbox, provide the name of the drive and directory for the backup folder.
  9. In the Schedule area of the Backup SMS Site Server Task Properties dialog box, define the schedule for the backup.
  10. Click OK.

Overview on Recovering an SMS site

Recovering a SMS site can be separated into the following tasks:

There may be instances where you need to move the SMS site database and software metering database to a different SQL Server computer.

The methods which you can use to move the SMS site and software metering database databases are listed here:

Before you actually move the site and software metering database databases to a different SQL Server computer, there are a number of tasks that have to be performed:

You can use the following process as a guideline for moving the SMS database to another SQL Server computer:

  1. Stop SMS services on the site server and on the SQL Server computer.
  2. Close all SMS applications and tools.
  3. Back up the SMS database in SQL Server. You can also schedule a SMS database backup through the SMS Administrator console.
  4. Install the other SQL Server computer. Ensure that the following configuration is the same:
    • Computer name
    • Database name
    • Registry settings
    • SMS files
  5. Create the database and log devices or files.
  6. Move the backed up SMS database to the new SQL Server computer.
  7. Ensure that the SMS site server accesses the correct location of the new SQL server and SMS database.

You can use SMS Setup to reset SMS to use the new database. You need to run the Modify or reset the current installation option of SMS Setup to perform this task. When you reset SMS to use the new database, the following occurs:



Top 5 Free Networking Tools

Bookmark SMS Database Maintenance and Disaster Recovery

Latest Blog Posts


Copyright 2008 Tech-FAQ. All rights reserved.