CP environment variables were invented for this reason. You can even set
one of them via an IPL parameter so that you don’t have to play games with
the system ID.

Regards,
Alan Altmark
IBM

> On Oct 10, 2020, at 10:55 PM, Sravan Kumar Chegori <scheg...@gmail.com>
wrote:
>
> Hello Frank,
>
> Did you also change the other required network parameters like GATEWAY,
> NETMASK, etc.?
>
> Coming back to your original question - you can stage a startup script
(Eg:
> S01DR_script.sh so that it executes first at the boot) that
> a. would verify whether you are in a DR site or not?
> b. If in a DR site, read a driver file containing DR network information
> like IP address, GATEWAY, NETMASK, etc and update the network interface
> config file (Eg: ifcfg-eth0)?
>
> This however would require to set something in the VM at the IPL time
like
> LOGMSG that would have keywords like "DR TEST" so that the Linux server
can
> query to verify if the server is coming up in DR or not.
>
> Regards,
> Sravan Chegori
>
>
>
>
>
>> On Wed, Oct 7, 2020 at 9:55 PM Frank M. Ramaekers
>> <uisfrancism.ramaek...@globe.life> wrote:
>>
>> No joy:
>>
>> From 10.25.60.88 icmp_seq=3693 Destination Host Unreachable
>> ^
>>
>> From 10.25.60.88 icmp_seq=3694 Destination Host Unreachable
>> From 10.25.60.88 icmp_seq=3695 Destination Host Unreachable
>> From 10.25.60.88 icmp_seq=3696 Destination Host Unreachable
>> From 10.25.60.88 icmp_seq=3697 Destination Host Unreachable
>> From 10.25.60.88 icmp_seq=3698 Destination Host Unreachable
>>
>> Frank M. Ramaekers Jr.
>> Unisys | Systems Senior Administrator
>>
>>
>> -----Original Message-----
>> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
>> Duane Beyer
>> Sent: Wednesday, October 7, 2020 9:26 AM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Modify ifcfg-encw0.0.nnnn at DR
>>
>> Shift ^   works on most emulators.   (Shift 6)
>>
>> Duane
>>
>> -----Original Message-----
>> From: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> On Behalf Of Frank M.
>> Ramaekers
>> Sent: Wednesday, October 7, 2020 9:40 AM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Modify ifcfg-encw0.0.nnnn at DR
>>
>> Thanks...ah, how to stop a ping w/o Ctrl-C?  (z/VM console of zLinux)
>>
>> Frank M. Ramaekers Jr.
>> Unisys | Systems Senior Administrator
>>
>> -----Original Message-----
>> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
>> Marcy Cortes
>> Sent: Tuesday, October 6, 2020 12:38 PM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Modify ifcfg-encw0.0.nnnn at DR
>>
>> You can do something like
>>        sed -i -e 's/16/24/g'  filename
>>
>> Or you can change the info with the IP command, and then get in and fix
>> with VI
>>
>>
>>
>> -----Original Message-----
>> From: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> On Behalf Of Frank M.
>> Ramaekers
>> Sent: Tuesday, October 6, 2020 8:07 AM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: [LINUX-390] Modify ifcfg-encw0.0.nnnn at DR
>>
>> How can I change the IP address of a network adapter at D/R.  Since the
IP
>> address is unusable, I cannot ssh to the machine.   Attempting vi from
the
>> VM console is a mess.
>> I have two lines to change:
>>
>> IPADDR="10.1.20.88"
>> PREFIX="16"                (to 24)
>>
>> Ideas?
>>
>> Frank M. Ramaekers Jr.  | Systems Senior Administrator | CIS Mainframe
>> Services Unisys | (512)-387-3949 | Francis.Ramaekers at Unisys.Com
>>
>> [unisys_logo]<
>>
http://www.unisys.com/
$
>>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is for use only by the intended recipient. If you received
>> this in error, please contact the sender and delete the e-mail and its
>> attachments from all devices.
>> [Grey_LI]<
>>
http://www.linkedin.com/company/unisys
$
>>> [Grey_TW] <
>>
http://twitter.com/unisyscorp
$
>>> [Grey_GP] <
>>
https://plus.google.com/+UnisysCorp/posts
$
>>> [Grey_YT] <
>>
http://www.youtube.com/theunisyschannel
$
>>> [Grey_FB] <
>>
http://www.facebook.com/unisyscorp
$
>>> [Grey_Vimeo] <
>>
https://vimeo.com/unisys
$
>>> [Grey_UB] <
>>
http://blogs.unisys.com/
$
>>>
>>
>> ----------------------------------------------------------------------
>> This message contains information which is privileged and confidential
and
>> is solely for the use of the intended recipient. If you are not the
>> intended recipient, be aware that any review, disclosure, copying,
>> distribution, or use of the contents of this message is strictly
>> prohibited. If you have received this in error, please destroy it
>> immediately and notify us at privacy...@globe.life.
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions, send
>> email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
>>
http://www2.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://www2.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://www2.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://www2.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://www2.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
> https://urldefens
e.proofpoint.com/v2/url?u=http-3A__www2.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIBaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=XX3LPhXj6Fv4hkzdpbonTd1gcy88ea-vqLQGEWWoD4M&m=2s1kLg-2EGrVPUwzzDDpgQc2mipKbyT4NtzpTF7MG6o&s=CYQ8Ldijd-v-ZPrJRE7QoyrI9InLj4UvOU0kGIJralo&e=

>

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

Reply via email to