Presentation is loading. Please wait.

Presentation is loading. Please wait.

Work Smarter Not Harder Standardize Your Environment With Best Practices.

Similar presentations


Presentation on theme: "Work Smarter Not Harder Standardize Your Environment With Best Practices."— Presentation transcript:

1 Work Smarter Not Harder Standardize Your Environment With Best Practices

2 Introduction  AJ Mendo  ajmendo@poriver.com  @SQLAJ  http://sqlaj.wordpress.com http://sqlaj.wordpress.com Over the years AJ has worked with a variety of databases and has worked for military, civilian, and federal government organizations supporting a wide variety of applications. He currently works on a team of DBAs supporting over 200 database servers of various sizes. He is a frequent presenter at user groups, SQL Saturday’s and online. He gives his time freely for SQL Events and loves being a part of the SQL Community.

3 Objectives  What does it mean to Standardize?  What can be Standardized?  Using “scripts” to make things easier  Get others to follow the Standards  Document and publish – consider it a “living document”

4 What does it mean to Standardize?  Definition: stand·ard·ize /ˈstandərˌdīz/ Verb: 1.to make or become standard: 2. to test by or compare with a standard: “SQLAJ has an effort underway to standardize server installations".  Partial Source: http://www.thefreedictionary.com/standardize

5 Quiz: Why Should You Standardize?  Lays out the rules for everyone  Makes “non-standards” easy to spot and corrections easier  It will make your life (and job) easier  Because SQLAJ said so (and he is cool!)  All of the above

6 O.K. but what can be standardized?  Server setup  Access restrictions  SQL versions and installations  Post install configurations  Routine maintenance  Tracking Changes  Release/Deployment process

7 Server Setup  Drive configuration  Use the correct file system  Formatting drives correctly

8 Access Restrictions  Types of accounts  Windows - users  SQL - applications  Different levels for different environments  Development, Test/QA, Pre-Production, Production  Who gets access  Developers, Project Managers, Build Managers  Isolate Services  Different Accounts for SQL Engine, SQL Agent  Use low-rights Windows or Local accounts

9 Sizing Drives  Get the information from customer  Current database size  Projected growth 1, 3, 5 years  Develop an algorithm Backups will be compressed Allow for.5% growth  Remember Operating System and application installation  C:\OS – 40GB  D:\App(SQL) – 50GB

10 Windows and SQL Versions  Operating System  SQL Server  Service Packs  SQL components

11 Install from Configuration File  Faster Installs  No more clicking “Next”  Put all commands in Configuration file  Advantage to standard server builds  Different Configuration Files based on components SQL Engine, Report Services, SSIS, SSAS  Blog Post on how to  http://sqlaj.wordpress.com/2012/03/09/installing-sql-server-from-a-configuration-file/

12 Post Install Configuration  SQL Agent Jobs – Option 1  Manually Create Jobs  Use the Wizard / Design Console  Can be time consuming (approximately 5 minutes each x4)  Job is owned by user who created it  Maintenance plans can be finicky

13 Post Install Configuration  SQL Agent Jobs – Option 2  Use SQL scripts to create jobs  Faster (approximately 30 seconds or less)  Easy to use/maintain  Job owner is set (local or domain account)

14 Routine Maintenance  Backups  Integrity Checks  Index Defragmenting  Clean Up

15 Tracking changes  How do you track changes to environment  Is there an approval process  Work flow  Closing tickets

16 Release/Deploying Code Updates  Release calendar  Released from Development, QA/Test, Pre-Production, Production  Application code, database scripts, deployment instructions  Required 72 hours in advance  Instructions must be full and complete  Written so any DBA or SA can deploy updates

17 Getting others to follow standards  Talk with Managers  Demonstrate how makes setup/configuration easier  Getting team members to agree

18 Document and Publish  Write up the Standards  Post to a central location  Refer others such as SAs and Project Managers to location  Living Document – update as needed.

19 Wrap Up  What does it mean to Standardize?  What can be Standardized?  Get others to follow Standards  Using “Scripts” to make things easier  Document and publish – Consider it a “living document”

20 Resources  Isolate SQL Services  http://msdn.microsoft.com/en-us/library/ms144228.aspx#isolated_services  Using the Correct File System  http://msdn.microsoft.com/en-us/library/ms144228.aspx#sa_with_least_privileges  Formatting data drives  http://msdn.microsoft.com/en-us/library/dd758814(v=sql.100).aspx  Blog Post – Install using Configuration file  http://sqlaj.wordpress.com/2012/03/09/installing-sql-server-from-a-configuration-file/


Download ppt "Work Smarter Not Harder Standardize Your Environment With Best Practices."

Similar presentations


Ads by Google