Automated Cache Server Installation (Velocity)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The Microsoft project code named "Velocity" installation program supports automated installation in addition to its graphical user interface (GUI). With automated installation, deployment of your multi-server distributed cache system can proceed at an optimal pace.
Automated installation also lets you take advantage of other administrative automation that you may already have in your IT infrastructure.
When you use automated installation, all the same rules apply as when you use the GUI. The security identity that invokes the automated installation requires the same permissions that are needed when using the GUI. For more information, see Cache Server Installation (Velocity).
Note
When using the /quiet
switch for a "silent" installation, errors encountered during the installation are not reported to the console. Instead, errors are written to a file named Install.log, located in the installation folder.
Installation Sequence Considerations
The "Velocity" installation program must edit the cluster configuration settings during the installation. If your cluster configuration settings are stored in a shared network folder, there is the possibility of contention on the ClusterConfig.sdf file during parallel cache server installations. For this reason, we recommend that you sequence your cache server installations one at a time when using a shared network folder for cluster configuration settings. For more information, see Shared Folder-Based Cluster Configuration (Velocity).
SQL Server excels at concurrent connections, and the possibility of contention on the cluster configuration settings is much less when storing your cluster configuration settings in a SQL Server database. If you plan on performing parallel installations of cache servers, we recommend that you use SQL Server for your cluster configuration storage location. For more information, see SQL Server-Based Cluster Configuration (Velocity).
Automated Installation Commands
To invoke the automated installation, call the "Velocity" installation program from the command prompt with the desired command-line parameters, as appropriate for your deployment. The command-line parameters for automated installation are similar to the options available when using the GUI.
Note
On Microsoft Windows Vista and Microsoft Windows Server 2008 operating systems, you must right-click the Command Prompt shortcut and select Run as administrator in order for the automated installation to work correctly.
Installation Parameters
The installation program uses the /i
switch to signify an installation and the /quiet
switch to signify that it should be done in an automated fashion. There are several required and optional parameters for the installation command, as shown in the table following the example. The command is used the same way for both versions of the installation program (for 32-bit and 64-bit operating systems).
MicrosoftDistributedCache-i386.exe /i [options] /quiet
Note
Parameters must be capitalized.
Option | Mandatory | Description |
---|---|---|
|
No |
Specifies the type of cluster configuration storage location. Use the default value, |
|
Yes |
Specifies the path to the shared network folder or the SQL Server connection string. For example, |
|
Yes |
Specifies the name of the cache cluster to be created or to be joined. |
|
Yes |
The approximate size of the cluster. Possible values are |
|
Yes |
Automatically create a Windows Firewall exception for the cache host Windows service; |
|
Yes |
Automatically create a Windows Firewall exception for Windows File and Printer Sharing; |
|
Yes |
Automatically create a Windows Firewall exception for Remote Administration; |
|
No |
The cache port number. Default value used is 22233. For more information, see TCP/IP Communications (Velocity). |
|
No |
The cluster port number. Default value used is 22234. Note that the arbitration port number used by the cache server will also be one greater than the cluster port. For more information, see TCP/IP Communications (Velocity). |
|
No |
The maximum allowable memory on the cache server used for storing data, in units of MB. The default value is 50% of the computer memory. |
|
No |
The path of the installation folder. By default, the |
Uninstallation Parameters
The installation program uses the /x
switch to signify an uninstallation and the /quiet
switch to signify that it should be done in an automated fashion. There are several required parameters for the uninstallation command, as shown in the table following the example. The command is used the same way for both versions of the installation program (for 32-bit and 64-bit operating systems).
MicrosoftDistributedCache-i386.exe /x [options] /quiet
Note
Parameters must be capitalized.
Option | Mandatory | Description |
---|---|---|
|
Yes |
Automatically remove the Windows Firewall exception for the cache host Windows service; |
|
Yes |
Automatically remove the Windows Firewall exception for Windows File and Printer Sharing; |
|
Yes |
Automatically remove the Windows Firewall exception for Remote Administration; |
|
Yes |
Automatically remove the permissions on the cluster configuration storage location that had been granted to the cache host service which enabled reading and editing of the cluster configuration settings; |
Repair Parameters
The installation program uses the /f
switch to signify a repair and the /quiet
switch to signify that it should be done in an automated fashion. There are several optional parameters for the repair command, as shown in the table following the example. The command is used the same way for both versions of the installation program (for 32-bit and 64-bit operating systems).
MicrosoftDistributedCache-i386.exe /f [p][d][c][a][u][m][s] /quiet
Option | Description |
---|---|
|
Reinstalls only if the file is missing. |
|
Reinstalls if the file is missing or a different version is installed. |
|
Reinstalls if the file is missing or the stored checksum does not match the calculated value. |
|
Forces all files to be reinstalled. |
|
Rewrites all required user-specific registry entries. |
|
Rewrites all required computer-specific registry entries. |
|
Overwrites all existing shortcuts. |
Note
The GUI-based repair command uses the p
, m
, and s
options.
See Also
Tasks
How to: Install for the First Time (Velocity)
How to: Install an Additional Cache Server (Velocity)
How to: Uninstall a Cache Server (Velocity)
How to: Prepare a SQL Server Database for Cluster Configuration Settings (Velocity)
How to: Prepare a Shared Network Folder for Cluster Configuration Settings (Velocity)
Concepts
TCP/IP Communications (Velocity)
Installing Cache Client Assemblies (Velocity)
Cluster Configuration Storage Options (Velocity)
Shared Folder-Based Cluster Configuration (Velocity)
SQL Server-Based Cluster Configuration (Velocity)
Cache Administration with PowerShell (Velocity)