Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 28

  • Download
  • Add to my manuals
  • Print
  • Page
    / 34
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 27
18 ServerIron ADX OpenScript Guide
53-1002445-01
Creating and configuring script profiles
3
script restart limit: If a script is having problems during operation or it exceeds limitations set in
the profile (either default or configured) it will restart. This option can be configured to limit the
number of times that the script will be restarted. Once this limit is reached, the script will be
halted and not restarted. After exceeding this limit, the script can only be restarted by either
unbinding and rebinding the script or by restarting the ServerIron ADX. By default there is no
limit to the number of script restarts.
script debugging: With the option turned on, the script will print debugging information to the
console. Debugging information can only be printed to the console. It is turned off by default.
script print output: By default the print function in a script is directed to print to the console
This option allows you to direct the script to print to either the console, the syslog or to disable
the script from printing.
Creating a script profile
The script profile must be named before you can define the script parameters and the name can
then be used to re-enter the profile configuration to change the settings for an existing profile You
can create a script profile or enter the configuration mode for an existing script profile as shown.
ServerIronADX(config)# script-profile sp1
ServerIronADX(config-script-profile-sp1)#
Syntax: [no] script profile <profile-name>
The <profile-name> variable is the name of the profile that you want to create or update.
Using the no parameter before the command deletes the named profile.
NOTE
When an script profile is changed, the updated profile parameters are automatically applied to the
virtual ports that it is bound to.
Setting the script memory limit
This parameter sets the memory limit for any script that is bound to it. When the memory limit is
decreased, the user is prompted to confirm the reduction. The script memory limit is set as shown.
ServerIronADX(config)# script-profile sp1
ServerIronADX(config-script-profile-sp1)# memory-limit 200000
Are you sure you want to decrease the memory limit from 1048576 to 200000? (yes or
no): yes
Syntax: [no] memory-limit <size>
The <size> variable is new limit that you want to set. The default value is 1M bytes (1,048,576
bytes). While you can set this variable to any value that fits within the size of the system memory, all
memory limits set for scripts are subject to their impact on system performance
Using the no parameter before the command returns the memory limit to the default value.
Setting the script memory high-water mark
This parameter sets the script memory high-water mark percentage. When the memory high-water
mark percentage is reached, a syslog message is generated and the script resets the new
connections. The script memory high-water mark percentage is set as shown.
Page view 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 34

Comments to this Manuals

No comments