Redwood Documentation

Product Documentation

 

›OpenVMS Process Servers

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
← Creating HP OpenVMS Process ServersConfiguring HP OpenVMS Process Servers →

Installing the Platform Agent on HP OpenVMS

note

OpenVMS process servers are only available when your license includes a non-zero value for the key ProcessServerService.VMS.limit. Process servers that include the DCL job definition type will not be counted towards the ProcessServerService.OS.limit and ProcessServerService.External.limit license keys.

Prerequisites

  • A running Redwood Server system
  • An HP OpenVMS 8.2 or higher ia64 server with appropriate access to the server (including root password).
  • The VMS Internationalization Kit must be installed.
  • An UNZIP program must be installed.
  • An OpenVMS account with (at least) the following VMS system privileges:
    • TMPMBX to create temporary mailboxes for communication between processes.
    • NETMBX to create a network socket for the server to communicate with the agent.
    • Optional: IMPERSONATE to run processes as other VMS users.
    • Optional: CMKRNL to monitor the system load (page rate, CPU usage).
    • Optional: SYSPRV privilege to add a new nametable to LNM$SYSTEM_DIRECTORY
    • Optional: BYPASS privilege to manipulate files created by processes running as other users and to create a new nametable in LNM$SYSTEM_DIRECTORY.
  • on-site-related topic Connectivity from the central Redwood server to the HP OpenVMS host on agent's port

Procedure

Installing the "VMS Internationalization Kit" Layered Product

The Redwood Server platform agent communicates with the central Redwood Server using the UTF-8 character set. To convert this to/from the usual DEC International Character Set (of which ISO-8859-1 is a superset) you need additional Internationalization Data.

If you are unsure whether the VMSI18N kit has already been installed, you can verify this by typing the following command:

$ product show prod *i18*
----------------------------------- ----------- ------------
PRODUCT                             KIT TYPE    STATE
----------------------------------- ----------- ------------
DEC AXPVMS VMSI18N V8.2             Full LP     Installed
----------------------------------- ----------- ------------

1 item found

You can also wait until you try to run one of the images supplied as part of the Redwood Server platform agent kit; all images attempt to access the necessary API's for character set conversion when they start. If you run it on a system that does not have the kit installed, you will see an error message such as this immediately upon starting the image:

$ run jsleep.exe
error 2023-09-28 00:00:00,000 GMT [154-Main tid=2075815240] opsys.conv - Unable to determine proper UTF-8 character set
error 2023-09-28 00:00:00,000 GMT [154-Main tid=2075815240] opsys.conv - Make sure the VMSI18N kit from the OpenVMS media set is installed

To install the OpenVMS Internationalization Data Kit follow the instructions in the OpenVMS Upgrade and Installation manual. In short:

  • Mount the "Operating System" DVD or the "Layered Products" CD of the OpenVMS media kit
  • run PRODUCT INSTALL VMSI18N /SOURCE=dev:[dir]

Exact CD/DVD locations in the HP media kits are:

ReleaseProcessorMedia labelDirectory
8.2ia64I64082[VMSI18N_I64082.KIT]
8.3ia64I64083[VMSI18N_I64083.KIT]
8.4ia64I64084[VMSI18N_I64084.KIT]

Until you install the internationalization kit you can also run the software, but you will have to set the characterset to UTF-8. This will mangle content that uses codepoints that are not at the same location as in UTF-8, but these seldom occur in OpenVMS DCL files. You can set the characterset of the software to UTF-8 by setting a logical LANG to UTF-8, or add the following command line arguments: --filesys UTF-8 --filedata UTF-8. Although this should work, it is not recommended by Redwood.

Create an account

We recommend that you create a new account to contain the platform agent that satisfies your local naming requirements.

This documentation uses the account REDWOOD with UIC [377,200] as an example.

To add the account

  1. Log in as SYSTEM.
  2. Change to the system directory and start the authorization image: $ MC AUTHORIZE.
  3. Create the account: ADD REDWOOD /UIC=[377,200].
  4. Set password and login flags: MODI REDWOOD /PASSWORD=XXXX /FLAGS=NODISUSER.
  5. Set the account privileges: MODI REDWOOD /PRIV=(NETMBX,TMPMBX,IMPERSONATE,CMKRNL,SYSPRV,BYPASS).
  6. Set the account default privileges: MODI REDWOOD /DEFPRIV=(NETMBX,TMPMBX,IMPERSONATE,CMKRNL,SYSPRV,BYPASS).
  7. Set the home directory: MODI REDWOOD /DEVICE=SYS$USER /DIR=[REDWOOD].
  8. Set the proper quotas for the new account: MODI REDWOOD/JTQUOTA=0/MAXDETACH=0/MAXJOBS=0/BYTLM=0.
  9. Set the quota to (at least) these values:
  10. MODI REDWOOD/BIOLM=150/DIOLM=150/ENQLM=2000.
  11. MODI REDWOOD/WSDEF=4096/WSQUO=32768/WSEXTENT=65536/PGFLQUOTA=100000.
  12. Exit authorize: EXIT.
  13. Create the home directory: $ CREATE/DIR SYS$USER:[REDWOOD] /OWNER=REDWOOD.

If running the redwood account with reduced privileges:

  1. If you have not granted the SYSPRV (or write access to LNM$SYSTEM_TABLE) and BYPASS privileges, create a name table: CREATE/NAME/ATTR=NO_ALIAS/PARENT_TABLE=LNM$SYSTEM_DIRECTORY/EXE/PROT=(O:RWD,S:RWD,G:RW,W:RW) LNM$SCHEDULER.

Installing the Platform Agent Software

  1. Install 'unzip', either from OpenVMS Freeware CD-kit, or if you have the Java SDK installed, you can use jar ($ jar xvf <zip_file>).
  2. Log in using the designated account.
  3. Create a directory (preferably "AGENT").
  4. Unpack the zip file to this directory.
$ unzip openvms-<CPU>.zip

The [AGENT] directory is called the InstallDir and the [BIN] directory is called the ExecutableDir.

Creating Symbols

We recommend that you create symbols for the jtool programs so that they can be executed from within processes, for instance in a procedure that is set up in SYLOGIN.COM. We recommend you add the following:

$ !
$ ! Example, replace SYS$USER with your own logical or path to redwood directory.
$ !
$ !
$ JTOOL=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE TOOL"
$ JLINK=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE LINK"
$ JSLEEP=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE SLEEP"
$ JREGISTER=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE REGISTER"
$ JEVENT=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE EVENT"
$ JMESSAGE=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE MESSAGE"
$ JDESCRIPTION=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE DESCRIPTION"
$ JSECRET=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]JTOOL.EXE SECRET"
$ !
$ ! In case you need to pass arguments, for example, non-default instance
$ !
$ NETWORKPROCESSOR=="$SYS$USER:[REDWOOD.AGENT.<version>.BIN]NETWORK-PROCESSOR.EXE"

Further platform independent configuration instructions can be found in the Configuring Platform Agents section. In particular, if you want to guard the platform-agent against intruders and use by different server instances we suggest that you create a SharedSecret using the instructions found there.

Starting the platform agent interactively

For debugging and initial testing purposes it can be useful to start the network-processor interactively. For instance, to enable debugging until the process server is configured, run the following whilst logged in as redwood:

$ DEFINE RW_LOGLEVEL DEBUG
$ RUN [.AGENT.<version>.BIN]NETWORK-PROCESSOR

Starting the platform agent at startup

Starting the platform agent at system startup is recommended. For OpenVMS, we suggest starting with a single instance ('Default') running on port 1555. To do this, simply create a STARTUP_DEFAULT.COM script that you call from SYSTARTUP_VMS.COM. Suggested content is:

$ RUN/UIC=[REDWOOD] SYS$USER:[REDWOOD.AGENT.<version>.BIN]NETWORK-PROCESSOR.EXE /OUTPUT=.... /PROCESS_NAME=NWP-DEFAULT

Working Directory

The default working directory is set to ${JobFilesDirectory}; by setting the process server parameter JobWorkingDirectory this default initial directory can be changed. You can use the following variables:

  • ${JobFilesDirectory}
  • ${HomeDirectory} (translated to SYS$LOGIN)
  • ${JobID}
  • all logicals set up by the LOGIN.COM procedure.

See Also

VMS Process Servers

← Creating HP OpenVMS Process ServersConfiguring HP OpenVMS Process Servers →
  • Prerequisites
  • Procedure
  • Installing the "VMS Internationalization Kit" Layered Product
  • Create an account
  • Installing the Platform Agent Software
  • Creating Symbols
  • Starting the platform agent interactively
  • Starting the platform agent at startup
  • Working Directory
  • 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 |