New Server in an Hour #sqlsat121

560 views
506 views

Published on

Mike's 1 Hour Server session at SQL Saturday 121

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
560
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

New Server in an Hour #sqlsat121

  1. 1. New  Server  in  an  Hour?  No  Problem!  Mike  Hillwig  
  2. 2.    
  3. 3.    
  4. 4.    
  5. 5.    
  6. 6.    
  7. 7.    
  8. 8.    
  9. 9.    
  10. 10.    
  11. 11.    
  12. 12.    
  13. 13.  `  
  14. 14. Mike  Hillwig  •  AKA  The  Cranky  DBA  •  SQL  Server  DBA  •  Working  with  SQL  Server  since  SQL  7  •  Senior  DBA  at  hos?ng  division  of  a  financial  soCware  company  •  Working  as  the  lone  SQL  DBA  in  an  army  of  Oracle  DBAs  •  Resume  includes  Acme  Packet,  Shawmut  Design  and  Construc?on,   Equitable  Resources  •  Currently  managing  ~40  instances  and  about  ~30  TB  
  15. 15. Photo  Credit:  Nedra  Isenberg  
  16. 16. `  
  17. 17. Obligatory  Social  Networking  Slide  •  crankydba.com  •  sqlserverpedia.com  •  twiVer.com/mikehillwig  
  18. 18. A  New  Server?  Now?  
  19. 19. Fear  Not  •  You’re  Prepared  •  You’ve  done  your  homework  •  And  this  is  not  a  crisis  
  20. 20. How  Do  We  Prepare?    •  Advanced  Planning  •  Capturing  a  SQL  Config  file  •  Collec?ng  the  scripts  you  already  have  •  Automa?ng  your  setup  checklist  •  Assembling  a  batch  file  •  Documen?ng  a  Build  Process  •  Having  a  solid  process  ready  to  deploy  •  Making  it  so  simple  we  can  delegate  it  
  21. 21. Assumptions  •  Your  Windows/VMWare  Team  can  deploy  quickly  •  Storage  isn’t  an  issue  •  Install  media  is  readily  accessible  •  You  have  a  checklist  
  22. 22. Why  do  this  for  all  servers?  •  Standardize  servers  •  Consistency  is  good!  •  Easier  to  delegate  to  junior  staff  •  Saves  you  tons  of  ?me  
  23. 23. What’s  On  Mike’s  Checklist?  •  Install  SQL  •  Configure   •  Change  file  paths   •  Change  default  ports   •  Configure  [MODEL]  •  Monitor   •  Alerts  •  Maintain   •  Index  Maint   •  Backups  •  Reboot  
  24. 24. What  about  maintenance  plans?  •  No  •  No  •  No  •  NO  •  Use  scripts.    •  Maintenance  plans  are  ?me  consuming  and  difficult  to   maintain  
  25. 25. Where  do  we  start?  •  Grab  your  config.ini  •  Automate!  
  26. 26. Edit  conHig.ini  File  •  Comment  Out  UIMODE="Normal”  •  Edit  SQLSVCACCOUNT  •  Edit  AGTSVCACCOUNT  •  Edit  SQLSYSADMINACCOUNTS  
  27. 27. Tools  We’ll  Use  •  SQL  Management  Studio  •  Regedit  •  SQLCMD  (formerly  OSQL)  •  Shutdown  •  Notepad  (to  edit  our  batch  files)  
  28. 28. Script  any  conHiguration  
  29. 29. Script  SQL  Agent  Jobs  
  30. 30. For  More  •  crankydba.com/go/1HourServer  

×