Solr installs with SIF

Last time out I was looking at scripting installs of Solr using plain old PowerShell. Since the Sitecore world is getting to grips with a new PowerShell based install approach with the Sitecore Install Framework (SIF), it seemed like a sensible idea to try porting my ideas to SIF so see how that would work… Continue reading

Advertisements

Low-effort Solr installs

I’m sure I’ve said before that any task you have to do more than once is worth automating. Well recently I’ve found myself needing to install Solr in a variety of places – so obviously my mind turned to automation. There are lots of ways this can be approached, and some people have already had a go at it for their own needs, but here’s my take. Continue reading

Development environments with PowerShell DSC – Part 5

So, finally, we’ve got the prerequisites (Windows, Mongo, SQL) out of the way, we can get to installing Sitecore in this post. There are a load of ways of going about this, but my usual choice is automating the Sitecore .exe installer. Doing this via DSC gives you the basis of an installation which can be used across all your platforms. The process below is based on the approach I’ve used with ordinary PowerShell in the past, but adapted for DSC: Continue reading

Development environments with PowerShell DSC – Part 4

After MongoDB last week, next on my list of stuff we might want to automate in our dev environments is SQL Server. There’s a good story around automating installs here, as Microsoft have supported this for some time. And there’s also a good story around installing it via DSC. I’ve taken most of my inspiration from this blog post, and pulled it into the install framework I’ve been working on. Thanks to Colin Dembovsky for his work here – as there wasn’t that much that I found I needed to change to get everything working for me. Continue reading

Development environments with PowerShell DSC – Part 2

I kicked off this series last week with a look at what PowerShell DSC is. This week I’m going to look at scripts you can use for basic configuration of Windows itself for a hypothetical development environment. I’ll cover basic Windows features, a few issues you might encounter and helpful tweaks like being able to disable IE’s “enhanced security” mode if you’re working on a server. Continue reading

Development environments with PowerShell DSC – Part 1

I’ve written before about approaches to automating the install of Sitecore instances via PowerShell, but recently I’ve been working upgrading this process to set up entire servers. As part of this research I’ve been working on how to move the scripting over to PowerShell Desired State Configuration – Microsoft’s framework for automating the configuration of servers. Having got to a position where the scripts are working and I can turn a plain copy of Windows Server into a functioning Sitecore box, I thought I’d shared an explanation of the tools and how it can be used for Sitecore development environments.

I’m going to break this up into a series of posts, as it’s quite a big topic. This week is a bit of an introduction to DSC and my goals for it: Continue reading