This article will guide you through the process of creating more than one instance of Microsoft project code named "Velocity" (henceforth referred to as "Velocity" for the remainder of the article) on one standalone machine. All such instances created on this machine can form a cluster (or multiple clusters), just like it were installed on different machines.
Currently "Velocity" runs as a 32 bit process (even on 64 bit OS) with address space limited to 2GB. So, by creating multiple instances of "Velocity" you will be able to leverage the capabilities of a machine with lot of memory and CPU power.
By default "Velocity" will be installed in "%Program Files%\Microsoft Distributed Cache". This directory contains
The “default” installer that we ship can only install one instance of "Velocity" on a given node. In order to install multiple instances, follow these steps.
[Each "Velocity" instance is referred to as a cache host which is actually a windows service. We will create multiple "Velocity" windows services and add them to the "Velocity" cluster.]
<?xml version="1.0" encoding="utf-8"?><configuration> <configSections> <section name="dcacheConfig" type="System.Data.Caching.LocalConfigReaderWriter, CacheBaseLibrary, Culture=neutral, PublicKeyToken=null" allowLocation="true" allowDefinition="Everywhere" /> </configSections> <dcacheConfig clusterName="MyCluster" hostName="IMDBSTRS01" cacheHostName="DCacheHost2"> <config location="C:\ConfigStore\MyCluster" /> <log location="C:\Cluster\Microsoft Distributed Cache Instance-2\logs" /> </dcacheConfig></configuration>
<hosts> <host name="IMDBSTRS01" hostId="1552752876" quorumHost="True" cacheHostName="DistributedCacheService" cachePort="22233" clusterPort="22234" size="2048" lowWaterMark="70" highWaterMark="90" /> <host name="IMDBSTRS01" hostId="1552752877" quorumHost="False" cacheHostName="DCacheHost2" cachePort="22333" clusterPort="22334" size="2048" lowWaterMark="70" highWaterMark="90" /> <host name="IMDBSTRS01" hostId="1552752878" quorumHost="False" cacheHostName="DCacheHost3" cachePort="22433" clusterPort="22434" size="2048" lowWaterMark="70" highWaterMark="90" /></hosts>
Your 3 node cluster is now up and running! Happy Testing!!!
Sudhir Jorwekar, Arun K S(Microsoft project code named "Velocity" Team)