The uchsbmonitor sample is Perl script that monitors subscriptions in High Availability setups. The sample program restarts Mirroring if the subscriptions have stopped due to a failover or switchover event.
For example, in cases where a Primary server that is a target datastore fails, replication on subscriptions ends. For recovery, replication on the subscription needs to be restarted.
The uchsbmonitor sample script hsbmonitor.pl is available in the <IBM InfoSphere CDC for solidDB® installation directory>\samples\uchsbmonitor directory.