Agent vs Integration Server in Sterling Order Management System
Agent Vs Integration Server : Processes that run in the background to perform various tasks.
Even though both servers performs background activities has below differences
AGENT SERVER | INTEGRATION SERVER |
---|---|
The process that runs the time-triggered transactions is known as an agent server. | An Integration Server is a process that manages asynchronous services, such as messages to and from external systems. |
Multi-thread : Supported | Multi-thread : Supported |
Multiple instances : Support | Multiple instances : Support |
Can run multiple time triggered transaction: Yes | Configured via Service Definition Framework |
How to create Agent Server in Sterling Order Management System ?
- Go under any time triggered transaction
- Click the green color + symbol under “Agent Criteria Definition”section
- Enter Server name and click save
How to create Integration Server in Sterling Order Management System ?
- Go under “Service Definitions” create new service
- Drag and drop JMS or file component
- Connect the component with any other component (For example email or export_db)
- Click on the connector as shown in below image
- Go under server tab
- Click the green color + symbol
- Enter Server name and click save
How to find server is Agent Server or Integration Server ?
This information is available in yfs_server table. We can find using below query.
select server_type from yfs_server where servername=’?’;
Server type :
- 00 – Integration Server
- 01 – Agent Server
Time-triggered transactions
A time-triggered transaction is a program that performs a variety of individual functions, automatically and at specific time intervals. It is not triggered by conditions, events, or user input.
- Automatically : Schedule Trigger message every N minutes (Configuration under time triggered transaction)
- Manually: Trigger from $U process; triggeragent.sh <Criteria Name>
Three types of time-triggered transactions
- Business process transactions – responsible for processing day-to-day transactions. Example RELEASE.0001
- Monitors – watch and send alerts for processing delays and exceptions. Example ORDER_MONITOR_EX
- Purges – clear out data that may be discarded after having been processed. Example SUPPLYTEMPPRG
Good question. That task_q entry decision is made by pipeline transaction configuration. This configuration available under transactions Others tab. Look for This transaction is task based checkbox. if this checkbox selected an entry will be made to yfs_task_q table. For example
Create order next transaction is schedule order. Schedule order has “This transaction is task based” enabled. So during order creation when order moved to created status system finds what is next transaction and if the transaction enabled for task_q. if yes entry made into yfs_tak_q table.
Hope this helps. if not clear please write to us. Thanks
yantra/yfsadmin/agenttrigger.jsp
OMS Log File Locations
Development server log files all reside on vldvoms01.lifetouch.net but the paths vary by environment.
- Foundation/logs/
OMS3 MC log files can be found on the following servers in the Foundation/logs/ directory. OMS3 QA log files can be found on the following servers in the Foundation/logs/ directory. OMS3 Prod log files can be found on the following servers in the /Foundation/logs/ directory.
Agent Trigger
Yantra agents trigger themselves on a regular basis. However, if you need to trigger an agent immediately, the following web page will let you select an agent and trigger it.
OMS Agent Server Descriptions
"Agent Servers" are java processes that contain one or more process "Agents" that move work through the Sterling framework. Note that "Agent Servers" are commonly referred to as "Agents" for short. They are a core part of Spectrum OMS.
OMS Agent Server 'HOW TO' Instructions for Starting / Monitoring
Agents are multi-threaded, stand-alone processes that process work within the Sterling Commerce framework. Integration Servers are a special class of Agents that are used to send and receive messages from other applications.
Use the Sterling System Management Console to view the list of currently running agents. To open the management console, login to OMS / Spectrum, select the "System" menu, and then select the "Sterling System Management Console" sub-menu.
Once the management console is open, select the "Tools" menu and then the "View Live Agents / Integration Servers" sub-menu. In addition to viewing the live Integration Servers, you can stop or suspend the servers from the console. Use "./stopagents.sh stop" to stop the agents.
If you need to start an Agent / Integration Server in TEST or SIT, cat the content of the /bin/startServer.sh file. Find the agent line that you need and copy/paste the line in your ssh session.