LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-23-2010, 03:32 PM   #1
w00ten
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Swapping DRBD Nodes


Hi All,

I have an interesting conundrum concerning DRBD. I have 2 servers, one primary and one secondary. The secondary node is a brand new server which is significantly more powerful then the current primary node. I would like to swap them. That is, make the secondary, primary and make the primary, secondary. I will need to swap hostnames and IP's and such as well so that other dependent systems continue to work. What I am not clear on is how to make the change in DRBD. The config itself should not have to change except for the 'disk' directive in the node entries. I took a shot at it today and it ended in disaster. Logic tells me that all I should have to do is drbdadm secondary <resource name> on the primary and then do drbdadm primary <resource name> on the secondary. It complained that /proc/drbd doesn't exist and then died with error code 10, which I cannot find information on that is applicable to these commands. I managed to put this back to their original state but I'm not sure about trying this again. Anyone ever tried this? Anyone have any suggestions? This is a dev environment so experimentation is somewhat available.

Thanks in advance,
w00ten
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Both DRBD nodes are StandAlone pyruby Linux - Newbie 2 01-18-2010 07:29 PM
DRBD nodes don't synchronize.. Pls help! pyruby Linux - Newbie 5 11-19-2009 03:21 AM
Help with drbd KAOZ_IT Linux - Server 1 08-29-2007 01:31 AM
Drbd vsergeev Linux - Networking 0 07-30-2007 10:35 AM
DRBD on Fedora? Phaethar Linux - Software 1 03-13-2004 09:47 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration