add a shell for change master when they are m-m mode