ServerIron ADX OpenScript Guide 13
53-1002445-01
Chapter
3
Managing Scripts on a ServerIron ADX
Overview
A script can be written with any text editor or using the ServerIron ADX GUI. The ServerIron ADX
GUI.process is described in the ServerIron ADX GUI Configuration Guide.
Once a script has been written, it must be uploaded to a ServerIron ADX to be compiled and bound
to a port. In addition, several operations can be performed on the script and a profile can be
defined that sets the environmental variables under which the script will run. This chapter
describes each of these operations.
• “Importing and exporting scripts” – This section describes the processes for importing a script
onto a ServerIron ADX or exporting a script from a ServerIron ADX using TFTP.
• “Managing scripts” This section describes how to delete or rename a script that you have
imported onto a ServerIron ADX. It also describes the process of displaying the contents of a
script that resides on a ServerIron ADX.
• “Compiling and binding scripts” – Once a script has been imported to a ServerIron ADX, it must
be compiled and bound to a virtual server port. This section describes how to perform these
actions as well as how to obtain a performance estimate of a script and update the contents of
an existing script.
• “Creating and configuring script profiles” – A series of default values for environmental
variables are used in compilation of a script on a ServerIron ADX. If these values are
acceptable for your use, you do not need to create and define a script profile. This section
describes the default values and how to create and define a script profile that alters these
values for your application.
• “Displaying script information” – Several show commands are provided to display information
about scripts residing on a ServerIron ADX.
Importing and exporting scripts
For a script to be run on a ServerIron ADX, it must be uploaded to the following file location:
usb0\sys\dpscript
A script can be uploaded using any of the following methods.
• through the ServerIron ADX GUI. This process is described in the ServerIron ADX GUI
Configuration Guide.
• Using TFTP as shown in “Importing and exporting scripts through TFTP”
Script name size limit
A script has a name and extension. The size of the name can't exceed 8 characters. the size of the
extension can't exceed 3 characters.
Comments to this Manuals