Re: [vserver] util-vserver & cpuset bug ?

From: Nikolay Kichukov <hijacker_at_oldum.net>
Date: Thu 16 Jul 2009 - 13:40:42 BST
Message-ID: <4A5F1FCA.2040200@oldum.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Same here(off the main topic). Just one public address which has the 22
port bound.

Remote access through the firewall is set per DNAT and alternative
ports. For example, context 101 might have 10122, context 102 - 10222
and etc.

Cheers,
- -Nik

Michael S. Zick wrote:
> On Wed July 15 2009, Ed W wrote:
>> Hi
>>
>>> well, you have a bunch of options, depending on the
>>> specific usecase ... e.g.
>>>
>> Assuming headless server somewhere in a rack.
>>
>>> - use a real console (serial or vga)
>>> - use a virtual console
>>>
>> Excuse dim question, but presumably the latter (and former) of these is
>> out if we aren't on the physical terminal?
>>
>>> - use a pipe or unix socket
>>> - use a network socket
>>>
>> Again, probably dim question, but by this do you mean some variation of
>> ssh, telnet or home grown equivalent using netcat/shells, etc?
>>
>>>> SSH is a given, but isn't always a straightforward option
>>>> if IP addresses are constrained
>>>>
>>> AFAIK, there is no constraint on private IP addresses
>>> (yet, although the IPV6 folks would like to see that
>>> on IPV4 :), so the public IP address constrains are
>>> not a real reason for not using ssh or telnet
>>>
>> Well, kind of. However, it's certainly more convenient to run all
>> services on port 22 on real IPs.
>>
>> At least for my data center machines I obviously need to talk to real
>> IPs at some point and obviously one IP is enough if use an array of
>> ports, but remembering how they all map is a pain. Someone will say to
>> configure some file in ~/.ssh which lets you setup these mappings, but I
>> hop around between a bunch of linux, windows and mac terminals and
>> keeping such a file up to date is not ideal. (DNS solves the problem
>> neatly in the case of lots of IPs!)
>>
>> I guess it would be possible to setup a gateway (vserver?) which you ssh
>> into and then from there into the real server. Add some scripts and I
>> can see that working
>>
>
> That works for me. My host box is the only one with an "outside" IP address;
> Once I ssh into it, I can then ssh into any of its guests.
> (Or "vserver name enter" if that is what you need to use.)
> Just as if they where all physically different machines in the rack.
> (I have one busy little core2quad used to host multiple developement
> environments / distributions.)
>
> Of course this doesn't work if the host context is down,
> but then neither do the guest contexts. ;)
>
> Mike
>> However, quite often when I'm doing maintenance and leaping into
>> machines to check config (and some machines are just templates, so they
>> get fired up with incorrect ip addresses), it's definitely extremely
>> convenient to be able to use "enter"
>>
>> Grateful for any other ideas?
>>
>> Thanks
>>
>> Ed W
>>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKXx/KAAoJEDFLYVOGGjgX7pgH/i68lkGvtXb/SSZLzccMuZF6
xk96+cUgHilVBvSFalhsyVElPZ3r0qqRmLK+VeGP0cMMTS1sF3FelxLb7VMAa/Uz
n3kYrIH9g2QznoOmKJnEncRbZe4iOCvNvYSfpD75aE9+5BecHGBw8AvDjBaOFJcb
zbaqlNQTikBkd6ymekeVNnjs5hAnWYJIeJVQ45XKz01HhlDLnByyZgD62P4+Lwn5
0VPZQwBoKCc2kktjgjTrAm48SIdCn42Y9nCirGm1ptpo1idwlHxDP1h+vpnwVKl/
fLnqKyDHodiC/luE8SzE3xZuNErkJ/Zjmp9FRyy36zqCOteYn9K2QrVYkmwVpB0=
=f7DF
-----END PGP SIGNATURE-----
Received on Thu Jul 16 13:41:12 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 16 Jul 2009 - 13:41:14 BST by hypermail 2.1.8