testdasi Posted February 6, 2020 Share Posted February 6, 2020 Do I need to manually change all the docker pin to core 1 first before I can migrate to a new server, if the new server has fewer cores than my current one? What will happen if I just migrate to the new server that let's say has 12 cores and my docker has core 15 pinned to it? Quote Link to comment
Squid Posted February 6, 2020 Share Posted February 6, 2020 Probably the extra cores will be ignored. Worst case is an error will happen on the docker run Quote Link to comment
itimpi Posted February 7, 2020 Share Posted February 7, 2020 5 hours ago, testdasi said: Do I need to manually change all the docker pin to core 1 first before I can migrate to a new server, if the new server has fewer cores than my current one? What will happen if I just migrate to the new server that let's say has 12 cores and my docker has core 15 pinned to it? In my experience the docker will fail to start with an error message about being unable to assign the cores it is configured to use. Quote Link to comment
testdasi Posted February 10, 2020 Author Share Posted February 10, 2020 Update in case someone stumbles on this topic. The dockers will error out. The fix is to go to Settings -> Cpu pinning and repin the cores. If you cores are outside of the range (e.g. you pinned core 15 to the docker but server now only has 12 cores), just clicking Apply will still update the docker even though you don't make any change. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.