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

[NOTE] Very important configuration for IBM blades and xServer with IBM SAN...

$
0
0
.. connected by SAS LSI RDAC controller.

SAN BIOS can set in several modes. If you use LSI RDAC drivers (for RHEL) then must use LNXCLVMWARE mode, but, in Proxmox, if you use multipath is ABSOLUTELY important set ADT (AVT) support as *ON*.

If in SAN BIOS ADT is OFF (the default) multipath works badly, continuously reverses the status of the devices fron enable to ghost and redundancy does not work.

This problem is present *only* LSI RDAC SAS controller, now I prefer to use IBM Storwize connected by FC to Emulex card and works like a charm

Luca

Problems for compile NIC drivers

$
0
0
I will be very grateful to anyone who can help

I have a problem for compile and install drivers.

I have PVE 2.3:
pve-manager: 3.0-20 (pve-manager/3.0/0428106c)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-20-pve: 2.6.32-100
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-15
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-6
vncterm: 1.1-3
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-12
ksm-control-daemon: 1.1-1

And I have got the NIC driver Realtek of his official Web Portal:
http://152.104.125.41/downloads/down...&GetDown=false

But when i execute (after of unpack the file):
shell# ./autorun.sh

I get this message:
Check old driver and unload it.
Build the module and install
expr: syntax error
expr: syntax error
/root/realtek/r8168-8.036.00/src/r8168_n.c: In function 'rtl8168_get_rx_csum':
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: error: 'RxChkS1um' undeclared (first use in this function)
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/root/realtek/r8168-8.036.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/root/realtek/r8168-8.036.00/src] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2


Or if I execute:
shell# make modules

I get this message:

# make modules
make -C src/ modules
make[1]: Entering directory `/root/realtek/r8168-8.036.00/src'
make -C /lib/modules/2.6.32-20-pve/build SUBDIRS=/root/realtek/r8168-8.036.00/src modules
expr: syntax error
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-20-pve'
CC [M] /root/realtek/r8168-8.036.00/src/r8168_n.o
/root/realtek/r8168-8.036.00/src/r8168_n.c: In function 'rtl8168_get_rx_csum':
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: error: 'RxChkS1um' undeclared (first use in this function)
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/root/realtek/r8168-8.036.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/root/realtek/r8168-8.036.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-20-pve'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/realtek/r8168-8.036.00/src'
make: *** [modules] Error 2

Any idea?


pve 3 fails to add 2nd disk to vm using ext4 storage

$
0
0
Running pveversion pve-manager/3.0/0428106c

I have a 4tb USB3 drive attached to my server, and I wish to add the 2nd partition to a windows vm, but get errors when using qm set, or assigning it in the vm config, I have tried both ide0, and sata0, the entire dev, or just the partition, setting media=disk, but the vm fails to boot

Code:

root@pve1:/etc/pve/qemu-server# parted /dev/sdc print
Model: Seagate Backup+ Desk (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt


Number  Start  End    Size    File system  Name    Flags
 1      1049kB  3400GB  3400GB              primary
 2      3400GB  4001GB  601GB                primary


root@pve1:/etc/pve/qemu-server# qm set 132 -sata0 /dev/sdc
root@pve1:/etc/pve/qemu-server# qm start 132
kvm: -drive file=/dev/sdc,if=none,id=drive-ide0,aio=native,cache=none: could not open disk image /dev/sdc: Invalid argument

after the set command, my vm conf looks like this:
Code:

boot: dcn
bootdisk: virtio0
cores: 6
ide2: local:iso/virtio-win-0.1-59.iso,media=cdrom,size=60572K
memory: 16000
name: SBS2011
net0: virtio=52:B8:01:98:56:DF,bridge=vmbr0
onboot: 1
ostype: win7
parent: CurrentServerState
sata0: /dev/sdc,size=3907018580K
#also tried: ide0: /dev/sdc2,size=572954M
sockets: 1
virtio0: RAID10:132/vm-132-disk-1.qcow2,format=qcow2,size=121G
virtio1: RAID10:132/vm-132-disk-3.qcow2,format=qcow2,size=300G

[CurrentServerState]...
...snapshot info ommitted

Proxmox 3.0 - Vlan and Bonding

$
0
0
Hello:

Recently I installed Proxmox 3.0 in a testing server. The server has 2 physical interfaces and I need to configure a bond between the 2 interfaces and propagate vlans over the bond, to assign diferent vlans to different vms. Before I configured LACP (802.3ad) and trunking in the ports that connect to the server's interfaces.

I read this wiki entries:

[1] http://pve.proxmox.com/wiki/Vlan
[2] http://pve.proxmox.com/wiki/Vlans
[3] http://pve.proxmox.com/wiki/Network_Model

[1] Says:
Quote:

Proxmox 2.X doesn't require (but it is still possible) to create separate virtual bridges (vmbr) for each vlan on a host machine (so it doesn't require reboot anymore)

I configured through the web interface a bond between eth0 and eth1, then I added bond0 as unique member of vmbr1. Then I defined the virtual machine network settings and configured the vlan tag to 20, but when I try to start the vm it stops with the next error:

Code:

no physical interface on bridge 'vmbr1'
/var/lib/qemu-server/pve-bridge: could not launch network script
kvm:  -netdev  type=tap,id=net0,ifname=tap109i0,script=/var/lib/qemu-server/pve-bridge,vhost=on:  Device 'tap' could not be initialized


Why do it complain about "no physical interface in vmbr1?
Do I need to add the vlan to /etc/network/interfaces (vlan-raw-device bond0, etc...)?


Any help is welcomed

Regards

Federico

PS: Sorry for my basic English, it is not my native language.

Higher CPU Load on WinXP KVM since update to Proxmox 3

$
0
0
Hi,

since i updated my proxmox servers to version 3, i can see that the kvm windows xp machines has a higher cpu load. Since updated to version 3 i use memory ballooning on this xp machines. If i switch balloon to 0, there is no change. Is the higher cpu load normal?

As example i have uploaded to rrd examples.

Serverversion:

Code:

pve-manager: 3.0-23 (pve-manager/3.0/957f0862)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-96
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-20
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-13
ksm-control-daemon: 1.1-1

KVM01 settings:

Code:

balloon: 256
bootdisk: ide0
cores: 1
cpu: coreduo
ide2: local:iso/virtio-win-0.1-59.iso,media=cdrom,size=60572K
memory: 2048
name: Mesoserver02
net0: virtio=96:F1:01:4F:9A:31,bridge=vmbr1
ostype: wxp
sockets: 1
virtio0: KVM-DATA-01:vm-100-disk-1
virtio1: KVM-DATA-01:vm-100-disk-2


KVM01 settings:

Code:

balloon: 256
boot: cdn
bootdisk: virtio0
cores: 1
ide2: backup-nfs:iso/Intel-E1000.iso,media=cdrom,size=32320K
memory: 2048
migrate_downtime: 0
name: xp-innos
net0: e1000=32:85:BC:92:91:D9,bridge=vmbr0
ostype: wxp
sockets: 1
startup: order=110,up=60
virtio0: KVM-DATA-01:vm-112-disk-1

VirtualNet Drivers on kvm02 didn´t run since updated to proxmox 3 with the latest virtio 0.159 drivers.
Attached Images

Where is 64 bit containers?

$
0
0
I'm using 1.9 for about two years, I feel thanks to ProxmoxVE.
I have installed the 3.0 to test 64bit containers.

However, I cannot find where is a 64bit CentOS containers.

The target machine is Dual CPU 64bit, Mem 32G.

I downloaded centos-6-x86_64.tar.gz from
http://openvz.org/Download/template/precreated.
And when I upload the file, is the following error.

Error 400: Parameter verification failed.
filename: missing '.iso' extension

I cannot find same problem at the forum.
What's the problem?

Eiji

VNC console certificate does not match

$
0
0
Hi,

I changed self signed certificates for Proxmox Version: 3.0-20/0428106c

I use a * certificate signed from PositiveSSL CA 2

i have changed according to instruction at http://pve.proxmox.com/wiki/HTTPSCer...eConfiguration

When I access in browser at https://myproxmoxserver.com:8006 the connection is ok, no security warnings.

When I want to open console of a VM, I receive the following error.

Error: TLS handshake failed javax.net.ssl.SSLHandshakeException:java.security. cert.CertificateException: certificate does not match

Please advise on above,

Thanks,

VNC console certificate does not match

$
0
0
Hi,

I changed self signed certificates for Proxmox Version: 3.0-20/0428106c

I use a * certificate signed from PositiveSSL CA 2

i have changed according to instruction at http://pve.proxmox.com/wiki/HTTPSCer...eConfiguration

When I access in browser at https://myproxmoxserver.com:8006 the connection is ok, no security warnings.

When I want to open console of a VM, I receive the following error.

Error: TLS handshake failed javax.net.ssl.SSLHandshakeException:java.security. cert.CertificateException: certificate does not match

Please advise on above,

Thanks,

API Functions Not Implemented, or are they?

$
0
0
Hello everyone! My first post here.

We use a custom billing system, I've successfully implemented most of the Proxmox API features that I've needed using PHP, these include start, delete, vzdump, etc. I was on a move and I realized some of the most important functions seem to be missing from the API documentation. Can someone please tell me I'm wrong.

I need the ability to perform the following functions from the API (OpenVz only):

restart
change root password
resize
add ip address
delete ip address

I know they are available in the vzctl but given that I've already implemented so may functions with the Proxmox API it would really be a shame if we had to issue commands from PHP via SSH just to restart a server. In fact if that's the case I'm not sure why even use Proxmox, we could have done everything via SSH to begin with.

Are these functions "implemented" on the API and if not, how can I go about implementing them? :confused:

win2003 multicast NLB not working after migration.

$
0
0
Hello everyone!


Someone has migrated under windows2003 server proxmox, so that one windows2003 server network card is configured for multicast NLB. A Load-Balanced windows2003 two guests should be under a bridge in proxmox.
The problem is that multicast mode does not work on shared IP address, however, conflicts with unicast mode.

thanks
sanyi

Raidcontroller Monitoring with Proxmox and Debian 6

$
0
0
Hello

iam running proxmox on HP´s ProLiant ML110 G7 with Raid 1. Actally iam searching for an solution to monitor the controller wihtin the proxmox panel or per commandline. The raidcontroller is called HP Smart Array P410.

Is there any to run any CLI on debian 6 qith proxmox?

regards
maxx

Brigded Network Model

$
0
0
Hi all! I installed the latest Proxmox 3 on a vmware VPS hosting service – they installed from ISO as I don’t have full console access. It works perfectly but I can’t figure out the network model I should be using and wish to secure both the host and containers.

As per the wiki network model the network ends up like this

Code:

auto lo
iface lo inet loopback
iface eth0 inet manual
 
auto vmbr0
iface vmbr0 inet static
        address 192.168.10.2
        netmask 255.255.255.0
        gateway 192.168.10.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

They then issue me with a public IP for each container and attach it to the Vmware instance, it works well. Of course this means its open to the world there is no firewall, nothing at all. What should be the next steps here, is it simply a matter of hardening the host or is there a better network model for this hosting type?

PVE 3.0 can not support Atheros AR8161 network card

$
0
0
hello:
I install PVE-3.0 with network card Atheros AR8161, but it can not run.
I follow that:
1. get from USB// can not use wget
sudo su - #input your password
wget http://linuxwireless.org/download/co...3-12-p.tar.bz2
2.Uncompress files and exec commands.
tar xvf compat-wireless-2012-03-12-p.tar.bz2
cd compat-wireless-2012-03-12-p
./scripts/driver-select alx
make // show error: make command not found! stop here
make install
./scripts/alx-enable atl1c
./scripts/alx-enable alx
modprobe alx
--------------------------------
Should I downgrade the PVE version or how to install that? it seems lost many commands.
thanks!

Proxmox 3.0 Cluster Setup problem

$
0
0
Hi All,

I have 5 new server installed Proxmox 3.0
I follow http://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster
to create a cluster, I want to add a not with

pvecm add IP_ADDRESS

it show
authentication key already exists
if I try

pvecm add IP_ADDRESS -force

it show


I/O warning : failed to load external entity "/etc/pve/cluster.conf"
ccs_tool: Error: unable to parse requested configuration file

command 'ccs_tool lsnode -c /etc/pve/cluster.conf' failed: exit code 1
unable to add node: command failed (ssh IP_ADDRESS -o BatchMode=yes pvecm addnode vm01 --force 1)

Plese help
Thanks a lot

lvm attributes

$
0
0
Hello!

I have proxmox cluster consists of 3 nodes. Also, I have iscsi storage with clvm and virtual disks on it from nodes

Then I create virtual machine ( via web from template ) - the virtual disk appeares on storage on clvm

# lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
vm-100-disk-1 lvm1 -wi----- 10.00g
vm-102-disk-1 lvm1 -wi----- 16.00g
vm-777-disk-1 lvm1 -wi----- 10.00g

But, then i want to change disk size (web ) i recive

error resizing volume '/dev/lvm1/vm-777-disk-1': Run `lvextend --help' for more information. (500)

On nodes i see this

# ls -la /dev/lvm1/
total 0
drwxr-xr-x 2 root root 100 Jun 19 10:50 .
drwxr-xr-x 18 root root 6640 Jun 19 10:50 ..
lrwxrwxrwx 1 root root 7 Jun 19 10:50 vm-100-disk-1 -> ../dm-3
lrwxrwxrwx 1 root root 7 Jun 19 10:50 vm-102-disk-1 -> ../dm-4

There is no disk vm-777-disk-1. Only 100 and 102

Then I input command vgchange -ay lvm1 i see

# ls -la /dev/lvm1/
total 0
drwxr-xr-x 2 root root 100 Jun 19 10:50 .
drwxr-xr-x 18 root root 6640 Jun 19 10:50 ..
lrwxrwxrwx 1 root root 7 Jun 19 10:50 vm-100-disk-1 -> ../dm-3
lrwxrwxrwx 1 root root 7 Jun 19 10:50 vm-102-disk-1 -> ../dm-4
lrwxrwxrwx 1 root root 7 Jun 19 10:50 vm-777-disk-1 -> ../dm-5

From manual

"vgchange allows you to change the attributes of one or more volume groups"


How can i solve this problem? I can add to cron this command ))

Help me please

Web GUI access problem (port 8006)

$
0
0
I have successfully installed Proxmox VE 3.0, could access Proxmox web GUI via https://my.ip.add.ress:8006, created CTs (containers), everything was just fine.

The next day I can not access Proxmox web GUI via https://my.ip.add.ress:8006, however ssh works. I installed an Apache server before and the http access works (port 80, http://my.ip.add.ress).

The command
netstat -an | grep 8006 gives no output, so I think the machine is not listening at port 8006. (I have tried another proxmox where https works fine, and had more matching line in the output of netstat -an | grep 8006)

I can manually start and stop containers (vzctl start 100 and vzctl stop 100 works fine) and I can reach the containers through ssh.

What kind of troubleshooting should be done here and how? What should I read about Proxmox web GUI https access to understand the probel?

Transfer Image to other Server

$
0
0
Hello , i have 1 proxmox installed tha run a win2008 image
yesterday i receive the new rack mount server and i want to transfer the image of 2008 to the new proxmox install server.
What i must to do because im little confused

regards

Arkadios

Understanding Migration

$
0
0
Hello,

this is maybe a stupid question but the Wiki says:
Quote:

Storage migration allows to move a virtual disk to another storage or to another virtual disk format on the same storage.
I do use NFS Storage but when I hit Move Disk (I try to move a Disk from local to NFS Storage) I can only select local. Maybe I do not understand the move part ? Or does it only work for Cluster ?


My pveversion:
Code:

pve-manager: 3.0-23 (pve-manager/3.0/957f0862)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-96
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-20
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-13
ksm-control-daemon: 1.1-1

Windows Host memory usage report

$
0
0
Why does memory usage report on Windows hosts differs so much from the memory usage shown by the windows task manager?
The displayed value is always close to the memory allocated to the windows virtual machine.

0x7B BSOD Win 2003 Server - mergeide.reg applied

$
0
0
Hi guys,

i have a frustrating issue with one of my W2k3 P2V conversions -

I ahve W2k3 box that we are looking to virtualise in our remote data centre - the issue is that the disk image is too big to bring down over the wire so any conversions have to be done to a USB disk and as the server has to remain online whilst imaging i am using the follwoing procedure:

Physical > VMware (Using VMWare Online Converter) > USB HDD (CloneZilla Image (Offline)) > Proxmox VM (Clonezilla)

I have done this on several other machines without any issues.

I have added the mergeide.reg and still i'm getting the 0x7B error - i assume that this is due to there being no intelide.sys in the /system32/drivers foler.

I have a copy of the CloneZilla image here (1 week turnournd for a new image) - WITHOUT the files inthe folder

I'm i right in thinking that it should be possible to boot the PC using a W2k3 CD and extract the files from the recovery console to the C Drive of the VM? (im waiting for the image to copy to the VM atm)

has anyone else done this?
Viewing all 171654 articles
Browse latest View live


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