Inferno and Plan 9 sorta had this. Octopus and Plan B were both allowed picking up where you left off on some other machine.
Re:Inferno Operating System
by yjftsjthsd-h on Saturday July 20, 2019 @08:09PM
(#20489110)
CRIU should allow you to migrate a running process from one system to another, particularly in combination with a container (Docker or LXC/D).
Re:Inferno Operating System
by michaelmrose on Sunday July 21, 2019 @03:52AM
(#20490398)
Doesn't this work on about nothing in practice? Like nothing that has an open file, no gui apps etc.
Re:Inferno Operating System
by yjftsjthsd-h on Sunday July 21, 2019 @10:23AM
(#20491427)
Here is a writeup of using CRIU on openvpn:
https://www.redhat.com/en/blog/using-criu-upgrade-vpn-server...
So it seems to work. But I'm no expert and I've never done it, so I might well be missing something.
Fairly sure files, network connections, ... are not a problem, unless I'm confusing it with a different migration solution. GUI apps probably only work if access through some network connection.
In order to do these things 'cleanly' (with a truly unified view of the entire "system"), you need some sort of process migration infrastructure that even Plan9 and Inferno don't really give you, AFAICT. Projects like OpenMosix and OpenSSI attempted to provide this, but I'm not sure to what extent they were successful, given that they've all been abandoned and bitrotted. Today, one might try to do the same sort of thing while also taking advantage of the new kernel-based namespacing that Linux provides, which might make some things somewhat easier.