ibp_test

Synopsis

ibp_test [-d loglevel] [-config ibp.cfg] [-network_chksum type blocksize] [-disk_chksum type blocksize] [-no-async] host1 port1 rid1 host2 port2 rid2

Description

Perform a smoke test of the ibp_server process by running a gamut of tests checking for not just normal successful operations but additionally checking that proper error conditions are handled and returned.

Two depots are requred to test depot-depot copies but they can be the same depot if necessary.

Options

-d log_level
Enable debug information. log_level should be a value from 0 to 20.
-config ibp.cfg
Load the IBP configuration in ibp.cfg instead of using default values.
-network_chksum type blocksize
Enable network checksumming for transfers. type should be SHA256, SHA512, SHA1, or MD5. blocksize determines how many bytes to send between checksums in kbytes.
-disk_chksum type blocksize
Use block level checksum allocations. type should be NONE, SHA256, SHA512, SHA1, or MD5. If NONE is specified it will force the creation of allocations without checksums. If the option is not specified then the resources default options are used. blocksize determines how many bytes to send between checksums in kbytes.
-no-async
Don’t use asynchrounous or streaming IBP commands. Insterad use synchronous blocking commands multiplexed across several threads.
host1 port1 rid1
Primary depot to test. If the RID is ‘0’ then a random resource is used.
host2 port2 rid2
This depot is used for testing depot-depot transfers. If the RID is ‘0’ then a random resource is used.