DBA morning check list

Source: Internet
Author: User
DBA morning check listby Bill Richard, 2010/08/27 (first published: 2008/04/14)

Database administrators can sometimes have one of the most stressful jobs in the company. if you have been a dBA for long, you know the scenario. you have just sat in your chair with your cup of coffee, and your phone starts ringing off the hook. the voice on the other end states that they can't pull up their data or they are getting timeouts, or the system is running slow. okay, time to dig in; it 'S going to be one of those days! Is it Friday yet?

In this article, I will present ways to minimize those stressful days by having a pre-defined dBA morning checklist. A morning DBA checklist is a document of pre-defined administrative checks that are running med every morning to ensure that your server is at optimal performance. by having a standard list of items to check, you are more likely to catch and fix issues before there is a real problem.

The end result of the morning DBA checklist shocould have three sections. section One contains the list of items that need checked. section One shoshould include checks from the following categories: performance, job failures, disk space, backups, connectivity, and anything specific to your environment, such as replication, grouping, clustering, etc. section Two contains a place to write down issues and how they were resolved. the third section is a confirmation section where it is signed and dated. the third section is very important. without this section, it is difficult to enforce and guarantee that these checks were med.

The first step to create an executive tive morning checklist is to meet with all the DBAs and ask them these questions:
1. What do you check in the morning?
2. How do you check it?
3. What do you do when there is a problem?
4. Is there anyone you want y in the event of a failure?

In my experience, every DBA has his own mental checklist and different ways that he/she fix issues. it is important to get a list of the items written down in a document. by combining the ideas of every dBA, you will come up with a more thorough checklist, a standardized way to fix issues, and problems are less likely to fall through the cracks.

After the DBA morning checklist is created, completed checklists shocould be archived in a notebook to ensure that each check was stored med every day. this also serves as a history of fixes for past issues, and an audit trail for the DBA.

Since every database environment is different, and every is shop has its own tools, every DBA's checklist will be different. the end goal is to create a checklist that is customized to your environment, in which issues can be found and fixed quickly, so that you can avoid having one of those difficult days.

With this in mind, listed below is a sample checklist. Your checklist shoshould be unique to your environment and shocould help find and fix issues as quickly as possible.

Section 1: DBA morning checklist

Backups

-Verify that the network backups are good by checking the backup emails. If a backup did not complete, contact _____ in the networking group, and send an email to the DBA group.

-Check the SQL Server backups. If a backup failed, research the cause of the failure and ensure that it is scheduled to run tonight.

-Check the database backup run duration of all production servers. verify that the average time is within the normal range. any significant increases in backup duration times need to be emailed to the networking group, requesting an explanation. the reason for this is that networking starts placing databases backups to tape at certain times, and if they put it to tape before the DBAs are done backing up, the tape copy will be bad.

-Verify that all databases were backed up. If any new databases were not backed up, create a backup maintenance plan for them and check the current schedule to determine a backup time.

Disk Space
-Verify the free space on each drive of the servers. if there is significant variance in free space from the day before, research the cause of the free space fluctuation and resolve if necessary. often times, log files will grow because of monthly jobs.

Job failures
-Check for failed jobs, by connecting to each SQL Server, selecting "job activity" and filtering on failed jobs. if a job failed, resolve the issue by contacting the owner of the job if necessary.

System checks

-Check SQL logs on each server. In the event of a critical error, choose y the DBA group and come to an agreement on how to resolve the problem.

-Check Application Log On each server. In the event of a critical or unusual error, choose y the DBA group and the networking group to determine what needs to be done to fix the error.

Performance

-Check performance statistics for all servers using the monitoring tool and research and resolve any issues.

-Check Performance Monitor on all production servers and verify that all counters are within the normal range.

Connectivity
-Log into the customer application and verify that it can connect to the database and pull up data. verify that it is refreshing at an acceptable speed. in the event of a failure, email the customer support group, DBA group, and the DBA manager, before proceeding to resolve the issue.

-Log into the billing application and verify that it can connect to the database and pull up data. verify that it is refreshing at an acceptable speed. in the event of a failure, email the billing support group, DBA group, and the DBA manager, before proceeding to resolve the issue.

Replication

-Check replication on each server by checking each publication to make sure the distributor is running for each submodules.

-When replication is stopped, or changes to replication are made, send an email to the DBA group. for example, if the DBA stops the distributor, let the other DBAs know when it is stopped and then when it is restarted again.

-Check for any emails for the SQL jobs that monitor row counts on major tables on the publisher and subscriber. if a wide variance occurs, send an email message to the DBAs and any appropriate is personnel.

Section 2: write down any issues and how they were resolved

This space is reserved for writing down issues and how they were fixed.

Section 3-confirmation

Completed by __________________________ Date :___________________

Conclusion

Creating a morning DBA checklist has helped me times in the past. often times, I found CPU usage up near 100%, broken replication, connectivity problems, and space issues that I have been able to resolve before the majority of the work force was present and the issue cocould escalate. by having a standard DBA checklist document, it ensures that nothing is forgotten, which cowould result in a probl Em. It also minimizes down time of a company or department, provides a archive of past issues and how they were fixed, and helps ensure that the DBA will have a less stressful day!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.