Difference between revisions of "OS4X Core polling files"

From OS4X
Jump to navigation Jump to search
Line 36: Line 36:
  
 
=== deleting poll queue item ===
 
=== deleting poll queue item ===
By clicking on the "''delete''" icon [[Image:Delete.gif]] you will be asked to confirm the deletion of the entry.
+
By clicking on the "''delete''" icon [[Image:delete.png]] you will be asked to confirm the deletion of the entry.
  
 
[[Image:Delete pollqueue entry.png]]
 
[[Image:Delete pollqueue entry.png]]
  
 
After confirming, the entry will be removed. Active poll transfers are not affected.
 
After confirming, the entry will be removed. Active poll transfers are not affected.

Revision as of 13:03, 1 May 2012

Polling in general

"Polling" is the task of connecting to a defined partner by opening an OFTP session via the configured media (ISDN, TCP/IP or TCP/IP (TLS secured) in order to switch the order of "master-slave". If the partner supports this feature, he may send files or other OFTP messages (like EERP or NERP) during this session.

Polling partner via web interface

Click on the "poll" icon File:Connect.gif refering to the partner entry in the partner list. The binary "os4xpoll" will be called with the appropriate parameters.

Polling via commandline

You may use the program "os4xpoll" to do the poll manually. The online help assists you how to use this program, the return codes may help for analysis of the task.

Using the poll queue

The poll queue is an automated system using the OS4X 2 Core send queue daemon to do the task of cyclic polls.

Keep in mind that for each poll an active OFTP transmission will be done by your system, so if you use i.e. ISDN lines, you pay for every established call!

The OS4X poll queue is highly configurable doing polls. The configuration is done via web interface.

Displaying poll queue

On the left-hand menu, click on the "Poll queue" link. The following overview will be displayed:

Poll queue.png

The name of the parner entry is a link to its edit page.

inserting new poll queue item

In order to insert a new entry, click on the "Add" button File:Add.png. The following form will be shown:

Insert pollqueue entry.png

The partner shortname pulldown list containt a list of all defined partners. The row "run every" defined in which intervals the poll should be executed. These polls will be started by the send queue daemon after each defined interval, but only after a defined time slice of the dameon. So, if you define a time slice for the send queue daemon of 60 seconds and configure a poll queue entry for each 10 seconds, a poll will be executed every 60 seconds.

An alternative SFID value can be ommitted for partner's SFID authorisation (which is mainly used in France).

The configurable server ID defines on which OS4X cluster server the process will be run. In a non-cluster environment, don't touch this value.

After submitting the form, the new send queue entry is inserted.

deleting poll queue item

By clicking on the "delete" icon File:Delete.png you will be asked to confirm the deletion of the entry.

Delete pollqueue entry.png

After confirming, the entry will be removed. Active poll transfers are not affected.