Re: Can't ping the second network interface!

2015-07-30 Thread Mehdi H.
Thank you guys for kind help. To work around it on RHEL6|7 I did
# echo 2 > /proc/sys/net/ipv4/conf/default/rp_filter
# echo 2 > /proc/sys/net/ipv4/conf/all/rp_filter

And to make it permanent:
net.ipv4.conf.default.rp_filter = 2


Bests,
--Mehdi


On Wed, Jul 29, 2015 at 10:34 PM, Chu, Raymond  wrote:

> Mark,
>
> As soon as I update the /etc/sysconfig.conf with your suggestion and run
> "sysctl -p /etc/sysconfig.conf", my additional 12 network interfaces
> respond to ping command immediately.
>
> Thanks for you hint.
> Ray
>
>
> -Original Message-
> From: Chu, Raymond
> Sent: Wednesday, July 29, 2015 1:14 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: RE: Can't ping the second network interface!
>
> Mark,
>
> I have the same issue. After having rebooted the image, leave it alone
> overnight and I can ping all interfaces.
> I do use the sysctl command to investigate those setting that you have
> specified.
>  Only this parameter is set to "0" as shown:
>
> grep net.ipv4.conf.all.rp /tmp/sysctl
> net.ipv4.conf.all.rp_filter = 0
>
> The others have the "1" value.
>
> grep net.ipv4.conf.eth0.rp /tmp/sysctl
> net.ipv4.conf.eth0.rp_filter = 1
> grep net.ipv4.conf.eth1.rp /tmp/sysctl
> net.ipv4.conf.eth1.rp_filter = 1
>
> Need to know how to set to "0" as you specified.
>
> Thanks,
> Ray
>
>
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Mark Post
> Sent: Wednesday, July 29, 2015 12:44 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Can't ping the second network interface!
>
> Email sent from outside of PSEG. Use caution before using
> links/attachments.
>
> >>> On 7/29/2015 at 12:27 PM, "Mehdi H."  wrote:
> > Hey Guys,
> >
> > I've installed RHEL 6.6 on a standalone LPAR, everything looks fine
> > but can't add, actually ping the second network interface!
> >
> > The strange thing is that each interface works fine if the other one
> > is down but don't work when both are up.
>
> Having two separate NICs, with different IP addresses, on the same
> physical network segment is "tricky" to say the least.  You would be better
> off doing one of two things:
> - Use only 1 NIC, and assign both IP addresses to it
> - Bond the 2 NICs and assign both IP addresses to it
>
> You could set up routing policy tables, but that's kind of an advanced
> topic.
>
> Otherwise, take a look at the following using the sysctl command:
> net.ipv4.conf.all.rp_filter
> net.ipv4.conf.default.rp_filter
> net.ipv4.conf.lo.rp_filter
> net.ipv4.conf.eth0.rp_filter
> net.ipv4.conf.eth1.rp_filter
>
> Make sure they're set to 0 and not to 1.
>
>
> Mark Post
>
> --
> 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 more information on Linux on System z, visit http://wiki.linuxvm.org/
>
>
> -
>
> The information contained in this e-mail, including any attachment(s), is
> intended solely for use by the named addressee(s).  If you are not the
> intended recipient, or a person designated as responsible for delivering
> such messages to the intended recipient, you are not authorized to
> disclose, copy, distribute or retain this message, in whole or in part,
> without written authorization from PSEG.  This e-mail may contain
> proprietary, confidential or privileged information. If you have received
> this message in error, please notify the sender immediately. This notice is
> included in all e-mail messages leaving PSEG.  Thank you for your
> cooperation.
>
> --
> 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 more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Can't ping the second network interface!

2015-07-29 Thread Mehdi H.
Hey Guys,

I've installed RHEL 6.6 on a standalone LPAR, everything looks fine but
can't add, actually ping the second network interface!

The strange thing is that each interface works fine if the other one is
down but don't work when both are up.

Here is some commands output for you review and help.
http://paste.ubuntu.com/11960487/


Bests,
--Mehdi

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Oracle replication from linux x86_64 to linux on z

2013-05-05 Thread Mehdi
Thank you guys for reply and details, I know this can't be done through
Data Guard so I'm looking for another way and wanted to know your ideas
about Oracle Golden Gate or any other solution if you've implemented.
Our customer is not going to migrate his production DB's from x86_64
machines and have a Mainframe with z/VM, RHEL and Oracle so they thought
they can use it as a Backup/replicat Machine...

Bests,
--Mehdi


On 2 May 2013 22:22, Alan Altmark  wrote:

> On Thursday, 05/02/2013 at 11:29 EDT, Rob van der Heij 
> wrote:
> > Having the database swap the bytes on the fly for everything would be
> > pretty expensive, and probably best done on database load only. And I
> would
> > assume similar issues for floating point numbers that are kept in
> machine
> > format (like when you go from DB2 on z/OS to DB2 on zLinux).
> >
> > Another area potentially is code page for character data. While the
> > database may be able to translate the retrieved data based on table code
> > page and application needs, I recall that we made some CPU usage
> > improvements by doing that at the database load and keeping the tables
> in
> > the native code page.
>
> Contact the db vendor.  They may have generic utilities that can convert
> strings and binary values.
>
> Alan Altmark
>
> Senior Managing z/VM and Linux Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> 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 more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Oracle replication from linux x86_64 to linux on z

2013-04-29 Thread Mehdi
The best approach is standby, I mean we need a backup of DB's on Linux z to
be able to switch over when primary DB's (linux x86_64) fails...


On 29 April 2013 20:14, Dodds, Jim  wrote:

> Do you mean replicate or do you mean move or do you mean standby?
>
> Jim Dodds
> Systems Programmer/DBA
> Kentucky State University
> 400 East Main Street
> Frankfort, Ky 40601
> 502 597 6114
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Robert J Brenneman
> Sent: Monday, April 29, 2013 9:59 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Oracle replication from linux x86_64 to linux on z
>
> What do you mean by replicate?
> a) Do you want to move the database entirely from x86_64 to s390x ? I
> suspect this can be done using Oracle's native dump and restore utilities.
> b) Or do you want a hybrid HA cluster where some nodes are x86_64 and
> others are s390x ? I do not believe this is possible.
>
> In either case, perhaps Damian the Oracle guy will respond with actual
> relevant experience. :)
>
>
> On Mon, Apr 29, 2013 at 4:42 AM, Mehdi  wrote:
>
> > Hey Guys,
> >
> > Is there any best practice to replicate Oracle 10gR2 DB's from linux
> > x86_64 to Oracle on linux z? Is Golden Gate the right way? Any
> > experiences and ideas are welcome...
> >
> > Bests,
> > Mehdi
> >
> > --
> > 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 more information on Linux on System z, visit
> > http://wiki.linuxvm.org/
> >
>
>
>
> --
> Jay Brenneman
>
> --
> 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 more information on Linux on System z, visit http://wiki.linuxvm.org/
>
> --
> 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 more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Oracle replication from linux x86_64 to linux on z

2013-04-29 Thread Mehdi
Hey Guys,

Is there any best practice to replicate Oracle 10gR2 DB's from linux x86_64
to Oracle on linux z? Is Golden Gate the right way? Any experiences and
ideas are welcome...

Bests,
Mehdi

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Linux on zSeries Presentation/Video

2012-06-24 Thread Mehdi
Hey Guys,

I'm looking for some Linux on zSeries decent presentation or video (which
is captured from seminars), I have to talk about features and benefits of
using linux on mainframes. Any reference and help is highly appreciated :)


Cheers,
--Mehdi

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: zLinux under zVM or Standalone

2008-02-02 Thread Mehdi
Thanks for replies, so seems that the main reason behind using zLinux under
z/VM is to have shared resources (CPU, DASD,...) in better management. Will
you suggest z/VM if you have to install z/OS instead zLinux too or that is
another story?
Main reason why I want to try zLinux on zSeries is to have some services
like mail/web/ftp... on the Z machine and see if Java applications have
better performance on zLinux than z/OS, any ideas?


Thanks
   --Mehdi


On 01/02/2008, Mark Post <[EMAIL PROTECTED]> wrote:
>
> >>> On Fri, Feb 1, 2008 at  8:42 AM, in message
> <[EMAIL PROTECTED]>, Mehdi
> <[EMAIL PROTECTED]> wrote:
> > Hi List,
> >
> > I'm a newbie not linux world but to zLinux world. As I know I should be
> able
> > to install zLinux on zseries standalone or under zvm but don't know the
> > difference, which one is better, preferable and WHY? I know I'm limited
> in
> > number of LPARs if I install zLinux standalone but what are other
> benefits
> > or pitfalls if I install zLinux under zvm or install it standalone...
>
> You can think of LPAR as being equivalent to installing Linux on a single
> midrange server.  You can think of z/VM as XEN or VMware on massive doses of
> steroids.  Other people have given a lot of concrete reasons why you would
> want to use z/VM.  I'll just say that if z/VM is a possibility, *go with it*
> and don't look back.  LPARs are a pain in the neck.
>
>
> Mark Post
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



--
Yours Sincerely, Mehdi
--
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
   ~Saadi (persian poet) -1258 */
--

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


Re: Linux under Z/Series

2008-02-01 Thread Mehdi
can anybody give me an idea about the "s390" & "s390x" versions? Debian
doesn't have s390x version but CentOS has...


Thanks
   --Mehdi

On 31/01/2008, John Summerfield <[EMAIL PROTECTED]> wrote:
>
> Rob van der Heij wrote:
> > On Jan 30, 2008 12:28 AM, John Summerfield
>
> >
> >> What happens when one updates high-impact software such as the kernel
> or
> >> glibc? or worse, requires a non-standard kernel (it might not happen on
> >> Zeds, but it does on intellishware)?
> >
> > Yes. So you will have to wait for your middleware vendor to bless that
> > kernel level or take your risk otherwise.
> > To avoid the endless combinations, the Enterprise Linux distributions
> > (not just s390) use Service Pack or Upgrade Levels rather than a
> > per-package upgrades. Large installations may also have their own
>
> RH & CentOS do both; I get the RH enterprise notices, and the CentOS
> ones are pretty close behind (within the day for my systems).
>
> Debian does upgraded ISOs from time to time (but almost never with
> technology updates; it may have decided to accept, for example, newer
> firefox etc rather than try to backport fixes and create its own fixes
> for old releases).
>
> There's also a group of Fedora folk (I think the association with Fedora
> Project is there, but it's weak) that creates updated Fedora DVDs from
> time to time.
>
> So it's not just Enterprise Linux, and it's not just to keep third-party
> vendors happy.
>
>
> > internal change management and ITIL-based deployment process. In such
> > an environment, ad-hoc upgrade of glibc for some servers on monday
> > morning is frowned upon. People with a background in "consumer type"
> > Linux distributions sometimes show different objectives regarding
> > installation of maintenance.
>
> I used to work for an Australian Government department with a large
> budget; I have some idea of what might go on.
> >
> > I found it really helps to go to a minimal installation, removing all
> > software that you don't really need on the server. That tends to
> > reduce the need for urgent maintenance a lot.
>
> I don't need vendor support on my toys, so that's a reason I might
> prefer Debian at times. A basic install is pretty bare.
>
>
> >
> > Given a fair amount of different applications, you may have a hard
> > time finding a common supported platform. Fortunately with
> > virtualization you can at least run different levels next to each
> > other, even though it's a pain. That's one of the reasons why we don't
> > use a proprietary agent for data collection.
>
> Xen and kvm are fairly rudimentary at present, but I'm looking forward
> to their use in coming years.
>
> --
>
> Cheers
> John
>
> -- spambait
> [EMAIL PROTECTED]  [EMAIL PROTECTED]
> -- Advice
> http://webfoot.com/advice/email.top.php
> http://www.catb.org/~esr/faqs/smart-questions.html
> http://support.microsoft.com/kb/555375
>
> You cannot reply off-list:-)
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



--
Yours Sincerely, Mehdi
--
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
   ~Saadi (persian poet) -1258 */
--

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


zLinux under zVM or Standalone

2008-02-01 Thread Mehdi
Hi List,

I'm a newbie not linux world but to zLinux world. As I know I should be able
to install zLinux on zseries standalone or under zvm but don't know the
difference, which one is better, preferable and WHY? I know I'm limited in
number of LPARs if I install zLinux standalone but what are other benefits
or pitfalls if I install zLinux under zvm or install it standalone...

Thanks
--
Yours Sincerely, Mehdi
--
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
   ~Saadi (persian poet) -1258 */
--

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


Re: newbie, looking for a community of mainframe,linux users

2006-12-05 Thread Mehdi Hassanpour

Thank you all for kind replies... I know I'm not in the exact place I
wished, but I can get replies from expert here ;)
So there is NO 3270 client by IBM for linux desktops. np! we can use the
free x3270 :)

And about the my strange FTP problem, a dos2unix command solved the issue...
(ty john). This is a strange problem, I don't have it always on my daily
put/get (I see that sometimes, very random) and it happens with windows
standard ftp client too!

And let me know if this community have other resources like forums, irc
channels, wiki or...


Thanks

      --Mehdi


On 04/12/06, Fargusson.Alan <[EMAIL PROTECTED] > wrote:


Have you checked to see if the file on the Mainframe has 0x0d
characters?  The FTP programs tend to convert newlines, but ignore carriage
returns if they are already there.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Mehdi Hassanpour
Sent: Sunday, December 03, 2006 1:40 AM
To: LINUX-390@VM.MARIST.EDU
Subject: newbie, looking for a community of mainframe,linux users


Hey all,

I'm a newbie here, not new to linux but new to mainframe ;). maybe I'm
asking my questions in a wrong place, that's becaz I could'nt find any
other
users community on the net for my queries... please let me know if I have
to
ask my questions some where else. Thanks

I'm a linux users since 2001 and have to use my faivorite linux distro on
Desktop and connect with that to our OS390 & ZOS host. I use x3270
emulator
to connect to our OS390. do u know any other emulator ? does IBM have any
emulator for connection from linux desktop to mainframe ?

I have a very serious problem with FTP from linux to OS390 too.
I'm trying to FTP files from Mainframe to Linux OS (get - ascii). When I
get
files from Mainframe to Linux it puts an extra character at the end of
each
line. The Character's hex is: x'0D'
Any help is appreciated.


Thanks
--
****
Yours Sincerely, Mehdi Hassanpour
--
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
   ~Saadi (persian poet) -1258 */
--
http://ImPersian.com | http://Hezardastan.org


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390





--
****
Yours Sincerely, Mehdi Hassanpour
--
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
  ~Saadi (persian poet) -1258 */
--
http://ImPersian.com | http://Hezardastan.org


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


newbie, looking for a community of mainframe,linux users

2006-12-03 Thread Mehdi Hassanpour

Hey all,

I'm a newbie here, not new to linux but new to mainframe ;). maybe I'm
asking my questions in a wrong place, that's becaz I could'nt find any other
users community on the net for my queries... please let me know if I have to
ask my questions some where else. Thanks

I'm a linux users since 2001 and have to use my faivorite linux distro on
Desktop and connect with that to our OS390 & ZOS host. I use x3270 emulator
to connect to our OS390. do u know any other emulator ? does IBM have any
emulator for connection from linux desktop to mainframe ?

I have a very serious problem with FTP from linux to OS390 too.
I'm trying to FTP files from Mainframe to Linux OS (get - ascii). When I get
files from Mainframe to Linux it puts an extra character at the end of each
line. The Character's hex is: x'0D'
Any help is appreciated.


Thanks
--
****
Yours Sincerely, Mehdi Hassanpour
--
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
  ~Saadi (persian poet) -1258 */
--
http://ImPersian.com | http://Hezardastan.org


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