Limit network bandwith per container with OpenVZ - centos

I want to limit network usage per container (e.g. upload and download thresholds). Can I do that via configuration or via vzctl somehow to set constraints on sent/received traffic?
I've found documentation on traffic shaping but there is no prctl utility installed on my system. Is there a way to install it manually on Centos (Linux version 2.6.32-042stab140.4 (kbuild-rh6-x64) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) )) or what's the right method of setting such a limits?

Ok, so I've found this solution based on tc utility which does the job.

Related

Where Can i find an emulator to test my operating system for ARMv8?

I am currently writing an OS based on ARMv8 processor. I want to find an emulator that acts like the processor so I can see my OS working or not and to check my work.
I am on windows 10. are there any emulators recommended ?
I searched SO but no answer. thanks.
Looks like QEMU version 2.1+ is what you want
the latest version of upstream QEMU (2.1) now includes full ARMv8 system emulation support. This means that users can use upstream QEMU to run a full 64-bit ARMv8-A kernel and filesystem, such as a 64-bit Ubuntu cloud image. This was no small endeavour as it involved emulating a completely new instruction set, exception model, CPU implementation, and more. The implementation was verified with a custom instruction verification tool (RISU) and was heavily reviewed upstream by an engaged and incredibly supportive upstream QEMU community.
source

Does Kubernetes not work on Intel?

I've been trying to set up a a local Kubernetes installation on an Ubuntu 16.04 VM by following the setup instructions posted here: http://kubernetes.io/docs/getting-started-guides/kubeadm/
However in section (3/4) when installing a pod network, the following line appears: If you are on another architecture than amd64, you should use the flannel overlay network as described in the multi-platform section.
When you scroll down to the multi-platform section the only other architectures it offers are ARM-based: kubeadm deb packages and binaries are built for amd64, arm and arm64, following the multi-platform proposal.
Does this mean I can't get Kubernetes to work on an Intel-based machine?
amd64 is one of the ways people describe x86-64 processor instruction sets. Usually for linux distributions people tend to call their images amd64 because it came along first. Those images work fine on any modern Intel chip.
See also:
https://en.wikipedia.org/wiki/X86-64
https://askubuntu.com/questions/3378/my-processor-is-64-bit-does-that-mean-i-need-the-amd64-image

Strom API in Windows

Can Storm API be installed in windows operating system ? I have placed Storm-0.8.1 in My Documents and updated the PATH variable,but the system is not recognizing storm command.I think I have downloaded the Linux version,so it is not working.So I am looking for Storm API version for windows XP professional Service pack 3.
Perhaps you should try out Storm 0.9.0.1. According to this blog post, there is much better Windows support.
Also, putting the Storm-jar in your path is not enough. I have only tried installing Storm on a linux machine, and I had to install Zookeeper and so on. For reference, check out this blog post (but beware, this is for installing it on linux. Installing it on windows might be a lot harder)

How do i create a VM Ware Image of an AIX LPAR?

I want to clone a AIX LPAR and was wondering if the physical machine could be converted into a VM Image?
I have used the VMWare Converter to create a VM Image of a physical windows box and the documentation states that you can do that for Linux Boxes too.
http://www.vmware.com/products/converter/
I don't see information on AIX or the other UNIXes.
If creating an VM Image of an existing physical AIX box is not feasible is there any easy way to clone the AIX image to another AIX machine.
The primary intent is to avoid re-creating the setup that is already performed for the current AIX box and we want a duplicate environment with the same setup.
VMware supports x86 (and x86_64) architectures for host and guest only. IBM AIX runs on the Power architecture, and VMWare does not do architecture emulation, so what you want does not exist.
If you want to back up/clone your AIX instance to another machine, look for information regarding mksysb and AIX Sysback.
You might want to take a look at the following, but there are no guarantees, and I'm fairly certain running AIX on anything but a Power architecture is still not a reality at this time:
Qemu
PearPC
Based on further reading, i understand that VMWare does not support AIX. The guest OS can primarily be Windows, various distros of LINUX and Mac-OSX. I also see Solaris as a supported guest OS, but i don't see AIX. So i don't think this is possible.
I would have to look at the Virtualization features supported from IBM for this activity.
Thanks,
Manglu

UNIX web development server for virtual machine PC in Windows

I'm planning to build Linux web development server in virtual machine environment on Windows Virtual PC. As I don't have much experience with installing and configuring Linux web servers, I wanted to ask for some advice:
What Linux distribution do you recommend for such server? I want the virtual server to look like real hosting environment.
Do any pre-configured virtual machines for web development exist out there?
Maybe some instruction and tips on configuring?
My requirements for the server are quite standard: latest versions of Apache, MySQL, PHP, probably Python and Postgre.
Thank you.
UPDATE: OK I think I'll go with Ubuntu Server for this.
You can probably go with Ubuntu. It is easy for a beginner and there is plently of documentation on how to install a LAMP stack and later you can move on to other distros.
If you are looking for pre-configured machines, then you can have a look at VMWare Appliances
For the distribution I would recommend Ubuntu - you can add all the server software you want from their repositories.
For a virtual machine I'd recommend Ubuntu Server Edition JeOS, as that won't have any un-needed software on it.
Debian Lenny - rock solid stability & the most package support
I'm sure you can find some
Use prefork-worker apache, MySQL 5/PHP 5, Postgres 8.4.
There are lots of prebuilt vmware images that you can use. You might also consider looking at something like Amazon EC2 for which there are lots of off the shelf images.
I would also suggest Ubuntu server as a base OS.
Incidentally there are other virtualisation options in case Virtual PC doesn't recognise those prebuilt image formats (I think those formats are more standardised and interoperable these days, but not sure)...e.g. there is vmware, and there is virtualbox.org
Does it need to be in Linux straight away? You can run (Apache et al) XAMPP locally and get it up and running in 5 minutes.