Starting Up Multiple Monitor Instances
As a fail-safe measure, you can start up multiple instances of the same Monitor application. When you start an instance of Monitor, the instance searches to see if another instance is running. If so, it puts itself to sleep. If the first Monitor instance crashes, the second instance will wake itself. Monitor stores its configuration information and its current state in the file system. Thus, in the event of a crash, the backup instance can take over, read the configuration file, restore the state from the file system, and continue as if nothing had happened.
> Monitor.exe -a WODefaultAdaptor -n 1 -p 1067 Monitor > Monitor.exe -a WODefaultAdaptor -n 2 -p 1068 MonitorIn this example, the first instance becomes the controlling instance of Monitor. The second instance becomes active only if the first instance crashes.