Skip to content

vladb38/process_migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

process_migration

Process migration implemented in the FreeBSD operating system. This allows you to take a small static executable, stop it on one machine and resume it on another machine from the exact point where it has been stopped.

To be able to compile the kernel modules you will need to create four symlinks in this directory:

@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
usr/machine -> /usr/src/sys/amd64/include
usr/sys -> /usr/src/sys

Then run "make" in the current directory.

In order to test the kernel module, compile the "hellosimple.c" code in the "example" directory and compile it as a static executable using:

gcc -static -o hellosimple hellosimple.c

You can then follow the instructions in the youtube video and see whether you are able to move this simple process from one host to another:

http://www.youtube.com/watch?v=0am-5noTrWk

Let me know if you have questions, doubts, suggestions.

Vlad

About

Process Migration in FreeBSD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published