| Author |
Message |
Anubis
Joined: 14 Dec 2011
Posts: 4
|
| Posted: Wed Dec 14, 2011 8:00 am Post subject: Linode migrate/clone config |
|
|
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. |
|
| Back to top |
|
saman007uk
Joined: 16 Oct 2004
Posts: 168
|
| Posted: Wed Dec 14, 2011 8:52 am Post subject: |
|
|
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. |
|
| Back to top |
|
Guspaz
Joined: 26 May 2009
Posts: 1150
Location: Montreal, QC
|
| Posted: Wed Dec 14, 2011 10:33 am Post subject: |
|
|
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. |
|
| Back to top |
|
saman007uk
Joined: 16 Oct 2004
Posts: 168
|
| Posted: Wed Dec 14, 2011 10:38 am Post subject: |
|
|
| Yes, you are right. But I think he is cloning to new linodes - which does change the IP. |
|
| Back to top |
|
Anubis
Joined: 14 Dec 2011
Posts: 4
|
| Posted: Wed Dec 14, 2011 11:01 am Post subject: |
|
|
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 ? |
|
| Back to top |
|
saman007uk
Joined: 16 Oct 2004
Posts: 168
|
| Posted: Wed Dec 14, 2011 11:42 am Post subject: |
|
|
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. |
|
| Back to top |
|
| |