Displaying 20 results from an estimated 92 matches for "vmname".
Did you mean:
vgname
2009 Nov 13
3
Virsh shutdown all command?
Hello:
Is there a command in virsh to shutdown all domains?
I can do one at a time, but that is untenable for a large
number of domains.
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
7 day no risk trial, Google Checkout accepted
2009 Feb 04
2
Best way to migrate Xen Disk IMG w/LVM''s to a block-device? (e.g. DRBD)
Hi All,
I was hoping to pick someone''s brain about the best way of moving a Xen
disk image (which has LVM''s inside of it) to a new block-device? I
have the target DRBD device ready but unsure what''s the best &
safest way to do it.
I was actually tempted to mount the Xen disk image in a dom0, and make
it visible via loop devices and promote that DRBD node for
2012 Aug 24
1
Does libvirt abstract each and any vm specific command?
Hello,
my project still uses VBoxManage but I am inclined to switch to
libvirt, if possible, because I like the concept.
Some rather unusual commands are used by my project...
VBoxManage modifyvm "$VMNAME" --synthcpu on
VBoxManage setextradata "$VMNAME"
"VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1"
VBoxManage modifyvm "$VMNAME" --natdnsproxy1 on
VBoxManage modifyvm "$VMNAME" --natdnshostresolver1 on
VBoxManage modifyvm "$VM...
2015 Aug 11
0
libvirt-guests.service doesn't work, but manually running libvirt-guests.sh stop does
Using libvirt 1.2.18 (-1 Arch) and QEMU git-master (2.4.0.r40384.2d69736).
pm-utils 1.4.1-6. acpid 2.0.23-4
Installed using Q35 chipset.
I can perform virsh # shutdown <vmname>, and watching the client VM console
see a graceful shutdown.
On host:
=====
# systemctl reboot
{{{ client VM console immediately blanks out - I do NOT see a graceful
shutdown }}}
libvirt-guests.sh: Running guests on default URI: <vmname>
libvirt-guests.sh: Shuitting down guests on defaul...
2015 Oct 29
2
How to retrieve legacy cgroups location ?
...n "Control Groups Resource Management" libvirt page :
Legacy cgroups layout
Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was located. So if libvirtd was placed at /system/libvirtd.service by systemd, the groups for each virtual machine / container would be located at /system/libvirtd.service/libvirt/{qemu,lxc}/$VMNAME. In addition to this, the QEMU...
2011 Oct 07
2
Libvirt newbie, need help with doubts
...hysical machine to
another using the migrate() function. I connected via tcp in the destination
URI and migrated successfully(lesser than 2 seconds). I tried running virsh
list --all on the destination PM and confirmed that the VM had been migrated
successfully.
When I tried checking ps aux | grep vmname where vmname was the name of the
VM migrated, I could see that on the source PM the thread was still active
with the PID though the machine had been migrated successfully.
Shouldn't the vmname not be listed at all on the source PM's side,if it has
been completely migrated?
Isn't 2 sec...
2015 Aug 10
0
managedsave/start fails because of Q35 UHCI Host Controller
...u remove the USB redirection entries, which didn't help.)
Using libvirt 1.2.18 (-1 Arch) and QEMU git-master (2.4.0.r40384.2d69736).
Installed using Q35 chipset.
I'm running QEMU git, which allows SCSI controller migration, so I can
attempt doing this.
==========
virsh # managedsave <vmname>
Domain <vmname> state saved by libvirt
virsh # start <vmname>
Domain <vmname> started
{{{ Then, viewing the VM console through QEMU, its screen is extremely
laggy, taking about a minute to fill up the screen with repeating
errors within 0.003 kernel seconds: }}}
uhci_hcd 00...
2013 May 31
0
Enable bios useserial=yes from command line
Hi Guys,
I'm currently learning KVM and have set up an Ubuntu 12.04.2 VM running KVM.
I am using the following command to provision a VM:
virt-install --connect qemu:///system --ram "$ramsize" -n "$vmname"
--boot network,hd,menu=on --os-variant="$variant" --disk
path=/var/lib/libvirt/images/"$vmname".qcow2,device=disk,bus=virtio,format=qcow2
--mac= --cpu host --vcpus="$numcpus" --graphics none --noautoconsole
--import
But cannot seem to find a way to enable bios...
2023 Apr 05
1
backup-begin
Den 2023-04-05 kl. 09:47, skrev Peter Krempa:
> The backup operation is quite complex so it is possible.
> Please have a look into /var/log/libvirt/qemu/$VMNAME.log to see whether
> qemu logged something like an assertion failure before crashing.
>
> Additionally you can have a look into 'coredumpctl' whether there are
> any recorded crashes of 'qemu-system-x86_64' and also possibly collect
> the backtrace.
>
> Also mak...
2015 Aug 11
3
Do I need to enable qemu-ga's guest-suspend: hybrid/suspend-ram/disk/shutdown?
...tp://wiki.stoney-cloud.org/wiki/Qemu_Guest_Agent_Integration shows these
same 4 as false, so I'm not sure if they're always supposed to be that way.
My overall point is to be able to run dompmsuspend servo disk. After
setting up qemu-ga as far as I have, it at least says:
=====
Domain <vmname> successfully suspended
=====
But,
Using libvirt 1.2.18 (-1 Arch) and QEMU git-master (2.4.0.r40384.2d69736).
pm-utils 1.4.1-6. acpid 2.0.23-4
Installed using Q35 chipset.
======
{{{ domain xml file includes: }}}
<pm>
<suspend-to-mem enables='yes'/>
<suspend-to-dis...
2016 Mar 22
3
(no subject)
How is tunnelled option specified during migratiion different than an
ordinary ssh connection specified as:- virsh migrate vmName
qemu+ssh://user@remotesys/system?
2014 Nov 25
2
how to modify virsh vm start script
I use libvirt to manage a QEMU/KVM system. Starting a VM only by using
> virsh start vmname
What I want to know is how to add an option to virsh vm's start
script, in my case I want to add QEMU logging option (-d and -D). I
can see from
> ps aux | grep qemu
that current VM started using virsh not including those options
~ady
2023 Apr 05
1
backup-begin
...tency of the backup, but is not necessary. Nor it should have any
> influence on the lifecycle of the VM.
>
>> What could be causing the machine to shut off?
> The VM most likely crashed, or was turned off in a different way.
>
> Try running
>
> virsh domstate --reason $VMNAME
>
> to see what the reason for the current state is.
>
2015 Aug 10
0
managedsave/start causes IRQ and task blocked for more than 120 seconds errors
...ity
-rw-r--r-- 1 root root 0 Aug 10 19:42 smp_affinity_list
-r--r--r-- 1 root root 0 Aug 10 19:42 spurious
dr-xr-xr-x 2 root root 0 Aug 10 19:42 virtio2
$ ls -lA /proc/irq/21/qxl
total 0
$ ls -lA /proc/irq/21/virtio2
total 0
=====
{{{ on host, everything else is on guest }}}
virsh # managedsave <vmname>
Domain servo state saved by libvirt
virsh # start <vmname>
Domain <vmname> started
=====
[ 1117.083236] irq 21: nobody cared (try booting with the "irqpoll" option)
[ 1117.083236] handlers:
[ 1117.083236] [<ffffffffa00cfc60>] qxl_irq_handler [qxl]
[ 1117.083236] [&...
2014 Jul 17
0
NFS FILE ID not unique when exporting many brtfs subvolumes
...onfigured to be highly
available, ensure that the virtual machine is running on some other host before clicking OK.
- vmware try to make its own file locking for flowing file type :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10051
VMNAME.vswp
DISKNAME-flat.vmdk
DISKNAME-ITERATION-delta.vmdk
VMNAME.vmx
VMNAME.vmxf
vmware.log
Is there a way to deal with this problem ? is that a bug ?
thanks for your support, best regards
Philippe Simonet
2012 Feb 11
3
9.0-RELEASE PV from scratch on XCP v1.1.0
...edia/etc/fstab <<EOF
# Device Mountpoint FStype Options Dump Pass#
/dev/xbd0s1a / ufs rw 1 1
EOF
# Start and rc.conf(5) file
# NOTE: You won''t be able to login via SSH until users are added.
cat >>/media/etc/rc.conf <<EOF
hostname="${VMNAME}"
ifconfig_xn0=''dhcp''
sshd_enable=''YES''
EOF
# BUILD Server - Unmount the filesystem, the image is done.
umount /media
mdconfig -d -u 0
===END===
The following section is the script I actually used to create a VM
that is more-or-less realistic as a template...
2019 Nov 30
3
Converting LVM to qcow2
Hi!
I need to convert a KVM virtual machine from LVM to a qcow2 image, and wonder if this is the best way to do it (*1):
[$] qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2
If this is the best way to do this, will this keep the information on: /dev/vg_name/lv_name/ untouched?
Thanks, and please point me towards another mailing list if this it not right
2009 Apr 23
11
Puppet on busybox, Bob Hope or No Hope?
When I say busybox it''s actually VMware ESX server which seems to use
busybox (which I guess is the case a number of other software appliances) .
Reason for wanting to install puppet is to run the cli tools to create
nightly vmware snapshots.
I''m happy to give it a go (and add the docs to the wiki) but I''m not too
sure at this stage how big a task this might be and what,
2016 Nov 30
2
virDomainBlockInfo for local volume
...devices?
2. Does the virDomainBlockInfo return the correct physical size for normal file?
3. Performance wise do we have a difference between virStorageVol.download and virDomain.blockPeek?
Assuming the VMs are down, this is the code I intend to use for all formats:
vm = con.lookupByName(options.vmname)
info = vm.blockInfo(src)
physical = info[2]
off = 0
size = 0
with open(dest, 'w+') as f:
while off < physical:
if (physical - off) < bufsize:
size = physical - off
else:
size = bufsize
buf = vm.blockPeek(src, off, size)
f.w...
2015 Oct 29
0
Re: How to retrieve legacy cgroups location ?
...Control Groups Resource Management" libvirt page :
>Legacy cgroups layout
>Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was located. So if libvirtd was placed at /system/libvirtd.service by systemd, the groups for each virtual machine / container would be located at /system/libvirtd.service/libvirt/{qemu,lxc}/$VMNAME. In addition to this, the QEMU...