Technical data
Table Of Contents
vi ServerIron ADX OpenScript Guide
53-1002445-01
Managing scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Deleting a script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Renaming a script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Display script in the script directory . . . . . . . . . . . . . . . . . . . . . .15
Compiling and binding scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Compiling a script and obtaining output from the performance
estimator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Binding a script to a virtual server port . . . . . . . . . . . . . . . . . . .16
Updating an existing script . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Creating and configuring script profiles. . . . . . . . . . . . . . . . . . . . . . .17
Creating a script profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Setting the script memory limit. . . . . . . . . . . . . . . . . . . . . . . . . .18
Setting the script memory high-water mark. . . . . . . . . . . . . . . .18
Setting the script timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Setting the script data collection limit . . . . . . . . . . . . . . . . . . . .19
Setting the script restart limit . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Enabling script debugging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Setting the script print output. . . . . . . . . . . . . . . . . . . . . . . . . . .20
Displaying script information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Displaying Run-time information about one or all scripts. . . . .20
Displaying scripts profile information. . . . . . . . . . . . . . . . . . . . .21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Chapter 4 Script Example
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Use case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Script for use case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Copying and binding the script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Sample ServerIron ADX configuration for use case.. . . . . . . . . . . . .24










