• Anonymous
  • Login
  • Register
AgentController

Owners Thomas Lindberg Project Creation Mar 5, 2013
Contributors - Last Release Mar 5, 2013
Downloads 49Download latest release
Rating
(0 ratings)
Description How to control where agents run


This database can control whre agents run i a clustered environment.

In agent settings you can specify which server the agent runs on, but if server is down ? What to do.

I have made a database that can control this.

Here is how it works.

Put the database on the server, and create a document for each agent you want to control.
in here you set the agent, and which server you would like it to run on.

The external database lookup is used to find the agent controler database in lib.dmc.agent. Feel free to change it to how you want to connect to the database.

Then simply set the agent properties so that the agents run on all servers, and make sure that the following code is in your agent:

Use “lib.dmc.agent”

Dim session As New NotesSession
Dim agent As NotesAgent
Set agent = session.Currentagent
If determineRunServer(agent.Name, session.Currentdatabase.Server) Then
‘Start running agent – write en agentlog or other to specify where you run, or whatever you like
Else
‘Exit agent
Exit Sub
End If

The when the agent runs, it will ask the agent controler database if it should run or not.

There is also a function to change the “run” server for all the agents that run on one server.

Its not a 100 % finished, but it works, and i hope somebody can get some use of it.



Projects can have short and readable URLs, e.g. http://mobilecontrols.openntf.org.

You can request a short URL to your project by sending a mail to support at openntf dot org.
Owners are the people with maximal rights. For example they can create releases and add more contributors.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
Enter the contributors or owners here who you want to receive notifications and questions by email.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
In addition to the owners additional OpenNTF contributors have to be listed here. Contributors don't have the same access rights as owners, e.g. they cannot create releases.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
Enter a short description of the project here (up to 100 characters).

The short description shows up in the project UI and in some of the views.
In this field you should enter a more detailed description of your project.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.
A Catalog Release is for projects that are production ready and that are end-user "install friendly".

This property describes whether any release of this project has been added to the catalog.

Learn more about the catalog.
GitHub can be used as source control repository for OpenNTF projects. In this case the Issues from GitHub are used instead of the Defects from OpenNTF.

Contact ip-manager@openntf if you want to have a GitHub project created in the OpenNTF space.

Learn more about OpenNTF on GitHub