Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Dec 14, 2011 9:00 am 
Offline
Newbie

Joined: Wed Dec 14, 2011 8:53 am
Posts: 4
Hello,

A) I have cloned a Linode to a different datacenter.
B) I have cloned a Linode to the same datacenter.

According to the documentation, in the new Linode I should edit:
/etc/hostname
/etc/hosts
/etc/resolv.conf

I'm forgetting something ?
Is there any difference if it is different / the same datacenter ?

Thank you.


Top
   
 Post subject:
PostPosted: Wed Dec 14, 2011 9:52 am 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
No, it doesn't make a difference if its in the same datacenter. lthough you wont need to change resolv.conf if the DNS servers are the same.

Whatever that enough or not depends whatever you have any services (e.g. apache) that are set to bind to a particular IP.


Top
   
 Post subject:
PostPosted: Wed Dec 14, 2011 11:33 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
I think actually the answer is there IS a difference between moving inside the same datacenter and moving to a different one.

Moving inside the same datacenter, you don't need to change any configuration; your linode shuts down, moves, starts up, everything is the same.

It's only when you move to a different datacenter that IPs change and you have to update stuff.


Top
   
 Post subject:
PostPosted: Wed Dec 14, 2011 11:38 am 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
Yes, you are right. But I think he is cloning to new linodes - which does change the IP.


Top
   
 Post subject:
PostPosted: Wed Dec 14, 2011 12:01 pm 
Offline
Newbie

Joined: Wed Dec 14, 2011 8:53 am
Posts: 4
Thanks for your responses.
Yes, I'm cloning.

In any case, the files that I have to "check" are:
/etc/hostname
/etc/hosts
/etc/resolv.conf

Nothing more ?


Top
   
 Post subject:
PostPosted: Wed Dec 14, 2011 12:42 pm 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
I refer to what I said before: there may be other files that need changing as well, depending on if there are any services that listen to particular IPs.

You'll figure out what else to change pretty quickly, that particular service/program, etc. will stop working and will probably throw an error into syslog.


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


Who is online

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