search for: autostart

Displaying 20 results from an estimated 453 matches for "autostart".

2010 Aug 27
1
Unable to autostart storage pool.
.../path> <permissions> <mode>0700</mode> <owner>0</owner> <group>0</group> </permissions> </target> </pool> The command succeeds and a pool is created - # virsh pool-list --all Name State Autostart ----------------------------------------- my-diskpool active no When I try to set it up for autostart, I get - # virsh pool-autostart my-diskpool error: failed to mark pool my-diskpool as autostarted error: invalid argument in pool has no config file Why is it failing to autostart?...
2009 Nov 13
0
virsh autostart: cannot set autostart for transient domain
Hello all, I'm running a newly installed CentOS 5.4 KVM host and am running into problems setting guests up to autostart. Has anyone seen and/or overcome this issue? [root at virt04 ~]# virsh autostart guest02 error: Failed to mark domain guest02 as autostarted error: internal error cannot set autostart for transient domain Just for kicks I tried symlinking /etc/libvirt/guest02.xml and /etc/libvirt/autostart/guest...
2012 Mar 01
1
Booting virtual machines automatically
Hello, I am managing several virtual machines (a predefined set) with virsh, and I would like to make sure that all VMs are booted when the host reboots. What is the recommended approach for this? Thanks, Daniel Gonzalez -------------- next part -------------- An HTML attachment was scrubbed... URL:
2017 Jan 17
1
gluster store and autostart - but fails
hi all I've a few guest which work/run perfectly fine, I believe, except for autostart. Configuration of system, gluster and libvirt is pretty regular and not complex. Errors I see: ... failed to initialize gluster connection (src=0x7f9424266350 priv=0x7f94242922b0): Transport endpoint is internal error: Failed to autostart VM 'rhel-work2': failed to initialize gluster con...
2006 Aug 07
2
Autostarting and job keys...
I''ve now got 5 processes auto started. But I when I query the MiddleMan for their keys (in script/console), it doesn''t find them. Looking at the start script, it looks like it might be creating a new MiddleMan object for each autostart BackgrounDRb::MiddleMan.new.new_worker(:class => entry[''class''], Even changing it to BackgrounDRb::MiddleMan.new_worker(:class => entry[''class''], didn''t seem to take care of it. I even tried to create a single MiddleMan and pass tha...
2015 Oct 10
1
Re: qemu:///session and network-mounted home directories
...https://libvirt.org/locking.html > > It requires running a separate daemon though so isn't trivial, and I have no > idea if it can be made to work with qemu:///session. Hmm, but what do you mean by shared VMs here? Just shared disk images, or also shared configuration, or also marked autostart on multiple hosts? It seems like there are two closely related problems here: 1. For some shared VM and host, should we start that VM on that host? 2. Preventing VMs from running on multiple hosts at the same time Problem 2 is definitely solved pretty well by libvirt's locking support; even i...
2016 May 06
0
After restart, user's gnome autostart seems broken
Hello there, CentOS6.7 64-bit up-to-date running on my laptop.. This night I had to restart (did it properly). Since then, my ~/.config/autostart/ contains some new broken .desktop files and /var/log/messages complains: gnome-session[7280]: WARNING: Could not parse desktop file /home/wwp/.config/autostart/gnome-keyring-daemon.desktop: Key file does not have key 'Name' gnome-session[7280]: WARNING: could not read /home/wwp/.config/au...
2018 Dec 14
2
Re: "virsh list --all" is intermittently causing a shutdown client to boot?
Autostart is set to "enable" for this domain, but I wouldn't expect autostart to be invoked when a simple "read-only" command is run.  I'd expect the "list --all" command to only display details about the domain...not change the status of the domain by booting it.  Maybe...
2015 Dec 06
2
Destroy autostarted network on shutdown
...st ran into problem properly stopping a network. I have defined a network and network hook script to accomplish some preparations and cleanup. Testing my configuration (virsh net-start and virsh net-destroy) was successfully. Now I wanted to automate the lifecycle. Unfortunately I realized that an autostarted network has to be persistent and thus will not be destroyed (even if the host gets shutdown). As it won't be destroyed, my cleanup doesn't get executed and I run into trouble. What would be the preferred way to implement an autostarting and autostopping network? Thanks, Jan
2015 Oct 10
2
qemu:///session and network-mounted home directories
...directory is network mounted on to several different machines. And suppose I defined some VMs in qemu:///session. The configuration files and disk images for qemu:///session are stored in my home directory. Now suppose I log in to some machine and use virsh. The qemu:///session VMs that are marked autostart are started. Now if I log into another machine and use virsh, it will presumably try to start my autostart VMs again, since the same configuration is present in both homedirs. Is there anything libvirt does that might prevent it from starting the same VM multiple times on different machines? Or mi...
2010 Mar 17
1
Pool, iSCSI and guest start
...6-4992c7f05-39c000000114b8fc-vglog"/> </source> <target> <path>/dev/disk/by-path</path> </target> </pool> This pool start smoothly (when open-iscsi started), no problems. An entry is created in /dev/disk/by-path/ related to iscsi target. 2) I flagged it autostart : root at sandi:~# virsh pool-autostart equalog Pool equalog marked as autostarted root at sandi:~# virsh pool-list Name State Autostart - ----------------------------------------- equalog active yes 3) In my guest VM, I have following section : <dis...
2007 Oct 29
1
compiz autostart with AIGLX
I have a feeling my no autostart problem is related to the following tests in compiz-manager. Is there a way I can "step" through the script on openSuSE 10.3 while it is running to find out where the script dies? Or do I basically have to insert error returns throughout the script to capture that info? ---- # if we run...
2017 Mar 20
2
libvirt-guests and time sync on autostart vms
I have a host running a few guests all configured to autostart. I'm also using libvirt-guests to suspend the guests when the host restarts or shuts down When the host comes back up I see a bunch of log messages - Resuming guest vm01 already active Resuming guest vm02 already active I guess this is because libvirt autostarts the guests when it starts and...
2015 Dec 07
2
Re: Destroy autostarted network on shutdown
> autostarting (and autostopping) based on what event? Based on start/shutdown of the host or starting/stopping libvirtd. I just wrote a script to start with systemd but as there is that autostart functionality in libvirtd this might not be the best solution. Regards, Jan
2007 Apr 04
0
autostart
Hi, Does backgroundrb 0.2.1 support autostart? I''ve tried to set up autostart by adding something like the following in backgroundrb.yml: autostart: 1: class: bar_worker args: '''' However, that does not seem to work. I also tried the scheduling mechanism like this in backgroundrb_schedules.yml:...
2006 Jul 31
1
[PATCH-SUGGESTION] autostarting workers
Hi there, as i stated before in my talk with Ben Johnson, I hacked a little bit and here it is - autostarting jobs. I think someone (eh... Ezra) should review it and check to see if i made any mistakes. Also i dont have the possibility to test it on other-than-Windows systems, but since the calling process works just the same, it should do well... Now the neccesary evil, the documentation... If you want...
2010 Jan 17
2
error: failed to serialize S-Expr
Last night I upgraded from b127 to b130 and now I can''t mark autostart domains: # virsh autostart lunar-1 error: Failed to mark domain lunar-1 as autostarted error: failed to serialize S-Expr: (domain (on_crash restart) (uuid 91c21040-2098-bc0d-b401-3908f3a21667) (bootloader_args) (vcpus 1) (name lunar-1) (on_poweroff destroy) (on_reboot restart) (cpus ( Searching...
2011 Jan 04
1
autostarting storage pool
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone, How do I make storage pool auto start? I have: virsh # pool-list Name State Autostart - ----------------------------------------- default active yes virtimages active no I don't see anything in pool's xml that could suit this purpose: virsh # pool-dumpxml virtimages <pool type='dir'> <name>virtimages</name> <...
2005 Feb 15
3
Autostart Asterisk on Slackware?
Maybe trivial question, but I cannot find an answer: How to autostart Asterisk (daemon) on Slackware 10? I know that I should put something in /etc/rc.d, but what?
2008 May 22
1
Preferred DomU creation method
All, Is there a preferred method for creating a domain today; in other words, virt-install, xm create, etc.? I have one machine that the domains were created by another admin using xm create, and I /do/ like the config options for autostarting, etc. For some reason, I used virt-install on the current machine, and ended up with domains named and placed in /var/lib/xend/domains/{hash}/config.sxp I can''t turn on the autostart feature for that domain using virsh autostart domain, but was able to get the domain to autostart u...