I need to start a new process on a 2nd machine which should have the
exact internal state of a process running on another machine. There is
one obvoius way of doing this. i.e Start the new process on the 2nd
machine, make a TCP connection to the old process, then old process
will transfer ALL its internal states / structures to the new process.
This includes all memory buffers, internal timers. However I don't
need to transfer the open file descriptors and socket connections. But
this is more difficult to write. The Process I want to transfer is a
very compilcated one, so trying to transfer its internal state is even
more difficult. I was thinking, if we can can get the running process
to generate a core, and if we can transfer the core file to the next
machine and start the process with the information from core file,
that will be great...
What are the possibilities of this? Please share Ur comments /
experiances on this.
Thanks in advance,
PS: I'm using SUN 5.9 and possibly 480R machines