Top
ServerView Resource Orchestrator V3.4.0 Automatic Quarantining Function User's Guide
FUJITSU Software

D.7.3 Definition File Format

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.

Parameter Format of Definition Files
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.

Parameter Format of Definition Files
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

Upper Output Limit of Operation Rulesets

Specify the upper output limit of operation ruleset when you want to change it to a value other than 500 (KB).

Information

When a large amount of data is output as a result of executing a ruleset for operations on network devices, a large amount of memory resources is consumed. Memory consumption can be limited by customizing the upper output limit.

Parameter Format of Definition Files
SCRIPT_OUTPUT_SIZE_LIMIT= upper output limit

Specify the upper output limit within the range of 1-10000 (KB).

When the specified value is non-numeric or is outside the range mentioned above, 500 (KB) is used.

Example

SCRIPT_OUTPUT_SIZE_LIMIT=300

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'".

Parameter Format of Definition Files
  • 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