Kir Kolyshkin | 1 Jun 2009 11:36
Favicon

Re: I get the following error when trying to build vzquota-3.0.12: vzdqload.c:23:1: error: "__USE_ISOC99" redefined

Please apply the patch from git:
http://git.openvz.org/?p=vzquota;a=commitdiff_plain;h=fe25e9430428c03ba491f1a31f5b23bc5dc352f6

Dwight Schauer wrote:
> I getting vzquota-3.0.12 from:
> http://download.openvz.org/utils/vzquota/current/src/
> http://download.openvz.org/utils/vzquota/3.0.12/src/vzquota-3.0.12.tar.bz2
>
> When I do a make I get the following error:
>
> ---< start error >--
> ...
> cc -c -pipe -I../include -g -Wall -Werror -Wformat
> -D_FILE_OFFSET_BITS=64 -D_LINUX_QUOTA_VERSION=6 -D_LARGEFILE64_SOURCE
> -DVARDIR=\"/var\"  vzdqload.c -o vzdqload.o
> vzdqload.c:23:1: error: "__USE_ISOC99" redefined
> In file included from /usr/include/sys/file.h:22,
>                  from vzdqload.c:19:
> /usr/include/features.h:234:1: error: this is the location of the
> previous definition
> make[1]: *** [vzdqload.o] Error 1
> make[1]: Leaving directory
> `/home/dwight/abs/das4/vzquota-das/foo/vzquota-3.0.12/src'
> make: *** [all] Error 2
> ---< end error >--
>
> This use to not happen, I set up a new machine and it likely got some
> updates that affected this.
>
> I resolved this issue for my own packaging by undef'ing __USE_ISOC99
(Continue reading)

Dietmar Maurer | 2 Jun 2009 08:43

RE: vzdump lvm+xfs snapshot support patch

I have upload the new version which fixes that problem.

http://www.proxmox.com/cms_proxmox/en/virtualization/openvz/vzdump/

- Dietmar

> -----Original Message-----
> From: Gregory M. Turner [mailto:gmt@...]
> Sent: Donnerstag, 28. Mai 2009 22:42
> To: users@...; Dietmar Maurer
> Subject: vzdump lvm+xfs snapshot support patch
> 
> Hello, this vzdump patch (against the 1.02 version which happened to be
> on my centos box) attempts to detect when an lvm snapshot is being made
> of an XFS filesystem and add the necessary mount options to have this
> actually succeed.
Alastair Neil | 2 Jun 2009 16:41
Picon

Multihomed openVZ server

Are there any guidelines on setting up a server that is multihomed?   I want to have VPS on different networks.  The two networks are partitioned by a firewall and the fact that ip_forward is turned on is I believe causing issues.  Doubtless there is some deep routing foo that can be applied - I'd appreciate any pointers.

Alastair

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Stanichenko Marat | 3 Jun 2009 11:24
Favicon

Re: I get the following error when trying to build vzquota-3.0.12: vzdqload.c:23:1: error: "__USE_ISOC99" redefined

Hi,

Dwight Schauer wrote on 31.05.2009 20:16:
> I getting vzquota-3.0.12 from:
> http://download.openvz.org/utils/vzquota/current/src/
> http://download.openvz.org/utils/vzquota/3.0.12/src/vzquota-3.0.12.tar.bz2
>
> When I do a make I get the following error:
>
> ---< start error >--
> ...
> cc -c -pipe -I../include -g -Wall -Werror -Wformat
> -D_FILE_OFFSET_BITS=64 -D_LINUX_QUOTA_VERSION=6 -D_LARGEFILE64_SOURCE
> -DVARDIR=\"/var\"  vzdqload.c -o vzdqload.o
> vzdqload.c:23:1: error: "__USE_ISOC99" redefined
> In file included from /usr/include/sys/file.h:22,
>                  from vzdqload.c:19:
> /usr/include/features.h:234:1: error: this is the location of the
> previous definition
> make[1]: *** [vzdqload.o] Error 1
> make[1]: Leaving directory
> `/home/dwight/abs/das4/vzquota-das/foo/vzquota-3.0.12/src'
> make: *** [all] Error 2
> ---< end error >--
>   
thank you. You might have already notice it, anyway:
http://git.openvz.org/?p=vzquota;a=commit;h=fe25e9430428c03ba491f1a31f5b23bc5dc352f6
Rakotomandimby Mihamina | 8 Jun 2009 12:27

VT in processor + chroot

Hi all,
I am discovering OpenVZ.
As far as I know, it's OS level virtualization.

That would mean it doesnt care wether the CPU is VT or not.
Am I right?

Secondly, what would be the main difference between a chroot and openVZ?
The quotas control? (RAM allocation, and so on...)
Am I right? What else?

Thanks for your answers?

--

-- 
Architecte Informatique:
Administration Système, Recherche et Développement.
Phone: +261 33 11 207 36
John Drescher | 8 Jun 2009 12:42
Picon

Re: VT in processor + chroot

On Mon, Jun 8, 2009 at 6:27 AM, Rakotomandimby
Mihamina<mihamina@...> wrote:
> Hi all,
> I am discovering OpenVZ.
> As far as I know, it's OS level virtualization.
>
> That would mean it doesnt care wether the CPU is VT or not.
> Am I right?
>
VT or SVM is not used/needed with openvz
>
> Secondly, what would be the main difference between a chroot and openVZ?
> The quotas control? (RAM allocation, and so on...)
> Am I right? What else?
>
Independent networking and mount points. A guest in Openvz looks like
a different machine.

John
Surbhi Chitre | 8 Jun 2009 12:44
Picon

Re: VT in processor + chroot

Hello Rakotomandimby Mihamina,

>>That would mean it doesnt care wether the CPU is VT or not.
Am I right?
Yes. Thats right. 

>>Secondly, what would be the main difference between a chroot and openVZ?
The quotas control? (RAM allocation, and so on...)

chroot would simply make some directory your root directory i.e from where
on your path of commands/executables shall be resolved.  OpenVZ offers you
a multiple execution environment which means you can run a bunch of processes
inside this environment. In very simple words this gives you isolated execution space.
For eg:  If you have two containers and some processes running in both of them (say) then the processes between these two containers cannot see each other.  So you cannot send for eg: a kill signal from a process in one container to a process in another container.

OpenVZ offers checkpoint/restart/migration of these processes by
checkpointing/restarting/migrating the containers these processes run in.
Please read the documentation available on http://wiki.openvz.org/Main_Page
http://download.openvz.org/doc/openvz-intro.pdf.

You can also try to install OpenVZ in VMWare (or any other virtualization environment of your choice). You can compile the kernel and try out OpenVZ. It will just take like 30 mins to try it from scratch :)

Best Luck !
Warm Regards,
Surbhi.






On Mon, Jun 8, 2009 at 12:27 PM, Rakotomandimby Mihamina <mihamina <at> gulfsat.mg> wrote:
Hi all,
I am discovering OpenVZ.
As far as I know, it's OS level virtualization.

That would mean it doesnt care wether the CPU is VT or not.
Am I right?

Secondly, what would be the main difference between a chroot and openVZ?
The quotas control? (RAM allocation, and so on...)
Am I right? What else?


Thanks for your answers?

--
Architecte Informatique:
Administration Système, Recherche et Développement.
Phone: +261 33 11 207 36

_______________________________________________
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
Daniel Rossi | 9 Jun 2009 17:27
Picon

openvz , iptanbes, squid reverse proxy, web access

hi there i have setup my vz system, so that i port forward port 80 to a container running squid which reverse proxies to sites running inside openvz containers via their virtual ip. my issue is and has been changes i make either block full access to the web from each container or they cannt access any site via their domain running in their own container or another one even though i have properly setup the iptables post routing to allow internet access. My problem seems to be when the containers are trying to access the site it gets stuck at squid and cant get reverse proxies properly, how is it possible to set up the iptable configuration so they request the site domain via the public ethernet etc.

this is my problem

* About to connect() to domain port 80 (#0)
*   Trying myip ... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host


and requestion google is fine

*   Trying 66.102.11.99... connected
* Connected to www.google.com (66.102.11.99) port 80 (#0)
> GET / HTTP/1.1

This issue is breaking a system requiring access trying to load in some feed from another system. 

any ideas ? 
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Scott Dowdle | 9 Jun 2009 21:36
Favicon

Pre-created Fedora 11 OS Templates available in contrib

Greetings,

Just wanted to mention that I uploaded to contrib two new OS Templates today for Fedora 11 since today was its
release day:

http://download.openvz.org/template/precreated/contrib/

fedora-11-i386-default-20090609.tar.gz          09-Jun-2009 13:26  170M  
fedora-11-i386-default-20090609.tar.gz.asc      09-Jun-2009 13:26  189   
fedora-11-x86_64-default-20090609.tar.gz        09-Jun-2009 13:30  166M  
fedora-11-x86_64-default-20090609.tar.gz.asc    09-Jun-2009 13:30  189

Basically I created a Fedora 10 OS Template, updated it to current, and then upgraded it to Fedora 11, did the
customary cleanup, and then tar.gz'ed them up.

Questions and comments are welcome.

TYL,
--

-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]

VT in processor + chroot

Hi all,
I am discovering OpenVZ.
As far as I know, it's OS level virtualization.

That would mean it doesnt care wether the CPU is VT or not.
Am I right?

Secondly, what would be the main difference between a chroot and openVZ?
The quotas control? (RAM allocation, and so on...)
Am I right? What else?

Thanks for your answers

--

-- 
Architecte Informatique:
Administration Système, Recherche et Développement.
Phone: +261 33 11 207 36

Gmane