Geoff Varosky presented on automating enterprise application deployments with PowerShell. PowerShell allows automating environment and application deployments through scripting. It provides advantages like human-less deployments and repeatable processes. Examples of automation include farm configuration, service applications, and solution deployments. Documentation and shared functions help refine automated deployments over time.
Prepare to be surprised! In this talk, veteran CF troubleshooter and presenter Charlie Arehart will continue his tradition of identifying hidden gems, this time in CF 2016 (formerly known as CF12, or code-name, Raijin). Sure, we hear all about the big, new features, or some that wow certain developers (or disappoint others), but in every release of CF there are always lots of little things that go unheralded and that may be just what you've been waiting for or may delight you, and this is just as true in CF2016. Some may solve a long-standing problem for you, or provide a new technique, whether related to coding, troubleshooting, administration, enterprise integration, and more.
Prepare to be surprised! In this talk, veteran CF troubleshooter and presenter Charlie Arehart will continue his tradition of identifying hidden gems, this time in CF 2016 (formerly known as CF12, or code-name, Raijin). Sure, we hear all about the big, new features, or some that wow certain developers (or disappoint others), but in every release of CF there are always lots of little things that go unheralded and that may be just what you've been waiting for or may delight you, and this is just as true in CF2016. Some may solve a long-standing problem for you, or provide a new technique, whether related to coding, troubleshooting, administration, enterprise integration, and more.
Building Content-Rich Java Apps in the Cloud with the Alfresco APIJeff Potts
This presentation, originally delivered at JavaOne on October 2, 2012, talks about why you should use Alfresco instead of rolling your own content repository and discusses the new public Alfresco API for writing content apps that persist content to Alfresco in the Cloud.
Revised Adf security in a project centric environmentJean-Marc Desvaux
Presented for Oracle virtual Dev Day conference in 2011.
Check the full day agenda & on-demand sessions at:
http://www.oracle.com/technetwork/community/developer-day/virtual-dev-day-rea-369353.html
SharePoint 2010 Upgrade User Group and SharePoint SaturdayJoel Oleson
SharePoint 2010 drill down into the methods with guidance on features and solutions to help you get educated on the latest features of SharePoint 2007 to SharePoint 2010.
This is a webinar done with Acquia introdcing how well you can run Drupal on Windows with a demo about WebPI and Drush.
Here's a link to the recorded webinar:
http://tinyurl.com/6rfz3px
Alfresco Share provides a rich platform for further development, allowing you to tweak and customize to your heart’s content, using only lightweight scripting and templating. But with great power, comes great responsibility, as they say. So this session looks at what it means to customize Share, before discussing how best to go about it, with tips and tricks based on real-world examples.
Developer application lifecycle process and tools - v.5Ivan Sanders
Application life cycle process with SharePoint 2010
Tools and processes to manage life cycle of portals
the development tean
Update management
Solution versioning
Feature versioning
Building Content-Rich Java Apps in the Cloud with the Alfresco APIJeff Potts
This presentation, originally delivered at JavaOne on October 2, 2012, talks about why you should use Alfresco instead of rolling your own content repository and discusses the new public Alfresco API for writing content apps that persist content to Alfresco in the Cloud.
Revised Adf security in a project centric environmentJean-Marc Desvaux
Presented for Oracle virtual Dev Day conference in 2011.
Check the full day agenda & on-demand sessions at:
http://www.oracle.com/technetwork/community/developer-day/virtual-dev-day-rea-369353.html
SharePoint 2010 Upgrade User Group and SharePoint SaturdayJoel Oleson
SharePoint 2010 drill down into the methods with guidance on features and solutions to help you get educated on the latest features of SharePoint 2007 to SharePoint 2010.
This is a webinar done with Acquia introdcing how well you can run Drupal on Windows with a demo about WebPI and Drush.
Here's a link to the recorded webinar:
http://tinyurl.com/6rfz3px
Alfresco Share provides a rich platform for further development, allowing you to tweak and customize to your heart’s content, using only lightweight scripting and templating. But with great power, comes great responsibility, as they say. So this session looks at what it means to customize Share, before discussing how best to go about it, with tips and tricks based on real-world examples.
Developer application lifecycle process and tools - v.5Ivan Sanders
Application life cycle process with SharePoint 2010
Tools and processes to manage life cycle of portals
the development tean
Update management
Solution versioning
Feature versioning
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Mack Hardy
Mack Hardy, Dave Tarc, Damien Norris of Affinity Bridge presenting at Pacific Northwest Drupal Summit in Vancouver, October 5th, 2013. The presentation walks through management of releases, deployment strategies and build strategies with drupal features, git, and make files. Performance and caching is also covered, as well as specific tips and tricks for configuring apache and managing private files.
The webinar will include several demonstrations and discuss:
The pros and cons of the different approaches to installing and configuring SharePoint 2010
Configuration Best Practices for SharePoint 2010 farms
The Services Architecture; dependencies, licensing and topologies
Information Architecture guidance for sizing, multilingual support, multi-tenancy, etc.
Using tools such as SharePoint Composer & SharePoint Maestro to plan, document, install and configure a SharePoint 2010 deployment
Avoiding common pitfalls
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...Microsoft TechNet
This session will explore the new Windows Powershell v2.0 features and how to automate administrative tasks in Windows 7. We will examine the new Windows Powershell cmdlets and show you how to remotely manage desktop systems throughout the organization. Then we will use Windows Powershell with WMI to monitor and retrieve system status and execute changes. Finally, we will use Windows Powershell Group Policy Object cmdlets to automate management of Group Policy Objects and the configuration of registry-based settings.
Scaling PHP Applications with Zend PlatformShahar Evron
An overview of Zend Platform - Zend\'s enterprise grade runtime environment for PHP, and how it helps users scale their PHP applications. The presentation overviews the main features of Zend Platform: PHP Intelligence, Performance, Session Clustering and Job Queues.
PHP is a first class citizen on IIS. A lot has been done in order to make sure that PHP can work well and fast on Windows. We will start by installing PHP with PHP Manager and discussing all the options including what thread safe vs non thread safe and VC6 vs VC9 means. Next we'll take a look at how to optimize the FastCGI IIS extension that Microsoft and Zend developed to provide a secure and performant environment for PHP applications. The last part of this webcast will show how to build PHP with Profile Guided Optimizations (PGO), a technique that can provide a significant performance boost in a wide range of applications.
Similar to Automating Your Enterprise Application Deployments With PowerShell by Geoff Varosky - SPTechCon (20)
2. Geoff Varosky
Jornata
Managing Consultant, Senior Architect, Senior Developer, Director of
Evangelism
President & Co-Founder Boston Area SharePoint Users Group
Co-Organizer SharePoint Saturday Boston
Recent Awards
Top 25 2012 Harmon.ie Online Community Influencer
Top 50 2012 KnowledgeLake Community Influencer
Blog – www.SharePointYankee.com
Email – geoff@varosky.com
Twitter – @gvaro
5. Who is using SharePoint?
SharePoint Developers?
SharePoint Administrators?
Familiar with Scripting Languages? (bash, batch files, perl, vbscript)
Using PowerShell?
6.
7. Pros
“Almost” human-less deployments
Re-Deployment
Restoration
Documented and actionable deployment
Saves on knowledge transfer
Reduces the risks of human error
Repeatable process
8. Cons
Possible significant up-front time
Knowledge of PowerShell needed
Not managed code
Requires constant upkeep
9.
10. What is it?
More flexible, faster, extensible, and POWERful than STSADM
Scripting Language
Based on C#
Integrated with the .NET Framework
Load in DLLs
Provides full access to COM amd WMI
Not limited to JUST PowerShell
DOS commands (with UNIX-like aliases)
11. Cmdlets
PowerShell Commands
Can create your own
Standardized using a verb-noun convention
Eat-Cake
Drink-Beer
Live-Life
13. Aliases
Cmdlet DOS Alias Description
Get-Location pwd gl Current directory
Set-Location cd, chdir sl Change current directory
Copy-Item copy cpi Copy file/directory
Remove-Item del ri Remove file/directory
Move-Item move mi Move a file/directory
New-Item - ni New a file/directory/object
Clear-Item - cli Clear contents of file
Get-Content type gc Read file contents to output
Set-Content - sc Set file contents
Format-Table - ft Formats output
14. SharePoint Management Shell
Loaded with SharePoint 2010/2013
Automatically Loads Microsoft.SharePoint.PowerShell Snap In
531 cmdlets
18. AutoSPInstaller
Deploy single or multi-server farms from one script
XML-based configuration
Re-launches with Elevated Privs to deal with User Access Control
Automatically download and install platform pre-requisites
Can be done in offline mode
Install both SharePoint and Office Web Apps using config files
ULS Logging path
IIS Configuration
PDF iFilter Installation
19. AutoSPInstaller
Remote installation into other servers into the farm
Forefront installation and configuration
Logging of all installation
Easily re-start if a failure occurs
Easily slipstream installations (service pack 1, CUs, etc.)
Create web applications, site collections
New WFE or App Server? Wash, Rinse, Repeat.
New web application or service application? Wash, Rinse, Repeat.
20. Configure Service Applications
User Profile Service Application
User Profile Synchronization Service
Metadata Service Application
SharePoint Foundation User Code Service
State Service Application
Usage and Health Service Application
Secure Store Service
Enterprise Search Service Application
Web Analytics Service Application
Business Data Connectivity Service Application
Excel Service Application
Access Service Application
21. Configure Service Applications
PerformancePoint Service Application
Visio Graphics Service Application
Word Automation (Conversion) Service Application
Word Viewing Service Application
Excel Service Application (if not already provisioned by virtue of having an Enterprise
license)
Not PowerPivot
Overly complex install
23. Maintenance
Any configurable change needs to be updated
If versioned, provides an evolution of your farm
Ensures
24.
25.
26. Why deploy applications in PowerShell?
Developers can pass installations to administrators
Replicable through environment deployments
DEV TEST PROD
27. What can be automated?
Farm Configuration
Service application configuration
Search scopes
Managed Metadata
Web application configuration
Upload limits
Permission policies
Solution Deployment
EXE and MSI deployments
28. Anatomy
Deployment Master Script
Variables
Initiates Logging
Step-By-Step Deployment
Directions and Documentation
Shared Functions File
Updates not to be done across scripts
Managed by platform team
Steps
29.
30. Documentation
Provide overall Guidelines
Basic usage, functionality
Naming of scripts
How scripts are used
How to use basic functions
How to run steps
31. Documentation
Function Reference
Copy of Functions script
33. Handle all configuration via XML file variables
Export steps to their own scripts
Manage entirely through SharePoint Lists
Additional steps can be scripted/approved through workflow?
Host documentation and example scripts in SharePoint, allow
alerts for file changes
34. What is COM?
http://en.wikipedia.org/wiki/Component_Object_Model
What is WMI?
http://en.wikipedia.org/wiki/Windows_Management_Instrumentation
PowerShell for SharePoint References
2010: http://go.gvaro.net/XgmYCk
2013: http://go.gvaro.net/YBLtGW
Cmdlet Index
2010: http://go.gvaro.net/WHh5wD
2013: http://go.gvaro.net/151DGaX
35. Windows PowerShell for SharePoint Command Builder
http://go.gvaro.net/WS4s3u
Gary Lapointe’s PowerShell cmdlets
http://go.gvaro.net/YirJau
AutoSPInstaller
http://autospinstaller.codeplex.com
39. Geoff Varosky
Jornata
Managing Consultant, Senior Architect, Senior Developer, Director of
Evangelism
President & Co-Founder Boston Area SharePoint Users Group
Co-Organizer SharePoint Saturday Boston
Recent Awards
Top 25 2012 Harmon.ie Online Community Influencer
Top 50 2012 KnowledgeLake Community Influencer
Blog – www.SharePointYankee.com
Email – geoff@varosky.com
Twitter – @gvaro
Editor's Notes
Wonderful family, wife, 2 kids, love camping, hiking, backpacking, snowshoeing, and I’m also a stand-up comedian, and I love a good 80’s themed party.
Upkeep – all code requires this.
Component Object ModelWindows Management InstrumentationUnlike VBScript, it is a way for interacting with .NET objects