How can we help you today? How can we help you today?

Redgate DLM Automation + Infrastructure as Code

I'm working on setting up both an Azure Resource Manager Template and an AWS Cloud Formation Template.  In a nutshell, I want to spin up and down servers in the cloud on demand.  Part of the process is it installs DLM automation for deployments.  I got that all working, but it is very slow.  Averaging 25 minutes to deploy the Azure Resource Manager Template, 20 of those minutes is spent downloading and installing Redgate.

I'm relying on Chocolatey to install the toolbelt, but it has to install all the tools (Source Control, Data Compare, Backup, ReadyRoll, Prompt).  

My questions are:

1) Is there a command line switch to just install DLM Automation from SQLToolbelt.exe?  I've seen this, but it is quite involved...https://documentation.red-gate.com/xx/installing/installing-from-the-msi-file?_ga=2.218791193.107997273.1528210291-1912877438.1528210291
2) If not, is there a way to just download the installer for DLM Automation?  
bob_walker
0

Comments

2 comments

  • David E
    Hi Bob,

    In DLM Automation 2.1 we introduced the ability to install the DLMA Powershell cmdlets via the Powershell Gallery. This should provide a much easier way of installing DLM Automation for scenarios such as the one you have described above.

    It is possible to install the module for the current user by calling the following code. This makes use of the PowerShellGet functionality built into PowerShell 5.
    Install-Module DLMAutomation

    The Powershell Gallery listing for DLM Automation can be found here
    David E
    0
  • bob_walker
    Hi David, thank you for the tip.  That worked but it took a lot more time than I was thinking it would.  My bootstrap script actually timed out after an hour.  I'm trying a different approach where I put the files on Azure Storage Account using the File Service feature.  The bootstrap script will map that as a network drive and do what it needs to do from there.

    But knowing this module is available is great for other scenarios.  So again, thank you for the tip.
    bob_walker
    0

Add comment

Please sign in to leave a comment.