Install and configure Windows Server appfabric

Source: Internet
Author: User

I. Installation

Download the installer from the following link:
1.0 -- http://www.microsoft.com/zh-cn/download/details.aspx? Id = 15848
1.1 -- http://www.microsoft.com/zh-cn/download/details.aspx? Id = 27115
Note that you should not blindly select a high version. You must select a proper version based on the server or other versions. Otherwise, the installation will fail.

Ii. Configuration

After the installation is successful, you can start the configuration tool from the Start menu to configure: Start> All Programs> Windows Server appfabric> Configure appfabric.

After the configuration is complete, start powershell to check whether the configuration is correct: Start> All Programs> Windows Server appfabric> Cache Management windows powershell. You can run the following two commands in the powershell window:

Get-CacheGet-CacheClusterHealth

If no exception information is displayed, the configuration is correct. Otherwise, refer to the following "Troubleshooting ".

Iii. Problem Solving

If the appfabric configuration is incorrect, run the following command in powershell in the appfabric environment:

Get-cachehostconfig-hostname $ ENV: computername-cacheport 22233

This command should provide the cachehost information of the current server. If this command runs abnormally, You need to manually create a cache-cluster. The creation procedure can be found on the following webpage:

Http://msdn.microsoft.com/en-us/library/ff921027.aspx

The preceding page contains some sample scripts. If the script execution is abnormal, check whether the firewall has enabled these TCP ports: 22233,222 34, 22235, and 22236.

If the cache runs normally, you can run the following two commands to re-Add the distributed cache service instance:

1 Remove-SPDistributedCacheServiceInstance2 Add-SPDistributedCacheServiceInstance

If an exception occurs, run the following command:

Restart-CacheCluster

If an error occurs, run the following command:

Export-CacheClusterConfig -File d:\clusterconfig.xmlStop-CacheClusterImport-CacheClusterConfig -File d:\clusterconfig.xmlStart-CacheCluster

For more information about the above commands, see:
Http://msdn.microsoft.com/en-us/library/dd923ac6-efc3-4f9a-ba07-c6c00d2c993b (V = azure.10) # bkmk_cache_settings

Run the following two commands to check whether the service works properly:

Get-Cache displays the following information: cachename [host] regions default or: cachename [host] Regions --- ----- default distributedaccesscache _ <guid> distributedactivityfeedcache _ <guid> distributedactivityfeedlmtcache _ <guid>

And

Get-cacheclusterhealth displays the following information:
Cluster health statistics ==================== hostname = <FQDN of servername> --------- namedcache = distributedactivityfeedcache _ <guid> healthy = 100.00 underreconfiguration = 0.00 notprimary = 0.00 inadequatesecondaries = 0.00 throttled = 0.00

Namedcache = distributedlogontokencache _ <guid>
Healthy = 100.00.
Underreconfiguration = 0.00
Notprimary= 0.00
Inadequatesecondaries = 0.00
Throttleds = 0.00

Reference: http://blogs.dawnworld.org/2013/01/10/distrubited-cache-in-sharepoint-2013/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.