David Kennedy’s Tech Ramblings

Just another WordPress.com weblog

Server AppFabric Beta 2 Configuration March 2, 2010

Filed under: AppFabric,Cache,Dublin,Velocity — dotnetdave @ 1:21 am

Following the installation as outlined in my previous blog post, I find myself presented with the following configuration wizard:

image

In my case I wish to investigate the monitoring capability of AppFabric so I’m going to check to set the monitoring configuration, with a SqlClient as the monitoring provider. I filled the configure form and confirmed the change as follows:

image image

If you had installed caching with the Beta 1 installation you may receive the following message as I did:

image

To accommodate any schema changes, I used osql to drop and recreate the empty ApplicationServerExtensions database:

image

If you dropped and recreated the database in the previous step, you may receive warnings similar to the following:

image Close this configure form by clicking ‘Cancel’.

After selecting the ‘sqlStoreProvider’ for persistence, click ‘Configure’ to access its settings. Complete this in the same manner as for monitoring. In my case I received the following warning:

image 

After closing the persistence configuration form, click ‘Next’ to start the services and progress to the caching service configuration. Under Caching Service Configuration I selected to store the cache configuration in XML, though you may choose to store it in a SQL Server as an alternative. Create a network share and enter it on the form:

image

In the following ‘Cache Node’ step, customise port settings if desired. I accepted the defaults and checked to add firewall exceptions before clicking ‘Next’ to proceed:

image image

At this point the configuration is complete. In my case it seems that the management commandlets have not been installed and are unavailable. In the meantime, by starting the ‘AppFabric Caching Service’ we can see that the distributed caching service is now up and running on our configured ports.

M:\>nmap -p 22233-22236 saudev99 -P0

Starting Nmap 5.21 ( http://nmap.org ) at
Time
Nmap scan report for saudev99 (10.1.6.166)
Host is up (0.0094s latency).
PORT      STATE SERVICE
22233/tcp open  unknown
22234/tcp open  unknown
22235/tcp open  unknown
22236/tcp open  unknown
MAC Address: 00:0C:29:D0:D7:7B (VMware)

 

Now I need to get the powershell console working for this as well. It seems that the Beta 2 equivalent of the Microsoft.Data.Caching.Commands snap-in has not been installed. By referencing Beta 1 I identified that this namespace is defined within the AdminPS.dll assembly, which does not seem to exist in the Beta 2 installation. I’ll have a crack at using the Beta 1 assembly with Beta 2 for the powershell commandlets once I source this DLL from the older installer.

 

In my next post I’ll be making use of the cache from within .NET applications/

Advertisements
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s