Preparing Your Computer for Installation
• Operating System Windows 7, Windows Server 2003 R2 Standard
• Visual Studio 2010 Ultimate
• Team Foundation Server
• MS SQL Server 2008 R2
• Internet Information Services (IIS) 7.5 with Hotfix #980423
• Microsoft .Net Framework 4.0
• Download the Windows Server AppFabric 6.1 @ http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=15848
• Recommended update for AppFabric at http://msdn.microsoft.com/en-us / windowsserver/ff637504.aspx.
Install Critical Windows Updates
Before installing Windows Server AppFabric or its prerequisites, use the following procedures to install the latest critical Microsoft updates for your version of Windows, and any available recommended update.
Versions of Windows supported in this release are Windows 7, Windows Server 2008 Service Pack 2, and Windows Server 2008 R2. For production scenarios, only Windows Server 2008 SP2 and Windows Server 2008 R2 are supported. For development scenarios, Windows 7 and Windows Vista SP2 are also supported.
• Install Windows Updates
• Click Start, point to All Programs, and then click Windows Update.
• Follow the directions on the Windows Update site.
• If prompted, restart your computer.
• Install Hotfixes
Important
For the latest list of recommended updates for Windows Server AppFabric and its dependencies, see Recommended Updates for Windows Server AppFabric (http://go.microsoft.com/fwlink/?LinkID=185864).
KB980423
You must install KB980423 to fix a set of AppFabric issues caused by Microsoft Web Administration (MWA). After you install this item, you may have to restart your computer.
• KB980423 (http://go.microsoft.com/fwlink/?LinkID=185864)
Note
KB980423 includes KB970773, which is a critical update for IIS Manager in IIS 7.0.
1. Install Windows Server AppFabric
Use the following procedure to install Windows Server AppFabric. You can use the procedures in this topic whether you are starting installation for the first time or adding or removing features after an initial installation. The installation program provides the following functionality:
• Enables you to select specific features to install.
• Validates the platform to ensure that the product is not installed in an unsupported state, and indicates which prerequisites need to be installed.
• Installs AppFabric.
• Enables you to remove specific AppFabric features or AppFabric as a whole, ensuring that the computer can be left in a state in which the features or AppFabric can be reinstalled.
• Creates the AppFabric Event Collector service, the AppFabric Workflow Management service, and the AppFabric Caching Service. Sets the services to a startup type of manual and a status of stopped. In the configuration process, the Event Collector and Workflow Management services are changed to an automatic startup type and are started. The startup type for the Caching Service remains set to manual.
The AppFabric setup program sets configuration settings in the root (server level) Web.config file, the machine.config file, and the applicationHost.config file.
For information about configuration, see Configure Windows Server AppFabric. You can configure AppFabric either immediately after installation, or in a separate process.
To open the installation wizard
1. Open the installation wizard for initial installation by downloading and running the appropriate setup program from Windows Server AppFabric (http://go.microsoft.com/fwlink/?LinkID=183123), as shown in the following table.
These programs all run a Microsoft Update package to install AppFabric features, which are features of Windows.
Platform | Setup package |
Windows Vista and Windows Server 2008 x64 | WindowsServerAppFabricSetup_x64_6.0.exe |
Windows 7 and Windows Server 2008 R2 x64 | WindowsServerAppFabricSetup_x64_6.1.exe |
Windows Vista and Windows Server 2008 x86 | WindowsServerAppFabricSetup_x86_6.0.exe |
Windows 7 x86 | WindowsServerAppFabricSetup_x86_6.1.exe |
2. Proceed to the next section of this topic to install AppFabric
To install AppFabric
1. 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.
2. 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. Click the Yes, download and install critical updates. button to install the latest critical updates for Windows Server AppFabric as part of the AppFabric setup experience.
3. On the Feature Selection page, select Hosting Services, Caching Services, Cache Client, Hosting Administration and Cache Administration components then click Next.
4. On the Platform Validation page, review the information and download any necessary prerequisite software. Click the link for a component or a configuration issue for more information. After installing components and/or resolving issues, click Refresh to verify that the problem has been fixed and then click Next to continue with the setup wizard. For more information, see Preparing Your Computer for Installation.
5. The Confirm Installation Selections page will display a list of the features that were selected in the Feature Selection page, and will be installed. It displays a list of the required Windows components and the AppFabric features that will be installed. Verify that the lists are correct, and then click Install to begin installation.
Note
The Application Server role is required for AppFabric. This role will be included in the list of the required Windows components even if it is already installed, and the installation wizard will verify that it has been installed.
6. On the Installation Progress page, you can monitor the progress of the installation.
7. On the Installation Results page, verify that the installation has succeeded.
To display a list of recommended updates that you can install, click the Recommended Updates link. To run the configuration wizard, select the Launch configuration tool check box, and then click Finish to complete the installation wizard. Click Detailed Installation report to display a log of setup events.
Start Configuration of Windows Server AppFabric
1. Open the AppFabric Configuration Wizard after performing the AppFabric Setup Wizard by selecting the Launch configuration tool check box on the Installation Results page of the setup wizard, and then clicking Finish to complete the setup wizard.
2. You can also open the configuration wizard by clicking Start, clicking All Programs, clicking Windows Server AppFabric, and then clicking Configure AppFabric.
3. On the Before You Begin page, select Yes to participate in the Customer Experience Improvement program, or No not to participate, and then click Next. The Configure Hosting Services page will be displayed. Proceed to the next section of this topic.
Configure Monitoring
On the Configure Hosting Services page, use the tables below to configure monitoring, and then click Next.
Note
If Hosting Administration is installed, but Hosting Services is not installed, then the services for the AppFabric Event Collection service and the Workflow Management service are not installed, and the text boxes for the identities of the services will display “Service not installed”.
If you clicked Configure for the SQL monitoring provider (System.Data.SqlClient) on the Configure Hosting Services page, the Configure SQL Monitoring Store dialog box will be displayed. The following table describes the controls in this dialog box. Use this table to configure the monitoring store, and then click OK to return to the Configure Hosting Services page. Verify that the store was initialized and registered successfully
After setting the monitoring configuration, proceed to the next section of this topic if you want to set persistence configuration. Otherwise, click Next to display the Configure Caching Service page, and proceed to the “Configure Caching Service” section of this topic. Configure Caching Service On the Configure Caching Service page, use the tables below to configure the Caching Service, and then click Next. A pop-up message will be displayed indicating that this action will apply the Caching Service configuration. To continue, click Yes. When you do so, the configuration settings will be made in the Caching Service configuration file. The Configure Cache Node page will then be displayed. Note This page will be displayed only if you selected at least one of the Caching Services features on the Feature Selection page of the installation wizard (Caching Service, Cache Client, or Cache Administration). |
If you selected SQL Server AppFabric Caching Service Configuration Store Provider in the Caching Service configuration provider drop-down list and click Configure, the Windows Server AppFabric Caching Configuration Store dialog box will be displayed. Use the tables below to configure the SQL store, and then click Next. Note When you click OK in the Windows Server AppFabric Caching Configuration Store dialog box, the distributed cache database will be created, and a pop-up message with the results of the operation will be displayed. Note Security configuration settings do not need to be made on this page because Windows authentication is required. Caching does not support SQL authentication.
When you click Next with the Configure Caching Service page displayed, the Configure AppFabric Cache Node page will be displayed. Use the tables below to configure the cache node ports and Windows firewall. Note This page will be displayed only if you selected at least one of the Caching Services features on the Feature Selection page. You can set the firewall exceptions only if the Windows Firewall service is enabled. Note If the Windows Firewall is disabled, the Windows firewall exceptions area of the Configure AppFabric Cache Node dialog box will be disabled.
|
Note
After you click Next on the Configure AppFabric Cache Node page, the Configure Application page will be displayed if the AppFabric hosting features are installed.
Complete Configuration of Windows Server AppFabric
On the Configure Application page, select Start Internet Information Services (IIS) Manager to configure an application in the IIS Manager. Click Finish to close the configuration wizard.
Note
After the AppFabric Configuration Wizard has successfully configured the Caching Service, you will need to use administration cmdlets to start the cluster or start individual hosts in the cluster. Use the Start-CacheCluster or Start-CacheHost cmdlet. For more information about these cmdlets, see Cache Administration with Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=193181).
After you click Next on the Configure AppFabric Cache Node page, the Configure Application page will be displayed if the AppFabric hosting features are installed.
Complete Configuration of Windows Server AppFabric
On the Configure Application page, select Start Internet Information Services (IIS) Manager to configure an application in the IIS Manager. Click Finish to close the configuration wizard.
Note
After the AppFabric Configuration Wizard has successfully configured the Caching Service, you will need to use administration cmdlets to start the cluster or start individual hosts in the cluster. Use the Start-CacheCluster or Start-CacheHost cmdlet. For more information about these cmdlets, see Cache Administration with Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=193181).
Start Cache Host Services for the First Time
After installation for the first time, you will need to start the cache cluster. Configure at least one node in the cluster, and then execute a cmdlet to start the cluster.
In the developer scenario (using a single-node cluster), to start a new cluster execute Use-CacheCluster (to set the context of your Windows PowerShell session to a particular cache cluster) and then execute Start-CacheCluster.
In a multiple-node cluster, to start all cache host services in the cluster (lead hosts first), execute Start-CacheCluster. For additional cache hosts (and any other cluster-level configuration changes) to be acknowledged by the cache cluster, you need to restart all cache host services with Restart-CacheCluster. To start a specific cache host service, execute Start-CacheHost.
For more information, see Cache Administration with Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=193181).
Create AppFabric Cache
To create the AppFabric Cache follow the below steps:
a. Open the Power Shell by clicking Start, clicking All Programs, clicking Windows Server AppFabric, and then clicking Caching Administration Windows PowerShell.
b. Run the following command to create the cache.
c. get-command -module DistributedCacheAdministration
d. Start-CacheCluster
e. New-Cache -CacheName [CacheName]–Expirable false
f. Restart-CacheCluster
g. Get-CacheStatistics [CacheName]
h. Get-Cache
Host a Services in AppFabric and Configure the IIS with AppFabric
To configure the IIS with AppFabric follow the below steps:
1. Open the IIS Manager to configure the AppFabric
2. Right click on Default Web Site, click on Manage WCF and WF Services and then Select Configure as shown in Figure 9.1.1.
Figure 9.1.1
- Now Click on Monitoring from Configure WCF and WF for Site Window as shown below in Figure 9.1.2.
Figure 9.1.2
- Check the Check box “Write events to database”, Select the appropriate Connection string for AppFabric Monitoring database, set the Level to “End to End Monitoring” and then click on Apply button as shown in Figure 9.1.3.
Figure. 9.1.3.
- Finally, click on Ok button to close the windows.
Now, your IIS is configured with the AppFabric Monitoring.
To configure the service with AppFabric follow the below steps:
To configure the service with AppFabric follow the below steps:
- Open the IIS Manager to configure the AppFabric
- Right click on Discovery, click on Manage WCF and WF Services and then Select Configure as shown in Figure 9.2.1.
Figure. 9.2.1
- Now Click on Monitoring from Configure WCF and WF for Site Window as shown in Figure 9.2.2.
Figure. 9.2.2
- Check the Check box “Write events to database”, Select the appropriate Connection string for AppFabric Monitoring database, set the Level to “End to End Monitoring” and then click on Apply button as shown in Figure 9.2.3.
Figure. 9.2.3
- Now select Auto-Start tab to enable the Auto-Start option as shown in Figure 9.2.4.
Figure. 9.2.4
- Finally, click on Ok button to close the windows.







No comments:
Post a Comment