Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Restoring or cloning
PostPosted: Sat May 07, 2011 12:06 pm 
Offline
Junior Member

Joined: Mon Apr 18, 2011 1:54 pm
Posts: 45
Website: http://www.rassoc.com/gregr/weblog
If I have an existing linode, and I want to create a second node that's pretty much a duplicate of it, I could either a) clone the node, or b) restore a backup to a new node.

In either case, before the new node starts up, I presumably need to edit the /etc/network/interfaces file on the new node to change the static IPs so they don't conflict with the old node.

What are some ways to do that?


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 12:25 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Leave it as DHCP, the new node will pick up the new ip address automatically. Also restoring from a backup means you don't have to shut down the current node.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 12:29 pm 
Offline
Junior Member

Joined: Mon Apr 18, 2011 1:54 pm
Posts: 45
Website: http://www.rassoc.com/gregr/weblog
obs wrote:
Leave it as DHCP, the new node will pick up the new ip address automatically. Also restoring from a backup means you don't have to shut down the current node.


That would certainly make it easier, but the first node is already using static IPs.


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 12:53 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Ah then just clone it then log in via lish and edit it to the new ips, no need to edit the original node.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 4:46 pm 
Offline
Junior Member

Joined: Mon Apr 18, 2011 1:54 pm
Posts: 45
Website: http://www.rassoc.com/gregr/weblog
obs wrote:
Ah then just clone it then log in via lish and edit it to the new ips, no need to edit the original node.


I was thinking that if I did that the new node would boot for the first time (before I got lished in), and the two nodes would detect that there is an IP address conflict. So I thought there would be some risk that the first node might have an interruption in connectivity, at least until the second node got a new IP.

Is that incorrect?


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 5:29 pm 
Offline
Senior Member

Joined: Tue May 03, 2011 11:55 am
Posts: 105
Before you boot the new one you might be able to boot it with rescue mode and edit the necessary files before it would actually be online.


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 5:39 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Boot into rescue mode first. Also there won't be a conflict, if it was possible, some malicious user could boot up a bunch of linodes and hijack IPs which would be very bad for linode.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat May 07, 2011 5:43 pm 
Offline
Junior Member

Joined: Mon Apr 18, 2011 1:54 pm
Posts: 45
Website: http://www.rassoc.com/gregr/weblog
Thanks guys. I'm guessing booting into single-user mode would probably work as well?


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


Who is online

Users browsing this forum: No registered users and 8 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