Marc Olive | 1 Apr 2011 08:15
Favicon

Re: vps from different Hardware Nodes can't access each others

On Thursday 31 March 2011 19:22:47 John Spanos wrote:
> Hello ppl

Hello,

> I am new in mailing list but i face a strange situation and i need your
> help to fix it... let me explain
> 
> i have two hardware nodes
> 
> HN1 --> OS:CentOS --> ip_address:192.168.1.1/24
> HN2 --> OS:CentOS --> ip_address:192.168.1.2/24
> 
> i have four vps on each Hardware Node
> 
> vps01_hn1 --> running_on: HN1 --> OS:Debian --> ip_address:192.168.1.100/24
> vps02_hn1 --> running_on: HN1 --> OS:Debian --> ip_address:192.168.1.101/24
> vps03_hn1 --> running_on: HN1 --> OS:Debian --> ip_address:192.168.2.100/24
> vps04_hn1 --> running_on: HN1 --> OS:Debian --> ip_address:192.168.2.101/24
> 
> vps01_hn2 --> running_on: HN2 --> OS:Debian --> ip_address:192.168.1.102/24
> vps02_hn2 --> running_on: HN2 --> OS:Debian --> ip_address:192.168.1.103/24
> vps03_hn2 --> running_on: HN2 --> OS:Debian --> ip_address:192.168.2.102/24
> vps04_hn2 --> running_on: HN2 --> OS:Debian --> ip_address:192.168.2.103/24
> 
> 
> so here is my situation
> 
> when i try to ping or trace from vps01_hn1 to any other vps i am taking a
> normal response when i try to ping or trace from vps03_hn1 to any vps on
(Continue reading)

C K Kashyap | 1 Apr 2011 12:33
Picon
Gravatar

Creating an openVZ image of RHEL5.3

Hi,

I have the ISO of RHEL 5.3 ... how can I go about creating an openVZ RHEL 5.3 guest?
Regards,
Kashyap
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Sharp | 1 Apr 2011 13:02
Picon
Gravatar

Re: Creating an openVZ image of RHEL5.3

On Fri, Apr 1, 2011 at 2:33 PM, C K Kashyap <ckkashyap@...> wrote:
> I have the ISO of RHEL 5.3 ... how can I go about creating an openVZ RHEL
> 5.3 guest?

I believe you can use
http://wiki.openvz.org/Creating_a_CentOS_5.0_Template as reference.
John Spanos | 1 Apr 2011 13:22
Favicon

RE: vps from different Hardware Nodes can't access each others

Hello,

Thanx for your help.

You are right with the solution you suggest me but the description of my problem was with fake ip addresses,
my real problem is with real ip addresses and the subnets I have are not sequent.
So think like we have ips from 192.168.1.0/24 and 10.10.10.0/24

Any other suggestions??

-----Original Message-----
From: users-bounces@...
[mailto:users-bounces@...] On Behalf Of Marc Olive
Sent: Friday, April 01, 2011 9:15 AM
To: users@...
Subject: Re: [Users] vps from different Hardware Nodes can't access each others

On Thursday 31 March 2011 19:22:47 John Spanos wrote:
> Hello ppl

Hello,

> I am new in mailing list but i face a strange situation and i need 
> your help to fix it... let me explain
> 
> i have two hardware nodes
> 
> HN1 --> OS:CentOS --> ip_address:192.168.1.1/24
> HN2 --> OS:CentOS --> ip_address:192.168.1.2/24
> 
> i have four vps on each Hardware Node
> 
> vps01_hn1 --> running_on: HN1 --> OS:Debian --> 
> ip_address:192.168.1.100/24
> vps02_hn1 --> running_on: HN1 --> OS:Debian --> 
> ip_address:192.168.1.101/24
> vps03_hn1 --> running_on: HN1 --> OS:Debian --> 
> ip_address:192.168.2.100/24
> vps04_hn1 --> running_on: HN1 --> OS:Debian --> 
> ip_address:192.168.2.101/24
> 
> vps01_hn2 --> running_on: HN2 --> OS:Debian --> 
> ip_address:192.168.1.102/24
> vps02_hn2 --> running_on: HN2 --> OS:Debian --> 
> ip_address:192.168.1.103/24
> vps03_hn2 --> running_on: HN2 --> OS:Debian --> 
> ip_address:192.168.2.102/24
> vps04_hn2 --> running_on: HN2 --> OS:Debian --> 
> ip_address:192.168.2.103/24
> 
> 
> so here is my situation
> 
> when i try to ping or trace from vps01_hn1 to any other vps i am 
> taking a normal response when i try to ping or trace from vps03_hn1 to 
> any vps on
> HN1 i get a response but from HN2 i get response only from vps01_hn2 
> and vps02_hn2. the same situation from HN2 vps, vps01_hn2 and 
> vps02_hn2 can ping everyone but vps03_hn2 and vps04_hn2 can't ping vps 
> vps03_hn1 and vps04_hn1.
> 
> I don't have any iptables.
> any ideas??

You have mixed (sub)nets on each HN, 192.168.1.x and 192.168.2.x. How did you routed between subnets/hosts?
Also, if you randomly mix subnets IPs, like 192.168.2.100 on HN1 and
192.168.2.102 on HN2 then routing tables will be a bit hard, you will need a route for every node instead
having one route for every net.

I don't know your needs, but splitting subnets in a different way will be easier to manage, for example
192.168.1.x for HNs, 192.168.2.x for VPx_HN1 and 192.168.3.x for VPx_HN2. This way you can route whole
subnets to his HN- gateway, instead of routing individual VPs as you will have to do with the configuration
you have now.

You should read some docs about routing and net-splitting.

Regards,

--

-- 

Marc Olivé
Blau Advisors

marc.olive@...

C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507

www.blauadvisors.com

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Marc Olive | 1 Apr 2011 13:31
Favicon

Re: vps from different Hardware Nodes can't access each others

On Friday 01 April 2011 13:22:21 John Spanos wrote:
> Hello,

Hello,

> Thanx for your help.
> 
> You are right with the solution you suggest me but the description of my
> problem was with fake ip addresses, my real problem is with real ip
> addresses and the subnets I have are not sequent. So think like we have
> ips from 192.168.1.0/24 and 10.10.10.0/24
> 
> Any other suggestions??

So you have something like:

HN1: 192.168.1.1/24
VS1_HN1: 192.168.1.11/24
VS2_HN1: 192.168.1.12/24
VS3_HN1: 192.168.1.13/24
VS4_HN1: 192.168.1.14/24

HN2: 10.0.0.1/24
VS1_HN2: 10.0.0.11/24
VS2_HN2: 10.0.0.12/24
VS3_HN2: 10.0.0.13/24
VS4_HN2: 10.0.0.14/24

You can ping from VS1_HN1 to any VSx_HN1 and VSx_HN2, all it's fine.
You can ping from VS3_HN1 to any VSx_HN1 but only to two of VSx_HN2?
What have this VS3 different from VS1? It's the same type of ethernet than VS1 
one (venet or veth, both)? What about interface's config differences besides the 
IP? Did you checked the routing tables of HN and VS?

Regards,

--

-- 

Marc Olivé
Blau Advisors

marc.olive@...

C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507

www.blauadvisors.com
John Spanos | 1 Apr 2011 13:43
Favicon

RE: vps from different Hardware Nodes can't access each others

So i have something like:

HN1: 192.168.1.1/24
VS1_HN1: 192.168.1.11/24
VS2_HN1: 192.168.1.12/24
VS3_HN1: 10.0.0.13/24
VS4_HN1: 10.0.0.14/24

HN2: 192.168.1.2/24
VS1_HN2: 10.0.0.11/24
VS2_HN2: 10.0.0.12/24
VS3_HN2: 192.168.1.13/24
VS4_HN2: 192.168.1.14/24

So vs1_hn1 and vs1_hn2 can ping all, vs3_hn1 can ping VSx_HN1, VS3_HN2 and VS4_HN2 and not VS1_HN2 and VS2_HN2.

Thanks

-----Original Message-----
From: users-bounces@...
[mailto:users-bounces@...] On Behalf Of Marc Olive
Sent: Friday, April 01, 2011 2:31 PM
To: users@...
Subject: Re: [Users] vps from different Hardware Nodes can't access each others

On Friday 01 April 2011 13:22:21 John Spanos wrote:
> Hello,

Hello,

> Thanx for your help.
> 
> You are right with the solution you suggest me but the description of 
> my problem was with fake ip addresses, my real problem is with real ip 
> addresses and the subnets I have are not sequent. So think like we 
> have ips from 192.168.1.0/24 and 10.10.10.0/24
> 
> Any other suggestions??

So you have something like:

HN1: 192.168.1.1/24
VS1_HN1: 192.168.1.11/24
VS2_HN1: 192.168.1.12/24
VS3_HN1: 192.168.1.13/24
VS4_HN1: 192.168.1.14/24

HN2: 10.0.0.1/24
VS1_HN2: 10.0.0.11/24
VS2_HN2: 10.0.0.12/24
VS3_HN2: 10.0.0.13/24
VS4_HN2: 10.0.0.14/24

You can ping from VS1_HN1 to any VSx_HN1 and VSx_HN2, all it's fine.
You can ping from VS3_HN1 to any VSx_HN1 but only to two of VSx_HN2?
What have this VS3 different from VS1? It's the same type of ethernet than VS1 one (venet or veth, both)? What
about interface's config differences besides the IP? Did you checked the routing tables of HN and VS?

Regards,

--

-- 

Marc Olivé
Blau Advisors

marc.olive@...

C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507

www.blauadvisors.com

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Marc Olive | 1 Apr 2011 14:06
Favicon

Re: vps from different Hardware Nodes can't access each others

On Friday 01 April 2011 13:43:04 John Spanos wrote:
> So i have something like:
> 
> HN1: 192.168.1.1/24
> VS1_HN1: 192.168.1.11/24
> VS2_HN1: 192.168.1.12/24
> VS3_HN1: 10.0.0.13/24
> VS4_HN1: 10.0.0.14/24
> 
> HN2: 192.168.1.2/24
> VS1_HN2: 10.0.0.11/24
> VS2_HN2: 10.0.0.12/24
> VS3_HN2: 192.168.1.13/24
> VS4_HN2: 192.168.1.14/24
> 
> So vs1_hn1 and vs1_hn2 can ping all, vs3_hn1 can ping VSx_HN1, VS3_HN2 and
> VS4_HN2 and not VS1_HN2 and VS2_HN2.

Then, I repeat my first answer:

You have mixed (sub)nets and etcetera...

> 
> Thanks

Regards,

--

-- 

Marc Olivé
Blau Advisors

marc.olive@...

C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507

www.blauadvisors.com
C K Kashyap | 1 Apr 2011 17:22
Picon
Gravatar

Re: Creating an openVZ image of RHEL5.3

Thanks Sharp...I'll give it a shot.

On Fri, Apr 1, 2011 at 4:32 PM, Sharp <sharp-cQhMu81scRUox3rIn2DAYQ@public.gmane.org> wrote:
On Fri, Apr 1, 2011 at 2:33 PM, C K Kashyap <ckkashyap-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I have the ISO of RHEL 5.3 ... how can I go about creating an openVZ RHEL
> 5.3 guest?

I believe you can use
http://wiki.openvz.org/Creating_a_CentOS_5.0_Template as reference.
_______________________________________________
Users mailing list
Users-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org
https://openvz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
mattias | 2 Apr 2011 22:14
Picon

ips

i have a swedish vpn distributor it give me 5 ips
Can i use some of them with openvz?
I have look to a swedish vps company the company use vnet8 to give a ip
The ip whas style of a public ip
The company not use the eth0 interface
E.g
Vzctl add inet_add eth0
Or something
C K Kashyap | 5 Apr 2011 16:29
Picon
Gravatar

Xen hypervisor vs OpenVZ

Hi,

I am trying to do benchmarking of performance in Xen VM and OpenVZ VM.

What we are looking for from the "virtualization" solution is server consolidation and we do not intend to run multiple kernels - so OpenVZ seems like a good choice.
Are there more recent papers on such as the paper from HP?

Regards,
Kashyap
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users

Gmane