Re: [Vserver] any asterisk issues?

2007-04-13 Thread Adrien Laurent

Hi,

The only problems with asterisk we got were with the asterisk manager,
you will need to change the listening ip inside manager.conf

If you do use freepbx / amportal you will also have to run a replace
127.0.0.1 with localhost in all the sources.

Adrien


On 4/13/07, Eugen Leitl [EMAIL PROTECTED] wrote:


I would like to package asterisk on some vserver products.
Are there any gotchas with asterisk in vserver guests?

--
Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org
__
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver





--
Adrien Laurent
Chief Information Officer
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [Release] Stable 2.2.0

2007-04-01 Thread Adrien Laurent

First, thanks a lot Herbert for your hard work and support ! This new
stable version is a great news !

Like Chuck, I've ran in a lot of programs (especially in the VOIP
domain) that requires hack to work around with 127.0.0.1:
asterisk
freepbx
phpmyadmin (for some small features I don't recall)
flashoperator panel
bind (related to pam something)
sendmail (don't remember what options)

I don't remember anymore but I've had problems with another half dozen.

Imho, the 127.0.0.1 issue is by far the most painful for a newbie.


Sincerely,

Adrien













On 4/1/07, Herbert Poetzl [EMAIL PROTECTED] wrote:

On Sun, Apr 01, 2007 at 03:15:37PM -0400, Chuck wrote:
 On Sunday 01 April 2007 12:33, Herbert Poetzl wrote:


 dumb question. i didnt see it in the changelog but then
 again i may not know what i am looking at :)

 1. will production vserver code soon have real 127.0.0.1
unique to each guest?

probably, I guess 2.2.1 will have that ...

this is something that is sorely needed to prevent hours
of possibly insecure workarounds with some software.

I am not aware of many software packages which
would require any changes to work with the
current implementation (in this regard)

 2. this looks like the production version of what we are
currently running...

 util-vserver 0.30.212-r2
 kernel 2.6.19-vs2.2.0-rc2

 I suspect an upgrade to production would not hurt us considering our
 kernel version.. i guess my question is would it be a seamless upgrade
 for us to production?

I hope so ...

 i would probably bump the kernel to 2.6.20 at the same time.

2.6.19.7 and 2.6.20.4 should be both fine, but
a lot of minor issues were ironed out between
rc2 and final (rc21+ :) same goes for the tools
btw, which are at 0.30.213-rc6

HTC,
Herbert

  Greetings Community!
 
  after a longer rc stage, to get rid of all the
  minor issues, we proudly present the first release
  of the new stable 2.2 branch, which includes all
  the 'considered stable' features of the previous
  devel branch (2.1.x) which has been superceded by
  the 2.3.x devel branch ...
 
  http://www.13thfloor.at/vserver/s_rel26/v2.2.0/
  (tools supposed to work fine on Mandriva 2007.x)
 
  thanks to all who helped in development and did
  test the release candidates ...
 
  enjoy,
  Herbert
 
  ___
  Vserver mailing list
  Vserver@list.linux-vserver.org
  http://list.linux-vserver.org/mailman/listinfo/vserver
 

 --

 Chuck

 ...and the hordes of M$*ft users descended upon me in their anger,
 and asked 'Why do you not get the viruses or the BlueScreensOfDeath
 or insecure system troubles and slowness or pay through the nose
 for an OS as *we* do?!!', and I answered...'I use Linux'. 
 The Book of John, chapter 1, page 1, and end of book


 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver






--
Adrien Laurent
Chief Information Officer
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] bug or feature

2007-02-23 Thread Adrien Laurent

Hi,

By mistake I assigned to a guest the same IP than the host.

I stopped the guest... and I lost the host ip... hard remote reboot...

Is it possible to forbid assignment of host ip to a guest ?

Thanks,

Adrien



--
Adrien Laurent
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] Bandwidth Monitoring

2007-01-03 Thread Adrien Laurent
Thanks,

I tried to setup iptables for accounting but It doesn't start on my
master vserver:


# iptables -A FORWARD -s 192.168.0.2
iptables v1.2.11: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


I think it's kernel issue, maybe bad configured, but I remember using
the default make menuconfig configuration.


I'll first try to fix this then I'll try to feed the iptable accounting
result into snmp.

Adrien



-Original Message-
From: Tom Laermans [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 03, 2007 7:33 AM
To: vserver@list.linux-vserver.org; Adrien Laurent
Subject: Re: [Vserver] Bandwidth Monitoring

On Tue, Jan 02, 2007 at 10:21:31PM -0500, Adrien Laurent wrote:
 Hi and happy new year !
 
 I'd like to monitor bandwidth through snmp from the master server.
 When I hit ifconfig in the master I only get it's interfaces not the 
 ones of the vservers.
 
 Is it possible to see the vserver interfaces from the master ?

I am using IPFM to monitor traffic per IP address.

I haven't gotten around to writing a plugin for net-snmp to use that
data to
be able to report through SNMP though.. been thinking about how to do it
in
my (rare) spare time... :) just doing it is not that hard but I'd like
to
integrate it into the rest of the interfaces. *hmm, idea about how*

I'll unfortunately be pretty busy for the next few weeks ...

Tom

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Bandwidth Monitoring

2007-01-02 Thread Adrien Laurent

Hi and happy new year !

I'd like to monitor bandwidth through snmp from the master server.
When I hit ifconfig in the master I only get it's interfaces not the 
ones of the vservers.


Is it possible to see the vserver interfaces from the master ?

Thanks

Adrien






--
Adrien Laurent - CIO
(514) 284-2020 x 202
http://www.modulis.ca
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Maximum guest on one host

2006-12-03 Thread Adrien Laurent

Hi,

I have a project of giving away free voip servers using vserver.
Each servers will be a minimal centos installation with few
additionnal packages.
They will all have a public ip - no firewall.

Considering that all the servers are idle - how many of them can a
regular server (Pentium 3.0Ghz - 2go ram) handle ?


Thanks,


Adrien





--
Adrien Laurent
Chief Information Officer
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Maximum guest on one host

2006-12-03 Thread Adrien Laurent

On 12/3/06, Eugen Leitl [EMAIL PROTECTED] wrote:

On Sun, Dec 03, 2006 at 02:16:55PM -0500, Adrien Laurent wrote:

 I have a project of giving away free voip servers using vserver.

Interesting project. This has been one of my product ideas (for-profit,
however).



we'll keep it non-profit. If we have the ressources we might also
provide free north american communications


 Each servers will be a minimal centos installation with few
 additionnal packages.
 They will all have a public ip - no firewall.

Is this SIP? Asterisk?


yes, sip/iax with asterisk



 Considering that all the servers are idle - how many of them can a
 regular server (Pentium 3.0Ghz - 2go ram) handle ?

How much would fit into a 4 GByte 2 GHz Opteron system?

--
Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org
__
ICBM: 48.07100, 11.36820http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFcytOdbAkQ4sp9r4RAnLZAKCPlWVzeojFjcEZ7OtZO5Gono4BuACgiuSA
eZHR8H4iEq4t7mhk9viVHR0=
=6reb
-END PGP SIGNATURE-


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver






--
Adrien Laurent
Chief Information Officer
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] snmp vserver

2006-12-03 Thread Adrien Laurent

Hi,

With the setup:
host: centos 4 - 2.6.18.1-vs2.0.2.2-rc4 - eth0(192.168.0.1) -
lo(127.0.0.1) - runs snmp
guest: centos 4 - eth0(192.168.0.2) - runs snmp  cacti


I'm trying to graph the usage of my vserver using snmp and cacti; I
face the following problems:

- Cacti default setup ping 127.0.0.1 which is not activated by default
on my vserver guest, is it possible to enable lo(127.0.0.1) on a guest
?

- When I graph the snmp from guest I get the ip  data of the host 192.168.0.1

- Do you know an easy way on how I could get network stat per ip for
all the vservers ?


Thanks a lot for any help !


Adrien



--
Adrien Laurent
Chief Information Officer
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] snmp vserver

2006-12-03 Thread Adrien Laurent

Thanks,

Actually, that's what I did; I replace 127.0.0.1 with the ip of the guest.
But I fear that I will meet one time or another a program that needs 127.0.0.1.

The problem with this solution is that it requires an instance of
cacti inside each guests, which is not convenient for resources and
management.

Adrien

On 12/3/06, Chuck [EMAIL PROTECTED] wrote:

On Sunday 03 December 2006 21:31, Adrien Laurent wrote:
 Hi,

 With the setup:
 host: centos 4 - 2.6.18.1-vs2.0.2.2-rc4 - eth0(192.168.0.1) -
 lo(127.0.0.1) - runs snmp
 guest: centos 4 - eth0(192.168.0.2) - runs snmp  cacti


 I'm trying to graph the usage of my vserver using snmp and cacti; I
 face the following problems:

 - Cacti default setup ping 127.0.0.1 which is not activated by default
 on my vserver guest, is it possible to enable lo(127.0.0.1) on a guest
 ?

i have not done it myself but one of our techs has cacti successfully running
inside a vserver. for the first thing, set localhost to the guest primary ip
in /etc/hosts and do a grep on the config files of the programs you use to
find all instances of 127.0.0.1. change them to the primary ip of your guest.

once all that is done i believe it should work properly for you in testing
your guests. he has monitoring all of our guests.


 - When I graph the snmp from guest I get the ip  data of the host
192.168.0.1

 - Do you know an easy way on how I could get network stat per ip for
 all the vservers ?


 Thanks a lot for any help !


 Adrien



 --
 Adrien Laurent
 Chief Information Officer
 (514) 284-2020 x 202
 [EMAIL PROTECTED]
 www.modulis.ca

 Technical questions? [EMAIL PROTECTED]
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver


--

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver




--
Adrien Laurent
Chief Information Officer
(514) 284-2020 x 202
[EMAIL PROTECTED]
www.modulis.ca

Technical questions? [EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver