Hi,
Given addresses of 2 remote machines[say src and dest], using a shell script is it possible to
- get the state of running processes in "src"
- stop all the processes in "src"
- exit out of "src"
- ssh into "dest"
- resume the state of executing processes captured in step 1 in "dest"
Assumption:
"src" is already logged in using ssh and processes are running in it.
Thanks in advance,
Saeya
No, not possible in Unix, especially not 5. "resume".
The experimental OS "plan9" has such features.
If what you want is "live migration", then some virtualization technologies allow it, for example Solaris LDOMs: http://www.oracle.com/technetwork/server-storage/vm/ovm-sparc-livemigration-1522412.pdf
The virtualization allows to migrate a whole OS with all its running processes - but not a single process.