The fhb_S_Timer and fhb_S_Timer_enqueue commands are available for recording and reporting throughput measurements of your FSI Hot Backup system.
These commands allow you to:
Create a special file that stores throughput measurement records
Enqueue records to measure FSI Hot Backup throughput
Report the results of that measurement
Periodically clear older measurement statistics from the report
Remove the file when it is no longer needed
To set up and run throughput measurement:
Configure and start the Hot Backup primary and secondary servers.
Run the fhb_S_Timer create command to create the file that stores throughput measurement records.
Restart the secondary server to enable throughput measurement.
Run either the fhb_S_Timer command or fhb_S_Timer_enqueue command to record throughput measurements on your FSI Hot Backup system.
NOTE |
You can also use the fhb_S_Timer_enqueue.sub subroutine to programmatically record throughput via a FlashBASIC subroutine that you can call from within your own application. See fhb_S_Timer_enqueue.sub_Subroutine for more information. |
Run the fhb_S_Timer display command do display your throughput results.
The throughput report displays.
fhb_S_Timer display Secondary Queue Throughput 12/23/10 16:19:44 Q#1 in: 00:03:14 out: 00:00:01 12/23/10 16:19:44 Q#3 in: 00:03:14 out: 00:00:01 |
The report includes the date and time the timer record first entered the primary queue on the primary server, the destination helper queue number for the timer record, the in time (time that elapsed from the primary enqueuing to the timer record's placement in the secondary queue on the secondary server) and the out time (time that elapsed from the secondary enqueuing to the timer record's removal from the secondary queue on the secondary server).
See Also
Configuring the Primary Server
Configuring the Secondary Server
Starting_the_Secondary_Server and Enabling Logging on the Primary Server