LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2019, 04:04 PM   #1
witchkinkofangmar
LQ Newbie
 
Registered: May 2019
Posts: 13

Rep: Reputation: Disabled
nginx version 1.12.2 not forwarding RPC


Trying to get all traffic on port 388 to do least_conn; through a load balancer in the DMZ to a couple different nodes not in the DMZ. This is the error I get:
ERROR ldmping.c:75:rint_hstat() ADDRESSED 10.001020 0 nginx.loadbalancer.hostname RPC: Timed out

Right now, all requests are coming from internal machines to the load balancer that isn't in the DMZ yet, it has an internal address on a vnic now.

Code:
user root;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
    worker_connections 1024;
}


stream {
  upstream stream_backend {
     least_conn;
     server 172.xx.xx.xx:388;
     server 172.xx.xx.xx:388;
     server 172.xx.xx.xx:9100;
     server 172.xx.xx.xx:9100;
     server 172.xx.xx.xx:388;
     server 172.xx.xx.xx:9100;

  }
  server {
     listen 388;
     proxy_pass stream_backend;
     proxy_bind $remote_addr:$remote_port transparent;
     proxy_protocol on;
  }
  server {
     listen 9100;
     proxy_pass stream_backend;
     proxy_bind $remote_addr:$remote_port transparent;
     proxy_protocol on;
  }
}
 
  


Reply

Tags
centos7, ldm, nginx, proxy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NGINX with PHP-FPM vis NGINX with Spawn-FCGI WhisperiN Linux - Server 1 03-15-2011 06:39 PM
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM
mountd time out: "mount_nfs: bad MNT RPC: RPC: Timed out" on client brush Debian 1 10-15-2006 02:01 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration