Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Feb 22, 2013 12:57 pm 
Offline
Newbie

Joined: Fri Feb 22, 2013 12:50 pm
Posts: 2
Hi all, a previous web developer at a company I'm working, who is no longer here, installed this on our main web server:

http://library.linode.com/linux-ha/ip-f ... untu-10.04

I've been tasked with removing this from our setup. I'd obviously like to do this with minimal downtime to our web server. Is there is an easy way to do this? I'm hope it's just a few commands and done.

Thanks so much!
-Kyle


Top
   
PostPosted: Fri Feb 22, 2013 2:06 pm 
Offline
Senior Member

Joined: Fri Nov 02, 2012 4:20 pm
Posts: 60
It's not that easy. You can turn all of that stuff off, but you need to know what you're doing. For example, if you have Apache pointing to the files located on the DRBD device, they need to be moved off before getting rid of DRBD. If the previous developer went through all of that, there's probably a second web server that it's replicating to.


Top
   
PostPosted: Fri Feb 22, 2013 2:56 pm 
Offline
Newbie

Joined: Fri Feb 22, 2013 12:50 pm
Posts: 2
Yes, there is a second linode. We are going to bring that offline and remove. This is a tentative plan I have come up with:

Bring second linode (ha2) offline.

On main web server (ha1) issue commands:

/etc/init.d/apache2 stop
/etc/init.d/heartbeat stop
drbdadm down all
drbdadm apply-al all
rmmod drbd
apt-get remove drbd8-utils drbd8-module-`uname -r`
apt-get remove heartbeat pacemaker

I read somewhere I need to mount something after this? This is the step I'm not sure about...

Bring apache back up and all should be well, I hope?

Feedback and advice is appreciated! Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group