Broker 10.15 | webMethods Broker Documentation | Administering webMethods Broker | Managing Broker Servers | Configuring Queue Storage | Modifying the Size of a Storage File
 
Modifying the Size of a Storage File
You can use the server_config utility to increase the maximum size of a storage file or increase its reserve size. You cannot reduce the maximum size or the reserve size of a storage file.
The maximum size of a storage file is 32 gigabytes. If your storage file is already at the maximum size and you require more storage, you can create additional storage files. For procedures, see Adding a Storage File.
Note:
The queue storage system will seek a storage file that is not busy when it is moving an object from the log file to a storage file. Therefore, configuring multiple storage files can provide faster access than a single storage file.
*To modify the size of a storage file
1. Stop the Broker Server.
2. On the machine where Broker Server is installed, navigate to the following directory:
webMethods Broker_directory /bin
3. Run the following command. Type the entire command on one line.
server_config storage dataDir -session_type qs
-qs_storage_file storeFile storeSize reserveSize
Where...
Specifies...
dataDir
The fully-qualified location of the Broker Server's data directory. Enclose the entire directory name in quotes if any portion of the name contains a space.
type
The session whose storage file you want to modify.
*If you are modifying the storage file for the configuration session or for a combined storage session, type is: config
*If you are modifying the storage file for the run-time data session, type is: data
storeFile
The fully-qualified name of the storage file whose size you want to change. Enclose the entire directory name in quotes if any portion of the name contains a space.
storeSize
The maximum size to which this storage file can grow. Specify the size as a number followed by a K (kilobytes), M (megabytes), or G (gigabytes).
You must specify a value that is larger than the storage file's current maximum size setting.
storeSize must not exceed 32 gigabytes.
reserveSize
The total amount of storage that should be reserved for this storage file. For example, if the storage file is currently 64 megabytes and you want to allocate an additional 10 megabytes to the file, you would specify a reserveSize of 74 megabytes.
Specify a number followed by a K (kilobytes), M (megabytes), or G (gigabytes).
reserveSize must be larger than the storage file's current size but less than storeSize.
The following example illustrates a configuration session or combined session:
server_config storage
"C:\webMethods Broker_directory\Broker\data\awbrokersversion\my Broker"
-session_config qs
-qs_storage_file
C:\webMethods Broker_directory\Broker\data\awbrokersversion\myBroker\
BrokerConfig01.qs.stor 512M 100M
The following example illustrates a run-time data session:
server_config storage
"C:\webMethods Broker_directory\Broker\data\awbrokersversion\my Broker"
-session_data qs
-qs_storage_file
C:\webMethods Broker_directory\Broker\data\awbrokersversion\myBroker\
BrokerData01.qs.stor 1G 100M