A clarification on the open source status of Co:Z
- The Co:Z binaries for z/OS are free under a binary-only Apache 2
license (no souce).
- The toolkit for distributed systems, such as Linux, *is* open source
(GPL V2).
There are LSB packages available for Linux - IA32 and z/31, z/64
bit, or you can build from source with a standard make/make install.
We would welcome any opportunities to get the package included in
any Linux distribution.
I would recommend using the following DCB for redirecting tar output
to optimize the I/O, since "todsn" uses QSAM to write records,
and the following would perform better:
//TAROUT DD DSN=TAR.OUT,
// RECFM=U,BLKSIZE=27998,DSORG=PS,
// UNIT=(SYSDA,10),
// SPACE=(CYL,(200,10))
Also, I would suggest that if you are looking at doing high-volume
data transfers over a secure network between z/OS and Linux on z that
you might want to exploit a feature in Co:Z that allows you to use SSH
for the login connection but to pipe the data over separate
clear-channel sockets rather than tunneling back through the SSH
connection, which is the default. This avoids the CPU overhead of
SSH encryption and allows you to fully exploit something like
hypersockets with minimal overhead and maximum speed.
Of course, backups are only one thing that you could schedule from
z/OS... you might also do things like run a job to extract data from
DB2 and pipe it into a program that loads it into an Oracle database
on Linux (or vice versa). The advantage of using Co:Z and pipes is
that processing can be concurrent with the data transfer, rather than
one-at-a-time if you were to use a traditional file-transfer approach.
There are some other examples of using Co:Z in the most recent
issue of the ZJournal magazine: "Extending z/OS with Linux: A
Multi-protocol File Exchange Gateway".
Kirk Wolf
Dovetailed Technologies
http://dovetail.com
On Wed, Oct 8, 2008 at 11:17 AM, John McKown <[EMAIL PROTECTED]> wrote:
> I didn't see the original message. Apparently the OP wants to backup
> RHEL/Intel files on z/OS. I will mention a very nice product which is
> free, but not open source. It is Co:Z from Dovetailed Technologies.
>
> http://www.dovetail.com
>
> What this can do is establish an SSH session from z/OS to any Linux box
> which is running sshd. On the Linux box, there are some programs
> installed. Then, on the z/OS side of the world, you can run a jobstep
> similar to:
>
> //BACKUP EXEC PROC=COZPROC,
> // ARGS='[EMAIL PROTECTED]'
> //STDIN DD *
> cd /sub/directory/to/back/up
> tar cjv * |\
> todsn -b '//DD:TAROUT'
> /*
> //TAROUT DD DSN=output.file,
> // RECFM=FB,LRECL=1,BLKSIZE=0,DSORG=PS,
> // UNIT=(SYSDA,10),
> // SPACE=(CYL,(200,10))
> //
>
> The above puts the output of the tar command on the file "output.file" on
> the z/OS system. Unfortunately, as shown, it requires that the RACF id on
> the z/OS system have a UNIX UID and home directory which contains
> ~/.ssh/id_rsa file and that file have a "null" passphrase which is
> appropriate to ssh onto the given Linux box with the given Linux ID.
>
> Another possibility is that the "todsn" command on the Linux box could be
> used to output to a z/OS dataset without the use of a batch job. This is
> more complicated, but I think would look something like:
>
> tar cj * | todsn -b -ssh [EMAIL PROTECTED] "//'EXISTING.DSN'"
>
> This would overwrite 'EXISTING.DSN'. This program can also create a new
> z/OS dataset, but the command would be long and involved to specify the
> DCB and SPACE characteristics.
>
> Just thought that I'd mention this. I don't know if anybody is interested
> or not.
>
> --
> Q: What do theoretical physicists drink beer from?
> A: Ein Stein.
>
> Maranatha!
> John McKown
>
> ----------------------------------------------------------------------
> 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