New answers tagged

0

The load balancer nodes are in your VPC. If you look at the details page of your ELB, you'll be able to see which subnets are in use. Create a security group rule that only allows inbound traffic to your instance from the VPC subnets that contain your ELB nodes.


0

If you only have a master then you have no HA. You're just not resilient to failovers. If you have a master/slave setup then as John mentioned you can run an Arbiter instance that is just used to determine the coordinator based on the quorum. To answer your question, I think you'd need to have a Powershell script that would create a neo4j.properties and ...


-3

It is very well possible. If you'd read the manual, you'd have found how: option httpchk GET /manager/html/list HTTP/1.1\r\nHost:\ myserver.my.domain:8080\r\nAuthorization:\ Basic\ MyT41l0r1sR1ch


0

I found that I need. Adding the parameter "-V" in the file "/etc/default/keepalived" keep the VRRP and VIPs on daemon stop. I need this for the configuration changes on our production environment. Thanks!


0

I know its very late for an answer but I had this issue and came across this question. You could use proxy_next_upstream_tries 2; http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_tries


0

Answer was found thanks to Sam Gould, who contacted me directly via email. Click on the Configuration Editor at the Server / Machine level Select on the Dropdown List and expand the System.applicationHost select the sites setting Click on the … button under the Collections section Select the concerned website and make the ...


1

Having code and content managed, promoted, and deployed to all servers is a far better solution to setting up a 2-way-sync. Consider deploying server assets to all servers in your pool, rather than updating on one server, and counting on a sync/replication, or managing a sharing filesystem. This allows you to keep your content/code managed separately, so ...


1

Multiple options / solutions come to my mind: NFS: Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems in 1984,[1] allowing a user on a client computer to access files over a computer network much like local storage is accessed. DRBD aka Distributed Replicated Block Device: DRBD® software is a ...


0

Using packet based equal cost balancing does not work with GRE as it will introduce reordering in the packet streams and break them. You seem to actually want a conntrack-based multipath routing which can be easily configured on any linux-based router/firewall. Multipath routing based on IP addresses is even simpler in configuration.


0

I would suggest running a "dynamic dns" service - for example dyn.com (there are plenty of them), setting the TTL value for the DNS address to some small value like 60 or 20 seconds, and running a watchdog service that will change the DNS record via dynamic dns service API as soon as you detect that the server is getting full. This will require writing some ...


0

Don't use DNS loadbalancing, because it cannot react to (un)availability of some device. Use VRRP instead of it (those two loadbalancers will share one IP and when master dies, slave will take this IP) and point your DNS records to that virtual IP.


1

While both HAProxy and Varnish can load-balance, only one of them is built for it. You could just use Apache for your purposes as well since it can proxy and cache as well, but it's hardly an optimal solution. In my opinion, you're best to use each product for what it's best at. What I do is install both on the same box and configure Varnish to use ...


3

Varnish does not support SSL Running a site/service on SSL is a necessity for anything half serious, so thats one reason to use haproxy which will do SSL termination for you.


0

snipped your code, and edited. what you need to do is define an acl, then route based on the acl: frontend all_clients bind 0.0.0.0:80 default_backend default acl back1 if hdr_beg(host) -i bk1. acl back2 if hdr_beg(host) -i bk2. use_backend bk1 if back1 use_backend bk2 if back2


0

The azure VM while not having a public IP can be accessed via SSH using a specific port. In your ansible inventory file you can define the ansible_host and ansible_port for each of your VM's. [all] test01vm0 ansible_host=test01.europe.cloudapp.azure.com ansible_port=50000 test01vm1 ansible_host=test01.europe.cloudapp.azure.com ansible_port=50001


0

At this moment, Google Cloud HTTP(S) Load balancer only provides global load balancing for HTTP(S) requests destined for Compute Engine VM instances. Google App Engine has its own way of the scaling. Nevertheless, if you see adding support of App Engine to HTTP(S) load balancer could be a useful feature, feel free to open a feature request on Google ...


2

This is round robin DNS. This is a quite simple solution for load balancing. Usually DNS servers rotate/shuffle the DNS records for each incoming DNS request. Unfortunately it's not a real solution for fail-over. If one of the servers fail, some visitors will still be directed to this failed server.


1

You might find the mod_proxy module for ProFTPD useful for this; it supports forward and reverse proxying of FTP and FTPS, as well as load balancing (in multiple flavors). Full disclosure: I'm the author of mod_proxy and proftpd.


1

You can expose SSH on any port you desire. The clients must be aware of that, however. listen ssh-balanced bind <public-ip>:5022 mode tcp server term01 <internal-ip1>:22 check server term02 <internal-ip2>:22 check You need to use ssh -p5022 to connect, and scp -P5022 etc.


1

The bind and listen are not the same things nor things that can be done independently. They are consequent stages on the same port number. It is well described in this diagram from Wikipedia:



Top 50 recent answers are included