The Task Server

The Task Server is used to perform operations which for any reason cannot be done by the system which hosts Deltanji. Example uses of the task server include:

  • Users connect to Deltanji on a Unix system and need to move files on a Windows system.
  • Users need to manage code on a different Caché/M implementation from the one they are connected to.
  • Users manage code which needs to be compiled under a different Caché version from the one they are connected to.

The Task Server can run on any machine which has an Caché/M networking connection to the machine which the users are connected to. Most commonly, the users connect to the Deltanji server and the task server runs on another machine. In some cases the users connect to another machine and the task server runs on the Deltanji server. Sometimes users may connect to either machine and so a task server runs on both.

The task server is an Caché/M background job. It monitors the global ^%gjtask for tasks to be done. It then switches namespace to the place where the task is to be performed.

The physical location addresses must be defined using the remote address syntax.

Starting and Stopping a Task Server

To start a task server, run this command in the home namespace of the task server (typically DELTANJI-LOCAL or VCM-LOCAL):

do fast1^%vczn

To stop a task server:

do fast0^%vczn

See Also: Multi-server configurations