Presentation is loading. Please wait.

Presentation is loading. Please wait.

Deployment & Management with PSADK, SCCM & EM

Similar presentations


Presentation on theme: "Deployment & Management with PSADK, SCCM & EM"— Presentation transcript:

1 Deployment & Management with PSADK, SCCM & EM
SQL Server Deployment & Management with PSADK, SCCM & EM

2 WHY i started the project
Start with WHY WHY i started the project For automated testing, my team needed an automated SQL Server installation I didn‘t want to click through the wizard every time i install SQL Server for a customer An installation procedure which let customize everything as input parameter could be useful for an integration in a client-management solution I thought it could be a cool solution for the community and could show how to build bridges between Client- and Servermanagement Get rich ;-) !!!

3 Then EXPLAIN YOUR IDEA The masterplan Reading the technet article about automating the installation of SQL Server Use Powershell (Powershell Appdeployment Toolkit/ PSADK) to build the cmdline parameters Defined everything as Powershell input parameter to be flexible Create a presentation

4 The features of the script (Features and Database Engine)
WHAT I HAVE DONE The features of the script (Features and Database Engine) Feature Management with switch parameter SQLEngine, Replication, Fulltext, Backward Comp., Books Online, Connectivity, Basic/Advanced Tools Update Installation during Setup Instance Management Detect existing Instances during Installation / Uninstallation Switch to enable SQL Security

5 The features of the script (Settings)
WHAT I HAVE DONE The features of the script (Settings) Check given collation against delivered csv file Auto Fallback for Sysadmins to Local Account in case of no value or SYSTEM Modify account settings and start-behavior of Agent, Service and Browser Modify path settings for Instance, Data, Backup, TempDB, TempDBLog, UserDB and UserDBLog

6 The features of the script (Several additional Options)
WHAT I HAVE DONE The features of the script (Several additional Options) Advanced logging (thanks to PSADK) Auto-Install of .NET Framework 3.5 Advanced error handling (Example: If component is already installed, script will finish with „success“ Register every Installation to registry

7 Tested on... / Tested with... Windows Server 2012 R2
WHAT I HAVE DONE Tested on... / Tested with... Windows Server 2012 R2 Windows Server 2016 Windows 10 Enterprise SQL Server 2014 SQL Server 2016 SQL Server 2017

8 Examples / How to use WHAT I HAVE DONE
# Installation of SQL Server with windows authentication and use of locally logged in user as administrator Deploy-Application.exe -DeploymentType Install -FeatureSQL -InstanceName "Test01a„ # Simple installation of SQL Server with SQL Server Security Mode and defined Sysadmin account Deploy-Application.exe -DeploymentType Install -FeatureSQL -InstanceName "Test02b" -SqlSecurityMode -SAPassword "Coffee2Go" -SysAdmins "perfectbeer\app_sql_admins„ # Simple installation of SQL Server with TCP enabled, defined Sysadmin account and service autostart Deploy-Application.exe -DeploymentType Install -FeatureSQL -InstanceName "Test03c" -TCP -Collation SQL_Latin1_General_CP1_CI_AS -ServiceStartType Automatic

9 How the script is working
Integration in SCCM Optional: Improve functionality with „Enterprise Manager for SCCM“


Download ppt "Deployment & Management with PSADK, SCCM & EM"

Similar presentations


Ads by Google