Universal SQL Installations Framework (Script review and Demo)

Slides:



Advertisements
Similar presentations
Ted Krueger SQL Server MVP Data Architect Building a SQL Server Test Lab.
Advertisements

Chapter 20 Oracle Secure Backup.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Module 3 Installing and Configuring SQL Server 2008 R2.
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction.
1.1 Installing Windows Server 2008 Windows Server 2008 Editions Windows Server 2008 Installation Requirements X64 Installation Considerations Preparing.
Martin Y. Leveille Sharepoint Engineer RJB Technical Consulting, Inc. Installation and Configuration Methodology.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your.
Week 2 - Installation SQL SERVER2000 ENTERPRISE EDITION INSTALLATION.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Optimizing SQL Server 2012 for SharePoint 2013 SharePoint Saturday/Friday, Honolulu March 27, 2015.
VMware vCenter Server Module 4.
SQL SERVER The Desktop Team Raphael Perez MVP: Enterprise Client Management, MCT RFL Systems Ltd
Contributed by Chandra [Oracle Apps Tech Specialist] - oracle.anilpassi.com Discoverer 10g Migration Plan.
Avanade: 10 tips for å sikring av dine SQL Server databaser Bernt Lervik Infrastructure Architect Avanade.
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Welcome Thank you for taking our training. Collection 6421: Configure and Troubleshoot Windows Server® 2008 Network Course 6690 – 6709 at

Benjamin Lavalley, Sr. Product Marketing Manager Kaseya 2 Upgrade Review.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Verify Hardware Requirements Install Windows Server 2008 R2 Configure Active Directory Install SQL Server 2008 Install SharePoint Server 2010 Configure.
Learningcomputer.com SQL Server 2008 – Installation of SQL Server 2008.
Windows 2003 Overview Lecture 1. Windows Networking Evolution Windows for Workgroups – peer-to-peer networking built into the OS Windows NT – separate.
Clustering SQL Server Tom Pullen Senior DBA, RM Education
Terry Henry IS System Manager, SharePoint SME Micron Technology Inc.
An overview of windows server 2008 features Chapter 2.
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
SQL2005 Cluster Build. IP Request Request 6 IP Addresses – One for EACH SQL virtual server (2) – One for the cluster – One for Distributed Transaction.
ArcGIS Server for Administrators
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Module 4 Planning for Group Policy. Module Overview Planning Group Policy Application Planning Group Policy Processing Planning the Management of Group.
1 Chapter Overview Planning to Install SQL Server 2000 Deciding SQL Server 2000 Setup Configuration Options Running the SQL Server 2000 Setup Program Using.
System Center & SharePoint On- Prem Matija Blagus, Acceleratio
Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase Shannon Shields Chet Dobbins.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Let’s Get It Started Lori Edwards, SQL Sentry. Introduction  Sales Engineer for SQL Sentry since 2/2013  Previously – DBA since 2003  PASS volunteer.
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Defense In Depth: Minimizing the Risk of SQL Injection
SQL Server Management Strategies
SQLSaturday (Silicon Valley) – Mar
IT06 – HAVE YOUR OWN DYNAMICS NAV TEST ENVIRONMENT IN 90 MINUTES
Get the Most out of SQL Server Standard Edition
Greg Seidel Technology Specialist – SQL Server
Welcome to SharePoint Saturday Houston
Exam In The First Attempt?
Common SQL Server Mistakes and How to Avoid Them
Planning an Effective Upgrade from SQL Server 2008
VIDIZMO Deployment Options
An overview of windows server 2008 features
Deployment & Management with PSADK, SCCM & EM
Introduction of Week 3 Assignment Discussion
Re-Indexing - The quest of ultimate automation
What’s new in SQL Server 2016 Availability Groups
Migrating your SQL Server Instance
Use PowerShell & dbatools to Manage your SQL Server Environment
SQL Server performance tuning on Azure IaaS
SQL Server performance tuning on Azure IaaS
Microsoft Virtual Academy
SAP R/3 Installation on WIN NT-ORACLE
Jerald Overstreet, GISP Server Portal SQL Manager Admin
Use PowerShell & dbatools to Manage your SQL Server Environment
Service Template Creation from the Ground Up
Hitachi Storage Service Manager
Service Template Creation from the Ground Up
Samuel Kastberg Scripting a BizTalk Server installation
Presentation transcript:

Universal SQL Installations Framework (Script review and Demo) SQL Saturday, San Diego – Sep 19 2015 Prakash Heda Www.sqlfeatures.com

Email/Facebook/LinkedIN: Prakash@SQLfeatures.com MCDBA/MCITP Prakash Heda Database Team Lead at Advent Software Blog: www.SQLfeatures.com Twitter @PrakashHeda Email/Facebook/LinkedIN: Prakash@SQLfeatures.com MCDBA/MCITP Speaker Evaluation

Agenda Why Supported Configuration DEMO Part 1 Advance Preparation Script Review How to Execute Script DEMO Part 2

Why Consistency in ENVs Developers knows what to expect in DEV/QA/Stage/Prod Anyone in IT can deploy a new envs Smooth coordination between different IT departments Minimizing production issues Minimizing support hours Easy upgrades Optimal Setup for dedicated SQL Host Easy troubleshooting Minimize mundane tasks

Standard/Enterprise/Developer Supported Configuration Infrastructure Amazon AWS EC2 Windows Azure VMware Hyper-V Physical servers OS Versions Windows 2008 R2 Windows 2012 Windows 2012 R2 SQL Version SQL Server 2008 R2 SQL Server 2012 SQL Server 2014 Any Service Pack/Cumulative update/Hotfix Standard/Enterprise/Developer

Demo Application: SQERA Version 4 – Windows 2012 R2– SQL 2016 Enterprise Edition – CTP2.3 Version 3 – Windows 2012 R2– SQL 2014 Enterprise Edition – SP1CU2 Version 2 – Windows 2012– SQL 2012 Standard Edition – SP2CU7HF Version 1 – Windows 2008 R2– SQL 2008 R2 Standard Edition – SP2CU1

Demo How to Execute Script powershell \\W12R2HV\SQLSetup\Demo\InstallSQL\InstallSQL.ps1 <SQL Service startup account> #sqlfeatures\svcSQLfeatures <SQL Service startup account Password> #Tester1! <<Minimum 8 digit toupgh password>> <SA Password> #SAtemp2014 <Product Code> #SQERA_V2 <SQL Binary Top Location> #\\W12R2HV\SQLSetup\SQLBinaries\ (Optional) powershell \\W12R2HV\SQLSetup\Demo\InstallSQL\InstallSQL.ps1 sqlfeatures\svcSQLfeatures Tester1! SAtemp2014 SQERA_V2 "sqlfeatures\SQLDBA" Demo

Preparation: Windows Template Pick an OS Update OS with latest patches Dot Net 3.5 installed Add E drive with 50GB as thick Add F drive as 20GB for file stream – Optional (XML) Disable Automatic Windows update Grant PowerShell unrestricted and bypass rights Disable UAC Disable Internet

Preparation: Accounts Installation user account should have local admin access SQL service startup account should be a domain account Windows domain group represent DBA team should have SA And Local administrator access to SQL Server

Not using configuration files Preparation: SQL Slipstreaming SQL Server 2008 - R2 Service Pack: PCUSOURCE CU and Hotfix: CUSource SQL Server 2012/2014/2016 Cumulative updates: CU folder Not using configuration files

Preparation: SQL Binaries Folder

Preparation: Install.XML (Basic SQL Installation Template) Template detail Values Usage Id 51 Unique Number SQLVersion SQL2014 SQL Edition Product SQL_2014_ENT Unique Product Name SQLComponents SQLENGINE,REPLICATION,FULLTEXT,DQ,RS,RS_SHP,RS_SHPWFE ,DQC,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,MDS Features installed SQLBinaries SQL2014\Ent SQL Binary location RTM SP   SQL Binary location SP (only valid for SQL 208 R2) CU SQL2014\SPs\CU6_HF SQL Binary location for all patches INSTANCEDIR E:\SQLData SQL Instance Directory SQLUSERDBDIR SQL Data File Directory SQLUSERDBLOGDIR E:\SQLLogs SQL Log File Directory SQLTEMPDBDIR E:\MSSQL\SQLTempDBData SQL TempDB Data File Directory SQLTEMPDBLOGDIR E:\MSSQL\SQLTempDBLog SQL TempDB Log File Directory SQLBACKUPDIR E:\SQLBackup SQL Backup Directory FilestreamFolder E:\Filestream SQL File-Stream Directory CLTRESULTDIR E:\MSSQL\DRC\CLTRESULTDIR Replay load folder CLTWORKINGDIR E:\MSSQL\DRC\CLTWORKINGDIR INSTANCENAME MSSQLSERtVER Default Installation Collation Default SQL Server Collation DotNet4Location if DotNet 4.0 needed to be installed on DB server Note: Values in RED can be changed to suit a product requirement

Script Review: Pre SQL Steps Install Failover Cluster Install Telnet client Install Dot Net Framework Disable IE security Disable UAC Disable Firewall Disable IPV6 TempDB data files for each CPU (Max 4) Create folders based on XML configuration Grant Local Administrator access to SQL Startup account and DBA Group

Grant privileges Lock Pages in Memory Perform Volume Maintenance Tasks Script Review: Post SQL Steps (1) Grant privileges Lock Pages in Memory Perform Volume Maintenance Tasks Log on as a service Log on as a batch job

Validate Demo Setups Script Review: Post SQL Steps (2) Configure Min/Max Memory 4GB = 2.7 GB set for Min and Max RAM 8GB = 6.5 GB set for Min and Max RAM More than 8GB: keep 2GB for OS rest set for Min and Max RAM Creating additional TempDB data files based on CPU (Max 4) Grant sysadmin access to SQL Service startup account Grant sysadmin access to DBA group Enable backup compression Update MAXDOP to 4 Create SSPI entry Update windows patches again Validate Demo Setups

Q & A

Thank You Speaker Evaluation Script & Presentation DAC SQL Saturday, San Diego – Sep 19 2015 Blog: www.SQLfeatures.com Thank You For attending this session… Twitter @PrakashHeda Facebook/Email/LinkedIN: Prakash@SQLfeatures.com Speaker Evaluation Script & Presentation DAC