Essential Openvz commands Rumi, May 31, 2017 1. Command to list the running VPSs in a node # vzlist Example: # vzlist CTID NPROC STATUS IP_ADDR HOSTNAME 106 104 running xx.xx.xx.xx server1.test.com 107 46 running xx.xx.xx.xx server2.test.com 108 83 running xx.xx.xx.xx server3.test.com 109 86 running xx.xx.xx.xx server4.test.com 2. This command lists all (running and stopped) the VPSs… Continue Reading
Cloning Openvz Proxmox PVE container guest machine Rumi, November 4, 2015December 13, 2016 I first created a ‘template’ vm containing all stuff I need and using a temporarily ip adres. In the network config file of eth0 (/etc/sysconfig/network-scripts/ifcfg-eth0) I comment out the HWADDRESS line, else it will not come up with another mac address… Stop this ‘template’ vm as it is just used… Continue Reading
Allow NFS attachment on Proxmox OpenVZ containers Rumi, November 4, 2015 Prepare the container To allow a container to use NFS filesystem, you will need to start it with “nfs” feature enabled. If the container is running while you set the –features nfs:on, you will need to reboot it. # vzctl set 101 –features “nfs:on” –save # vzctl start 101 After… Continue Reading
Appliances and OS Templates Rumi, June 6, 2014 For PVE & OpenVZ templates- http://openvz.org/Download/template/precreated PVE appliances- http://pve.proxmox.com/wiki/Get_Virtual_Appliances http://pve.proxmox.com/wiki/Category:Virtual_Appliances Continue Reading
Fix Date Time on PVE OpenVZ Guest machine Rumi, June 6, 2014 Stop VE vzctl stop 101 in HD node, run: vzctl set 101 –capability sys_time:on –save Start VE: vzctl start 101 Enter VE: vzctl enter 101 mv /etc/localtime /etc/localtime.old ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime date 092115442006 (09 = Month, 21 = day, 15 = hour, 44=minutes, 2006 = year) Run date to… Continue Reading