How to handle Jobs in CS2008 on multiple web servers environment?

rated by 0 users
This post has 5 Replies | 2 Followers

Top 500 Contributor
Posts 77
Points 1,100
intelac Posted: Mon, Aug 4 2008 11:32 PM

Hi There,

Our community server of CS2.1 is running on network load balancing with 2 web front end servers. currently we used Community Server Jobs Service (windows services) to handle those jobs that are needed to be run only on single server.

I would like to know is there a need to specially handle jobs in CS2008 which will be using 2 or more web servers? If so, where can I obtain this CS jobs service for CS2008? Please help! 

Thanks!!!

  • | Post Points: 20
Top 10 Contributor
Male
Posts 2,364
Points 15,695
MVPs
Dave replied on Tue, Aug 5 2008 3:11 AM

The Jobs Service is in the Enterprise Search package in CS2008

  • | Post Points: 20
Top 500 Contributor
Posts 77
Points 1,100
intelac replied on Tue, Aug 5 2008 7:02 PM

Hi Dave,

Thanks a lot for your answer. 

I downloaded the Enterprise Search installation file (cs_es_4_0_30417.zip), after unzip it, I still not sure how to setup and configure that for Jobs, can you point me to any document or instruction guide for how to setup the job for multiple web servers environment?

I am not very sure how to do that by looking at information provided in the installation.  I need to know which config files need to be changed for which jobs to be removed from CS web to enterprise job Service?  

I appreciate your help a lot!!

  • | Post Points: 20
Top 10 Contributor
Male
Posts 2,364
Points 15,695
MVPs
Dave replied on Wed, Aug 6 2008 8:49 AM

Here's a copy of the readme

 

Congratulations the installation process has completed for the Telligent Tasks Service and Community Servers Enterprise Search.  There are a few remaining items you must do manually before Enterprise Search will be ready to use on your site.

For an updated version of this document, see the instructions online at:
http://communityserver.org/r.ashx?N


1.    Ensure your license file is installed in CS.  Enterprise Search requires a Professional, Enterprise, or Enterprise Search specific Community Server license.

http://communityserver.org/r.ashx?O

2.    Ensure your web site is running under Full Trust (Lucene currently is configured to use the windows temp folder to place its lock files, this requires the web application to be running under full trust)..  Edit the web.config and edit the trust line to read:

    <trust level="Full" />

3.    Copy the following files from the root of your web site to the Telligent.Tasks.EnterpriseSearch installation folder.

communityserver.config
siteurls.config
connectionstrings.config
the “Languages” folder and all of its contents

4.    Edit the communityserver_override.config file in the Telligent.Tasks.Enterprise search folder.

You will need to specify a folder for the search index to use for its files. (The ASPNET worker process will need read permissions to this folder, the account that the Tasks Service is running under will need full control) (It may be possible to configure your site to run under medium trust, if the folder you specify is "under" the root folder of your web site)

You will need to ensure the <sites> block information is correct.  The application name needs to be the same as the one you provided when you created the CS community (dev is the default, and would be the application name if you used the MSI to install your site).  Further you need to specify the URL that your users will be using to access your site, ES requires this to build the correct virtual paths to posts.

5.    Copy the communityserver_override.config into the root of your web site (next to the existing communityserver.config file)


6.    Copy the 4 Enterprise Search dlls into the web\bin folder (copy the following files from the Telligent.Tasks.EnterpriseSearch folder)

CommunityServer.EnterpriseSearch.Components.DLL
CommunityServer.EnterpriseSearch.DLL
Lucene.Net.DLL
Highlighter.Net.DLL

7.    Reset the indexing flag on your existing posts.  (run the following SQL script against your community server database)

(this step is only necessary if you are converting a site from SearchBarrel, if you are upgrading an existing Enterprise Search site you can skip this step)

UPDATE cs_Posts set IsIndexed = 0

8.    Start the windows service manually or reboot (the service is set to auto start, a reboot is not required for installation) From the command prompt run

NET START "Telligent Tasks Service"

If this is a new Enterprise Search installation, in about 5 minutes, you should start to see files in the Index folder location you specified in step 4; and you should start to see search results on your site.  If you are updating an existing Enterprise Search installation, you should have search results right away.

If your membership database is not in the same database as community server, you will need to edit the "connectionStringName" property of the membership, rolemanager, and profile sections of the Telligent.Tasks.Console.exe.config file and the Telligent.Tasks.Service.exe.config files in the Telligent.Tasks.EnterpriseSearch installation folder.

  • | Post Points: 20
Top 500 Contributor
Posts 77
Points 1,100
intelac replied on Sun, Aug 17 2008 9:13 PM

Hi Dave,

My Jobs seems not running, and I saw error in tasks_errors.log saying that the Enterprise search (ES) license is not found(see Error below).  I am pretty sure I have ES license and I saw ES license is enabled under the licensing of my community server 2008 (see below license installed list under the cs2008 manage lisence). but not sure why it is always throwing this issue. please help!

Tasks_Errors.log:
2008-08-18 09:30:13,727 [3280] ERROR [] - Exception while running job ES.SearchJob of type CommunityServer.Enterprise.Search.SearchJob
Exception: CommunityServer.Components.CSException
Message: The license for Enterprise Search was not found.  This is most likely caused by an out of date Telligent.Registration.dll.
Source: CommunityServer.EnterpriseSearch.Components
   at CommunityServer.EnterpriseSearch.Components.Licensing.HasEnterpriseSearchLicense()
   at CommunityServer.EnterpriseSearch.Components.Licensing.ValidateEnterpriseSearchLicense()
   at CommunityServer.Enterprise.Search.SearchJob.Execute(XmlNode node)
   at Telligent.Tasks.Task.?()

License installed:

Expires Friday, February 27, 2009

  • Edition: Enterprise
  • Branding Restrictions: No
  • Unique Communities: 3
  • Number of Blogs: Unlimited
  • Number of Forums: Unlimited
  • Number of Galleries: Unlimited
  • Number of Files (for CS 2007 compatibility): Unlimited
  • Number of Mirrored Feeds: Unlimited
  • Enabled Components: EnterpriseSearch, Reporting, IPBanning, Points
  • Number of Groups: Unlimited

Regards,

YL

  • | Post Points: 20
Top 75 Contributor
Posts 295
Points 2,765
Anders V. replied on Tue, Oct 28 2008 7:05 AM

We are experiencing the exact same error message "The license for Enterprise Search was not found..."

Any news on how to resolve this?

Thanks.

  • | Post Points: 5
Page 1 of 1 (6 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com