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


ADVERTISEMENT

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 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

Applications :: Writing Commands To Multiple Sessions?

Jul 12, 2010

I am using putty to connect to some servers. Is there a program that let you connect to say three servers and when you write your commands to server1, server2 & 3 also gets the command? So I don't have to log in to all three servers to do the exact same thing.

View 2 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

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 :: 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

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

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

Networking :: Route Traffic From A Single Host Through A Specific Interface?

Aug 21, 2010

I have a linux router with 2 physical ISPs and a VPN tunnel that all my traffic passes through. I would like to setup a rule to redirect all traffic from one internal IP address (10.0.0.x) through the physical link only. My current script is as follows.

iptables -F
iptables -X
echo 1 > /proc/sys/net/ipv4/ip_forward

[code]....

My goal is to do something similar to the mangle on the tor traffic, but for an entire host.

View 2 Replies View Related

Networking :: Have 2 Internet Providers At Office And Want To Use A Single Router To Route Them Both?

Jul 8, 2011

I have a weird issue with source routing on a linux box.The plan goes like this:I have 2 internet providers at my office and i want to use a single router to route them both ( i don't need load balancing or failover). I just want access to either provider based on the ip i use on my pc. The first provider, let's call it RDS, is simple: i've got an RDS_IP, RDS_MASK and RDS_GW.The second provider is complicated, we'll call it INES. I have a INES_IP, INES_MASK, INES_GW and they also gave me a subnet of public ip's: ILAN_NET which i have to route myself through INES_IP.I also have a third nic with an local ip: LAN_NET and an alias for the INES subnet: ILAN_NETthe router has dhcp enabled, giving by default ip's from LAN_NET and using the default gw, RDSI have snat for the LAN_NET to go through RDS.

If i enter an ip from the ILAN_NET, instead of routing in through the INES_GW, it also goes through RDS_GW.the routing i've used for about 5 months has worked perfectly untill one day, when it just stopped. this is my setup:ip route add $RDS_MASK dev $RDS_IF src $RDS_IP table rdsip route add default via $RDS_GW table rdsip route add $INES_MASK dev $INES_IF src $INES_IP table inesip route add default via $INES_GW table inesip route add default via $RDS_GWip rule add from $RDS_IP table rdsip rule add from $INES_IP table inesip route add $LAN_NET dev $LAN_IF table rdsip route add 127.0.0.0/8 dev lo table rdsip route add $ILAN_NET dev $ILAN_IF table inesip route add 127.0.0.0/8 dev lo table ineswhat puzzles me the most is that this setup has worked, and now it doesn't .... without any changes on the router.I've tried everything save for a format/reinstall.

View 2 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

Ubuntu :: How To Run Multiple Graphical Sessions

Aug 21, 2010

I'm trying to run multiple Graphical sessions. How can I do this? I have read the forum article from 2006 but I get an error when executing startx --:2 [URL]
When I follow this howto, this is the error I get
Code:
# startx --:2
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again.
Please consult the The X.Org Foundation support at [URL] for help.
ddxSigGiveUp: Closing log

View 4 Replies View Related

Ubuntu :: Will It Be Possible To Maintain Multiple Sessions

Oct 4, 2010

Will it be possible to maintain multiple sessions from Ubuntu?Actually we are working on one open source application and we have setup this application on one of our Ubuntu machine and this would act as a server for other developer's windows machine. Is any utility available(preferable open source) using which we will be able to access the Ubuntu server from all 4-5 developer's Windows machines?

Our requirement will be to access the whole system including console and GUI (same like remotely access) by using different sessions so that all 4-5 developers can start work together on the same Ubuntu machine.

View 1 Replies View Related

Software :: Multiple Sessions With Different Resolutions

May 9, 2011

I just bought a tablet, I would like to VNC to my machine with a lower screen resolution to match my tablet. Right now I use x11vnc on Ubuntu 10.10, and I was thinking to start another session using "startx" but I see there are parameters for display depth but not resolution.

View 4 Replies View Related

Debian Multimedia :: Using Startx For Multiple X Sessions

Sep 20, 2015

I have been able to log into a tty[1-6] as root or my user, and then startx -- :1, while logged in as myuser and running X on tty7, , but this somehow skips my default desktop manager (GDM3) and boot straight into LXDE (with no menus!). In /etc/X11/default-diplay-manager I have: /usr/sbin/gdm3 ? How do I get startx -- :1 to start a desktop manager?

Related 2nd question: When I did the above startx -- :1, it would start the X session in the same tty (e.g. tty2) where I was logged in when running the startx command. It used to be (in older Linux versions) that startx -- :1 would start an X session on tty8 (and the default would be :0 on tty7). Is this the (new) way things are supposed to work?

View 2 Replies View Related

Ubuntu :: Music Playback Between Multiple X Sessions

Apr 13, 2010

I use two x session, one for xbmc and the other for my desktop, that I can switch with CTRL+ALT+F7 or CTRL+ALT+F8. I start music in xbmc xsession and then switch to my desktop. When the track is finish the next track don't play, i must to come back to xbmc xession and automatically the next track is playing. I would like to have music all time when I'm not in xbmc xsession but in desktop xsession.

Ubuntu 9.10 x86_64 2.6.31-19-generic
ATI Radeon HD 4200 512MB (ATI Catalyst drivers 10.2)

View 5 Replies View Related

General :: Route Different Applications Through Different Network Interfaces?

Jan 13, 2011

Is it possible to route different applications through different network interfaces?

Let's say (hypothetically) I want to route /usr/bin/thunderbird through vlan0 but /usr/bin/firefox through eth0.

Is there a way? And if so, is there a graphical tool for it as well?

View 2 Replies View Related

Debian :: Iceweasel - Secure Sessions On Multiple Profiles

May 18, 2010

I'm having problems establishing secure sessions with my bank's online banking service provider. I've already contacted their local tech and together we were unable to solve the problem. I've tried deleting my cookies, session store, cache, and none of it worked. He's currently forwarding our conversation to the service provider's tech support line, but who knows what will come of it. Or even if they will offer support for an iceweasel user. I'm using Iceweasel 3.6.4~build2-1 out of the experimental repo.

I'm able to login successfully to online banking site to view my list of accounts, however if I try going any further than that, I'm redirected to an error message page that tells me a security error has occurred - the online session has expired. I get this on browser profiles 1, 2, and 3, however I do not get the error message on profile '0' (default) or on newly created profiles. And as mentioned earlier, I've tried deleting all persistent data (cookies, session, cache) on a non-working profile and the problem still exists. Let me know if I can provide any more information.

View 2 Replies View Related

Debian Multimedia :: Gdm3 / Gnome And Multiple X Sessions

Sep 11, 2015

Running Jessie (with a low-pinned Debian-based repositories added to my sources.list (e.g. Kali, kxstudio) for those packages not currently available on Debian (like the Kali menu of security tools). Running on a HP 15-r189nd (Energy Star) laptop.

First question: How do I get GDM3 to add root as an option during login? I can type the root user name in. I don't need it to show the root user in the user list (would actually prefer to need to type it in), but I do want to be able to start an X session as root, since some of the Kali tools (e.g. nmap) needs root to function fully. If I type in root and try to start, it just takes me back to the GDM3 login.

Second question: When I want to select my Desktop Enviroment/Window Manager in GDM3, the list appears below the little gear so I can only see half of the list (xfce not visible to select). How do I change the GDM3 appearance/settings that will change the position of the DE list?

Third question: How do I get multiple X sessions running simultaneously? What I have been able to do, while logged in as myuser and running X on tty7, is to log into a tty[1-6] as root, and then startx -- :1, but this somehow skips my default desktop manager (GDM3) and boot straight into LXDE (with no menus!). In /etc/X11/default-diplay-manager I have: /usr/sbin/gdm3 ? How do I get startx -- :1 to start a desktop manager?

Fourth question: When I did the above startx -- :1 as root, it would start the X session in the same tty (e.g. tty2) where I was logged in as root running the startx command. It used to be (in older Linux versions) that startx -- :1 would start an X session on tty8 (and the default would be :0 on tty7). Is this the (new) way things are supposed to work? Or is there something wrong with my setup?

Question 5: Once I have started an LXDE session as root, how do I get it to show the full application menu that my regular user can see? Can I just copy the config files over? Which ones? Or is there a better way?

Question 6: Gnome used to start fine. Then I ran Gnome on Wayland once, and now regular Gnome (on X?) no longer runs, but give me a "Oops! Something went wrong" error and Alt-F4 just takes me back to GDM3. Classic Gnome and Gnome on Wayland still runs OK. Should I log a bug report?

View 6 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

Ubuntu :: Multiple X Sessions - Auto Login 2 Different Users

Oct 11, 2010

I have a small problem regarding multiple X sessions. I want 2 X sessions started automatically on boot with 2 different users auto logged in and 2 different sessions running.

On first X session I would like to have gnome running with user1
On second X session I would like to have xbmc running with user2
So far my computer logs user1 in to a gnome session via gdm on boot. But then I have to launch a tty, log in as user2 and then start xbmc in a new X session.

How to make it work? I would also love to have the second X session active after boot. I am running Ubuntu 10.04.

View 1 Replies View Related

Ubuntu :: Multiple Desktop Sessions - Screen Goes Out Black

May 4, 2011

I want to be able to run multiple desktop sessions, but when I goto the next session terminal and type startx -- :2 the screen just goes all black.

View 4 Replies View Related

Server :: Automating Multiple Minicom Sessions Simultaneously

Oct 5, 2010

Here's the setup: One x86 server (Red Hat 4) with two serial connections to an embedded linux device. One serial connection is to a power control so the device can the restarted, and the other is used for a console to this device. Both serial connections use minicom. People on my team VNC to the x86 server, where they find the two minicom sessions waiting for them as they are left open. I would like to automate connecting to the server and communicating over the serial lines.

Supposing I use ssh to the x86 server, could minicom be used over the serial lines without terminating the minicom processes seen through VNC? If not, is there a way to re-open those windows from within the ssh session, so a user who VNCs to the server won't have to reopen them? Could a single ssh connection control two minicom terminals simultaneously, or would there need to be two ssh connections? It is assumed a user and the automated process will *not* try to access the device at the same time; the automation would trigger during off hours.

View 2 Replies View Related







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