CloudM Migrate Command Line Install

CloudM Migrate can be installed from the command line, with and without user interaction.  To view the help and available options run the installer with the -h switch.  For example

C:\Install> CloudM-Migrate-<version>.exe -h

To install CloudM Migrate with no interaction, you can use the -q switch, and you should also specify several installer properties:

Note that elevated permissions or UAC (User Access Control) are required to run the installation command non-interactively with the -q flag.
CONNECTIONSTRING=<value> (Full connection string required)
USEEXISTINGSQL=<true/false> (Default false)
INSTALLMASTER=<true/false> (Default true)
INSTALLSLAVE=<true/false> (Default true)
INSTALLWEBAPP=<true/false> (Default true)
INSTALLDESKTOP=<true/false> (Default true) 
LAUNCHWEBAPP=<true/false> (Default false) 
MAXUSERSPERSLAVE=<value> (Default 10)
ADMINEMAIL=<value> (Email address of user to create as web client admin)
ADMINPASSWORD=<value> (Password to create for the web client admin)

So, the full command line using an existing SQL Server would look like:

C:\Install> CloudM-Migrate-<version>.exe -q LAUNCHWEBAPP=true USEEXISTINGSQL=true INSTALLMASTER=true INSTALLSLAVE=true MAXUSERSPERSLAVE=10 INSTALLWEBAPP=true INSTALLDESKTOP=true ADMINEMAIL=test@youremailaddresshere.com ADMINPASSWORD=MyPassword CONNECTIONSTRING="Data Source=CTS-MASTER\SQLEXPRESS;User Id=PoweredBy;Password=MyPassword;DataBase=PoweredBy;Connection Timeout=60"

Where -q will allow it to run in quiet mode.

If a CONNECTIONSTRING value is specified then the USEEXISTINGSQL value is automatically ignored and set as TRUE. 

Upgrading

Run an upgrade from the commmand line in the same way you would perform an install. The installer will detect any existing install and make modifications to it.

Was this article helpful?
1 out of 2 found this helpful