Setting Up AppFabric Caching Services in a Workgroup Environment
This topic describes the steps that you should take to install and configure the Microsoft AppFabric 1.1 for Windows Server Caching Services feature on computers in a workgroup test environment.
To install and configure the AppFabric Caching Services feature on the first computer in the workgroup
Go to the Microsoft Download Center (https://go.microsoft.com/fwlink/?LinkID=183123). Download the appropriate setup download package: WindowsServerAppFabricSetup_amd64_6.1.exe for 64-bit Windows 7 or WindowsServerAppFabricSetup_x86_6.1.exe for 32-bit Windows 7.
Note
If you have already installed Hosting Services, you can click Start, point to All Programs, click Microsoft AppFabric 1.1 for Windows Server, and then click Add or remove Features.
Note
If you have already installed Hosting Services, the installation wizard will skip the first two steps.
On the Accept License Terms page, read the license terms, and then accept the terms and click Next to continue, or do not accept the terms and then exit the setup wizard.
On the Customer Experience Improvement Program page, select Yes to participate in the Customer Experience Improvement program, or No not to participate, and then click Next.
If you have already installed Hosting Services, click Add Features and then click Next.
On the Feature Selection page, select Caching Services, Cache Client, and Cache Administration, and then click Next.
On the Confirm Installation Selections page, confirm the components and features to be installed, and then click Install.
On the Installation Results page of the configuration wizard, click Finish with the Launch configuration tool box check box not selected.
Click Start, click All Programs, click Microsoft AppFabric 1.1 for Windows Server, and then press SHIFT and right-click Configure AppFabric. Click Run as a different user. Enter MyWorkgroup\MyCachingAdmin and the password, and then click OK.
Note
You must run the configuration wizard with the MyCachingAdmin account with administrator privileges so you can change the Caching Service account.
On the Before You Begin page and then on the Configure Hosting Services page, click Next.
On the Configure Caching Service page, select Set Caching Service configuration.
For Caching Service account, click Change. Click Custom account, click Browse, select the MyCachingUser account, click OK, enter the password, and then click OK.
Note
This account must exist on all computers participating in the cluster and use the same password for the account on all computers.
In the Caching Service configuration provider box, select XML.
In the File Share box, enter the computer name and share name for the file share that you created in the “Preparing Workgroup Computers for Installing AppFabric ” topic for the XML file that will store caching configuration information. The path and name must be in the UNC format, i.e., \\<computer name>\<share name>. On this first computer that will contain the share, you can browse to it.
Keep the default settings of New cluster selected and Cluster size set to Small (1-5 Machines). Click Next.
On the Configure AppFabric Cache Node page, keep the default port settings, and select the Microsoft AppFabric 1.1 for Windows Server: AppFabric Caching Service and Remote Service Management firewall exceptions. Click Next and then Yes.
On the Configure Application page, click Finish.
Open the Windows PowerShell console with the ApplicationServer module by clicking Start, clicking Control Panel, clicking Administrative Tools, and then double-clicking Windows PowerShell Modules.
To start the cache cluster, execute the
Use-CacheCluster
cmdlet to determine the cluster that this computer can administer, and then execute theStart-CacheCluster
cmdlet.
To install and configure the AppFabric Caching Services feature on subsequent computers in the workgroup
Go to the Microsoft Download Center (https://go.microsoft.com/fwlink/?LinkID=183123). Download the appropriate setup download package: WindowsServerAppFabricSetup_amd64_6.1.exe for 64-bit Windows 7 or WindowsServerAppFabricSetup_x86_6.1.exe for 32-bit Windows 7.
Note
If you have already installed Hosting Services, you can click Start, point to All Programs, click Microsoft AppFabric 1.1 for Windows Server, and then click Add or remove Features.
Note
If you have already installed Hosting Services, the installation wizard will skip the first two steps.
On the Accept License Terms page, read the license terms, and then accept the terms and click Next to continue, or do not accept the terms and then exit the setup wizard.
On the Customer Experience Improvement Program page, select Yes to participate in the Customer Experience Improvement program, or No not to participate, and then click Next.
If you have already installed Hosting Services, click Add Features and then click Next.
On the Feature Selection page, select Caching Services, Cache Client, and Cache Administration, and then click Next.
On the Confirm Installation Selections page, confirm the components and features to be installed, and then click Install.
On the Installation Results page of the configuration wizard, click Finish with the Launch configuration tool box check box not selected.
Click Start, click All Programs, click Microsoft AppFabric 1.1 for Windows Server, and then press SHIFT and right-click Configure AppFabric. Click Run as administrator. Enter MyWorkgroup\MyCachingAdmin and the password, and then click OK.
Note
You must run the configuration wizard with the MyCachingAdmin account with administrator privileges so you can change the Caching Service account.
On the Before You Begin page and then on the Configure Hosting Services page, click Next.
On the Use-CacheCluster page, select Set Caching Service configuration.
For Caching Service account, click Change, click Custom account, click Browse, select the MyCachingUser account, and then click OK.
Note
This account must exist on all computers participating in the cluster and use the same password for the account on all computers.
In the Caching Service configuration provider box, select XML.
In the File Share box, enter the computer name and share name for the file share created for the XML file that will store caching configuration information on the first computer added to the workgroup. The path and name must be in the UNC format, i.e., \\<computer name>\<share name>.
Select Join cluster, and then select the cluster. Click Next.
On the Configure AppFabric Cache Node page, keep the default port settings, and select the Microsoft AppFabric 1.1 for Windows Server: AppFabric Caching Service and Remote Service Management firewall exceptions. Click Next and then Yes.
On the Configure Application page, click Finish.
To start the cache cluster, execute the
Use-CacheCluster
cmdlet to determine the cluster that this computer can administer, and then execute theStart-CacheCluster
cmdlet.
2012-09-12