Quantcast
Channel: Proxmox Support Forum
Viewing all 171654 articles
Browse latest View live

[SOLVED] /etc/pve is empty

$
0
0
Hey People,

i have a big problem!

I want to update my proxmox2-host .. apt-get update && apt-get upgrade. (sry i mean dist-upgrade)

At the kernel update, the update-process breaks and doenst restart the pvedaemon. I thought he was updatet to.

Then i have a /etc/pve folder with ???????????-stats. After a restart of pvedaemon i have a new /etc/pve folder with 0 files.

My Problem is now, that i runs 12 Linux-VE, but when i try, for example, a vztctl restart 104 openvz says: No Config for 104.

I can not restart, start, dump any of my VEs, thats not yet a problem, its a problem when my host is restarting or something else.

What can i do?

My Idea: Friday night, i reinstall my host, reinstall all VEs, theres only Debian-VEs, mount my old /var/lib/vz-folder and copy the old /* in the new /*.

Or is there a better way?

Sorry for my realy, realy, bad english ;) I hope you can understand me :))

Best Regards

** Solution **

Use a right /etc/hosts file (delete old/unused ipv6 entries)
restart pve-cluster-manager via /etc/init.d/
my configs back, the host working fine.

Thanks!

Updating my ISCSI SAN

$
0
0
Strange issue. I updated my SAN the other day which brought it offline for about 30 seconds during a power cycle of the controllers. 30 seconds is well within the configured timeouts in iscsi.conf. After the controllers came back online all of my VMs were fully functional but proxmox itself indicated that the LVM/ISCSI storage was offline and would not let me perform any operations on it. This included live migration. The only solution I found was to shut down all vms on each PVE node in my cluster and reboot the node. It seemed like easily avoidable downtime.

My PVE 1.x cluster that connects to the same SAN did not have this problem. It recovered just fine. 1.x also has the pvesm enable command that I suspect would have fixed the issue without a reboot. Is there anything I can do in 2.X to recover from the offline state next time I have to update my SAN firmware? Is there anything analogous to pvesm enable in 2.x?

Thanks,
Matt

Possible bug in pve-manager

$
0
0
Hi all,

I think I might have discovered a bug in the network GUI.

Description:
When I need to make changes to the network configuration through the GUI the node will always come up without connection to the cluster but it can be easily fixed by manually rearrange the configuration file made by the pve-manager.

The reason for the failed cluster membership is because pve-manager insists on placing the vlan configuration before the bond configuration in the config file which causes the activation of the vlan's to fail because at the time of activating the vlan's the bond is unknown. Activating the bond before the vlan's always fixes this.

Example:

Created by pve-manager. Will fail

# network interface settings
auto vlan10
iface vlan10 inet manual
vlan-raw-device bond0

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer2+3
bond_lacp_rate fast

auto vmbr10
iface vmbr10 inet static
address 172.16.1.9
netmask 255.255.255.0
bridge_ports vlan10
bridge_stp off
bridge_fd 0

Working example hand edited by me

# network interface settings
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer2+3
bond_lacp_rate fast

auto vlan10
iface vlan10 inet manual
vlan-raw-device bond0

iface vmbr10 inet static
address 172.16.1.9
netmask 255.255.255.0
bridge_ports vlan10
bridge_stp off
bridge_fd 0

Django Appliance!

FreeBSD/FreeNAS VMs freeze at menu on boot.

$
0
0
I'm having trouble creating VMs for FreeBSD & FreeNAS. When I launch the VM from the console the boot process stalls when the timeout expires for their boot menu. I've verified the checksums match for all ISOs. Here's a dump of my most recent attempt. I attempted to follow this guide from the Wiki.

Code:

bootdisk: scsi0cores: 2
ide2: local:iso/FreeBSD-9.1-RELEASE-amd64-dvd1.iso,media=cdrom,size=2612184K
memory: 2048
name: freebsd
net0: e1000=FE:8D:B3:15:16:0A,bridge=vmbr0
ostype: other
scsi0: local:100/vm-100-disk-1.qcow2,size=16G
sockets: 1

I've also tried IDE & raw, but nothing seems to help. Anyone have any tips?

P.S. We're talking 64-bit here.

ixgbe diver with high max_vfs prevents pve 2.2 from booting.

$
0
0
After installing i82599 10-gigabit adapter and setting
cat /etc/modprobe.d/intel.conf
Code:

options ixgbe max_vfs=63 LRO=0 FCoE=0
blacklist ixgbevf

server with pve 2.2 stopped booting (freezing at NFS statd starting). After some investigation I found that ip utility showed only first three interfaces (this port should be fourth and all bridges, vlans, etc next). Updating driver to last did no effect. After lowering max_vfs to 42 it seems work fine.

Looks like current pve kernel (2.6.32-17-pve) is affected by https://bugs.launchpad.net/ubuntu/+s...ux/+bug/960497

Would you please fix this?

I can give more info. Say, statd whle freezed, eated 100% CPU with continously doing something via rtnetlink.

$ pveversion -v
pve-manager: 2.2-32 (pve-manager/2.2/3089a616)
running kernel: 2.6.32-17-pve
proxmox-ve-2.6.32: 2.2-83
pve-kernel-2.6.32-17-pve: 2.6.32-83
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-34
qemu-server: 2.0-72
pve-firmware: 1.0-21
libpve-common-perl: 1.0-41
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.3-10
ksm-control-daemon: 1.1-1

ClamAV Engine & Db

$
0
0
For the last week or so I've been getting these warnings. Either my machine is broken, or it needs updating in the repositories I guess. Anyone else with the same problem?

LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
LibClamAV Warning: ************************************************** *********
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ************************************************** *********

iSCSI storage offline

$
0
0
Hi guys,

came into work this morning and my backups lasty night failed with a 'MD3200i' iSCSI storage offline error, i now cannot get to my iSCSI through Proxmox although the MD3200 iscsi server isnt offline and is working fine.

I have tried this command:

iscsiadm -m node -R

to rescan and reconnect but i'm not sure whatto do to fix it without having to reboot all my nodes but as i cannot do any migration i will have to take production servers offline.

i have checked and the iSCSI SAN is responding on all IP addresses.

Any suggestions?

Server with multiple NIC and virtual servers.

$
0
0
Hi,

I hope someone can help me with this issue.


  • I have a proxmox server running on an hp proliant g8 with 4 network cards.
  • I have installed 2 KVM virtual servers running ubuntu 12.04 lts
  • I need 2 keep the 2 virtual servers on seperate networks.


I have set up one of the servers with LTSP and it accessing the internet via a bridge to the eth0. This server is also using Vmbr1 to eth1 (for clients) and is functioning perfectly. The clients machines can connect to it via eth1 access the internet and run local apps.

My issue is with the second server that I want to use a SAMBA/dns/dhcp server that must run seperate from the ltsp and use eth2 via vmbr2 for its services but access the gateway and the internet like the ltsp server can.


What is the best way I can set this up, I am not new to linux servers and I am very comfortable with normal networking but have little experience with virtualisation.

Thanks

Gavin

Web Interface showing wrong node

$
0
0
I am running Proxmox 2.2 with lasted update with 3 nodes.

When I start a vm on node vs0 the tasks view shows the right node but when I click on the Console the node changes to vs1.
Vs1 is the master node.

The same with the other node.
Is this a problem?

2.2-32 VM Converted images won't boot anymore Booting from Hard Disk...

$
0
0
We are migrating an old server over to proxmox now and I had these running at one point but now when the VM is started it just hangs at "Booting from Hard Disk..." and the cpu usage is 100%.

I followed the guides exactly. ran mergeide.reg. Used VMWare standalone converter over to a samba share.

/opt/vmware/bin/vmware-vdiskmanager -r serverName.vmdk -t 2 servername-flat.vmdk (Using option 2 instead of 0 here because this got it to work once)

qemu-img convert serverName-flat-flat.vmdk -O raw -p serverName.raw

Then mv the image over to a created vm in place of the current .raw disk image. I have tried it without changing any options, tried with a disk much larger than the image I am moving. I have tried everything I have read on the internet and these forums. I did get this image to work at one time but when I actually went to move the server over, it would never move past this. Even tried booting into a live cd and wiping the MBR. No change. What am I missing here?

Output of pveversion -v:

pve-manager: 2.2-32 (pve-manager/2.2/3089a616)
running kernel: 2.6.32-17-pve
proxmox-ve-2.6.32: 2.2-83
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-17-pve: 2.6.32-83
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-34
qemu-server: 2.0-72
pve-firmware: 1.0-21
libpve-common-perl: 1.0-41
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.3-10
ksm-control-daemon: 1.1-1

Server is a Dell Poweredge with a RAID1, 1TB volume for the OS and a 4TB RAID10 for storage. Server being converted is Windows Server 2003. Thanks in advance for the help!

Other pertinent info: the file exported from the converter opens perfectly fine locally on my virtualbox. If loaded with a live cd, all of the original partitions (10gb C: and 30gb Z: are visible and working.). The exact same process for a 2008 server works and boots fine in prox mox.

Proxmox box with Multi NIC, possible?

$
0
0
Hello Proxmox Community,
Not sure if this question ever came up here, but i could not find anything. Is it possible to use 2 NICs with 2 different subnet in a Proxmox box?
My plan is to connect one of the NIC to switch where all the NAS/SAN is connected. Then connect the other NIC to a switch where all the client PC are connected. This way i can keep the main client network traffic free, since large volume of data do not have to travel through main client network from the NAS/SAN.
If it possible, what would be the configuration setup for that?
Thanks!

iptables modules supported in a container for Proxmox 2.1

$
0
0
Is there a complete list of modules supported in containers as specified by IPTABLES in /etc/vz/vz.conf?

Datastore permission error

$
0
0
Hi,

we have create a group users and add the users to this group. In datastore we have add rthe group users for right and set this group to pvedatastoreuser. But if a user login and go to datastore, the user can show the backups of all users.
We have test to remove the group in datasore and add users only. The same issue.

How can we fix it, to users show only her own backupfiles?

Please help, it´s a security issue. Very thanks

regards

Intel X540 Dual Port NIC

$
0
0
Anyone have any experience with the Intel X540 Dual Port NIC 10baseT? Looking to move away from broadcom as it seams to be causing a ton of issues. Also open to any other 10baseT suggestions, but we really need to stick with server proven hardware. I appreciate any input!

can not enable 3Ware 9550SX in Proxmox 2

$
0
0
Hello together,

I am new to Proxmox and also to this list.

I have installed proxmox2 on a new disk (to be able to go back to a old but working SuSE installation).
Linux pm1 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 x86_64 GNU/Linux

There are 2 raid controlers in the box:
03:06.0 RAID bus controller: 3ware Inc 9550SX SATA-II RAID PCI-X
07:00.0 RAID bus controller: Areca Technology Corp. ARC-1280/1280ML 24-Port PCI-Express to SATA II RAID Controller

The Areca is working fine. Modules are loaded and fdisk -l shows the available disks/luns.
3Ware was not recognized - modules not loaded on boot. But I can not enable the 3Ware controler by just adding the available modules
lsmod | grep 3w
3w_9xxx 35732 0
3w_xxxx 27181 0

Am I doing anything stupidly wrong ?

Any help is appreciated.

KhP

Node can't join Quorum but multicast ping works fine

$
0
0
Hello,

I have a 4 node proxmox cluster. Currently I've tried to add a fourth node to no avail. I thought perhaps the issue was related to multicast, but I can do a multicast ping between all nodes in the cluster. I can mount the /etc/pve fileystem just fine. The fourth node also shows up in the UI but with a red light. I'm at a loss of where else to check or how to continue to troubleshoot this.

Below are some commands that I've run to try to troubleshoot the issue:

Code:

root@virt4-atl:/# asmping 239.192.37.213 virt2-atl
asmping joined (S,G) = (*,239.192.37.234)
pinging 10.10.155.11 from 10.10.155.13
  unicast from 10.10.155.11, seq=1 dist=0 time=1.518 ms
multicast from 10.10.155.11, seq=1 dist=0 time=1.543 ms
  unicast from 10.10.155.11, seq=2 dist=0 time=0.257 ms
multicast from 10.10.155.11, seq=2 dist=0 time=0.266 ms
  unicast from 10.10.155.11, seq=3 dist=0 time=0.237 ms
multicast from 10.10.155.11, seq=3 dist=0 time=0.250 ms


--- 10.10.155.11 statistics ---
3 packets transmitted, time 2828 ms
unicast:
  3 packets received, 0% packet loss
  rtt min/avg/max/std-dev = 0.237/0.670/1.518/0.599 ms
multicast:
  3 packets received, 0% packet loss since first mc packet (seq 1) recvd
  rtt min/avg/max/std-dev = 0.250/0.686/1.543/0.606 ms


When I restart 'cman' on the fourth node to join the cluster I get:

Code:

starting cluster:
  Checking if cluster has been disabled at boot... [  OK  ]
  Checking Network Manager... [  OK  ]
  Global setup... [  OK  ]
  Loading kernel modules... [  OK  ]
  Mounting configfs... [  OK  ]
  Starting cman... [  OK  ]
  Waiting for quorum... Timed-out waiting for cluster


The /etc/pve filesystem mounts fine as well:

Code:

/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,default_permissions,allow_other)

When I do 'pvecm nodes' on one of the working nodes I get:

Code:

root@virt2-atl:~# pvecm nodes
Node  Sts  Inc  Joined              Name
  1  M  1148  2013-02-27 16:29:38  virt3-atl
  2  M  1148  2013-02-27 16:29:38  virt2-atl
  3  M  1148  2013-02-27 16:29:38  virt1-atl
  4  X      0                        virt4-atl


When I issue the same command on the fourth (not working) node I get:

Code:

root@virt4-atl:/#  pvecm nodes
Node  Sts  Inc  Joined              Name
  1  X      0                        virt3-atl
  2  X      0                        virt2-atl
  3  X      0                        virt1-atl
  4  M    96  2013-02-27 16:37:00  virt4-atl

I'm at a loss on how to continue to troubleshoot this. I thought if all the nodes could communicate with multicast they should be able to form the quorum. If anyone can point me in the right direction, it would be greatly appreciated!

Can I access the LVM over iSCSI storage from the host?

$
0
0
Hi All, I am wondering how I can get access to the LVM over iSCSI sotrage from the host? I ask because I want to migrate some vmdk files as file systems for a new KVM, but I can't find the virtual disk files.

Thanks...

Dual nic - one for snort, one for other

$
0
0
So, I've been running proxmox successfully for a few months now, and I really really like it.
Now I have come to the conclusion that I want to play a bit with snort and other IDS tools, and for that I want to dedicate one nic on my proxmox server to just that VM.So here's my physical setup
Internet -> WAN (pfsense) -> LAN (pfsense) -> Proxmox eth0 (set to vmbr0)
Mirrored port (pfsense) -> Proxmox eth1

I tried to just edit the /etc/network/interface file and add a duplicate information, just rename everything to vmbr1 and of course change the ip addresses.
When I did that I did not get any network at all for the proxmox server.

So basically the question is, how can I configure proxmox to use eth1 to my IDS-VM?

Thanks for the help

WHMCS & Proxmox - How does it work? Pros/Cons?

$
0
0
I have a few servers and about to drop them in a colo. I'm planning to use WHMCS due to the monthly cost vs a large upfront cost. Who here is using WHMCS and what are the benefits and cons to using it? Does it work well with KVM and OpenVZ sales? I plan to do both...
Viewing all 171654 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>