Editing an adapter or viewing the log  Editing an agent server

Chapter 12: Using Enterprise Portal Agents

Using agent servers

Agents run on agent servers. When you install and start Web Studio, the default agent server is created by the portal. All agents run on the default agent server unless you assign them to a different agent server.

Every onepage deployed WAR file (the portal) has an agent server thread running when it starts up. If you set up a cluster of onepage Web applications and want an agent to run on only one of the server machines (for example, maybe the database connection or file system only exist on one machine), then you can assign that server an ID in the global.properties.xml portal configuration file. When you restart the server and Web Studio, the portal creates the agent server reference, which a user can then select for a specific agent.

You can also create the agent server reference using the following procedure. When you want the agent server to run, you must take the assigned ID and set it in global.properties.xml on the machine that would host the agent server; for example:

<Property name="AgentServerID" value="211"
description="Default Agent Server ID" menugroup="10"/>

StepsCreating new agent servers

  1. Select Automate | Servers.

  2. Select the New icon from the toolbar. You see the Agent Server Editor.

  3. Complete these fields:

  4. Click Save As to save the new agent server. A dialog box prompts you for the agent server’s name.

  5. Enter a name for the agent server and click OK.

  6. Click Close to exit the Agent Server Editor.





Copyright © 2004. Sybase Inc. All rights reserved. Editing an agent server

View this book as PDF