Remote RMX-3200 Version 5.2x Configuration Guide
Configuring Jobs: Creating and Installing a Script Package
23-5
Creating and Installing a Script Package
Important: This procedure assumes that files named captureScript.py,
echoScript.py, PackageManifest.xml and __init__.py have been
authored on a local workstation.
To create and install a script package:
1. On a Linux/Unix workstation, create a working directory named
packages:
% mkdir packages
cd packages
2. Copy the PackageManifest.xml file into working directory packages from the
directory in which the Package Manifest file was created.
3. Under the
packages directory, create directory exampleScript:
% mkdir exampleScript
4. Copy the captureScript.py, echoScript.py and __init__.py files to the
exampleScript directory.
5. Create the script package
exampleScript-1.0.0.pkg by packing the
PackageManifest.xml file and files under the exampleScript directory
(
captureScript.py, echoScript.py and __init__.py) into a tar file:
tar -cvzf exampleScript-1.0.0.pkg PackageManifest.xml
examplescript/*
In this scenario, you will:
Create a working directory for packages
Copy files to the working directory
Create a script package
Use an FTP utility to transfer the script package to the Remote RMX-3200
staging area or to the configured central FTP package server
Tip: For more information on how to configure a central FTP package server,
refer to procedure
Configuring Access to a Central FTP Package Server
on page 23-4.
Install the script package