IBM / ansible-role-infosvr

Ansible role for automating the deployment of IBM InfoSphere Information Server
Apache License 2.0
15 stars 12 forks source link

packet_write_wait connection to unknown port 65535 broken pipe #33

Open Ramnikov opened 3 years ago

Ramnikov commented 3 years ago

When executing the long-running command like DB2 and InfoSphere installation ssh connection is breaking. I have tried to add to ansible.cfg following line:

ssh_args = -o ServerAliveInterval=50

Unfortunately, it is not resolving the issue. This happens on RHEL 7 zLinux environment.

Did you have this issue?

Ramnikov commented 3 years ago

To solve the issue we need to update the ssh configuration. On the Node that Ansible run we need to create a config file

touch ~/.ssh/config

In the config file add following Entry:

Host * TCPKeepAlive yes ServerAliveInterval 120 ServerAliveCountMax 5

Aftre the file was edited run the ssh restrat command:

systemctl restart ssh