Chapter 12. Remote Modes

Table of Contents

1. Master Mode
2. Slave Mode
3. Master Distribution

HammerDB allows for multiple instances of the HammerDB program to run in Master and Slave modes. Running with multiple modes enables the additional instances to be controlled by a single master instance either on the same load testing server or across the network. This functionality can be particularly applicable when testing Virtualized environments and the desire is to test multiple databases running in virtualized guests at the same time. Similarly this functionality is useful for clustered databases with multiple instances such as Oracle Real Application Clusters and wishing to partition a load precisely across servers. HammerDB Remote Modes are entirely operating system independent and therefore an instance of HammerDB running on Windows can be Master to one or more instances running on Linux and vice versa. Additionally there is no requirement for the workload to be the same and therefore it would be possible to connect multiple instances of HammerDB running on Windows and Linux simultaneously testing SQL Server, Oracle, MySQL and PostrgreSQL workloads in a virtualized environment. In the bottom right hand corner of the interface the status bar shows the mode that HammerDB is running in. By default this will be Local Mode.

Figure 12.1. Mode

Mode