moving RH machine

cliff here c4ifford at gmail.com
Fri Feb 5 17:07:22 UTC 2010


Keep it simple, just change your IP and netmask in
/etc/sysconfig/network-scripts/ifcfg-eth* file

You may need to change your hostname, but only if your organization requires
the naming scheme.

On Fri, Feb 5, 2010 at 8:37 AM, Carl T. Miller <carl at carltm.com> wrote:

> 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 at datacash.com 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 at redhat.com
> > [mailto:redhat-list-bounces at redhat.com] 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 at gnb.ca> 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 at redhat.com <redhat-list-bounces at redhat.com>
> >> To: General Red Hat Linux discussion list <redhat-list at redhat.com>
> >> 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 at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
-------------------------------------------------------------------------------------------------------------------------------------
NOTICE: This message, including all attachments, is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering this message
to its intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying "Received in error" and immediately delete this
message and all its attachments.
-------------------------------------------------------------------------------------------------------------------------------------



More information about the redhat-list mailing list