Re: Run one-time startup script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Sep 20, 2013 at 9:11 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

> On 9/20/2013 5:31 AM, Kai Schaetzl wrote:
> > I have to change IP numbers across a number of virtual and physical
> > machines because of network center move. This has to be done before
> > network startup, of course. I'm thinking about the best method to do
> this.
> > Where should I include/init this script? Or would it rather make more
> > sense to do this on the last shutdown?
>
> reconfigure the servers to use dhcp and configure the hosts via
> reservations on the dhcp servers.  new location on a new subnet would
> have require reservations, reboot and voila!
>
> DNS should be taking care of any application stuff (when the servers are
> moved, their entries are updated on the DNS servers)


+1 to DNS + DHCP.

1. Configure your DNS A entries to the new IP scheme.
2. Configure your DHCP to give out fixed IP based on the MAC addresses of
your servers and their respective IP number in your new DNS scheme.
3. Configure the systems to do DHCP and they should boot up with the new IP
numbers.
3. Services like Postfix, NFS  etc. should be using DNS names rather than
IP numbers IMO, so the changes should be minimal if any.

-- Arun Khan
Sent from my non-iphone/non-android device
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux