Networking :: Keeplalived Refuses To Allow 3rd Instance?
Dec 14, 2010
I've beeb setting up keepalived/haproxy as a load balancer for our site.
If you keep it down to two load balancing instances it works just fine. However, I was told to add a 3rd load balancer to the mix and that adds a new wrinkle. I need to add a new keepalived instance and I can't quite figure out how that's done.
It would seem to me to be an issue of the priorities as that is the only thing I altered in the files. Initially, nodes A and B were set to 101 and 100 respectively. I set node A to 102, node B to 101 and node C to 100... keepalived restarts and the virtual IP is pingable. But the website goes down!
SO then I tried Node A set to 101, node B to 100 and node C to 99. Same thing, I restated keepalived and the site goes down, tho the virtual IP remains pinagble and keepalived and haproxy are running.
here is a sample config file from my setup:
Code:
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
I have KDE 4.4 and Firefox 3.6. Whenever I click a link from a plasmoid widget, it tries to open Konqueror and another instance of Firefox. The page actually loads in the opened Firefox window, but the task bar shows an instance of Konqueror and another instance of Firefox, that keeps loading for a while then close. See image below:
I currently have setup the browser default application as "firefox". If I set this option to use the default application, it opens in Konqueror and I don't see additional windows in the task bar. If I change the option to "firefox %u", then it exhibit the same issue, but the process is much faster, so the loading windows don't stay for long in the task bar. Additionally, it opens the link on a new Firefox window and opens the page twice. Although Konqueror is not loaded, the bouncing icon next to the mouse pointer shows up and stay for a while.
I have a compaq c784tu and it was shitty with xp. Vista is quite crap, so i turned over to ubuntu 10.4. The configuration of the laptop is: 1.73 GHz Intel Pentium Dual Core Processor T2370 with 1-MB L2 Cache, 533 MHz FSB featuring Intel Mobile 945GML Express Chipset Motherboard, 2-GB PC2-5300 DDR2 667 MHz SDRAM (Maximum 4-GB in 2 slots), a 160-GB SATA 5400 rpm Hard Disk Drive and 8x Super Multi Double Layer (8.5 GB) Slot-in DVD Writer.Everything worked like a charm and I was able to connect to the internet through a public wifi network. However, I came home this week to my mothers house, where they have a dsl-router to connect to the internet whih uses bridge mode pppoe. I tried to connect to the internet through it, and it initially couldnt. However, I got around that by doing a clean install of ubuntu. I was able to then connect to the internet using "sudo pppoeconf" and "sudo pon dsl-provider"One night the network manager app on the top left disappeared and would not come on. I figured I had fried my wifi adapter, however, lspci -v confirmed its presence.Further, "system>admn>system testing" detected the adapter aswell. I tried the iwconfig command in the terminal the result was:
lo no wireless extensions eth0 no wireless extensions wlan0 IEEE 802.11bg ESSIDff/any
I have linux mint 10 and a bt homwhub 2.0. The wifi dongle that I use is a BT Voyager 1055. Before a week ago I could connect to my bt homehub via linux mint and the bt voyager easily and quickly. But now, however, it seems that Linux Mint refuses to connect to the BT Homehub, the BT Voyager dongle seems to be working because it's green light is on. The Bt homehub is fine because our other windows pc's connect fine (I'm on my windows XP laptop now) but linux will not. On linux it recognises that the dongle is plugged it and picks up various WIFI connections including my BT Homehub, but when I try to connect it to the internet via The homehub, it will not, it try to connect for a minute or so and then a little message comes up saying 'wirless network disconected' any one now what to do ?
I replaced a broken WinXP install with Ubuntu 9.10 x32 on my kids PC and the install and OS itself seems to be fine. When connecting the Netgear WG111v2 USB dongle so that they can get internet access things aren't so good. Firstly the startup and shutdown of the machine get big pauses (around 2 minutes at a time) and there are also big pauses and a general slowdown of the machine while in use that doesn't happen with the dongle disconnected. I wouldn't mind that so much but I can't get the damn thing to connect under ubuntu to our home network. I left an old Win2k partition intact on the machine and I'm glad I did as it means that I've been able to install the drivers to make sure that it all works under Windows, which it does.
It probably makes little difference but the light on the dongle is off for the majority of the time and only lights up briefly on seemingly random occasions. Also, I have no entries for Network Manager in my menus, and the system tray applet doesn't give me the options and tabs that are mentioned in some peoples posts in this forum (ie I can't change the computer name for example), sometimes the system tray applet disappears altogether.
With the dongle attached typing lsusb into the terminal sometimes shows just the USB hubs and sometimes also shows an entry with the WG111 included (and sometimes with big pauses). nm-tool sometimes shows just the motherboard NIC (disconnected), sometimes the WG111 too (also disconnected) and sometimes it just throws up several error messages with pauses between each one. dmesg showed an entry for the dongle on the occasion that I tried it.
I recently removed Windows from a family member's laptop (Gateway NV52) and installed Ubuntu on it. I started out with Ubuntu 10.04 since it was an LTS. She's been very happy with it until a few days ago when it started acting up and refused to load almost any site she frequently visited. I decided to back up her data and do a fresh install of Ubuntu 10.10 (64bit) which is what I use. It installed fine, wireless works seamlessly as well.
However, Facebook refuses to load on any web browser (chrome, firefox, minefield, midori, etc.). It's only Facebook as well. The login page will appear but it will absolutely not login. I've tried it with several different accounts and it just flat out refuses.y other site loads fine and fast, and logs in fine, but facebook just doesn't seem to load.I really do not want to have to move her back to windows 7 as she's prone to viruses and Ubuntu is just flat out awesome at virtually everything, but for her, social networking is her primary way of connecting to friends and it's critical for her to have access to that site. It's really her make or break feature, and if Ubuntu can't do it then she doesn't want anything to do with it.
I've looked everywhere for a solution to this. I've tried changing DNS servers, disabling and re-enabling the wifi, clearing the cache and cookies, even down to resetting the router we use, all to no avail. The site loads fine on every other PC regardless of the OS, and I've run out of places to look.My experience with the Ubuntu community has been top notch so far, and I'm not shy of any terminal work that may be needed, nor am I shy of fiddling with anything.
I'm trying to setup a ssh connection from to my house that way I can learn Linux on a box that won't make my boss the sys admin (Im help desk) grind his teeth. He say that ssh port is allowing connections out of the firewall but not in so I can connect to my house. However If I try to connect to my box I get a message stating that the connection has time out. I have port forwarded the 22 to my box and have even changed the port to see if it is my isp blocking me. I am able to connect via SSH internally but when I try outside my house I am running into trouble. I looked up how to disable my fire wall and as far as I know it is.
I am attempting to setup and old BBSinside of DosBOXI've built one of the DosBOX Megabuilds, with the NE2000 patch.It uses libpcap in order to piggy back on top of the system's NIC. All of the dosbox side appears to be working.My system comes up, gets the MAC address i told it to use, i can load a packet driver in dosbox, all of that seems well and good. The issue, i think, is on the linux side. It's built on a Fedora 14 box. I'm getting the feeling that networking isnt getting out of the dosbox instance. Does it seem possible that fedora needs to have some config in place to link networking over to dosbox?
On a fedora 10 server i have installed a samba server.When i log in from Mac OS X as user 'jody' with my password for the server,i get access to the directories on the server.But when user 'ani' logs in with her password for the server,the connection is refused.Both users can log in directly at the server.For user 'jody' the entries in the samba log are:
I have a set up with a computer that has two network cards and is connected to two networks. Both networks connect to the internet via separate routers that have DHCP enabled. I can set one of the routers up to do port forwarding to the computer without any complications but if I want to do the same on the other router the port forwarding from it doesn't work and I can't reach the system.
I know for a fact that the services are accessible from both networks and both routers can forward ports to other computers in their network. The networks are 10.10.0.1/24 and 172.22.0.1/24. I've tried turning off iptables but that didn't change anything.
Is there any kind of setting that could prevent the interface on the computer to reject traffic using NAT or something?
If I disable the interface on the working network (ifdown eth1) then suddenly eth0 on the other networks starts accepting requests sent to it via the router that does the port forwarding. I do however want to emphasize that services work just fine as long as the requests originate from either of the networks they are on.
I was dual booting with XP and Jackalope using a Belkin N wireless USB. The install on Jackalope was simple, a plug and play type situation, plugged it in and it worked. A few days ago though, i wiped the whole computer and installed Lynx. To my dismay, even though Lynx sees the wireless, sees the available signals, lets me input my password... it fails to connect. It just spins and spins and eventually asks for my password again...
I'm still pretty new to Ubuntu, and Linux in general. I updated, and pretty sure i retrieved 3rd party drivers for the video card properly (using a cable connection), but thats pretty close to where my "expertise" ends.
I routinely use somewhat spotty wireless hotspots, and Network Manager is driving me insane. Whenever there's a momentary drop, NM will prompt me for my password. I enter it, and it connects perfectly. And then 5 minutes later, it'll prompt me again. How do you instruct NM to remember a password, and stop prompting?
I've just set up a PC with CentOS 5.3 runing on near identical hardware to an existing 5.2 machine. Motherboard is Asus M2A-VM which I discover by chance generally works very well with CentOS. Ethernet is on board Nvidia.The older machine just did run gigabit speed without any intervention at all, rather to my surprise. The newer machine insists on running at 100 Mbit which is annoying as it is connected to a NAS through a gigabit dumb switch.
The obvious difference between the two is that ethtool on the older machine says that supported ports are TP, and so the port is TP. Whereas the newer machine says that supported ports are TP or MII and insists on running MII. I cannot change this with ethtool -s eth0 port tp. Perhaps not too surprisingly, mii-tool says that the supported speeds range up to 100 Mbit.
I see there is a driver module for network card in my system. I have 2 identical network cards in my system the 1st one works well, but the second one.. My system refuses to create interface on it.... lspci
I'm running Ubuntu 10.04 in South Africa and I am using a Neotel telephone device that connects with EVDO. I have followed instructions to get it working by typing: sudo modprobe usbserial vendor=0x1d09 product=0x4000.
I have also put it in /etc/init.d/rc.local to get it to load up on startup. This works and I am able to connect using the network manager. The problem is if I disconnect and then try to connect again later, it refuses to connect till I reboot and then it works, till I disconnect again.
I have a machine (lets called it machine 1) with two networks card, eth0 and eth1. Both have static IPs. Once in a while the machine refuses to give access to the Internet via Firefox (eth0 is the route to router). Other machines on the network have no problems accessing the Internet. Eventually the machine would just magically start working again, but this time it just seems to have stayed broken. I've done some simple diagnostics and found:
a) I have another machine running Apache with a Wiki on our network - [URL]. Machine 1 is unable to connect to this Wiki. I get 'the connection has timed out'. I can ping 192.168.1.73 and it responds in the usual fashion.
b) If I try to ping www.google.com it times out with: ping: unknown host www.google.com. I can ping google using its IP address.
c) On machine 1 I have tried traceroute on both www.google.com and its IP and I just get:
1 * * * 2 * * *
And so on until hop 30. Doing this on any other machine on the network works. So while it seems I can ping internally in our network and outside, but when it attempts anything traceroute or URL related it does not work.
I dual boot windows xp and ubuntu 10.04 LTS and the wireless card works perfectly fine in xp so I know its not a hardware/network issue. In ubuntu, it detects wireless networks, will connect to network and work for about 20 seconds.
[Code]....
and it continues on after this alternating between a normal 20ms and high ping over 200ms. The connection refuses to load anything off the internet/local network.
I am running Ubuntu Enterprise Cloud on two PCs, one as Controller, one as a node. I have downloaded two Ubuntu virtual machine images from the Ubuntu Enterprise Cloud Store and can successfully start instances of them with: euca-run-instances -k mykey emi-XXXXXXXX -t c1.medium
If I run this command I can see the instance is running: watch -n5 euca-describe-instances
I can ping the IP address of the VM instance from my Controller but I can't make an SSH connection to it. I'm following the instructions @ [URL] so I have tried connecting with: ssh -i ~/.euca/mykey.priv ubuntu@192.168.1.250
The result is: Permission denied (publickey).
If I try adding -v to the ssh command I get: OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for *
I might just be crazy or particularly dumb today but what I'm trying to do is have sed replace the first and second instance of a character on a line but not after that.
Basically it is a csv file with a date formatted as dd/mm/yyyy and I need to completely remove the slashes. No problem using:
Code: sed 's////g' < file > outputfile
The only problem is that one of the columns after this may also contain these slashes and shouldn't be removed.
I must have read every single sed page on the net today to find a way to do it to no avail! Is it as simple as :
Code: sed 's////1' < file > outputfile
And then run the same on the output file again? these two slashes will always be the first and second slashes in the file.
I'm trying to use tigthvnc (with ssh tunneling) in order to acess remotely my parent's kubuntu desktop. That way I'll give them some support when I'm at my home or office.
Practically I hadn't used vnc with linux, but I recall having used with windows. In linux when I logged to the remote machine (which runs vncserver) it's opens a new instance of X server. I'd like to access to the X session that's already opened. Let's suppouse my parents are logged into X with the user: john. I'd like to access john's session, to see and check his applications. In one word I'd like to vnc in linux behaves the same way as windows.
Is that possible with vnc? I'm using tightvnc. I tried -shared option in client, but no success.
Is there any way to make Dragon Player so there is just one running instance of it at a time? Like if i have something playing and i click on something else to play have it so that the instance currently running changes to the new file instead of opening a new window?
So i'm really loving the whole gnome-do/docky thing. My question is that on other docks, you can hold down a modifier key to launch a new instance rather then switching to an already opened instance of an app. So lets say I have chrome on the win7 dock
first click launches chrome other clicks will focus the opened window shift click will open a new instance of chrome ctrl-shift-click will launch a new instance as admin
I need to set up an ubuntu 10.04 instance on ec2, but there are some instance ready available I tried with few but I am not really happy with that since those are meant for test puporse.
I have to deploy a java/j2ee based web app with mysql. 1)need to install tomcat 2)java runtime 6 3) apache web server
What would be the best image to use for my requirement and I initially planning to launch with the micro instance if my web app demands I may further move to small and larger instances. So it should be eligible for free usuage tier.
is it possible to run for instance pan remotely via ssh and make that instance of pan running on server, regardless upon closing it via ssh?for example i would love to do: start pan instance via ssh on the server keep it open while downloading close the ssh session, keep the pan running on the server in background. open ssh session and access the same instance of pan running on the server etc something in that loop.im unable to do that because when i close pan ssh remotely the instance automatically terminates on the server.