Home » Tag: Proxmox
Proxmox / LXC – Running docker inside a container
In relation to Debian / Proxmox – Install Docker with Rancher and DockerUI webgui on a Debian / Proxmox Server
I thought that it actually may make more sense to run Rancher and my docker inside an LXC container rather than on the initial host itself.
I went back to utilize an old Machine with Proxmox for containers but also wanted to have a platform to play with Docker. So I though pimping the Promox server is the best solution.
The Steps are easy to get docker running but since Proxmox offers the best GUI for lxc I needed something similar for the docker containers.
Note: This DOES NOT add Docker into the Proxmox GUI itself. I’m adding a separate web page for docker running in a container by itself.
Doing some cleanup and had to rename a nodename of an existing standalone Proxmox Server. Found that it wasn’t too straight forward because it detected the old nodename and placed the vz underneath it. So here is a simple way to rename the Proxmox Node. Firstly the normal steps: vi /etc/hosts vi /etc/hostname Replace the entries with your intended hostname. You will now need to restart pve in order to create the new hostname in the system. service pve-cluster restart This should now create a new host entry in Proxmox and a new folder under /etc/pve/nodes/[newhostname] You now need to copy your old openvz data from the old folder to the new. mv /etc/pve/nodes/[oldhostname]/openvz/* /etc/pve/nodes/[oldhostname]/openvz/ Example: mv /etc/pve/nodes/proxmox-portable/openvz/* /etc/pve/nodes/proxmox-Xen/openvz/ I would advise to restart the Proxmox host in order to finish the renaming. Related posts: Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian / Kanotix / […]
Just found this on the Proxmox Wiki https://pve.proxmox.com/wiki/Performance_Tweaks#VZdump stating that the default value for vzdump is limited to 10000 Kbps (10 Mbps). This might explain even my misunderstanding why backups to my NAS are pretty “slow” sudo vi /etc/vzdump.conf showed that the original line in Proxmox 3.2 is #bwlimit: KBPS which I changed for now without notable issues to bwlimit: 40000 However James Coyle mentioned running into another issue with a too high value on undersized servers. http://www.jamescoyle.net/how-to/290-limit-backup-io-bandwidth You should keep that in mind if you are about to bring your server down while running vzdump backups. Related posts: Proxmox: Getting some performance data from a Proxmox server Proxmox: OpenVZ (OVZ) and Turnkey Appliances root password Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian 7.0 Wheezy / Proxmox 3.x: Install ZFS Native Proxmox: Rename a standalone node (hostname) Debian / Proxmox – Install Docker with Rancher and DockerUI webgui on […]
For the Records, in order to get performance data from a proxmox server you can use: pveperf root@proxmox1:~# pveperf CPU BOGOMIPS: 21281.44 REGEX/SECOND: 1039338 HD SIZE: 28.05 GB (/dev/mapper/pve-root) BUFFERED READS: 11.60 MB/sec AVERAGE SEEK TIME: 26.35 ms FSYNCS/SECOND: 28.37 DNS EXT: 70.92 ms DNS INT: 64.58 ms (Cloud7-ITConsult.com) Related posts: Proxmox : vzdump performance optimization Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian / Kanotix / Proxmox: Install ZFS Native Debian 7.0 Wheezy / Proxmox 3.x: Install ZFS Native Proxmox: OpenVZ (OVZ) and Turnkey Appliances root password Proxmox: Rename a standalone node (hostname)
This is a bizarre one. Either I wasn’t able to search for the right pages and posts or it’s simply poorly documented. Particularly under Proxmox (I will need to bump up my opennode to check on that one). One of the best features there, are the turnkey templates. Seriously, a few clicks and you have loads of great appliances up and running powered by turnkey templates. Sadly they are all Debian based but thats another story. But deploying and get it running such a template kind of was not straight forward. This applies to a “new” turnkey 13.1 template (I tried the nginx) You download the templates through the gui -> create a new CT -> give it your root password -> select the template -> install -> boot ->ssh to it (or maybe even try the Proxmox console) -> fail. At least in 3 cases on my systems I […]
In relation to the outdated post http://www.solaris-cookbook.eu/linux/debian-kanotix-proxmox-install-zfs-native/ Things have become much easier now How to install ZFS native on Debian 7 or Proxmox 3.x 1) become root sudo su – 2) Install ZFS wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_3%7Ewheezy_all.deb dpkg -i zfsonlinux_3~wheezy_all.deb apt-get update apt-get install debian-zfs kernel upgrade After updating the Kernel you most likely have to do the following steps: make sure you have the headers installed (proxmox example) aptitude install pve-headers-$(uname -r) (it will pick the current running kernel version. If you just updated the kernel you better reboot first.) ln -s /lib/modules/$(uname -r)/build /lib/modules/$(uname -r)/source aptitude reinstall spl-dkms zfs-dkms That should cover you on a kernel update Related posts: Debian / Kanotix / Proxmox: Install ZFS Native Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) ZFS: Fun with ZFS – is compression and deduplication useful for my data and how much memory do I need for zfs dedup? […]
Based on http://pve.proxmox.com/wiki/Package_repositories To Enable the PVE testing (Proxmox testing channel) do the following: vi /etc/apt/sources.list Insert # PVE packages provided by proxmox.com deb http://download.proxmox.com/debian squeeze pvetest Then update the system by using: apt-get update;apt-get dist-upgrade Related posts: Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian / Kanotix / Proxmox: Install ZFS Native Debian 7.0 Wheezy / Proxmox 3.x: Install ZFS Native Proxmox: Getting some performance data from a Proxmox server Proxmox: OpenVZ (OVZ) and Turnkey Appliances root password Proxmox: Rename a standalone node (hostname)
Install ZFS Native on Kanotix / Debian Squeeze / Proxmox 2.1 This whole thing below is obsolete. I created a new post with up to date details for Debian 7.0 Wheezy Ok, Ok, I admit, I’m going really crazy now…. as I described here -> Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) I have Proxmov Virtual Environment running on Kanotix Debian. I now spotted that I’m running slowly low of free disk space. I could mount space from my NAS via NFS-CIFS or ISCSI but that’s kind of too easy and for testing purpose the break to success ratio is too low 🙂 . And BTW I love ZFS. so I install it (cause I want to deduplicate and compress). Based on Proxmox http://pve.proxmox.com/wiki/ZFS …This is pretty straight forward and almost too easy too. Kanotix is using Debian and not ubuntu and certainly not the latest ubuntu so we need […]
Install Proxmox Virtual Environment on Debian 6.0 (Squeeze) system Problem: I have a server which I use for more things at the same time. It’s used as a MediaCenter connected to the TV, as a Monitoring server and now I want to run virtualisation on it as well since the box runs anyway pretty much the whole day. For the virtualisation I selected to use Proxmox since I consider it as one of the best vs easiest to manage in the open-source world. You can find more about Proxmox here http://www.proxmox.com/ Biggest Problem is that Proxmox is running on Debian and it runs on Debian 6.0 Squeeze (stable) only which is slightly outdated (not to mention ancient). So I had to reinstall the server using a Debian 6.0. But there are not many Distro’s out there still running on Debian 6.0. I found http://www.kanotix.com which has a release called Kanotix Hellfire 2012-05. […]