Redwood Documentation

Product Documentation

 

›Process Servers

RunMyJobsProcess Servers and Queues

Process Servers

  • Using Process Servers
  • Creating a Process Server
  • Configuring a Process Server
  • Raising Events with Files
  • Creating a Monitoring Platform Agent
  • Monitoring External Systems with Platform Agents
  • Visualizing Process Server - Queue Relationships
  • Files
  • Values for Creating a Process Server
  • Process Server Parameters

Queues

  • Using Queues
  • Creating a Queue
  • Using Queues to Administer Process Execution
  • Using Resources to distribute the load
← Using Process ServersConfiguring a Process Server →

Creating a Process Server

A Process server is used to schedule, control, and execute your processes.

A process server:

  • Provides resources.
  • Accepts processes from a queue via a queue provider.
  • Has services that execute processes.
  • Can represent a remote system, for example an SAP system or a UNIX server.

Services

A service executes processes, and creates files. A service can be started and stopped independently of other services. When a process server is stopped, all services are stopped. When a process server is started, all of its services are also started. Most services are related to definition types; when you assign a definition type to a process server, the required service is automatically assigned to the process server.

In some circumstances, you might want to assign a service but no definition type to a process server, for example, when the process server is only used for file events.

Process servers are part of the Environment section in the navigation bar. The following standard process servers are provided with Redwood Server:

Worker Queues

By default, a process server has 100 worker queues, which means that it can execute 100 concurrent processes (processes running in parallel). You can set the maximum number of worker queues using the registry:

/configuration/requestQueueSize/<process_server_partition>/<process_server>/<service>

You set the maximum workers for the ScriptService (RedwoodScript) to 20, for the ProcessServer named 'PS_TEST' which is in the GLOBAL partition as follows:

/configuration/requestQueueSize/GLOBAL/PS_TEST/ScriptService=20

Forced Process Server

You force a process to run on a specific process server by using the <job>.setForcedProcessServer(<process_server>) RedwoodScript method. This is used in pre-running actions and triggers, for example, to force a chain process to run on the same host as another chain process in a Chain. You can recognize chain processes that have been forced to run on a given process server in the processes monitor by the Forced Process Server property which is set to the name of the process server.

Context-Menu

Process servers support the following context-menu actions:

ActionDescription
StartStart the process server
StopStop the process server
Edit SecurityEdit the security of the process server
DuplicateMake a copy of the process server to create a similar one
DeleteDelete the process server
Monitor related ChainsOpens the monitor with a filter displaying chains related to the current process server
Get Support FilesAllows you to retrieve files for troubleshooting purposes; such as process server logs, chain logs, operator messages
Export > ExportExport the process server into a CAR file
Export > Export with related objectsExport the process server into a CAR file including referenced objects
Promote > Promote to systemPromote the object to a remote system
Promote > Edit further then promoteEdit the export rule set prior to promoting
PromotePromote the process server to another Redwood Server instance
EditEdit the process server
Show permalinksShow links that can be used from third party applications to link to the object
Add to navigation barAdd the current object to the navigation bar
Expand AllExpand all process servers in the current filter
NewCreate a new process server
Show DiagramDisplays the Process Server diagram in a new tab
Filter > New FilterCreate a new process server filter
Filter > Edit FilterEdit current process server filter
Filter > DeleteDelete current process server filter
Filter > Duplicate FilterCreate a copy of the filter
Filter > Export FilterExport the filter into a CAR file
Filter > Add to navigation barAdd the filter to a navigation bar
Filter > Create filter from searchCreate a filter from the current IntelliSearch query

It is not possible to delete a process server when it is in status Running. You must first stop the process server.

Process server parameters have two values, a Current value that is being used by the process server right now and a Desired value, which is the one that will be used after a restart of the process server. These will be different if you edit the parameters on a running process server but do not restart it. The Desired value reflects this change and makes it clear that a change has been made, but is not yet being used. Before you restart a process server in a production environment, it is recommended to check the Desired values of the parameters.

Errors and Operator Messages

Process servers raise operator messages in the central 'Operator Messages' system when they encounter warnings and errors. You should check the operator message log if a process server appears not to be behaving correctly, after changing a process server (or the related SAP System), or if a process server does not start.

Deleting Process Servers

You can only delete process servers when no other objects relate to them. For example, if there are still chains that ran on the process server, then it cannot be deleted until all chains have been deleted. You can see all chains that relate to the process server in the Related Objects in the lower detail pane and on the show page.

Finding Process Servers

You can search for process servers using filters and the Search Process Servers box on the Process Servers tab. This box is known as the IntelliSearch box and located under your username on the top right-hand side of the user interface. Filters allow you to specify a list of objects with static criteria. IntelliSearch allows you to specify complex queries in a simple way using prefixes. Prefixes are used to specify which property you are searching in and have short as well as long syntaxes. For example, if you want to display all process servers with the term process server in the comment, you would use the search criteria as follows:

c:process server

You can search more than one property, as follows:

c:process server n:JV
note

No spaces should be entered before or after the colon (:).

See the Advanced Object Search for more information.

The following table illustrates the available prefixes for process servers:

PrefixesDescription
n, namesearches the name property
c, commentsearches the documentation property
d, descriptionsearches the description property
a, applicationsearches the application property
psIdsearch for process server by UniqueId
cb, changedbefore(internal) search for process servers that changed before a certain ISO-8601 period

Security

PrivilegeDescription
ProcessServer.CreateCreate process servers
ProcessServer.DeleteDelete process servers
ProcessServer.EditEdit process servers
ProcessServer.ViewAccess process servers
ProcessServer.ViewJobsView the processes in the process server
ProcessServer.Controlopen and close the process server
ProcessServer.UseForFileEventsUse the process server for file event processes
ProcessServer.SubmitOntoSubmit processes onto the process server

You can grant privileges on two levels, Access and Admin; a privilege granted on Admin level allows the grantee to grant the privilege to other users. These privileges can be granted per partition or system-wide.

The Security tab allows you to specify which users can access, edit, and delete the process server.

  • Granting and Revoking System Privileges
  • Granting or Revoking Object Privileges

Overriding Process Server Default Values

You can override process server parameter default values globally by setting the following registry entry:

/configuration/ProcessServerParameters/<name>

The <name> is the name of the process server parameter. Note that this registry entry only affects default values; if you add the process server parameter to the process server, then that value will have precedence over the value of this registry entry.

Only the scheduler-isolation-administrator can create/edit these registry entries.

Procedure

  1. Choose "Environment > Process Servers".
  2. Choose New Process Server.
  3. Select the appropriate type.
  4. Fill in the details, refer to the Values section below.
  5. Choose Save and Close.

Values

More information about the various tabs of the process server editor is available in the Values for Creating a Process Server section of the documentation.

Example

  1. Choose "Environment > Process Servers".
  2. Choose New Process Server, select Manual Setup, and fill the data below into the corresponding fields on the tabs.
  3. Choose Save & Close to save the new process server and close the edit window.

ProcessServer Tab

Name: Main_SystemServer
Default Time Zone: Europe/Berlin
Application: [none]
Description: Process server for the main system.

Documentation Tab

Documentation: Process server for the main system.

Parameters Tab

Name: RootDirectory
Value: /opt/redwood/data

Services Tab

Service: JobChainService
Desired Status: Running
Service: SystemService
Desired Status: Running

Providers Tab

Queue: System
Held: unchecked
Execution size:
Inclusive: unchecked
Hold level:
Hold Above CPU Load:
Hold Above Page Rate:
Time Window: [none]

Resources Tab

None

Definition Types Tab

JOBCHAIN
SYSTEM

See Also

  • Using the Wizard to Create Process Servers
  • Process Server Parameters
  • Process Server Services
  • Privileges Required to use Process Servers
  • Configuring a Process Server
  • Process Server Parameters
  • Controlling Process Servers with RedwoodScript

ProcessServer

← Using Process ServersConfiguring a Process Server →
  • Worker Queues
    • Forced Process Server
    • Context-Menu
    • Errors and Operator Messages
    • Deleting Process Servers
  • Finding Process Servers
    • Security
  • Overriding Process Server Default Values
  • Procedure
    • Values
  • Example
    • ProcessServer Tab
    • Documentation Tab
    • Parameters Tab
    • Services Tab
    • Providers Tab
    • Resources Tab
    • Definition Types Tab
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |