process - How to migrate a running Java program from one machine to another? -


this question has answer here:

say have 1 java program running on machine a, want interrupt it, save context , resume execution on machine b. possible that? how?

no, there's no way "freeze" process , "revive" on separate machine, process might holding sorts of state (open files/sockets etc) cant move it.

if application youre writing better make clusterable , start node on target machine, wait 2 nodes sync , shut fown original node.

if not application youre writing or above much, run application inside vm , use vm's capabilities migrate entire vm running app in (so, use vmotion).


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -