Creating a Broker Server that Specifies Size and Location of Files
Use the following procedure to create a Broker Server that specifies the size and location of the Broker Server log and storage files.
To create a
Broker Server with specified log and storage files
1. On the machine where Broker Server is installed, navigate to the following directory:
webMethods Broker_directory/bin
2. Run the following command.
server_config create dataDir -p port -k license-file-path
[-d description ]
-session_config qs
-qs_log_file logFile logSize
-qs_storage_file storeFile storeSize reserveSize
[-qs_storage_file storeFile storeSize storeReserve ...]
-session_data qs
-qs_log_file logFile logSize
-qs_storage_file storeFile storeSize storeReserve
[-qs_storage_file storeFile storeSize storeReserve ...]
[-nostart] [-S]
For parameter descriptions, see
server_config create.
The following example illustrates a single run-time storage file on Windows:
server_config create "c:\webMethods Broker_directory\Broker\data\
awbrokersversion\My Broker" -p 6800
-k c:\license_file_directory\new_license.xml -d "East Region Broker"
-session_config qs
-qs_log_file F:\BrokerStore\myBroker\configData.qs.log 20M
-qs_storage_file F:\BrokerStore\myBroker\configData01.qs.stor 10G 100M
-session_data qs
-qs_log_file F:\BrokerStore\myBroker\runtimeData.qs.log 256M
-qs_storage_file F:\BrokerStore\myBroker\runtimeData01.qs.stor
10G 100M
-nostart
The following example shows multiple run-time storage files on UNIX:
server_config create /var/opt/webmethods/awbrokersversion/myBroker -p 6800
-k /tmp/licenses/new_license.xml
-session_config qs
-qs_log_file /var/opt/webmethods/myBroker/configData.qs.log 20M
-qs_storage_file /var/opt/webmethods/myBroker/configData01.qs.stor
10G 100M
-session_data qs
-qs_log_file /var/opt/webmethods/myBroker/runtimeData.qs.log 256M
-qs_storage_file /var/opt/webmethods/myBroker/runtimeData01.qs.stor
10G 100M
-qs_storage_file /var/opt/webmethods/myBroker/runtimeData02.qs.stor
10G 100M
-nostart -s