high availability - Jenkins: 2 master nodes using NFS -


i´m thinking following high availability solution enviroment:

  • datacenter 1 powered on jenkins master node.

  • datacenter desasters 1 off jenkins master node.

datacenter 1 powered on, second disasters. idea install 2 jenkins using same ip shared nfs. if first has fallen, second starts same ip , still having service

my question is, can solution work?.

thanks hekp ;)

i don't see challenges such why should not work. still got monitor in case of switch-over because have faced situation jobs running when jenkins abruptly shuts down still in queue when service recovered never completed afterwards, had manually delete build using script console.

over jenkins forum lot of people have reported such bugs, of them seems have fixed, still there cases might happen, , because every time jenkins restarted/started configuration reloaded disk. there inconsistency @ times because of in memory config there earlier , reloaded config.

so in case, might happen executor thread still blocked when service recovered. got make sure running fine after recovery.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -