Networking :: Load Balancer - Ssh Sessions From A Single Head Node To Multiple Slave Nodes ?

Apr 7, 2010

My requirement is to route ssh sessions from a single head node to multiple slave nodes. So what i want is, for a client there is just one point of entry (master/head node) to ssh into, it evaluates the load on the slave nodes connected on to internal network and routes the ssh session, kind of a ssh load balancer. Do you have any idea what open source solution i can apply for my problem?

I have tried using LVS piranha, it works well for http and https load balancing but not for ssh load balancing.

View 4 Replies


ADVERTISEMENT

Applications :: Route Ssh Sessions From A Single Head Node To Multiple Slave Nodes?

Apr 7, 2010

My requirement is to route ssh sessions from a single head node to multiple slave nodes. So what i want is, for a client there is just one point of entry (master/head node) to ssh into, it evaluates the load on the slave nodes connected on to internal network and routes the ssh session, kind of a ssh load balancer. what open source solution i can apply for my problem?

View 1 Replies View Related

General :: Launch Multiple Screen Sessions From A Single Bash Script?

Jul 11, 2011

I've written a script (that doesn't work) that looks something like this:

#!/bin/sh
screen -dmS "somename" somecommand
for i in {0..5}; do
screen -dmS "name$i" anothercommand $i
done

For some reason, if I copy and paste this into a terminal, it creates 7 detached screen sessions as I expect. If I run it from within a script, however, I get only the first session, "somename," when I run screen -ls.

Edit: If the same can be accomplished another way (e.g. with multiple screen windows instead of sessions), I would be open those solutions as well.

View 3 Replies View Related

Networking :: Load Balancer Haproxy ?

Jun 17, 2010

I am using haproxy for the first time.I downloaded the latest version 1.4.7 and then unpacked it.then opened the terminal and wrote the command

After which an executable haproxy file was created which I copied to /usr/local/sbin. then i wrote $sudo make install. then I make a configuration file in /etc/haproxy.cfg which is as follows

But it's not working it is various kind of errors intially it was showing "cannot bind to socket" so tried changing the port number but didn't help. I also used command like $sudo sysctl net.ipv4.ip_nonlocal_bind=1 But didn't help.

View 1 Replies View Related

Programming :: KSH Script Behaving Differently On An HACMP Cluster Node (prod) & A Single Node (UAT)?

Dec 16, 2010

I have created a simple menu driven script for our Operations to take care of the basic monitoring and managing of our production application from the back-end. Now, the script when tested in UAT environment was fine, but when deployed to production it kind of behaved oddly.hen the Operator chooses an option from the menu he is given the output and at the end is prompted to return to the main menu by using ctrl+c. In production, this return does not occur for some strange reason and the program just sits there.The session becomes unresponsive after that and I'm forced to terminated it by closing the PuTTY.I tried enabling the debug mode too (set -x) and still was not able to find any useful hints/trails as to why.

View 5 Replies View Related

Networking :: Load Balancer With Direct Routing - LVS-DIR

Jul 16, 2010

I am working on a load balancing project. The type of routing I am implementing is direct routing (LVS-DIR).

The following is a script that sets up the Linux Virtual Server (LVS) or the load balancer:

On both, the LVS and Real Server 1, the firewalls (iptables) are not running.

A few questions I have are:
1) On the LVS, is apache supposed to be running?
2) If so, what would be the ServerName for apache on the LVS?
3) What would be the ServerName for apache on the real server1, is it the server real IP or the VIP?

When I try to access the web content on real server1 in a browser on the LVS, I get Failed to Connect. A connection to the server cannot be established.

The load balancer has two NICS, eth0 and eth1. The real servers will connect to the load balancer via eth1, and the client will connect via eth0.

View 6 Replies View Related

Networking :: Intermittent Internet Connection After Setting Up Load Balancer ?

Feb 25, 2011

I have set up one of my linux box as link load balancer for two ADSL connection. After deployment, I have found out that instead of being fast, it has become slow. What I have observed that my request get out to internet but comes back intermittently. Is this a standard scenario ?

View 1 Replies View Related

Networking :: Squid Proxy With Multi Wan Links And Load Balancer

Mar 1, 2010

My netowrk interface:

My iptable T1:

http traffic not follow the iptables. sometime via eth1 or eth2

After squid.conf added "tcp_outgoing_address wan1's gateway" it worked correctly

Why? what squid do?

The http traffic:

Why iptables can't not control the traffic

I want creat the tables T2 =>for load balancer

How to make squid route follow this table

View 1 Replies View Related

Server :: Unable To Configure Slave Nodes On Rocks Cluster?

May 28, 2010

I am trying to setup Rocks Cluster on a Cluster containing 1 Master node and 23 slave nodes connected via a Switch. The master node's eth1 is connected to public IP and eth0 is connected to the slave nodes via the switch.

I was able to install the Rocks cluster on the machine, I configured the IP for master through DHCP. When I run the command 'insert-ethers' on the master node, it doesnot get me any slave nodes.

setting up the Rocks cluster on all the nodes?

View 1 Replies View Related

Ubuntu Networking :: Vnc4server Starts Multiple Sessions?

Jul 1, 2010

if i stop that session, and come back later, it will have me log on at the login screen, but start a new session, with multiple instances of things..now, with vino, i could just keep the same session running, and when i VNC in, it just resumes it.. This one starts a new one.. i even tried just locking the screen, and it still starts a new one...i know there is an easy fix.. lol.. i just cannot find one.. i REALLY like how it shows me the ubuntu login on my server.. that is slick, so id like to keep that, if possible.

View 2 Replies View Related

General :: Configure Load Balancer To Create A 4 Server Web Farm

Feb 8, 2011

How to configure load balancer to create a 4 server web farm.

View 1 Replies View Related

Server :: High-Availability HTTP Load Balancer With HAProxy & Heartbeat On RHEL 5.4

Oct 15, 2010

I am trying to setup a High-Availability HTTP Load Balancer With HAProxy & Heartbeat using the below links.

I have all RHEL 5.4 servers hosted on VMWare.

[url]
[url]

This is the scenario, as given in the links as wells as my setup.

Load Balancer 1

Load Balancer 2

Web Server 1

Web Server 2

I have followed all the steps mentioned in the links religiously except the 2.2 here, in which it is asking to configure the vhosts. I could not really understand , what is to be placed in /etc/httpd/conf.d/vhosts.conf file and in which Web Server.

Due to this step only, I think I am failing in Failover test given in Point 4.1 here. I am able to open the webpage by [url] which gives the content of Web Server 1 (http1.example.com). But, when I try to shutdown the http service (to check failover), it does not shows the contents of Web Server 2 (http2.example.com)

Although, I am able to succeed in Failover Test 4.2, in which shared IP 192.168.0.120 switches when I try to start/stop the any of the Load Balancers.

View 2 Replies View Related

CentOS 5 Networking :: Setup The Cluster To Automatically Failover The Service To Another Node Case One Node Fails?

Mar 1, 2011

I am familiar with windows 2008 cluster servers, and I just started testing with centos cluster. I am creating a simple 2-node cluster, for a simple ping test.

Node 1: 10.0.0.1
Node 2: 10.0.0.1
Virtual ip: 10.0.0.10

So far, I can ping a virtual ip, and manually relocate it between the nodes, but I didn't figure out, how to do this automatically. So this is my question: How can I setup the cluster, to it automatically failover the a service to another node case one node fails?

View 1 Replies View Related

Ubuntu :: Multiple X Sessions On Multiple Monitors?

Jul 12, 2010

So essentially, I have 3 monitors and i'm attempting to run 2 different window managers/sessions at once split up on the monitors. It is intended to be like this:

Code:
[GNOME/Compiz - Screen0]
- Left Monitor[code]......

View 2 Replies View Related

General :: Dual Monitor Using Aticonfig Single Head & Splitter Cable

May 27, 2010

I am attempting to get a Dual Monitor Display using aticonfig (and/or manual editing my xorg.conf file). My graphics card (a Radeon HD 4350 with latest ati drivers ) has only a single output but I am using a splitter cable to connect it to two monitors.

I am want one monitor to be 1600x1200 and the second monitor to be 800x600.

This is the command I had tried to no avail.

aticonfig -fq --initial --dtop=horizontal,reverse --resolution=0,1600x1200,1280x1024,1024x768 --mode2=800x600

What am I missing? Should I be using this configuration utility? Or should I be trying to manual edit my xorg.config? All the information I have been able to find seems specific to Dual Head Displays.

EDIT: It occurs to me to post my edited xorg.conf file

Quote:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"

[Code].....

View 2 Replies View Related

Fedora Networking :: Multiple IP On Single NIC?

Jan 23, 2011

I've been trying to set multiple IP my Fedora 14 but nothing seems to work. Upon browsing the net, I found there are two ways for it. One is eth0:0~eth0:n nd another is eth0-range0. All are configs under network-scripts. But neither of them worked for me. Even grabbing a working example from my live server doesn't do the trick (though the server is a CentOS 5.5).

Currently using eth0-range0
ONBOOT=yes
IPADDR_START=192.168.1.127

[code]...

View 2 Replies View Related

Ubuntu Servers :: Can A VM Span Multiple Nodes

Mar 3, 2010

I'm trying to work with a project manager and some hardware guys and all of us are trying to get a grasp on the UEC.

1. Can a VM span multiple nodes?

2. If a website scales beyond 100% CPU on a node, does it automatically spill over to another node and start using processing power there?

3. Do I have to rewrite the code of my web app (such as WordPress) so that it works in a private cloud?

4. Does KVM support virtual memory such that when I run out of RAM it uses paging?

5. How is UEC any different than me bringing up several servers with several VMs inside, and then moving VMs around as I need? Is it really a cloud where the VMs exist in a cloud, not necessarily a node?

6. If I power off a node while it's hot, how can I assure myself that the data will be okay?

7. Do I want to use SCSI attached RAID, or NAS, or NFS? We're simply trying to host thousands of blogs and LAMP sites in a way that we can handle spike loads.

8. Do I attach the disk volumes to the cluster controller and then run a command such that the nodes can mount those virtual volumes?

9. Do I need to run another command on the VMs to mount volumes that the nodes can see?

10. What is the role of the storage controller and how is it separate from the cluster controller?

11. How many systems, minimum, do we need to get this tested out?

12. For testing purposes, can I install UEC on an Intel P4 server and then a node on Intel P3 server -- even with some limitations?

13. Let's imagine I have 5 node servers, and one catches fire and is a total loss. Can I get those VMs back and get that data back? What would have to be the proper config to make that happen?

View 1 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

CentOS 5 :: Caching Yum Rpms To Update Multiple Nodes?

Dec 3, 2010

As I was updating machines today, I was wondering... Is there some way to cache the RPM files locally that yum is grabbing? Like many, I have a number of VMs I run, and it most updates are the same between the nodes. I'm guessing I'd need some sort of http cache? Just looking for pointers, not sure what I'm looking for, however.

View 4 Replies View Related

Ubuntu Networking :: Multiple Devices On Single Network

Jan 14, 2010

I've got a co-worker who is trying to connect multiple devices to his wireless router - Xbox, Wii, TV, Dishnetwork box, etc. Not all of the devices are wireless however. He's had several thoughts on how to get this done and I know very little about this kind of thing so I thought I'd ask some of you.

His first thought was to buy a multi port bridge, but he doesn't like any of the ones he's seen so far.The other thought was to connect all of the devices to a switch and then use a single bridge, but he isn't sure if this would work.

View 8 Replies View Related

Networking :: Multiple (NIC's, Types, Etc.) Networks Use A Single DCHP?

Jul 8, 2010

I know a fair amount about setting up a simple network but I'm curious about setting up a more complex topology...For example...A "box" has two NIC's acting as a bridge, normally this would involve two distinct networks (ie. 192.213... and 192.214...) is it possible that this physical set up can create a single network (192.213... 192.213...) resolving IP's from either a DCHP on the "box" or a DCHP server somewhere else on "one side of the box"likewise with differing physical network types, a "box" with a NIC and a TCP/IP over usb setup connected to another device with TCP/IP over usb (OTG/Gadget) so that all the IP's are on one logical network.

View 1 Replies View Related

Networking :: Use Multiple Dhcp Subnets On Single Machine?

Dec 13, 2010

I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.

first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment

second is LAN new company network 192.168.168.0/24

third network is an ip phone system for both i would like to use 192.168.200.0/24

i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.

View 9 Replies View Related

Hardware :: Good Hardware Load Balancer That Is Easy To Setup ?

Jan 27, 2010

Anyone know of a good hardware load balancer that is easy to setup? 100mbps.

View 1 Replies View Related

Ubuntu Networking :: Could Not Load A Single Page, Except Pages With Direct IPs?

Jan 14, 2010

Excuse me if such thread exists already, i carefully searched the forum so i wont create a second one concerning the following problem:So i downloaded (on my new fresh Fujitsu SIEMENS Li3710 running Vista the Ubuntu 9.04 distro.. im a complete Linux noob, but i wanted to give it a second try) so i downloaded it and burned it on the fast laptop, so there wont be any errors caused by low memory during burning I installed and then i went to the Ubuntu desktop - i had all drivers installed. Everything but Amarok sound worked, i turned off my laptop and went doing my job.. The next time i started up my laptop and went on the desktop .. a tradition is to browse the web, so i did that and i couldnt load a single page, except pages with direct IPs i had Skype working just fine and i had a friend there running SuSe and asked him for help. We identified it as a DNS problem, but because of my noobness i couldnt deal with it and i HAD TO switch back to windows, wich i regret so much.

I know that im a noob, but if i have an internet running at its best i can look at forums and resolve my other issues, so im asking for a screenshots on DNS settings so i can fix it the next time i install Ubuntu.Also! I was using cable via PPPoE (and the only terminal command i know is "sudo pppoeconf" ), now im with router, connecting my laptop directly via WI-FI, will i have the same problem and will i have to make settings so i can connect to my router? Because back then i tried to connect to wireless networks and the ones i could connect on XP/Vista/7 i simply couldnt connect on Ubuntu...I really want some real PC knowledge and to use Linux

View 4 Replies View Related

Software :: Can't Get Head Around The Commands Or How Multiple?

Jan 11, 2011

I'd like to convert some of my backed up ripped DVDs to an .avi with separate subtitle file. I have been looking at MEncoder but I can't get my head around the commands or how multiple .VOB files become a singular .avi file.

View 2 Replies View Related

Ubuntu :: Dual Head Setup - Multiple Conky

Jun 14, 2010

I am trying out conky for the first time and rather enjoying it. I have a small frustration though. I have a dual head setup and would like to have identical conky's showing on both monitors. I have tried creating two .conkyrc's (.conkyrc1 & .conkyrc2) and then using:-

Code:
$ conky -c config1
$ conky -c config2
to launch them, this results in only one of the two conky's displaying. I did at first think that maybe they were on top of eachother, but one conkyrc is set bottom_left, the other bottom_right so they should not be right??

When I try to run them as above terminal shows:-
Code:
gregg@burt:~$ conky -c config1
Conky: invalid configuration file 'config1'
Conky: invalid num arg for top. Must be between 1 and 10.
Conky: invalid num arg for top. Must be between 1 and 10.
Conky: invalid num arg for top. Must be between 1 and 10.
Conky: invalid num arg for top. Must be between 1 and 10.
Conky: invalid num arg for top. Must be between 1 and 10.
Conky: invalid num arg for top. Must be between 1 and 10.
Conky: forked to background, pid is 7017 .....

#NETWORK
${font Sans:size=9:weight=bold}${color grey}NETWORK ${hr 2}$color${font Sans:size=8:weight=bold}
${color grey} DOWNLOAD UPLOAD
${downspeedgraph eth0 30,115 000000 00ff00} ${alignr}${upspeedgraph eth0 30,115 000000 ff0000}$color
Processes 8 & 9 do not appear in my conky, just blank space between 7 & 10?? Also, the swap %age displays 'No swap%'?

View 6 Replies View Related

Ubuntu Networking :: Multiple External IP Addresses With Single Physical Ethernet Card And Virtualization

Feb 16, 2010

I recently installed Ubuntu Server 9.10 with the intent of using it as a platform for running a couple of Windows XP virtual machines along with Linux/Ubuntu.

I had no problems getting the server installed. Had no problems getting the network up and running so that I had access to both my internal network as well as external connectivity to the internet. Had no problems getting a VM installed and putting Windows XP inside of it. Had no problems setting up a bridge between the WinXP virtual machine and the physical ethernet card (eth0).

What Im having trouble with is figuring out how to bridge from multiple VMs AND Ubuntu natively through one physical ethernet card.

When I set up the bridge, it knocks out the static IP address of the ethernet card that was set up initially with Ubuntu when first installed before the VM was created and installed. Therefore, connectivity within Ubuntu natively is lost.

Similarly, am having trouble figuring out how the second VM (also going to be running WinXP) is going to get its connectivity since it doesnt seem to like me setting up 2 bridges to the same physical ethernet interface card.

I need all 3 machines to have static IP addresses and be visible/accessible from the external network for either web/mail/dns/etc servers on the Ubuntu side and for remote PC control functionality on the VM side.

I have tried setting up alias ethernet interfaces (eth0:1, eth0:2, eth0:3) with static addresses which work fine from native Ubuntu in presenting multiple IP addressees, but it seems that Im not permitted to bridge to these alias interfaces.

View 5 Replies View Related

Fedora :: Different Multiple Workspace Behavior On Dual Head Machine?

Jun 1, 2011

I'm getting used to gnome3 one thing still bugs me- why when I switch workspaces on my multiple monitor machine does only the primary monitor change to a different workspace? The secondary monitor (my laptop screen) shows all open windows I put on it plus it's not even shown in the workspace list.

View 2 Replies View Related

Debian :: Multiple Sessions With X Window

Jan 18, 2011

I have two Debian boxes, A and B. I would like that a window (for example vlc, or whatever) displays on both A and B. The process (i.e., the X11 client) runs on A. If I interact with the window from box A, it should affect the window on box B. And, if I interact with the window from box B, it should affect the window on box A.

View 2 Replies View Related

Ubuntu :: Multiple Guest Sessions (More Than Once)?

Jul 9, 2010

Is it way to have more "guest" sessions (more than one)?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved