Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 29

  • Download
  • Add to my manuals
  • Print
  • Page
    / 34
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 28
ServerIron ADX OpenScript Guide 19
53-1002445-01
Creating and configuring script profiles
3
ServerIronADX(config)# script-profile sp1
ServerIronADX(config-script-profile-sp1)# memory-high-watermark 80
Are you sure you want to dercres the memory limit from 1048576 to 200000? (yes or
no): yes
Syntax: [no] memory-high-watermark <percentage>
The <percentage> variable is the new high-water mark percentage that you want to set. The default
value is 90 (%).
Using the no parameter before the command returns the memory high-water mark to the default
value.
Setting the script timeout
Use this command to set the time in milliseconds that you want to allow a script for its first run
before restarting it. The following example sets the watchdog time to 1000 milliseconds for the
“sp1” script.
ServerIronADX(config)# script-profile sp1
ServerIronADX(config-script-profile-sp1)# timeout-ms 1000
Syntax: [no] timeout-ms <milliseconds>
The <milliseconds> variable is new watchdog time that you want to set in milliseconds. The default
value is 200 (milliseconds). Values can be set from 50 to 1000.
Using the no parameter before the command returns the watchdog time to the default value.
Setting the script data collection limit
This parameter sets the data collection limit for the script in bytes. The script data collection limit is
set as shown.
ServerIronADX(config)# script-profile sp1
ServerIronADX(config-script-profile-sp1)# data-collection-limit 50000
Syntax: [no] data-collection-limit <limit-size>
The <limit-size> variable is the new limit for data collection that you want to set in bytes. The
default value is 100000 (100 Kbytes). 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 data collection limit to the default value.
Setting the script restart limit
This parameter sets the maximum number of times that the script will restart after running into
problems. Once the restart limit is reached, a syslog message is generated and the script is placed
into a “suspended” state. Once in the “suspended” state the script can only be run if it is unbinded
and rebinded or if the ServerIron ADX is restarted.
The script restart limit is set as shown.
ServerIronADX(config)# script-profile sp1
Page view 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34

Comments to this Manuals

No comments