User`s guide

D2.1.4 IST-033576
Contents
1 Introduction 5
2 Kernel Checkpointer 5
2.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Tutorial/Command line tools . . . . . . . . . . . . . . . . . . . . 6
2.4 Checkpoint/restart API . . . . . . . . . . . . . . . . . . . . . . . 7
2.4.1 Initialization . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4.2 Checkpoint parameters . . . . . . . . . . . . . . . . . . . 7
2.4.3 Checkpoint calls and control . . . . . . . . . . . . . . . . 8
2.4.4 Callback . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4.5 Critical section . . . . . . . . . . . . . . . . . . . . . . . 11
3 Node-level VO support 11
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2.2 Platform configuration . . . . . . . . . . . . . . . . . . . 12
3.2.3 Compilation and installation . . . . . . . . . . . . . . . . 12
3.3 Certificate configuration . . . . . . . . . . . . . . . . . . . . . . 14
3.3.1 Certificate authority Certificate generation . . . . . . . . . 14
3.3.2 User certificate generation . . . . . . . . . . . . . . . . . 17
3.4 PAM configuration . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4.1 Checking the pam_xos.so PAM plugin using pam_app_conv 20
3.4.2 Successfull run of pam_app_conv . . . . . . . . . . . . 21
3.5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.6 XOS-ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.6.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.6.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . 27
3.6.3 Running ssh-xos . . . . . . . . . . . . . . . . . . . . . 28
4 Conclusion and Future Work 30
A Berkeley Lab Checkpoint/Restart (BLCR) Administrator’s Guide 32
A.1 Installing/Configuring BLCR . . . . . . . . . . . . . . . . . . . . 32
A.1.1 Configuring BLCR . . . . . . . . . . . . . . . . . . . . . 32
A.1.2 Choosing an installation directory . . . . . . . . . . . . . 33
A.1.3 Building against a kernel other than the one that’s running 33
A.1.4 Building 32-bit application support on a 64-bit platform . 34
3/49 XtreemOS–Integrated Project