SMF Records for sftp

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
cagatayucuzal
Posts: 29
Joined: Thu Jun 01, 2017 9:15 am

SMF Records for sftp

Post by cagatayucuzal » Wed Nov 01, 2017 1:29 am

Hello Support
we need to activate SMF Records for COZ sftp
How can we activate this records? (I known that ssh SMF record type 119)

is there any effect sftp performance? Because in our system runnning nearly 70k sftp jobs in a day,
it is very importan for us sftp performance

Do you have any comment?

Regards
Cagatay

dovetail
Site Admin
Posts: 1776
Joined: Thu Jul 29, 2004 12:12 pm

Re: SMF Records for sftp

Post by dovetail » Fri Nov 03, 2017 10:21 am

Information on using SMF with CO:Z SFTP can be found here:

https://dovetail.com/docs/sftp/smf-support.html

To enable, just add the "smf" option to the "fixed:" section of these files:

/etc/ssh/cozsftp_config (for client)
/etc/ssh/cozsftp_server_config ( for server)

See "E.3 Enabling SMF recording" for more information, especially the required RACF permissions required.

I would suggest that you enable this in your test environment to measure any impact. Generally, the overhead of writing a couple of SMF records for each file transfer is not significant when compared to the overhead of using SSH. But if you have a lot of transfers, you may need to plan for (2) SMF records for each transfer and plan for the impact that that will have to your SMF data sets.

cagatayucuzal
Posts: 29
Joined: Thu Jun 01, 2017 9:15 am

Re: SMF Records for sftp

Post by cagatayucuzal » Tue Nov 14, 2017 5:18 am

Hello
Should I find OMVS segment folder which We installed folder?


/etc/ssh/cozsftp_config (for client)
/etc/ssh/cozsftp_server_config ( for server)

dovetail
Site Admin
Posts: 1776
Joined: Thu Jul 29, 2004 12:12 pm

Re: SMF Records for sftp

Post by dovetail » Wed Nov 15, 2017 10:47 am

I'm sorry, but I don't understand your question.

cagatayucuzal
Posts: 29
Joined: Thu Jun 01, 2017 9:15 am

Re: SMF Records for sftp

Post by cagatayucuzal » Fri Nov 17, 2017 5:23 am

always mainframe connects other server so, mainframe is always sftp client.
should I change cozsftp_config?

I didn't find cozsftp_config.
thise file using in "cozsftp" ?
if there is I can find where execute this

Regards

SteveGoetze
Posts: 376
Joined: Fri Jul 30, 2004 5:29 pm

Re: SMF Records for sftp

Post by SteveGoetze » Fri Nov 17, 2017 8:31 am

To enable SMF recording for all client jobs, please follow the instructions in the documentation:

https://www.dovetail.com/docs/sftp/session-config.html

Section C.2 shows how to specify the smf option in the fixed: section of /etc/ssh/cozsftp_config.

A sample version of this file can be found at <COZ_INST>/samples/cozsftp_site_config

You should also confirm that you have met the other requirements for SMF recording, documented here:

https://www.dovetail.com/docs/sftp/smf- ... ml#d0e6364

Post Reply