Questions tagged [virtual-ip-address]

64 questions
6
votes
3 answers

keepalived check which is master node

I have 2 app servers both configured to run a php cron job, but only 1 can run the job at any time. Since I am already using keepalived for other purposes, I am thinking of having some logic in the cron job to check if the node has the virtual ip,…
twb
  • 1,248
  • 4
  • 18
  • 31
4
votes
3 answers

How do you go about setting up a virtual IP address?

... say for CentOS?
jon
  • 929
  • 3
  • 9
  • 10
3
votes
0 answers

Establishing Virtual IP failover on apache load balancer running Windows 7 OS

I am attempting to configure a fault tolerant, high availability load balancer cluster which operates on Apache's ModJK modules. And after some lookup on the current practices, i would like to adopt load balanncer failover methods using…
Wee Kiat
  • 1,208
  • 1
  • 10
  • 12
3
votes
1 answer

Unable to setup floating IP using keepalived and VRRP

I've a ubuntu machine hosting two VMs, each of them running an application, for which i need to provide high availability, so i implemented a floating IP using keepalived and VRRP, But i cannot ping the master VM using the virtual IP from the host,…
3
votes
2 answers

Failed to allocate network resources

Docker-CE 19.03.8 Swarm init Setup: 1 Manager Node nothing more. We deploy many new stacks per day and sometime i see the following line: evel=error msg="Failed to allocate network resources for node sdlk0t6pyfb7lxa2ie3w7fdzr" error="could not find…
ruppsn
  • 101
  • 2
  • 7
3
votes
1 answer

Kubernetes VIP address clarifications

I'm a bit confused by some of the Kubernetes documentation on virtual IPs: https://kubernetes.io/docs/concepts/services-networking/service/#the-gory-details-of-virtual-ips. Userspace As an example, consider the image processing application…
Nick
  • 167
  • 3
  • 9
3
votes
3 answers

PostgreSQL - Fail to start delegate ip address on pgpool 2

I try to set up a pgpool server on ubuntu server and following this link : pgpool-II Tutorial [ Watchdog ]. But when I to start a pgpool service, the delegated IP doesn't start. I have seen in a log file on syslog and got some error like this. …
3
votes
1 answer

KeepAlived + HAProxy gets connection refused after a while

I´ve the next scenario, 4 VM´s running Red Hat Enterprise Linux 7: 20.1.67.230 server (VIRTUAL IP) (not a host) 20.1.67.219 haproxy1 (LOAD BALANCER) 20.1.67.229 haproxy2 (LOAD BALANCER) 20.1.67.223 server1 (LOAD TO BALANCE) 20.1.67.213 server2…
3
votes
1 answer

NSMutableURLRequest Multiple IP Addresses

My NIC has multiple virtual interfaces corresponding to 10 unique IPs from my network. I have an application which I would like to run 10 instances of; each instance utilizing a unique IP address. Assuming each of the 10 instances of the app knows…
Authman Apatira
  • 3,994
  • 1
  • 26
  • 33
3
votes
1 answer

Virtual IP and Internal IP of Windows Azure Virtual Machines

Is it possible for a virtual machine to communicate with another virtual machine created in a different location using internal IP ? How to obtain the external vip of a azure virtual machine after login to that paticular virtual machine ?
Krithika Vittal
  • 1,477
  • 2
  • 16
  • 32
2
votes
1 answer

How to read virtual IP in linux using golang/net package

I am trying to read a particular interface and all the virtual IP in that interface. Here is and example of the linux ifconfig -a | grep -A eth0 ifconfig -a | grep -A2 eth0 eth0: flags=4163 mtu 1500 inet…
James Sapam
  • 16,036
  • 12
  • 50
  • 73
2
votes
1 answer

How to get a Virtual IP for Keepalived with bare-metal infrastructure

I am configuring a High Availability load balancing based on HAProxy and Keepalived. Everywhere I do research they talk about Virtual IP like something that fell off the sky – I mean, with little to none explanation about how to get one. By now, I…
RicHincapie
  • 3,275
  • 1
  • 18
  • 30
2
votes
1 answer

Assigning virtual IP in repmgr

I have a postgres cluster made using repmgr. This is the requirement of the application that they should not have to change the IP in the application when the database switchover occurs. Is there a way to use virtual IP with repmgr which outside…
2
votes
0 answers

docker service loadbalancing failed

I have a 2 docker services, service_1 and service_2. Each with one container. Both of them have overlay network so I can use the swarm DNS resolving, service_1 is accessing service_2 using the service name as DNS name. However, after 20+ hours of…
BezBran
  • 161
  • 1
  • 8
2
votes
1 answer

not able to find ifcfg-enp0s3 in /etc/sysconfig/network-scripts?

i want to change the IP Address of my centos7 vm which i have created in virtual box. im able to see the nic cards if i do "ifcfg". but when i go to the path /etc/sysconfig/network-scripts the nic cards are not available. can anyone help me how to…
1
2 3 4 5