Redwood Documentation

Product Documentation

 

›UNIX Agents

RunMyJobsPlatform Agents

External Platforms

  • Connecting Redwood Server to External Platforms

Credentials

  • Storing Credentials
  • Credential Protocols

Platform Process Servers

  • On-site Platform Process Servers
  • Cloud Platform Agents
  • Using the Wizard to Create Process Servers
  • Configuring Platform Agents
  • Spool Host Agents
  • The Environment of Platform Agent OS Processes
  • Processing Platform Processes
  • Process Server Services
  • Configuring Agentless Process Servers
  • Automatically Updating Platform Agents
  • Enabling TLS
  • Creating Monitoring Checks
  • Configuring Load Balancing on Platform Agents
  • Platform Agent Registry Entries
  • Monitoring Servers with Platform Process Servers

UNIX Agents

  • UNIX Process Servers
  • UNIX Process Server Configuration Data
  • File Events on UNIX
  • Creating UNIX Process Servers (Advanced)
  • Choosing a User Switching Security Mode
  • Controlling Unix Platform Agents
  • Uninstalling Redwood Server Platform Agents from UNIX

Windows Agents

  • Creating a Microsoft Windows Process Server
  • File Events on Microsoft Windows Process Servers
  • Configuration of a Microsoft Windows Process Server
  • Managed Services
  • Configuring Platform Agents on Microsoft Windows
  • Automating Windows tasks that require a desktop window
  • Uninstalling Redwood Server from Microsoft Windows

Agent Definition Types

  • Using the BASH Definition Type
  • Using the KSH Definition Type
  • Using the CSH Definition Type
  • Using the Perl Definition Type
  • Using the Python Definition Type
  • Using the PowerShell Definition Type
  • Using the Visual Basic Script Definition Type
  • Using the CMD Definition Type
  • Using the R Process Definition Type
  • Using the DCL Definition Type
  • Using Platform Definition Types
  • Using the OS Native Definition Type
  • Microsoft Windows Definition Types
  • Using the SQLPLUS Definition Type
  • Using the FTP Definition Type
  • Using the Groovy Definition Type

Command Line Tools

  • Command Line System Tools
  • jtool
  • jcat
  • jdescription
  • jevent
  • jecho
  • jftp
  • JFTP Return Codes
  • jgetcredential
  • jgetfile
  • jgetpar
  • jjoin
  • jlink
  • jlog
  • jmail
  • jmessage
  • jmonitor
  • jputfile
  • jregister
  • jrfc
  • jscp
  • jtool screenshot
  • jscript
  • jsecret
  • jsleep
  • jsplit
  • api-tool.jar

OpenVMS Process Servers

  • Creating HP OpenVMS Process Servers
  • Installing the Platform Agent on HP OpenVMS
  • Configuring HP OpenVMS Process Servers
  • File Events on HP OpenVMS
  • HP OpenVMS Definition Types

AS/400 Connector

  • IBM AS/400 Connector Architecture
  • Setting up the IBM AS/400 Connector
  • Creating an IBM AS/400 Process Server
  • Files on AS/400 Raise Events
  • Using the AS/400 Definition Type
  • Redwood Server OS Support
  • IBM z/OS Definition Types
  • Using the JCL_FTP Definition Type
  • IBM z/OS System Tools

Reference

  • Balancing the Load
  • Credential Protocols
← Choosing a User Switching Security ModeUninstalling Redwood Server Platform Agents from UNIX →

Controlling Unix Platform Agents

Starting and Stopping Agents on UNIX using SYSV init

You use the scheduler script to start and stop network processors. You start all network processors or start a specific instance and can optionally provide an instance directory, which is the installation directory of the instance.

${InstallDir}/latest/etc/scheduler {start|start-instance|stop|stop-instance|list|list-instances|restart|status}

start                                                         start all network processors
start-instance <instance_name> [<instance_directory>]         start a specific instance
stop                                                          stop all network processors
stop-instance <instance_name> [<instance_directory>]          stop a specific instance
list | list-instances                                         list all instances
restart                                                       restart all network processors
status                                                        list all instances with the current status

Starting and Stopping Agents on Linux using SystemD

You use the systemctl command to perform actions on the platform agent(s):

systemctl {start|status|stop} scheduler[@<instance>]

systemctl start scheduler          start all instances
systemctl start "scheduler@<instance>"                        start instance <instance>
systemctl stop scheduler          stop all instances
systemctl stop "scheduler@<instance>"         stop instance <instance>
systemctl status scheduler                                    print status of scheduler unit
systemctl status "scheduler@<instance>"                       print status of <instance> unit

Configuring Start at System Startup

When you enable a service for an instance, the platform agent instance will be started at system start up, if you disable a service, it will not start at system startup.

Per instance:

systemctl enable "scheduler@<instance>"
systemctl disable "scheduler@<instance>"

Starting (`enable`) and stopping an instance using

All instances:

systemctl enable scheduler
systemctl disable scheduler

When you make changes to the systemd configuration, you need to reload the configuration:

systemctl daemon-reload
systemctl reset-failed

Starting and Stopping Agents on Solaris

You use the following tools to control services in SMF:

  • svcs - inspect service status
  • svcadm - enable, disable, clear maintenance flag on services
  • svccfg - configure SMF

Starting and Stopping Services

if you do not specify a specific instance to start (enable) or stop (disable), then all platform instances will be affected.

svcadm enable redwood/scheduler[:<instance_>]
svcadm disable redwood/scheduler[:<instance_>]

Troubleshooting Services

When a service instance fails, its maintenance flag is set and the service cannot be enabled again unless the flag is cleared. In general, you inspect the SMF log using svcs -x redwood/scheduler:<instance> and the platform agent logs under <install_dir>/var/<server_sid>/<instance>/trc/

Once you have resolved the issue, you check if any processes associated with the instance are running, terminate any existing processes, and clear the maintenance flag for the service:

#Check if any processes are still running for the service:
svcs -p redwood/scheduler:<instance>
#Terminate any processes, note that these might be associated with RunMyJobs processes
pkill -9 <process_name>
#Clear the maintenance flag
svcadm clear redwood/scheduler:<instance>

← Choosing a User Switching Security ModeUninstalling Redwood Server Platform Agents from UNIX →
  • Starting and Stopping Agents on UNIX using SYSV init
  • Starting and Stopping Agents on Linux using SystemD
    • Configuring Start at System Startup
  • Starting and Stopping Agents on Solaris
    • Starting and Stopping Services
    • Troubleshooting Services
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 |