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

KVM soundcard access for (Linux) client?

$
0
0
Hi All,

I'm trying to have my Linux KVM (a CentOS 6.4 VM with no GUI) access my hypervisor's soundcard. I'm reading succesful attempts for Windows clients, but they don't work for my Linux client.

I've tried adding the following to my .conv file:

Code:

args: -device AC97,addr=0x18
and

Code:

args: -device intel-hda,id=sound5,bus=pci.0,addr=0x18 -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 -device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1
Both give my client a soundcard, but playing on that card doens't produce any sound. :(

My setup is as follows:
I've connected an USB soundcard (very basic) to the hardware and on the Proxmox hypervisor, and I can access it through ALSA:

Code:

root@pmx1:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=AUDIO
    USB  AUDIO, USB Audio
    Default Audio Device
sysdefault:CARD=AUDIO
    USB  AUDIO, USB Audio
    Default Audio Device
front:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    Front speakers
surround40:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=AUDIO,DEV=0
    USB  AUDIO, USB Audio
    IEC958 (S/PDIF) Digital Audio Output

root@pmx1:~#  aplay -v -D default:CARD=AUDIO /root/africa-toto.wav
Playing WAVE '/root/africa-toto.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono

This plays music.

On the client, when using the AC97 variant I get:

Code:

[root@music ~]# aplay -Lnull
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, HDA Generic
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, HDA Generic
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

[root@music ~]# aplay /root/africa-toto.wav
Playing WAVE '/root/africa-toto.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono

Now, aplay reports no error message, and apparantly plays the music, but nothing comes out my speakers :(..
amixer reports volumes are at 100%.
Same thing when trying the other args setting.

Any help?

curl SSL certificate problem

$
0
0
Recently I have a problem with a virtual machine in which is running an ecommerce. The paypal module is not working anymore so I have to test the connectivity with this command:

curl -d "test" https://api-3t.paypal.com/nvp -v

I get

* About to connect() to api-3t.paypal.com port 443 (#0)
* Trying 173.0.84.69... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
* Closing connection #0
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.



If I test from the main proxmox machine the command work fine, If I move the vm to another server the command work fine.

I can't understand If is a problem regarding proxmox.

Best regards

ceph-perfomance and latency

$
0
0
Hi,
I have made some rados benchmark and I'm see high max latency (rados -p test bench -b 4194304 60 write -t 32 --no-cleanup).

does anybody know how to find and isolate the reason for the high latency?
Code:

Total time run:            61.186561        60.008194
Total writes made:      7045          100939
Write size:          4194304            4096
Bandwidth (MB/sec):  460.559                6.571

Stddev Bandwidth:          98.5743          5.50003
Max bandwidth (MB/sec):  568              15.4883
Min bandwidth (MB/sec):    0                0
Average Latency:            0.277103        0.0190213   
Stddev Latency:            0.227484        0.120132   
Max latency:                4.81041          4.09047
Min latency:                0.067239        0.001231

One thing I found is the numbers of threads - the throughput is better with more threads - even on a host with only 8 cores the performance is with -t 32 much better as with -t 8. But the max latency also rised up (but only slightly).

What do i have to use to get hdd pass through working (sata, scsi, ide or virtio)

$
0
0
Hi there,

i have a openmediavault installation as a vm in proxmox. The HDDs are added like that in the vm.conf:

virtio1: /dev/sdc,backup=no
virtio2: /dev/sdd,backup=no
virtio3: /dev/sdf,backup=no
virtio4: /dev/sde,backup=no
virtio5: /dev/sdh,backup=no
virtio6: /dev/sdi,backup=no

The data transfer speed is quite fast (around 110 MB/s) but i have no chance to get the energy saving or SMART functions working in omv, cause it only shows the HDDs without the real information of the HDD.

Can i use Proxmox itself to get my HDD into energy saving mode or is there no access from proxmox to these HDD (cause they are attached to the vm)?

Some months ago i had attached the HDD via scsi and as i remember i could use the power saving and SMART function in omv (if i remember correctly the speed was around 50 MB/s). But now i dont really change my configuration by try and error, so i ask the following question in advance:

What is the best solution (speed and functionality) to pass through the HDDs to my omv vm?

Thanks in advance!

Cannot Edit CT in GUI

$
0
0
I cannot edit either options or resources for a container in 3.1.

Is this because I have two nodes in a cluster? Or because I have them stored on NFS?

Or did I just break it somehow? I see that permissions are owner root and group is the web server. I thought I should give www-data write perms on the /mnt/pve but it errors with function not implemented, which I assume is because of the cluster.

Migrating to another physical location

$
0
0
Hi all,

I am looking for a few options/recommendations for the following scenario in case I have missed any options myself. I am moving about 5 hours away from where I am now. It would be really nice for me to get my proxmox VMs migrated to the new location with minimal downtime. Can anyone suggest the options for me to do this. The easy way is to just let eveyone know that the server will be down for 6-7hrs however since I have to do this move during the day on a weekday that is my least favourite option. The following are a few details about the scenario I'm facing.

* I'll need to migrate about 225GB worth of VMs
* I already have hardware running at the remote location
* 3Mbps upstream at my current location (225GB will fit within my monthly transfer limit so no extra charges there)
* Will be migrating two windows servers (one exchange server and one application server)

Thanks for any suggestions

eth1 over OpenVZ for backups

$
0
0
Hi,
I have few nodes with eth0 as main IP with Internet IP and eth1 with Internal IP (192.168.xxx.xxx)
on each node we have few OpenVZ VMs
and we have another Backup device that work with eth for internal network and eth for Internet IP
we wont to do the OpenVZ VMs backups via the internal network.
now, even the eth1 is configured, any connection include 192.168.xxx.xxx Goes through eth0 (Internet IP)
I'd be happy to help detailed how to make to
192.168.xxx.xxx go into eth1

Best Regards,
Star Network.

i need any help

$
0
0
my english is very poor. but i have meet any trouble about this system. i can't add user,and can't set password for this user. it show this “change password failed: user 'test' does not exist (500)”.

Configuration of a SPICE enabled Debian 7 KVM

$
0
0
There is a docu
http://pve.proxmox.com/wiki/SPICE,
but is seems there is no special information for debian - VM driver.

Debain 7 says that the monitor is unknwon.
I installed according
http://www.spice-space.org/page/Repositories
xf86-video-qxl
vd agent
using the debain repos.

Now I can select a higher resoltion than 1024 x 768. But the monitor is still unkown.

Some hints to get an optimal configurated system?

Peter

insufficiently W2008r performance, which runs inclined ?

$
0
0
We test even different virtualisations solutions, also Proxmox 3.1, operation and options of this environment please us particularly well.
On an IBM x3850M2 4X6 core Xeon 2,66GHz/96GB RAM 8 X 15KSAS we habe 3 VM's W2008r2, one is a Terminal Server for 16 Users, but the performance is however unacceptable, the servers load with a test run all day long between 80 -100% was. Which could be false at my configuration?

the node:
root@x3850m2:~# pveperf
CPU BOGOMIPS: 127926.96
REGEX/SECOND: 1068422
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 374.80 MB/sec
AVERAGE SEEK TIME: 3.63 ms
FSYNCS/SECOND: 2457.92
DNS EXT: 48.60 ms
DNS INT: 47.72 ms (highendsmoke.local)

root@x3850m2:~# pveversion -v
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
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-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1

VM
root@x3850m2:/etc/pve/qemu-server# cat 106.conf
bootdisk: virtio0
cores: 4
memory: 32768
name: SC-TS-CleanInstall
net0: virtio=42:96:8F:AC:F9:D2,bridge=vmbr0
ostype: win7
sockets: 4
tablet: 0
virtio0: local:106/vm-106-disk-1.raw,format=raw,cache=none,size=850G
virtio1: NFS-Raid5:106/vm-106-disk-2.raw,format=raw,cache=none,size=500G
root@x3850m2:/etc/pve/qemu-server#

best regards
Stephan

/etc/cron.daily/pve fix

$
0
0
Hi, There is typo in PVE31 /etc/cron.daily/pve file that prevents dir /var/log/pve/tasks/D celanups. Fix: - foreach my $subdir (qw(0 1 2 3 4 5 6 7 8 9 A B C F E F)) { + foreach my $subdir (qw(0 1 2 3 4 5 6 7 8 9 A B C D E F)) { Question: for security reasons we would like to stop external update services autoquerying from our hypervisors. Is it enough/safe to comment out lines 32-52 in /etc/cron.daily/pve? If so - please consider splitting updates/cleaning functions into two separate files in /etc/cron.daily - will be easier to disable update task without code modifications. Thank you for great software! Regards, Pawel IB Development Team http://dev.ib.pl/

Configuring my first Proxmox

$
0
0
Hi everyone,

I am relatively new to this field and want to install a new Proxmox. I must say it is great. I have already installed Proxmox and two virtual Machines. The Hypervizor is inside a company networt. It will have a few machines on it(tree virtual servers and a virtuell client pc, all of them running with Windows). The Servers schould communicate to each other, but stay unseen to my company Network. For this purpose I created vmbr1 from the Web Interface and gave it an internal IP like 172.10.10.1 this. Then I would like to give my Virtual Machines an internal IP like 172.10.10.99 and Default Gateway 172.10.10.1, same as vmbr1. I am not exactly sure how to make this. This is what /etc/network/Interfaces looks like this:

Code:

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
    address  XX.XX.XX.xx  #external IP
    netmask  255.255.0.0
    gateway  XX.XX.XX.XX
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

auto vmbr1
iface vmbr1 inet static
    address  172.25.25.1
    netmask  255.255.0.0
    bridge_ports none
    bridge_stp off
    bridge_fd 0

How could I connect my VMs to vmbr1 instead of vmr0? How could I connect vmbr1 to vmbr0 in order to communicate in the internal Network. I will try to make same basci Diagram in order be clear what I mean. Thanks in advance!

proxmox gui don't show files on storage

$
0
0
hi there,

i can't see any files on my storrage systems. no backup, no iso, nothing... :(

i can upload a iso with gui. but again, gui don't display this iso on this storage-system.
the iso is uploaded to /var/lib/vz/template/iso and i can see this file on cli:

root@hyper-2:/# ls -l /var/lib/vz/template/iso/
total 47536
-rw------- 1 root root 48621568 Nov 18 11:46 umzug.iso

in gui, i work as 'root@pam', so it should be no access-problem.
i can see all virtual server. i can stop and start these server. but i can't see any backup-file of these server on the backup-storage with the gui.

i found no errors in the logs. PVE-Version is 3.0.23

any hints?

Network Troubles @Hetzner - Drivers?

$
0
0
Hi Everybody,

I just set up a proxmox VE on a EX40-SSD at Hetzner and I am experiencing funny network behaviour... Generally said it's just not working so well. I already installed other systems on exactly that server and they are working fine, it's just getting fucked up when I use proxmox.

Here's an example when I download a vz template, it just takes forever
Code:

root@wirt /var/lib/vz/template/cache # wget http://download.openvz.org/template/precreated/ubuntu-12.10-x86_64.tar.gz
--2013-11-18 13:30:35--  http://download.openvz.org/template/precreated/ubuntu-12.10-x86_64.tar.gz
Resolving download.openvz.org (download.openvz.org)... 2620:e6::104:11, 199.115.104.11
Connecting to download.openvz.org (download.openvz.org)|2620:e6::104:11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 226877386 (216M) [application/x-gzip]
Saving to: `ubuntu-12.10-x86_64.tar.gz'

48% [===================================>                                      ] 110,374,504 2.79K/s  eta 2m 22s 
48% [===================================>                                      ] 110,384,500 9.54K/s  eta 2m 22s 



48% [===================================>                                      ] 110,384,500 --.-K/s  eta 2m 41s 
48% [===================================>                                      ] 110,384,500 --.-K/s  eta 2m 41s 

48% [===================================>                                      ] 110,481,604 --.-K/s  in 21m 49s

2013-11-18 13:52:26 (82.4 KB/s) - Read error at byte 110481604/226877386 (Connection timed out). Retrying.

--2013-11-18 13:52:27--  (try: 2)  http://download.openvz.org/template/precreated/ubuntu-12.10-x86_64.tar.gz
Connecting to download.openvz.org (download.openvz.org)|2620:e6::104:11|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 226877386 (216M), 116395782 (111M) remaining [application/x-gzip]
Saving to: `ubuntu-12.10-x86_64.tar.gz'

61% [++++++++++++++++++++++++++++++++++++========>                            ] 139,834,448 69.0K/s  in 5m 11s 

2013-11-18 13:57:38 (92.3 KB/s) - Connection closed at byte 139834448. Retrying.

--2013-11-18 13:57:40--  (try: 3)  http://download.openvz.org/template/precreated/ubuntu-12.10-x86_64.tar.gz
Connecting to download.openvz.org (download.openvz.org)|2620:e6::104:11|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 226877386 (216M), 87042938 (83M) remaining [application/x-gzip]
Saving to: `ubuntu-12.10-x86_64.tar.gz'

100%[+++++++++++++++++++++++++++++++++++++++++++++============================>] 226,877,386  738K/s  in 2m 17s 

2013-11-18 13:59:57 (619 KB/s) - `ubuntu-12.10-x86_64.tar.gz' saved [226877386/226877386]

root@wirt /var/lib/vz/template/cache #

Needless to mention, normally that's blazin fast!

I noticed that during the installation the Realtek firmware gets replaced with some other kind, I guess it has to do with that?

Did anybody else have the same problem? Hetzner doesn't support the proxmox image...

Thank you.

LVM snapshot option

$
0
0
Can someone explain to me what happens "technically" when Proxmox takes snapshot backup of a running virtual KVM machine on a LVM storage?

The reason why I ask is that I always use the "backup stop option" on windows servers to keep a consitance backup image.
Can you be sure that images of servers with running databases a keep in a consitance state when "backup snapshot option" is used.

)-|algeir

KVM: Windows XP & fax software (via serial modem)->bad quality

$
0
0
I have to migrate two old Windows based fax server to Proxmox. Everything works great except the fax transmission. The result on the receivers fax machine looks like "vertically compressed".
I did 2 tests:
First try: Windows XP mit ActiveFax and RS-232 Fax Modem (Elsa Microlink Fun)
Second try (another server): Windows XP with Tobit an RS-232 ISDN Modem (ELSA Microlink ISDN)

Both results looks like:
testpage.jpg

I think this is a timing/realtime(?) problem... Maybe someone can help me?
Thank you very much!
Attached Images

To many logs of root login -> Its me?

$
0
0
<root@pam> successful auth for user 'root@pam'

When I watch the logs, I have so many logs like this.

Is it normal?

Thanks.

postgreSQL with Proxmox High availability features

$
0
0
Hi,
We have a planned to setup a failover cluster for PostgreSQL db which initial plan was setting up using RedHat Cluster Suite. But since I just got to know Proxmox virtualization, anyone here can suggest me if the Proxmox virtualization can support same efactures as failover clustering using Redhat Clsuter Suite.

Our typical setup will be two physical server with Iscsci Storage, but if we plan for virtualization ( If proxmox support failover cluster ), we will convert this two physical server to virtual environmnet to allow more VM's to be install.

scripted update from 2.3 to 3.0 ended with latest 3.1 ?

$
0
0
I just updated another old 2.1 node, by documented steps:
- first to latest 2.3
- then running the script as http://pve.proxmox.com/wiki/Upgrade_from_2.3_to_3.0

but, after rebooting, I had a full 3.1 !! I did this nearly a week ago on another 2.1 node, but the same procedure ended in a 3.0, like pve-manager/3.0/957f0862...
and then I am sure had to follow the procedure http://pve.proxmox.com/wiki/Download..._to_latest_3.1

but on the latest updated node i still have

Code:

root@pve1:~# cat /etc/apt//sources.list
deb http://ftp.it.debian.org/debian wheezy main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian wheezy pve

# security updates
deb http://security.debian.org/ wheezy/updates main contrib

so not the new repositories... ?!?

now I have on both nodes (double checked)
Code:

root@pve1:~# pveversion -v
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-19-pve: 2.6.32-96
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-11-pve: 2.6.32-66
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
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-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1
root@pve1:~# cat /etc/apt//sources.list
deb http://ftp.it.debian.org/debian wheezy main contrib

is this expected, should the wiki be updated (I can contribute if needed) or what?!?

Marco

where is all the lvm related stuff stored in proxmox? volumgroup looks empty

$
0
0
hello

we chanched from KVM/virsh to proxmox. However as there is no option for using existing images (that is really missing) we just created new machines- then made an lvmremove of the newly created lvm and then an lvrename from the old lvm to the new name of proxmox...
this works but now i dont see any of the lvms when i look on the content of the volume group.
but lvmscan show me all volumnes normally...

why does proxmox dont show any?
and maybe os there a better way of migrating the lvms? i just installed the proxmox on the host without deleting the lvms of the guests (first installing debian and then proxmox...)

thank you
philipp
Viewing all 171654 articles
Browse latest View live