Folks,  Don't forget to also change the host name in /etc/postfix/main.cf

David Kelly




             Marcy Cortes
             <marcy.d.cor...@w
             ellsfargo.com>                                             To
             Sent by: Linux on         LINUX-390@VM.MARIST.EDU
             390 Port                                                   cc
             <linux-...@vm.mar
             IST.EDU>                                              Subject
                                       Re: Dynamicallhy Changing Linux
                                       Guest Network
             08/14/2009 11:48
             AM


             Please respond to
             Linux on 390 Port
             <linux-...@vm.mar
                 IST.EDU>






DHCP is not an option here.
In the event of a real disaster, we use the production IP s and hostnames,
full replication, all is easy peasy.
But for a disaster test, we can't - have to change IPs and hostnames.
This can be problematic, but after a while, you make a list and figure it
out - not everything uses DNS (think firewall, perhaps load balancers, some
stupid sw :).

In SuSE 9 and 10, the files that are going to perhaps need attention are
/etc/HOSTNAME
/etc/hosts
/etc/sysconfig/hwcfg-qeth-bus*
/etc/sysconfig/network/ifcfg-qeth-bus-ccw-x.x.xxxx
/etc/sysconfig/network/routes
/etc/resolv.conf

We also regenerate server SSH keys on a change of the HOSTNAME.


Marcy

"This message may contain confidential and/or privileged information. If
you are not the addressee or authorized to receive this for the addressee,
you must not use, copy, disclose, or take any action based on this message
or any information herein. If you have received this message in error,
please advise the sender immediately by reply e-mail and delete this
message. Thank you for your cooperation."


-----Original Message-----
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Lionel Dyck
Sent: Friday, August 14, 2009 8:01 AM
To: LINUX-390@VM.MARIST.EDU
Subject: [LINUX-390] Dynamicallhy Changing Linux Guest Network

Does anyone have a z/vm and/or linux script that they could share that can
be used to dynamically change the linux servers network when the server is
brought up at a dr site and/or when the network addressing is changed?

I've tried playing with it without success - keep missing a piece here or
there.

thx



Lionel B. Dyck, z/Linux Virtualization Specialist
IBM Global Services - Kaiser Permanente Team
Linux on System z Service Delivery Team
925-926-5332 (8-473-5332) | E-Mail: ld...@us.ibm.com
AIM: lbdyck | Yahoo IM: lbdyck


I never guess. It is a capital mistake to theorize before one has data.
Insensibly one
begins to twist facts to suit theories, instead of theories to suit facts.
- Sir Arthur Conan Doyle
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to