Reese Knowledgebase

Online Migration Failure 'slm_dmprst module is not loaded'

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 74
by: Reese K.
Posted: 07 Nov, 2012
Last updated: 07 Nov, 2012
Views: 1269

Online Migration Failures

While attempting to perform an online migration, I was presented with the error output below:

[root@vps28 ~]# vzmigrate --ssh="-i /root/id_rsa" --online -f vps31 18343
Connection to destination node (vps31) is successfully established
Moving/copying CT#18343 -> CT#18343, [], [] ...
Checking external bind mounts
Check cluster ID
Checking CPT image version for online migration
Checking capabilities for online migration
vztestcaps : Error: SLM is enabled, but slm_dmprst module is not loaded
vztestcaps : Error: IPv6 not loaded on destination node
/usr/libexec/vztestcaps exited with code 1
Insufficient cpu capabilities on destination node
In case of insufficient cpu capabilities you can use '-f' option
to force migration, but in this case some applications such as java can fail
after migration.
Checking license restrictions
Checking technologies
Checking caches
OfflineManagement CT#18343 ...
done
Suspending CT#18343 ...
vzctl : Can not suspend Container: Channel number out of range
vzctl : Checkpointing of Container failed

/usr/sbin/vzctl exited with code 16
can not suspend CT#18343 : /usr/sbin/vzctl exited with code 16
can not stop/umount CT#18343 : /usr/sbin/vzctl exited with code 16
Can't move/copy CT#18343 -> CT#18343, [], [] : can not stop/umount CT#18343 : /usr/sbin/vzctl exited with code 16
OfflineManagement CT#18343 ...
done

I focused on the last bit of information, in particular the inability to suspend the container and failure of checkpointing, but this proved to be the wrong thing to look at.  Instead, I turned focus on the missing module and installed it:

[root@vps28 ~]# lsmod | grep slm_dmprst
[root@vps28 ~]# modprobe slm_dmprst
[root@vps28 ~]# lsmod | grep slm_dmprst
slm_dmprst             46336  0
vzrst                 230160  1 slm_dmprst
vzcpt                 173368  2 slm_dmprst,vzsnap
slm_core               63768  3 slm_dmprst,slm_kill,slm_nofork,[permanent]
slm_if                133284  5 slm_dmprst,slm_kill,slm_nofork,slm_core,slm_skill,[permanent]

and now the migration works:

[root@vps28 ~]# vzmigrate --ssh="-i /root/id_rsa" --online -f vps31 18343
Connection to destination node (vps31) is successfully established
Moving/copying CT#18343 -> CT#18343, [], [] ...
Checking external bind mounts
Check cluster ID
Checking CPT image version for online migration
Checking capabilities for online migration
vztestcaps : Error: IPv6 not loaded on destination node
/usr/libexec/vztestcaps exited with code 1
Insufficient cpu capabilities on destination node
In case of insufficient cpu capabilities you can use '-f' option
to force migration, but in this case some applications such as java can fail
after migration.
Checking license restrictions
Checking technologies
Checking caches
OfflineManagement CT#18343 ...
done
Suspending CT#18343 ...
done
Dumping CT#18343 ...
done
Syncing dump file...
done
Killing CT#18343 ...
done
Umounting CT#18343 ...
done
Successfully completed
[root@vps28 ~]#

This article was:   Helpful | Not Helpful
Prev   Next
Clear Memory Cache on Linux Server     No such file or directory error during vzmigrate

RSS