Re: mac address problem

2012-05-21 Thread Ursula Braun
On Thu, 2012-05-17 at 15:52 +, Levy, Alan wrote:
 We have a problem with a linux server that when we reboot it, it takes at 
 least 15 minutes to be able to ssh into.

 It seems, from out network traces, that when the server reboots, it has 2 mac 
 addresses in the arp tables on the firewall  (one from before and one from 
 after the reboot).

 We cannot ping or ssh into the server after the reboot. Yesterday, we 
 rebooted it. The network group ran traces, captured packets, etc and we found 
 that if we pinged the network gateway address from this server, everything 
 started working again.

 Has anyone seen this before ?

Alan,

we reported this problem in Novell bugzilla 617373. Solution has been to
introduce a SEND_GRATUITOUS_ARP config option. Its default is no.
Changing it to yes should trigger the sending of gratuitous ARPs. The
config option is offered starting with sysconfig-0.71.30-0.10.1.

Regards, Ursula Braun, IBM Germany

--
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 DataGuard on Linux on z

2012-05-21 Thread Guest, Darren
Hi Mikael,

I believe you're OK providing you're on the same type of machine (ie: z/Series 
to z/Series is fine).

We're about to do this (z196 to z10 EC) so I'll let you know if it works!! :-)


Cheers,

Darren


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mikael 
Wargh
Sent: Monday, April 09, 2012 5:39 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Oracle DataGuard on Linux on z

Hello,

We're planning to run Oracle EE database with Data Guard option on Linux on 
system z. So far everything seems doable, but we found some internet 
presentation telling that the two instances (active-passive) has to be exactly 
on same software level and on a same type of hardware (chipset etc) to work 
properly. Now we're wondering if this will work on z196 (active database) and 
z10BC (passive replication database) combination. At the beginning we would 
have same z/VM (6.2) and RHEL (6.x) versions on both systems but good question 
is what happens if we need to upgrade them in asynchronous manner?



Best regards,

Mikael Wargh

Tieto, Finland





Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. Although Experian has taken 
reasonable steps to ensure that this communication and any attachments are free 
from computer virus, you are advised to take your own steps to ensure that they 
are actually virus free. 

Companies Act information: Registered name: Experian Limited. Registered 
office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, 
United Kingdom. Place of registration: England and Wales. Registered number: 
653331

--
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: mac address problem

2012-05-21 Thread David Boyes
On 5/21/12 4:11 AM, Ursula Braun ubr...@linux.vnet.ibm.com wrote:

we reported this problem in Novell bugzilla 617373. Solution has been to
introduce a SEND_GRATUITOUS_ARP config option. Its default is no.
Changing it to yes should trigger the sending of gratuitous ARPs. The
config option is offered starting with sysconfig-0.71.30-0.10.1.

When would this NOT be the correct behavior? Seems like the default should
be yes, given that that's the way ARP   has worked for decades.

--
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: mac address problem

2012-05-21 Thread Levy, Alan
Thanks to all who responded. I will be trying this.

Alan Levy
VM/Linux Administrator
NYC Department of Information
Technology and Telecommunications
718-403-8020
 
 

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mauro 
Souza
Sent: Saturday, May 19, 2012 9:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: mac address problem

My script is called rclocal, is started on rc3 and rc5, and is the last script 
(symlinked as S99rclocal). It only have this inside:

#!/bin/bash
ping -c1 -w 1 172.16.0.1


172.16.0.1 is the default gateway. This is a vswitch lan (VSADM), on Layer2, 
using Link Aggregation. All penguins wearing red hats on that network behaves 
as it should, but all green jacketed SUSE11 penguins don't... It may be the 
color...

And as promised, here's the ifcfg-eth0 file (no LLADDR on it, as suspected):
zlinx100:~ # cat /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='static'
IPADDR='172.16.0.71/24'
BROADCAST=''
GATEWAY='172.16.0.1'
STARTMODE='auto'
NAME='OSA Express Network card (0.0.0900)'
ETHTOOL_OPTIONS=''
MTU=''
NETWORK=''
REMOTE_IPADDR=''
USERCONTROL='no'


And I think is a zVM 6.1 1101 too...

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both 
history, and a love letter from God.


2012/5/18 Alan Altmark alan_altm...@us.ibm.com:
 On Thursday, 05/17/2012 at 12:17 EDT, Levy, Alan 
 al...@doitt.nyc.gov
 wrote:
 We have a problem with a linux server that when we reboot it, it 
 takes
 at least
 15 minutes to be able to ssh into.

 It seems, from out network traces, that when the server reboots, it 
 has
 2 mac
 addresses in the arp tables on the firewall  (one from before and one
 from
 after the reboot).

 We cannot ping or ssh into the server after the reboot. Yesterday, we
 rebooted
 it. The network group ran traces, captured packets, etc and we found
 that if we
 pinged the network gateway address from this server, everything 
 started
 working
 again.

 Has anyone seen this before ?

 Switches (not hubs) have what is called a filtering database.  This 
 database contains (MAC,port,VLAN) tuples.  It is populated by the 
 switch as it learns which end stations are plugged into which ports.  
 This allows switches to avoid sending unicast ethernet frames to ports 
 whose end stations don't care.

 How does it learn?  It looks at the SOURCE MAC addresses on inbound 
 frames.  If a TARGET MAC address  VLAN is in its database, it will 
 forward the frame to the correct port.  If not, it is supposed to (if 
 not administratively prevented from doing so) copy the frame to all 
 ports.  If a MAC moves to a different port, the switch will forward to 
 the wrong port, until a frame comes into the new port.  The frame that 
 come in is usually the gratuitous ARP broadcast response (grat-ARP) 
 that IP stacks send when an interface is activated.  It serves two 
 purposes: (1) It populates/updates each neighbor's ARP cache, and (2) 
 it updates the switch's filtering database.  (Switches can be turned 
 into expensive hubs by turning off learning mode entirely.)

 Database entries, like ARP caches, age out after a period of time.  
 IEEE say 5 minutes should be the default.

 On a layer 3 (IP) VSWITCH, CP will issue the grat ARPs for each 
 guest if there is an OSA failover.  On a layer 2 (ETHERNET) VSWITCH, 
 CP will remember the last grat-ARP the guest has sent for IPTIMEOUT minutes.
 WARNING WARNING:  The IPTIMEOUT needs to be at least as large as the 
 switch's forwarding entry age out setting.  If the switch value is 
 lower than IPTIMEOUT, then an OSA failover event will result in frames 
 being sent to the bad OSA port since CP won't have any information to 
 us on grat-ARPs  (Unless the port went dark, in which case all of the 
 forwarding entries related to that port should be purged.)

 You can see this happening when PING won't work until you ping out 
 from the guest.  The switch sees the MAC come in and updates its 
 database.  But if there hasn't been a failover event with mismatched 
 timeout/age-out values, then I would look at the switch to see what's 
 in its filtering database.  If that looks ok, then I would get VSWITCH 
 data traces.  If that looks ok, then I suspect the physical switch of 
 misbehavior.

 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 

Re: mac address problem

2012-05-21 Thread Alan Altmark
On Monday, 05/21/2012 at 07:41 EDT, David Boyes dbo...@sinenomine.net
wrote:
 On 5/21/12 4:11 AM, Ursula Braun ubr...@linux.vnet.ibm.com wrote:
 
 we reported this problem in Novell bugzilla 617373. Solution has been
to
 introduce a SEND_GRATUITOUS_ARP config option. Its default is no.
 Changing it to yes should trigger the sending of gratuitous ARPs. The
 config option is offered starting with sysconfig-0.71.30-0.10.1.

 When would this NOT be the correct behavior? Seems like the default
should
 be yes, given that that's the way ARP   has worked for decades.

You beat me to it.  RFC 5227 (IPv4 address conflict detection, ACD) takes
Stevens' grat ARP (request, not reply - my bad) to the next level, and
establishes the standard for detection of duplicate IP address usage.

To quote from section RFC 5227 section 2.1:
  Before beginning to use an IPv4 address (whether received from manual
  configuration, DHCP, or some other means), a host implementing this
  specification MUST test to see if the address is already in use, by
  broadcasting ARP Probe packets.  This also applies when a network
  interface transitions from an inactive to an active state, when a
  computer awakes from sleep, when a link-state change signals that an
  Ethernet cable has been connected, when an 802.11 wireless interface
  associates with a new base station, or when any other change in
  connectivity occurs where a host becomes actively connected to a
  logical link.

Exceptions would be permitted for interfaces that, while physically
connected to the infrastructure, are not ready to receive packets for a
particular IP.  I.e. backup interfaces.

If you're going to turn off grat ARPs (an incredibly dumb idea), you have
to turn off learning mode on the switches.  Feh.

If there's going to be a setting to control grat ARPs, it needs to be a
flag on ifconfig and ioctl(), not some global server setting.  IMHO, of
course.

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/


zOS translation tables for FTP to linux

2012-05-21 Thread Smith, Ann (ISD, IT)
Is there a standard translation table that can be specified with zOS ftp
to a linux server (SITE XLATE =  ...) to allow translation of characters
such as cent sign ?

Or are there any SITE parameters on linux side (RedHat 5 in this case)-
or translation utilities in linux to translate after file transferred as
binary?



This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.


--
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: zOS translation tables for FTP to linux

2012-05-21 Thread Smith, Ann (ISD, IT)
I'll see if dos2unix can handle cent sign translation.

 _ 
 From: Smith, Ann (ISD, IT)  
 Sent: Monday, May 21, 2012 1:30 PM
 To:   'Linux on 390 Port'
 Subject:  zOS translation tables for FTP to linux
 
 Is there a standard translation table that can be specified with zOS
 ftp to a linux server (SITE XLATE =  ...) to allow translation of
 characters such as cent sign ?
 
 Or are there any SITE parameters on linux side (RedHat 5 in this
 case)- or translation utilities in linux to translate after file
 transferred as binary?
 
 

This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.


--
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: zOS translation tables for FTP to linux

2012-05-21 Thread Alan Altmark
On Monday, 05/21/2012 at 01:39 EDT, Smith, Ann (ISD, IT)
ann.sm...@thehartford.com wrote:
 Is there a standard translation table that can be specified with zOS ftp
 to a linux server (SITE XLATE =  ...) to allow translation of characters
 such as cent sign ?

Linux is ISO 8859-1 (code page 819).  If you use code page 37 on z/OS, try
something like
   site sbdataconn=(037,819)

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/


Re: zOS translation tables for FTP to linux

2012-05-21 Thread McKown, John
Most likely, there is. But cent sign is not necessarily a unique hex code in 
the many code pages supported by UNIX and z/OS. So you really need to know what 
code page you have on z/OS (likely either CP032 or IBM-1047). And what code 
page you want on z/Linux, such as ISO8859-1 or UTF-8 or ... . The proper 
command during the ftp would be something like:

quote site sbd=(ibm1047,iso8859-1)

I just tried the above and it __appeared__ to work. At least when I did a cat 
on Linux, I saw a logical not (0xac) sign and a cent sign (0xa2) where I 
expected them. My Linux has the LANG=en_US.UTF8 set. When I tried UTF-8 instead 
of iso8859-1 in the above command, I got a weird error message and a 0 length 
file.

557 Data contains codepoints that cannot be translated

I would recommend against a BINary transfer. Yes, iconv will do it. But there 
are oddities. The first that if you BINary transfer from a z/OS legacy data 
set (such as a sequential dataset), there is no end-of-record indicator at the 
end of each record. For a Fixed Length record, you can translate using iconv, 
then insert an LF where needed. But for a Variable Length record, you have no 
idea where the records end, in general.  If you BINary transfer a z/OS UNIX 
file, you will have the z/OS UNIX end-of-line character. However, the problem 
occurs because the z/OS UNIX end of line character is an NEL 0x15, not an LF 
0x0a. iconv on z/Linux will translate this to a 0x85, not 0x0a. So you must 
translate that is a separate step.

-- 
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of Smith, Ann (ISD, IT)
 Sent: Monday, May 21, 2012 12:30 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: zOS translation tables for FTP to linux
 
 Is there a standard translation table that can be specified 
 with zOS ftp
 to a linux server (SITE XLATE =  ...) to allow translation of 
 characters
 such as cent sign ?
 
 Or are there any SITE parameters on linux side (RedHat 5 in 
 this case)-
 or translation utilities in linux to translate after file 
 transferred as
 binary?
 
 
 
 This communication, including attachments, is for the 
 exclusive use of addressee and may contain proprietary, 
 confidential and/or privileged information.  If you are not 
 the intended recipient, any use, copying, disclosure, 
 dissemination or distribution is strictly prohibited.  If you 
 are not the intended recipient, please notify the sender 
 immediately by return e-mail, delete this communication and 
 destroy all copies.
 
 
 --
 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: zOS translation tables for FTP to linux

2012-05-21 Thread Alan Cox
On Mon, 21 May 2012 13:59:49 -0400
Alan Altmark alan_altm...@us.ibm.com wrote:

 On Monday, 05/21/2012 at 01:39 EDT, Smith, Ann (ISD, IT)
 ann.sm...@thehartford.com wrote:
  Is there a standard translation table that can be specified with zOS ftp
  to a linux server (SITE XLATE =  ...) to allow translation of characters
  such as cent sign ?
 
 Linux is ISO 8859-1 (code page 819).

Linux is agnostic. Pretty much every distribution today is running in
UTF-8 mode. Nobody uses ISO8859-1 for anything serious as it doesn't even
contain all the letters needed for English (æ, ç, ï, é, etc) or symbols
like €.

What determines this is the C library (and one or two other
libraries/environments who insist on doing it their own way - eg Java).
Glibc is very utf-8 and locale aware.

Alan

--
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: zOS translation tables for FTP to linux

2012-05-21 Thread David Boyes
On Mon, 21 May 2012 13:59:49 -0400
Alan Altmark alan_altm...@us.ibm.com wrote:

 On Monday, 05/21/2012 at 01:39 EDT, Smith, Ann (ISD, IT)
 ann.sm...@thehartford.com wrote:
  Is there a standard translation table that can be specified with zOS
ftp
  to a linux server (SITE XLATE =  ...) to allow translation of
characters
  such as cent sign ?
 
 Linux is ISO 8859-1 (code page 819).


Side note: translation tables really only meaningfully apply to TEXT mode
transfers. If you transfer in binary mode, your client/server SHOULD NOT
be doing ANY translation -- by using binary mode, you implicitly told it
not to translate. 

If you've got a file already transferred in binary mode, you'll have to
use some external utility to translate it.

--
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/


2012 Workshop June 28 - 30, 2012 at the University of Kentucky (Lexington KY)

2012-05-21 Thread Mike Walter
Please read this carefully, some menu items have changed... and some have 
improved!

Time is running out if you want to GUARANTEE receipt your very own PERSONAL, 
GENUINE ORIGINAL, ALL-NATURAL, ORGANIC, IN LIVING COLOR, DUAL-ACTION, NOT SEEN 
ON TV, WEIGHT-REDUCING, MUSCLE-BUILDING, NOT AVAILABLE ELSEWHERE, EXCLUSIVE 
2012 VM WORKSHOP **POLO SHIRT**!!
REGISTRATION DEADLINE for GUARANTEED receipt of a Polo Shirt:  JUNE 1, 2012

2012 Workshop June 28 - 30 2012 at the University of Kentucky (Lexington KY)

WHO:
z/VM, and Linux on System z Friends,

WHAT:
Location, travel, lodging from (really inexpensive!) dorm rooms up to nearby 
hotels, registration, travel hints, and sponsor information for the 2012 VM 
Workshop have been posted to http://www.vmworkshop.org

WHERE:
The University of Kentucky in beautiful downtown Lexington, KY.

WHEN:
SESSION DATES: Thursday morning JUNE 28 until NOON Saturday JUNE 30.
Choose from multiple concurrent presentations packed full of up-to-the-minute 
technical details for all levels of z/VM, and Linux on System z users.  
(Wednesday June 27 is reserved for VM Workshop planning committee meetings; if 
you are interested in planning, please *do* join the committee.)

WHY:
Previous VM Workshops have been referred to by the small-minded as: 'a large 
number of system programmers with some limited adult supervision' (do you 
_really_ want to miss this!??).  Expect another wonderful up close and 
personal workshop with great content and terrific camaraderie.  Come to meet 
VM old-timers... and *future* VM old-timers while learning the latest technical 
z/VM and Linux for System z details.  Don't know where to start with Linux on 
System z?  This is a great place to start!

PRICE:
Unchanged from last year, ** ONLY $100 per attendee**.  The best bargain out 
there for VM and Linux on System z education, and reasonable for anyone paying 
their own way.

MEALS **INCLUDED** in the registration fee (how can you go wrong with all this 
included!!?):
-   BREAKFAST Thursday
-   LUNCH Thursday
-   DINNER and Reception, and  VM 40th Birthday Party (with cake, of 
course!) at the nearby Hyatt Hotel (free shuttle van provided)
-   BREAKFAST Thursday
-   LUNCH Thursday
-   DINNER Friday (for those not choosing go into town, exploring what 
beautiful downtown Lexington has to offer)
-   BREAKFAST Saturday
-   LUNCH Saturday

HOW:
Registration is now LIVE, please check it out soon!   (Live servers are 
standing by to take your registration!)
Advice:  onsite registration is not likely, and will involve additional fees to 
the university, so register now!

As encouragement to register soon: EVERYONE REGISTERED BY **JUNE 1ST** WILL BE 
GUARANTEED THEIR VERY OWN EXCLUSIVE VM WORKSHOP **POLO SHIRT** up to size 4X 
(not another cheap T-shirt given away at those higher-priced conferences).  
:-)~


PARTICIPATE:
Compete in the infamous Ugly Hawaiian Shirt contest for a chance to win a 
treasured, but ugly prize!   (B.Y.O.U.H.S.)

If you have a cool tool or other procedure that you developed, please consider 
sharing it by filling in either (or both!)
-  a VM Workshop session submission form at
   http://www.vmworkshop.org/2012/presenters
-  a VM Workshop tools submission form at
   http://www.vmworkshop.org/tools/submit-a-tool
Tools will be published to vmworkshop.org ASAP.

The VM Workshop began as a way for VM systems programmers to share what they do 
at their sites, what tools they had written, and what they had learned... let's 
stay on that track of mostly USER-PRESENTED sessions.  Don't have enough to 
fill an hour?  No problem... submit the idea (or multiple ones!) and the 
committee will merge multiple shorter presentations in to full hour sessions.  
Don't be shy, we're all your z/VM and Linux on System z **friends** - no 
'flaming' is tolerated.

Place this on your calendars and please join us at the University of Kentucky.  
Don't miss this fun (and learning) event!

This e-mail was sent on behalf of the 2012 VM Workshop planning committee.

Mike Walter
Mike dot Walter (at) Aon {dot} com
Work: 847.883.7822



--
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/
inline: Picture (Device Independent Bitmap) 1.jpg

Re: zOS translation tables for FTP to linux

2012-05-21 Thread Smith, Ann (ISD, IT)
The customer is saying  results were the same.
Asking for output to see if site parameter was at least accepted.
They are using JCL on zOS to FTP PUT file to linux server.
I have no access to the zOS system myself.

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Alan Altmark
Sent: Monday, May 21, 2012 2:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: zOS translation tables for FTP to linux

On Monday, 05/21/2012 at 01:39 EDT, Smith, Ann (ISD, IT)
ann.sm...@thehartford.com wrote:
 Is there a standard translation table that can be specified with zOS 
 ftp to a linux server (SITE XLATE =  ...) to allow translation of 
 characters such as cent sign ?

Linux is ISO 8859-1 (code page 819).  If you use code page 37 on z/OS,
try something like
   site sbdataconn=(037,819)

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/

This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.


--
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/


Question to LDAP/RACF

2012-05-21 Thread Florian Bilek
Dear all,

I am trying to enable z/VM LDAP/RACF configuration to consolidate to user
administration into one directory. In principle the thing works fine
however I have a question regarding the right configuration:

LDAP allows for dynamic groups. Those groups are based on LDAP queries and
avoid the need of adding/deleting manually users to such groups.

I defined a dynamic group called users that would qualify all accounts
that have the attribute uid.

The memberURL is as follows:

dn: cn=users,dc=xxx
objectclass: posixGroup
objectclass: top
objectclass: ibm-dynamicGroup
cn: users
gidnumber: 100
memberurl: ldap:///dc=xxx??one?((objectClass=person)(uid=*))

When I login now with a user I see the following:

$ id
uid=11002(xbilek) gid=9(usrys) groups=9(usrys)

but it should look like
id=11002(xbilek) gid=9(usrys) groups=100(users), 9(usrys)

The getent group command shows only the name of the groups but no members:

getent group users

shows only: users:x:100:

getent group usrys:
shows only: users:x:9:

Maybe the posixGroup is not the best. Is there a howto describing the
parameters that need to be checked in ldap.conf?

Thank you very much in advance.

--
Best regards

Florian Bilek

--
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: zOS translation tables for FTP to linux

2012-05-21 Thread Alan Altmark
On Monday, 05/21/2012 at 05:01 EDT, Smith, Ann (ISD, IT)
ann.sm...@thehartford.com wrote:
 The customer is saying  results were the same.
 Asking for output to see if site parameter was at least accepted.
 They are using JCL on zOS to FTP PUT file to linux server.
 I have no access to the zOS system myself.

In order to know the correct values to put on SBDATACONN, you have to know
what host code page they are using in their emulator.  I illustrated 037.
Some folks use 924 (I do).  Some use 500.   YMMV.

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/


Re: zOS translation tables for FTP to linux

2012-05-21 Thread McKown, John
Ah, if the FTP client is on z/OS and it connecting to a Linux server, then they 
probably need a LOCSITE parameter instead of a SITE parameter:

//FTP EXEC PGM=FTP,PARM='(EXIT'
//OUTPUT DD SYSOUT=*
//SYSIN DD *
OPEN LINUX.SERVER
userid
password
LOCSITE SBD=(IBM-1047,ISO8859-1)
PUT zos.dataset /some/path/linux.file
/*
//

-- 
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of Smith, Ann (ISD, IT)
 Sent: Monday, May 21, 2012 3:57 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: zOS translation tables for FTP to linux
 
 The customer is saying  results were the same.
 Asking for output to see if site parameter was at least accepted.
 They are using JCL on zOS to FTP PUT file to linux server.
 I have no access to the zOS system myself.
 
 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
 Alan Altmark
 Sent: Monday, May 21, 2012 2:00 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: zOS translation tables for FTP to linux
 
 On Monday, 05/21/2012 at 01:39 EDT, Smith, Ann (ISD, IT)
 ann.sm...@thehartford.com wrote:
  Is there a standard translation table that can be specified 
 with zOS 
  ftp to a linux server (SITE XLATE =  ...) to allow translation of 
  characters such as cent sign ?
 
 Linux is ISO 8859-1 (code page 819).  If you use code page 37 on z/OS,
 try something like
site sbdataconn=(037,819)
 
 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/
 
 This communication, including attachments, is for the 
 exclusive use of addressee and may contain proprietary, 
 confidential and/or privileged information.  If you are not 
 the intended recipient, any use, copying, disclosure, 
 dissemination or distribution is strictly prohibited.  If you 
 are not the intended recipient, please notify the sender 
 immediately by return e-mail, delete this communication and 
 destroy all copies.
 
 
 --
 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: zOS translation tables for FTP to linux

2012-05-21 Thread Bruce Furber
On zVM and probably zOS the default FTP Client and server xlate tables can be 
set.
-- 
Bruce

--
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/