EzDevInfo.com

proxmox interview questions

Top proxmox frequently asked interview questions

proxmox CT external vnc access

I'm creating a PAAS provider with openVZ virtual machines on proxmox. I want to use noVNC to access the instances in another website different than proxmox console. I used an url with this form

wss://promox_ip:8006/api2/json/nodes/node_name/openvz/instance_id/vncwebsocket?port=5900&vncticket=vnc_ticket

I'm always getting this error:`

connection closed unexpectedly.

` note that i use a new ticket each connection.


Source: (StackOverflow)

proxmox Error: Authentication Failed

I did set up Debian with the latest version of proxmox VE. When i create a new Virtual Machine and i try to connect through console i get this error:

Error: Authentication Failed

After a research on the web i read that it has to do with the difference on time zones, but the wired thing is that it happens on new Virtual Machines that actually boot from the ISO for the install procedure. The ISOs that i have tried till now are Ubuntu 14.04.3 & Debian wheezy.


Source: (StackOverflow)

Advertisements

How to find out which process consumes most of NFS share I/O on Linux?

I have NFS storage attached to Proxmox. VM images are hosted on this NFS storage. Sometimes NFS is overloaded by particular VM so I want to know which process (KVM) consumes most of NFS share I/O on Linux. dstat shows huge incoming traffic. Unfortunately, iotop doesn't show IO for NFS share.


Source: (StackOverflow)

install proxmox from usb device error

I try to install proxmox using a usb, and when I click to install, I see the next error:

testing cdrom /dev/sr0
umount: can't umount /mnt: Invalid argument
testing again in 5 seconds

finally:

no cdrom found - unable to continue (type exit or CTRL-D to reboot)

I prepare the USB using imageUSB in windows, and it does have the previous fail, then I try to prepare in ubuntu using "dd if=pve-cd.iso of=/dev/XYZ bs=1M", I don't know where is the problem.


Source: (StackOverflow)

Configure network between Debian 8. I host and centos 7 Guest Proxmox 4

I have installed Proxmox 4 on dedicated server running Debian 8.1 and created KVM Virtual Machines and installed Centos 7 . Now I can access the VM's by VNC Console inside Proxmox VE Web Panel . I would like to assign a public IP to the VM to ssh to the VM using the public IP allocated to the VM.


Source: (StackOverflow)

How make a cluster of CoreOS on my local infrastructure?

I have some professional servers, and I want to create a cluster of 7-15 machines with CoreOS. I'm a little familiar with Proxmox, but I'm not clear about how create a virtual machine(VM) with CoreOS on proxmox. Also, I'm not sure if the idea of cluster of CoreOS's VM on proxmox it's right to do.

Then, I need:

  1. How create a VM with CoreOS on proxmox.
  2. If will be viable proxmox to create CoreOS's cluster.

Source: (StackOverflow)

Nested VMware ESXi 5.5 update 3 on Proxmox Virtual Environment 4.0 (Qemu-KVM)

After many searches and tries, I'm currently not able to load an nested ESXi 5.5u3 in a KVM virtual machine using PVE 4.0.

I set following parameters:

in /etc/modprobe.d/kvm.conf:

options kvm ignore_msrs=1

in /etc/modprobe.d/kvm-intel.conf:

options kvm-intel nested=y ept=y

Reboot and verified than kvm modules are really loaded.

in /etc/pve/nodes/node02/qemu-server/102.conf

args: -enable-kvm
boot: cdn
bootdisk: scsi0
cores: 2
cpu: host
hotplug: network,usb,memory,cpu,disk
ide2: local:iso/VMware-VMvisor-Installer-5.5.0.update03-3116895.x86_64.iso,media=cdrom,size=337000K
localtime: 1
memory: 16384
name: vesx4
net0: vmxnet3=32:30:63:31:38:62,bridge=vmbr0
numa: 1
ostype: other
scsi0: local:102/vm-102-disk-1.qcow2,size=20G
scsihw: lsi
smbios1: uuid=4f30eb6f-47de-4aaf-abda-55ced83cc206
sockets: 2
tablet: 0
vga: vmware

And I never go through the following initialization menu:

Blocking point in ESXi 5.5 VMware installation process

I spent much on this task with no success...

PSOD

cat /proc/cpuinfo:

processor    : 4
vendor_id    : GenuineIntel
cpu family    : 6
model        : 45
model name    : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
stepping    : 7
microcode    : 0x70e
cpu MHz        : 2455.390
cache size    : 15360 KB
physical id    : 0
siblings    : 12
core id        : 4
cpu cores    : 6
apicid        : 8
initial apicid    : 8
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs        :
bogomips    : 3990.50
clflush size    : 64
cache_alignment    : 64
address sizes    : 46 bits physical, 48 bits virtual
power management:

I tried every SCSI Controller type but it didn't change anything, PSOD during Initializing chipset or timing at the vmware ESXi 5.5u" update processus.

NB: I have also an ESX5.5.0 with virtual ESX's on it, but I need to do this using Proxmox PVE4.x.

Somebody get success on it ?

EDIT: (2015/12/21)

After much more tries, I've modified in .conf (here 102.cont) Qemu's args and replaced "-enable-kvm" which is inutile by "-machine vmport=off" and installation success.

But I can't run virtual machine on it's vESX because Qemu don't passthrough DS (Debug Store) CPU Flag even if I expressly set it up with Qemu arg +ds.

So EVC mechanism is not functional too... Can't set up cluster, live migration, etc...

Installable but not functional, but in my bare metal ESXi (with exactly the same machine) everything works fine.

Need a help, or a missed tweak.


Source: (StackOverflow)

proxmox KVM routed network with multiple public IPs

I have a dedicated hosting with hetzner. Additionally i have bought a 6IP subnet.

My main IP is: 88.198.60.125 My main subnet is: 255.255.255.224

My additional IPs are 46.4.214.81 to 46.4.214.86

the internet access work on windows servers . but centos give me invalid host I cannot use bridged mode, since hetzner does not allow multiple MACs on same external ip, so I have to use routing mode. Here is my /etc/network/interfaces file for the host:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address  88.198.60.125
        netmask  255.255.255.255
        pointopoint 88.198.60.97
        gateway  88.198.60.97
        post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

auto vmbr0
iface vmbr0 inet static
    address  88.198.60.125
    netmask  255.255.255.255
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0

    #subnet
    up ip route add 46.4.214.80/29 dev vmbr0
    up ip route add 46.4.214.81/29 dev vmbr0
    up ip route add 46.4.214.82/29 dev vmbr0
    up ip route add 46.4.214.83/29 dev vmbr0
    up ip route add 46.4.214.84/29 dev vmbr0
    up ip route add 46.4.214.85/29 dev vmbr0
    up ip route add 46.4.214.86/29 dev vmbr0
    up ip route add 46.4.214.87/29 dev vmbr0

and this my interfaces for vm

auto eth0                                                                                   
 iface eth0 inet static                                                                        
 address 46.4.214.81                                                                        
 netmask 255.255.255.255                                                                     
 pointopoint 88.198.60.125                                                                  
 gateway 88.198.60.125  

Source: (StackOverflow)

Create a VM from a raw file - Proxmox

I have Proxmox environment where I create my virtual machines. I want to install the product Citrix Netscaler VPX Platinium. I downloaded the product and put it in the content of my server storage:

enter image description here

The file is stored as well in tgz format into the foler /usr/src of my server. My question is : How to create a new VM from this file ? I only know how to create it from an ISO so ..

For example, when I click on Create new VM button it only gives to choose an Iso file, not a raw one.

enter image description here

Thank you for your help.


Source: (StackOverflow)

Proxmox options for Hard disk and CPU tab

While creating a KVM Virtual Machine in proxmox from the GUI, for the hard disk and CPU tab there are a couple of options that are confusing.

For example, this is the hard disk tab,

enter image description here

In that tab, what does "No backup", "Discard" and "Iothread" signify?

And similarly, this is the CPU tab,

enter image description here

In this tab, what does "Sockets", "Cores" and "Enable numa" mean?

I did not have any luck with google and the results that I got were conflicting.


Source: (StackOverflow)

Proxmox external VM / CT access

I've just begun the setup of proxmox for our none profit educational VPS service. However, the problem we're facing is a lack of IPv4 addresses available to us.

Is it possible to route a sub-domain to the host servers IP address and then get that forwarded to the individual containers accordingly. For example:

SSH root@node-123.w-a-s-d.me 

Will allow a client with the VM ID of 123 to access their server And the same goes for things like: node-123.w-a-s-d.me This would be the web address allowing any applications running on port 80 for that specific node

I'm unsure how to go about this and have looked online with no luck. I hope our goal is clear. I look forward to hearing from you. Josh


Source: (StackOverflow)

What causes io-error on CentOS?

my CentOS machine has this io-error about once per month. I can't see what causes this, as the machine locks up. I have to reinstall the OS to make Elastix program run. Elastix is running in a VM on hypervisor Proxmox.

  # pvs
  PV         VG   Fmt  Attr PSize   PFree 
  /dev/sda3  pve  lvm2 a--  111.29g 13.87g
root@proxmox:/# vgs
  VG   #PV #LV #SN Attr   VSize   VFree 
  pve    1   3   0 wz--n- 111.29g 13.87g
root@proxmox:/# lvs
  LV   VG   Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
  data pve  -wi-ao--- 55.79g                                           
  root pve  -wi-ao--- 27.75g                                           
  swap pve  -wi-ao--- 13.88g                                           
root@proxmox:/# dmsetup ls --tree
pve-swap (253:1)
 └─ (8:3)
pve-root (253:0)
 └─ (8:3)
pve-data (253:2)
 └─ (8:3)
root@proxmox:/# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=2045157,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1638148k,mode=755)
/dev/mapper/pve-root on / type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=0,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=3276280k)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)
/dev/sda2 on /boot type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)
/dev/sde1 on /mnt/backup type ext4 (rw,relatime,barrier=1,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
beancounter on /proc/vz/beancounter type cgroup (rw,relatime,blkio,name=beancounter)
container on /proc/vz/container type cgroup (rw,relatime,freezer,devices,name=container)
fairsched on /proc/vz/fairsched type cgroup (rw,relatime,cpuacct,cpu,cpuset,name=fairsched)

Source: (StackOverflow)

Configuring Two Network Interfaces for Proxmox

I installed Proxmox on server which has two network interfaces. During installation Proxmox ask me to input IP & etc ... but only for one interface network and when I get to /etc/network/interfaces I could not assign second interface. Can any one help how to define two network interfaces in Proxmox?

Thanks.


Source: (StackOverflow)

Install proxmox 4.1 on VirtualBox

I installed proxmox 4.1 on virtual box and after installationI received the following :

welcome to the proxmox virtual environment.please use your web browser to configure this server - connect to:

https://192.168.56.101:8006

but while trying this https://192.168.56.101:8006 in the browser it is not working can someone advice !


Source: (StackOverflow)

XWiki on proxmox

I need to install XWiki on a server having Proxmox & I have no idea what container or VM do I use & how to make it possible for the team to work on the XWiki.

& Also I will have to make sure that the host of the XWiki is gonna have puppet agent for later configuration. (though I don't think it represents a problem)

Thank you for you help


Source: (StackOverflow)