Script language
Specify the script language when you want to use a language other than ruby.
Information
Ruby is used as the script language in sample scripts.
extension_Extension=Execution file path |
Specify the extension of the script language such as "rb" or "pl" for Extension.
When there is no specification for the Extension, jruby is used.
Execution file path specifies the absolute path.
Example
extension_rb=/usr/bin/jruby
Monitoring Time of Script
Specify the monitoring time when you want to change it to a value besides 300 (seconds).
Information
In the network device automatic configuration function, script execution time is monitored.
When the monitoring time has passed since the beginning of the script execution, the processing of the script is terminated.
EXECUTE_TIMEOUT=monitoring time |
Specify the monitoring time within the range of 1 to 7200 (seconds).
When the specified value is non-numeric or is outside of the above-mentioned range, 300 (seconds) is used.
Example
EXECUTE_TIMEOUT=600
Operation Specifications when Script Executions Results are Abnormal
This section explains the operations when there are abnormal script execution results when executing a script list. The following script lists are the targets.
Script lists for setup error recovery
Script lists for modification error recovery
Script list for deletion
Script lists for setup error recovery (physical server added)
Script lists for deletion (physical server deleted)
For details on the operations when scripts are executed based on specified values, refer to "Differences in Operations Depending on Specifications in the Definition File "SCRIPT_EXECUTION_MODE"".
Information
When using simple configuration, as the scripts are prepared in advance configuration of this definition is not necessary.
To execute successive scripts listed in the script list
SCRIPT_EXECUTION_MODE=continue
To cancel successive scripts listed in the script list
SCRIPT_EXECUTION_MODE=stop
If a value other than continue or stop is specified, or no value is specified, stop will be used.
Example
SCRIPT_EXECUTION_MODE=continue