53-1002445-01January, 2012®ServerIron ADXOpenScript Programmer’s GuideSupporting Brocade ServerIron ADX version 12.4.00
x ServerIron ADX OpenScript Guide53-1002445-01
ServerIron ADX OpenScript Guide 153-1002445-01Chapter1Overview of OpenScriptThe Application Delivery environment requires more than simple CLI command
2 ServerIron ADX OpenScript Guide53-1002445-01Overview of OpenScript1ExtensibilityPerl was selected for the OpenScript platform because it is open and
ServerIron ADX OpenScript Guide 353-1002445-01The OpenScript Engine1The OpenScript EngineThe OpenScript engine provides the ability for direct interac
4 ServerIron ADX OpenScript Guide53-1002445-01Using Perl on the ServerIron ADX1Architecture of the OpenScript engineBecause script parsing is highly C
ServerIron ADX OpenScript Guide 553-1002445-01Using Perl on the ServerIron ADX1TABLE 2 Perl lexical variable scoping on a ServerIron ADXsLexical Type/
6 ServerIron ADX OpenScript Guide53-1002445-01Using Perl on the ServerIron ADX1
ServerIron ADX OpenScript Guide 753-1002445-01Chapter2OpenScript FundamentalsOverviewThis following sections of this chapter describe the process of c
8 ServerIron ADX OpenScript Guide53-1002445-01Structure of a ServerIron ADX Perl script2On TCP client layer 7 application payload data being available
ServerIron ADX OpenScript Guide 953-1002445-01Basic anatomy of a script2Basic anatomy of a scriptThe basic example script (abc.pl) is designed to exer
© 2012 Brocade Communications Systems, Inc. All Rights Reserved. Brocade, Brocade Assurance, the B-wing symbol, DCX, Fabric OS, MLX, SAN Health, VCS,
10 ServerIron ADX OpenScript Guide53-1002445-01Sample scripts2Sample scriptsThe following examples provide two different approaches to creating a scri
ServerIron ADX OpenScript Guide 1153-1002445-01Sample scripts2# Power User version # Performs server selection based on URI in # HTTP Request Headerus
12 ServerIron ADX OpenScript Guide53-1002445-01Sample scripts2
ServerIron ADX OpenScript Guide 1353-1002445-01Chapter3Managing Scripts on a ServerIron ADXOverviewA script can be written with any text editor or usi
14 ServerIron ADX OpenScript Guide53-1002445-01Managing scripts3Importing and exporting scripts through TFTPYou can use the copy tftp command to uploa
ServerIron ADX OpenScript Guide 1553-1002445-01Compiling and binding scripts3Syntax: rename usb0\sys\dpscript\ <initial-script-name> usb0\sys\dp
16 ServerIron ADX OpenScript Guide53-1002445-01Compiling and binding scripts3Compiling a script and obtaining output from the performance estimatorYou
ServerIron ADX OpenScript Guide 1753-1002445-01Creating and configuring script profiles3The script profile parameter directs the ServerIron ADX to app
18 ServerIron ADX OpenScript Guide53-1002445-01Creating and configuring script profiles3• script restart limit: If a script is having problems during
ServerIron ADX OpenScript Guide 1953-1002445-01Creating and configuring script profiles3ServerIronADX(config)# script-profile sp1ServerIronADX(config-
ServerIron ADX Global Server Load Balancing Guideiii53-1002445-01
20 ServerIron ADX OpenScript Guide53-1002445-01Displaying script information3ServerIronADX(config-script-profile-sp1)# restart-limit 10Syntax: [no] re
ServerIron ADX OpenScript Guide 2153-1002445-01Displaying script information3Syntax: show script <script-name> [detail <virtual-server-name&g
22 ServerIron ADX OpenScript Guide53-1002445-013Syntax: show script-profile <script-profile-name> The <script-profile-name> variable speci
ServerIron ADX OpenScript Guide 2353-1002445-01Chapter4Script Example OverviewThe following sections of this chapter describe the entire process of wr
24 ServerIron ADX OpenScript Guide53-1002445-01Copying and binding the script4Copying and binding the scriptThe following command copies the script fr
ivServerIron ADX Global Server Load Balancing Guide53-1002445-01
ServerIron ADX OpenScript Guide v53-1002445-01ContentsAbout This DocumentSupported hardware and software . . . . . . . . . . . . . . . . . . . . . . .
vi ServerIron ADX OpenScript Guide53-1002445-01Managing scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14Dele
ServerIron ADX OpenScript Guide vii53-1002445-01About This DocumentSupported hardware and softwareAlthough many different software and hardware config
viii ServerIron ADX OpenScript Guide53-1002445-01NOTEA note provides a tip, guidance or advice, emphasizes important information, or provides a refere
ServerIron ADX OpenScript Guide ix53-1002445-01• ServerIron ADX NAT64 Configuration Guide• ServerIron ADX OpenScript API Guide• IronWare MIB Reference
Comments to this Manuals