RE: moving RH machine
- From: "Carl T. Miller" <carl@xxxxxxxxxx>
- Date: Fri, 5 Feb 2010 08:37:21 -0500
When I have needed to move servers, I make a copy
of the files that need to be changed and append
.orig to the filenames. I then make another copy
of the files and append .new to the filenames.
Edit the .new files as needed. Then write a script that
checks if it can ping the Internet. If it can't, it
copies the .new files and restarts networking services.
If it can now ping the Internet, it sends you email to
let you know it is up. If it can't ping the Internet,
it copies the .orig files and restarts networking services.
Next, set up a cron job to run this every 5 minutes.
When I receive email that the server is up, I connect
to it and remove the cronjob.
Of course, all this depends on getting the details right
when you set up the .new files.
c
Andre Dill wrote:
Don't forget /etc/resolv.conf
Regards,
Andre
DISCLAIMER: This email and any files transmitted with it are confidential
to DataCash Group plc and its group companies. It is intended only for the
person to whom it is addressed. If you have received this email in error,
please forward it to mailto:info@xxxxxxxxxxxx with the subject line.If you
are not the intended recipient you must not use, disclose, copy, print,
distribute or rely on this email or any transmitted files. DataCash Ltd is
registered in England and Wales no. 3430157. DataCash Ltd is part of the
DataCash Group plc. DataCash Group plc is registered in England and Wales
no. 3168091. DataCash Ltd and DataCash Group plc registered address is
Descartes House, 8 Gate Street, London, WC2A 3HP, United Kingdom.
Save a tree...Please only print this page if essential
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Nishanth Chandran
Sent: 05 February 2010 01:39 PM
To: General Red Hat Linux discussion list
Subject: Re: moving RH machine
edit files:
/etc/hosts
/etc/sysconfig/networking
/etc/sysconfig/network-scripts/profile/default/network.
if i remember correctly ;-)
Cheers,
On 5 February 2010 14:22, Stainforth, Matthew (SD/DS) <
Matthew.Stainforth@xxxxxx> wrote:
I'd recommend using system-config-network to change the IP address and
update hosts. That process will do all needed updates under
/etc/sysconfig
as well.
----- Original Message -----
From: redhat-list-bounces@xxxxxxxxxx <redhat-list-bounces@xxxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Sent: Thu Feb 04 21:58:06 2010
Subject: moving RH machine
I am moving a Red Hat ES4 machine
to a remote site, and the only change
that I am aware of is the ip address.
I believe all I need to do is change
the /etc/hosts file manually before
powering it down at our computer room here.
Is there anything else that anyone can suggest
that I need to do for this move, or
to prepare for this move ?
JYard
UCLA
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: moving RH machine
- From: cliff here
- Re: moving RH machine
- References:
- Re: moving RH machine
- From: Stainforth, Matthew (SD/DS)
- Re: moving RH machine
- From: Nishanth Chandran
- RE: moving RH machine
- From: Andre Dill
- Re: moving RH machine
- Prev by Date: RE: moving RH machine
- Next by Date: Re: moving RH machine
- Previous by thread: RE: moving RH machine
- Next by thread: Re: moving RH machine
- Index(es):