Re: [Users] flashcache

2014-07-09 Thread Pavel Snajdr
On 07/08/2014 07:52 PM, Scott Dowdle wrote:
 Greetings,
 
 - Original Message -
 (offtopic) We can not use ZFS. Unfortunately, NAS with something like
 Nexenta is to expensive for us.
 
 From what I've gathered from a few presentations, ZFS on Linux 
 (http://zfsonlinux.org/) is as stable but more performant than it is on the 
 OpenSolaris forks... so you can build your own if you can spare the people to 
 learn the best practices.
 
 I don't have a use for ZFS myself so I'm not really advocating it.
 
 TYL,
 

Hi all,

we run tens of OpenVZ nodes (bigger boxes, 256G RAM, 12cores+, 90 CTs at
least). We've used to run ext4+flashcache, but ext4 has proven to be a
bottleneck. That was the primary motivation behind ploop as far as I know.

We've switched to ZFS on Linux around the time Ploop was announced and I
didn't have second thoughts since. ZFS really *is* in my experience the
best filesystem there is at the moment for this kind of deployment  -
especially if you use dedicated SSDs for ZIL and L2ARC, although the
latter is less important. You will know what I'm talking about when you
try this on boxes with lots of CTs doing LAMP load - databases and their
synchronous writes are the real problem, which ZFS with dedicated ZIL
device solves.

Also there is the ARC caching, which is smarter then linux VFS cache -
we're able to achieve about 99% of hitrate at about 99% of the time,
even under high loads.

Having said all that, I recommend everyone to give ZFS a chance, but I'm
aware this is yet another out-of-mainline code and that doesn't suit
everyone that well.

snajpa
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] [Announce] RHEL5 kernel end of life

2014-07-09 Thread Pavel Odintsov
Hello!

Really nice news because 2.6.18 kernel is really nightmare and may
times slow  than 2.6.32! ;)

If anybody sill uses centos5 you could try our guide for upgrade to
2.6.32 kernel https://openvz.org/028_to_042_kernel_upgrade

On Wed, Jul 9, 2014 at 2:19 AM, Kir Kolyshkin k...@openvz.org wrote:
 This is to announce that RHEL5 based OpenVZ kernel branch will reach
 End Of Life in October, 2014, and will no longer be supported thereafter.

 There is no guarantee for any RHEL5 kernel updates after the given date,
 so we urge everyone to migrate their systems to RHEL6-based kernels.

 If you experience difficulties and need help migrating your systems,
 see http://openvz.org/Support for available support options.
 The best one is official support from Parallels:
 http://www.parallels.com/support/virtualization-suite/openvz/

 Regards,
   OpenVZ team.
 ___
 Announce mailing list
 annou...@openvz.org
 https://lists.openvz.org/mailman/listinfo/announce



-- 
Sincerely yours, Pavel Odintsov
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] flashcache

2014-07-09 Thread Kir Kolyshkin
On 07/08/2014 11:54 PM, Pavel Snajdr wrote:
 On 07/08/2014 07:52 PM, Scott Dowdle wrote:
 Greetings,

 - Original Message -
 (offtopic) We can not use ZFS. Unfortunately, NAS with something like
 Nexenta is to expensive for us.
 From what I've gathered from a few presentations, ZFS on Linux 
 (http://zfsonlinux.org/) is as stable but more performant than it is on the 
 OpenSolaris forks... so you can build your own if you can spare the people 
 to learn the best practices.

 I don't have a use for ZFS myself so I'm not really advocating it.

 TYL,

 Hi all,

 we run tens of OpenVZ nodes (bigger boxes, 256G RAM, 12cores+, 90 CTs at
 least). We've used to run ext4+flashcache, but ext4 has proven to be a
 bottleneck. That was the primary motivation behind ploop as far as I know.

 We've switched to ZFS on Linux around the time Ploop was announced and I
 didn't have second thoughts since. ZFS really *is* in my experience the
 best filesystem there is at the moment for this kind of deployment  -
 especially if you use dedicated SSDs for ZIL and L2ARC, although the
 latter is less important. You will know what I'm talking about when you
 try this on boxes with lots of CTs doing LAMP load - databases and their
 synchronous writes are the real problem, which ZFS with dedicated ZIL
 device solves.

 Also there is the ARC caching, which is smarter then linux VFS cache -
 we're able to achieve about 99% of hitrate at about 99% of the time,
 even under high loads.

 Having said all that, I recommend everyone to give ZFS a chance, but I'm
 aware this is yet another out-of-mainline code and that doesn't suit
 everyone that well.


Are you using per-container ZVOL or something else?
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] CentOS 7 OS Template now in contrib

2014-07-09 Thread LightDot
Scott, thanks for your contributions. Your work is greatly appreciated! Did
you consider putting the build scripts into a github repository? Hopefully,
others could contribute to them or re-use them with more ease.

On another matter, I'm reluctant to use contributed templates I don't know
the source of, at least not in production. Ideally, each contributed
template really should have a link to a post or a wiki page, describing it
in more detail.

Best regards



On Tue, Jul 8, 2014 at 5:00 PM, Scott Dowdle dow...@montanalinux.org
wrote:

 Greetings,

 - Original Message Benjamin Henrion bhenrion at ffii.org -
  I think at some point Openvz.org should provide trusted builds like
  docker is doing.

 Ok, I'll bite.  What is a Docker Trusted Build?  Whatever those are, I'm
 sure the OpenVZ official OS Templates are the equivalent.

 In several of OS Templates I contribute (Fedora 20, CentOS 6 and 7, SL 6
 [7 ASAP], Oracle EL 6 [7 ASAP]), the build scripts are included within the
 OS Template (/root/create-*.sh) so the user can build their own from
 scratch if desired.

  At least we could get good docs on how those images are built.

 There are fairly good docs sprinkled throughout the wiki but it varies
 from distro to distro.

 I'd guess that the vast majority of OS Templates come from various chroot
 build environment programs that many distros have now.  Provide those
 programs with a list of packages and they download them from the distro's
 official repositories, extract them into a install root directory, and then
 when done, makes some minor changes for containerization (fix up
 /etc/fstab, eliminate unneeded gettys, etc).  It probably works best when
 you are building distro X from within distro X.

 For the contributed OS Templates, there is supposed to be a corresponding
 forum post with build details but very few people seem to follow that
 including myself.  I need to get better at that.

 TYL,
 --
 Scott Dowdle
 704 Church Street
 Belgrade, MT 59714
 (406)388-0827 [home]
 (406)994-3931 [work]
 ___
 Users mailing list
 Users@openvz.org
 https://lists.openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] CentOS 7 OS Template now in contrib

2014-07-09 Thread Scott Dowdle
Greetings,

- Original Message Mark Johanson -
 I downloaded and looking in the template, but did not see your build
 script. Was curious what it entailed as we are looking into making
 some new more app specialized templates for our environment. With 7
 just being released, I figured I would start working on those.
 However, with my knowledge of actual template building new I was
 interested in seeing how someone else was doing them.
 
 Would it be possible to get the build script to look at?
 
 Thanks,
 
 root@solusvm root #pwd
 /vz/template/cache/temp/root
 root@solusvm root #ls -al
 total 28
 dr-xr-x---  2 root root 4096 Jul  8 11:18 .
 dr-xr-xr-x 18 root root 4096 Jul  8 11:17 ..
 -rw-r--r--  1 root root   18 Dec 28  2013 .bash_logout
 -rw-r--r--  1 root root  176 Dec 28  2013 .bash_profile
 -rw-r--r--  1 root root  176 Dec 28  2013 .bashrc
 -rw-r--r--  1 root root  100 Dec 28  2013 .cshrc
 -rw-r--r--  1 root root  129 Dec 28  2013 .tcshrc

Perhaps whatever is extracting it for you is removing the scripts... because I 
just downloaded the .tar.xz files from the OpenVZ contrib directory and 
looked... and there are two scripts there:

# ls -lh /root/*.sh
-rwxr-xr-x 1 root root 3.5K Jul  7 10:35 /root/create-centos7-ostemplate.sh
-rwxr-xr-x 1 root root 1013 Jul  7 10:35 
/root/create-centos7minimal-ostemplate.sh

I've attached the two scripts as email program wordwrapping would have made 
them very messy.

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

create-centos7-ostemplate.sh
Description: application/shellscript


create-centos7minimal-ostemplate.sh
Description: application/shellscript
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] CentOS 7 OS Template now in contrib

2014-07-09 Thread Scott Dowdle
Greetings,

- Original Message from LightDot -
 Did you consider putting the build scripts into a
 github repository? Hopefully, others could contribute to them or
 re-use them with more ease.

I am not a git user... so no.  And I'm not much of a programmer nor shell 
scripter... so they are very basic without any error checking nor fancy stuff.  
In a previous email to the list, I attached the scripts and I don't want to 
send them multiple times.  Hopefully the list allows small attachments?!?

 On another matter, I'm reluctant to use contributed templates I don't
 know the source of, at least not in production. Ideally, each
 contributed template really should have a link to a post or a wiki
 page, describing it in more detail.

The good thing about the scripts is that you can run them within a container 
assuming you have the free disk space... and they should work fine... so build 
your own.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users