Re: [PVE-User] pve-zsync log
Hello, > Does anyone know a decent way of logging pve-zsync status? For failure or how > long it took to run the sync? All jobs are executed by a cron job. A Proxmox VE host default setting is, if a cron job generate output, send this output to the root email address. But you can configure cron as you need it. send an email or write to syslog. Extra login could be done if you edit the cron job in /etc/cron.d/pve-zsync and give all pve-zsync jobs a -verbose parameter. I see this is an undocumented feature so I will send a patch. ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Re: [PVE-User] migrate *just* config of VM between unclustered PVE servers?
On 3/8/18 7:23 PM, Alexis Huxley wrote: > I'm currently using KVM and libvirt with two *unclustered* servers and > shared storage [*], but am considering migrating to Proxmox because > I want to switch to lighter weight containers. > > At the moment, with libvirt, on the first server I create a VM and > run 'virsh dumpxml ', copy the resulting XML over to the > second server (or write it to the shared storage) and run 'virsh > define ' and then the VM is available on both servers. > I then manually start the VM on one server only. > > What is the equivalent procedure for Proxmox? (Ideally a procedure > that works for both KVM-based VMs and containers.) > With Proxmox VE already have all config files in plaintext under /etc/pve node local VMs: /etc/pve/qemu-server node local CTs: /etc/pve/lxc For specific nodes the same directories can be found under: /etc/pve/nodes/NODENAME/ (the two above are actually just magic symlinks to the local latter) You can copy just those if you wish, if the storage names are the same on both names you should be able to just start it then. > I was hoping that vzdump might have a '--config-only' option and > that there would be a 'vzload' command, but I don't find either > of these things. Googling turns up plenty of results for migrating > the entire VM, but I really want *only* the config, not the image / > container tree. > FYI, our CLI tools can output also the configuration via: qm config VMID pct config VMID > If it's as simple as rsyncing over some directories, then is it then > necessary to 'nudge' the GUI, to get it to notice the changes? > No, once a VMID.conf gets added to the qemu-server or lxc directory, respectively, the are known to PVE and can be directly used. It may take a few seconds until it pops up in the webUI. See: https://pve.proxmox.com/pve-docs/chapter-pmxcfs.html for a bit more info about our configuration file system. cheers, Thomas > Thanks! > > Alexis > > [*] The shared storage is DRBD running in primary/primary mode with > OCFS2 filesystem on top. It's obviously not immune to split brain, > but recovery is straightforward and very rare. It's been quite > suitable for home, but IO is relatively slow. ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
[PVE-User] Erro when import
Hi there How can I fix this? qm importovf 100 Mysql.ovf STG-thin Mysql.ovf:1: parser error : Start tag expected, '<' not found Mysql.ovf ^ --- Gilberto Nunes Ferreira (47) 3025-5907 (47) 99676-7530 - Whatsapp / Telegram Skype: gilberto.nunes36 ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
[PVE-User] migrate *just* config of VM between unclustered PVE servers?
I'm currently using KVM and libvirt with two *unclustered* servers and shared storage [*], but am considering migrating to Proxmox because I want to switch to lighter weight containers. At the moment, with libvirt, on the first server I create a VM and run 'virsh dumpxml ', copy the resulting XML over to the second server (or write it to the shared storage) and run 'virsh define ' and then the VM is available on both servers. I then manually start the VM on one server only. What is the equivalent procedure for Proxmox? (Ideally a procedure that works for both KVM-based VMs and containers.) I was hoping that vzdump might have a '--config-only' option and that there would be a 'vzload' command, but I don't find either of these things. Googling turns up plenty of results for migrating the entire VM, but I really want *only* the config, not the image / container tree. If it's as simple as rsyncing over some directories, then is it then necessary to 'nudge' the GUI, to get it to notice the changes? Thanks! Alexis [*] The shared storage is DRBD running in primary/primary mode with OCFS2 filesystem on top. It's obviously not immune to split brain, but recovery is straightforward and very rare. It's been quite suitable for home, but IO is relatively slow. ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Re: [PVE-User] pve-zsync log
I would be interested in this too. -- Daniel B - Original Message - From: "Johns, Daniel (GPK)"To: pve-user@pve.proxmox.com Sent: Thursday, March 8, 2018 9:55:21 AM Subject: [PVE-User] pve-zsync log Hello, Does anyone know a decent way of logging pve-zsync status? For failure or how long it took to run the sync? Thanks -Daniel J ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
[PVE-User] pve-zsync log
Hello, Does anyone know a decent way of logging pve-zsync status? For failure or how long it took to run the sync? Thanks -Daniel J ___ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user