Re: Using SMC-D in my Linux SVMs

2021-12-29 Thread Stefan Raspl

Hi Rob,
Sorry for the late reply!
Correct, with a z14 you can use SMC-Dv1 only.
However, Clefos 7.9 is based (or identical to) RHEL 7.9 - which doesn't have SMC 
support at all! :O   To our credit, we did try to backport SMC to RHEL 7.x, but 
the kernel was just too old, and the dependencies in the code were piling up way 
too fast. So if if you want to stick with ClefOS/RHEL, you'd need a 8.x release!


As for the smc-tools release, I'd suggest to stick with whatever version your 
distro provides. This is because most of the new features that a new smc-tools 
release brings require kernel changes - which usually won't be there, or we 
would have provided a more recent smc-tools version in the distro.


As for live guest relocation, as far as I know that plain won't work at all as 
long as there's a PCI function attached to the guest. So you'd have to detach 
the PCI function first, which would terminate any connection right away. Of 
course, once migrated, you could start over (attach a PCI function, create new 
connections, etc.), and that should work just fine.


Best regards,
Stefan Raspl



On 12/16/21 20:56, Hamilton, Robert wrote:

Thanks, Stefan!

Just installed Clefos 7.9.2009, did some yum updates, and uname says 
3.10.0-1160.36.2.el7.s390x. We are on a z14 ZR1, so I'm thinking only SMC-Dv1 
for us. And it works well among my z/OS systems.

I've found 5 or more releases of smc-tools out in the wild, the most recent 
appears to be 1.7.0, which you released two months ago. Can't quite figure out 
what or how to download, and the docs you recommended point to a 1.2.1-level 
release.

Found I can't VMRELOCATE a Linux system that has a pcifunction attached. Does 
the SMC and/or IP know while a socket is open that it has lost the pcifunction 
and automatically revert to normal HiperSockets (or other IP) communication? 
And after the VMRELOCATE completes, if a pcifunction is attached, can it 
restart using SMC-D?

R;

Rob Hamilton
Infrastructure Engineer
Chemical Abstracts Service

-Original Message-
On 12/15/21 17:52, Hamilton, Robert wrote:

I have a newly-created ClefOS server on my z/VM system. I have attached 
HiperSockets devices for each of my (5) HiperSockets networks. They are all 
configured, and I can talk to each of my z/OS systems over the appropriate 
HiperSockets networks.
I want to ensure that my client can use SMC-D when talking with the z/OS 
applications on the same CPC. The z/OS systems already talk with each other 
over HiperSockets using SMC-D, so I already have PCIFs setup in the IODF, and 
can attach appropriate PCIFs to my new server.

Then what? I see I don't have smc-tools on the system anywhere, so I need to 
get that and somehow make those available. I don't see my customer as wanting 
to use AF-SMC-type socket connections, so I'm guessing I need to run his 
application with smc-run...or...???
Presumably it's the same using SMC-D over OSAs, but I'll configure that bridge 
when I come to it.

If you can tell me what I need next, or point me to the appropriate 
documentation, I'd be most very grateful.



Hi Rob,
Yes, you can use smc_run to enable existing (binary) TCP applications to use
SMC-D. Which specific version of ClefOS are you on, and what are the levels of
the Linux kernel and smc-tools? If you have SMC-Dv1, check
http://www.vmworkshop.org/2019/present/linuxsmc.pdf, especially p21. If you
already have SMC-Dv2, check the presentation at
https://community.ibm.com/community/user/ibmz-and-linuxone/viewdocument/2021-07-15-boosting-tcp-networking?CommunityKey=c1293167-6d93-448e-8854-3068846d3dfe&tab=librarydocuments.
But, of course, I'll be glad to answer any questions, too!

Ciao,
Stefan





--

Mit freundlichen Grüßen / Kind regards

Stefan Raspl


Linux on Z
---
IBM Deutschland
Schoenaicher Str. 220
71032 Boeblingen
Phone: +49-7031-16-2177
E-Mail: stefan.ra...@de.ibm.com
---
IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: 
Gregor Pillen

Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 
243294


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


Re: Using SMC-D in my Linux SVMs

2021-12-16 Thread Hamilton, Robert
Thanks, Stefan!

Just installed Clefos 7.9.2009, did some yum updates, and uname says 
3.10.0-1160.36.2.el7.s390x. We are on a z14 ZR1, so I'm thinking only SMC-Dv1 
for us. And it works well among my z/OS systems.

I've found 5 or more releases of smc-tools out in the wild, the most recent 
appears to be 1.7.0, which you released two months ago. Can't quite figure out 
what or how to download, and the docs you recommended point to a 1.2.1-level 
release.

Found I can't VMRELOCATE a Linux system that has a pcifunction attached. Does 
the SMC and/or IP know while a socket is open that it has lost the pcifunction 
and automatically revert to normal HiperSockets (or other IP) communication? 
And after the VMRELOCATE completes, if a pcifunction is attached, can it 
restart using SMC-D?

R;

Rob Hamilton
Infrastructure Engineer
Chemical Abstracts Service

-Original Message-
On 12/15/21 17:52, Hamilton, Robert wrote:
> I have a newly-created ClefOS server on my z/VM system. I have attached 
> HiperSockets devices for each of my (5) HiperSockets networks. They are all 
> configured, and I can talk to each of my z/OS systems over the appropriate 
> HiperSockets networks.
> I want to ensure that my client can use SMC-D when talking with the z/OS 
> applications on the same CPC. The z/OS systems already talk with each other 
> over HiperSockets using SMC-D, so I already have PCIFs setup in the IODF, and 
> can attach appropriate PCIFs to my new server.
> 
> Then what? I see I don't have smc-tools on the system anywhere, so I need to 
> get that and somehow make those available. I don't see my customer as wanting 
> to use AF-SMC-type socket connections, so I'm guessing I need to run his 
> application with smc-run...or...???
> Presumably it's the same using SMC-D over OSAs, but I'll configure that 
> bridge when I come to it.
> 
> If you can tell me what I need next, or point me to the appropriate 
> documentation, I'd be most very grateful.


Hi Rob,
Yes, you can use smc_run to enable existing (binary) TCP applications to use 
SMC-D. Which specific version of ClefOS are you on, and what are the levels of 
the Linux kernel and smc-tools? If you have SMC-Dv1, check 
http://www.vmworkshop.org/2019/present/linuxsmc.pdf, especially p21. If you 
already have SMC-Dv2, check the presentation at 
https://community.ibm.com/community/user/ibmz-and-linuxone/viewdocument/2021-07-15-boosting-tcp-networking?CommunityKey=c1293167-6d93-448e-8854-3068846d3dfe&tab=librarydocuments.
But, of course, I'll be glad to answer any questions, too!

Ciao,
Stefan


-- 

Mit freundlichen Grüßen / Kind regards

Stefan Raspl


Linux on Z
---
IBM Deutschland
Schoenaicher Str. 220
71032 Boeblingen
Phone: +49-7031-16-2177
E-Mail: stefan.ra...@de.ibm.com
---
IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: 
Gregor Pillen
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 
243294
Confidentiality Notice: This electronic message transmission, including any 
attachment(s), may contain confidential, proprietary, or privileged information 
from CAS, a division of the American Chemical Society ("ACS"). If you have 
received this transmission in error, be advised that any disclosure, copying, 
distribution, or use of the contents of this information is strictly 
prohibited. Please destroy all copies of the message and contact the sender 
immediately by either replying to this message or calling 614-447-3600.


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


Re: Using SMC-D in my Linux SVMs

2021-12-16 Thread Stefan Raspl

On 12/15/21 17:52, Hamilton, Robert wrote:

I have a newly-created ClefOS server on my z/VM system. I have attached 
HiperSockets devices for each of my (5) HiperSockets networks. They are all 
configured, and I can talk to each of my z/OS systems over the appropriate 
HiperSockets networks.
I want to ensure that my client can use SMC-D when talking with the z/OS 
applications on the same CPC. The z/OS systems already talk with each other 
over HiperSockets using SMC-D, so I already have PCIFs setup in the IODF, and 
can attach appropriate PCIFs to my new server.

Then what? I see I don't have smc-tools on the system anywhere, so I need to 
get that and somehow make those available. I don't see my customer as wanting 
to use AF-SMC-type socket connections, so I'm guessing I need to run his 
application with smc-run...or...???
Presumably it's the same using SMC-D over OSAs, but I'll configure that bridge 
when I come to it.

If you can tell me what I need next, or point me to the appropriate 
documentation, I'd be most very grateful.



Hi Rob,
Yes, you can use smc_run to enable existing (binary) TCP applications to use 
SMC-D. Which specific version of ClefOS are you on, and what are the levels of 
the Linux kernel and smc-tools? If you have SMC-Dv1, check 
http://www.vmworkshop.org/2019/present/linuxsmc.pdf, especially p21. If you 
already have SMC-Dv2, check the presentation at 
https://community.ibm.com/community/user/ibmz-and-linuxone/viewdocument/2021-07-15-boosting-tcp-networking?CommunityKey=c1293167-6d93-448e-8854-3068846d3dfe&tab=librarydocuments.

But, of course, I'll be glad to answer any questions, too!

Ciao,
Stefan


--

Mit freundlichen Grüßen / Kind regards

Stefan Raspl


Linux on Z
---
IBM Deutschland
Schoenaicher Str. 220
71032 Boeblingen
Phone: +49-7031-16-2177
E-Mail: stefan.ra...@de.ibm.com
---
IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: 
Gregor Pillen

Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 
243294


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