FileServer - configureAdvancedFileServer


FileServer - configureAdvancedFileServer

Description :

Updates the file server directory and required values. Also enables/disables the advanced fileserver usage.

Return type : void

Command Input :

Variable Name

Variable Type

Description

fileServerFlag

String

Enable/Disable the advanced file server. Accepted values are true and false.

advancedFileServerRoot

String

The advanced file server root directory. Must be a NSH path. e.g. /C/Directory. It must also be a tuner root directory.

ssl

String

Enable/Disable ssl. Accepted values are true and false.

automationPrincipal

String

Automation principal.

transmitterHostName

String

The transmitter host name.

transmitterRootDirectory

String

The transmitter root directory.

transmitterRPCPort

String

The transmitter RPC port.

Examples :

Example

The following example enables the advanced file server and provides the file server directory. The values for other parameters are initialized to default. In this example the advanced file server and the transmitter host are on different systems.

Script





FileServer configureAdvancedFileServer true "/C/Program Files (x86)/BMC Software/Bladelogic/AdvancedRepeater/Tuner/" true admin hostname /C/Transmitter/Tuner 7717



Example

The following example enables the advanced file server and provides the file server directory. The values for other parameters are initialized to default. In this example the advanced file server and the transmitter host are on the same system.

Script





FileServer configureAdvancedFileServer true "/C/Program Files (x86)/BMC Software/Bladelogic/AdvancedRepeater/Tuner/" true admin hostname "/C/Program Files (x86)/BMC Software/Bladelogic/AdvancedRepeater/Tuner/" 7717



Example

To set a default value for an attribute pass "". The fileServerFlag can never be blank.

Script





FileServer configureAdvancedFileServer true "" "" "" "" "" ""



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.7