libvirt guests graceful shutdown upon hosts powerdown/reboot

2014-10-22 Thread lejeczek

hi everybody

by an assumption I expected VM guests to be shut down/off 
gracefully when the host is being powered down or rebooted, 
but this does not seem to be the case so I wonder..

Am I missing some libvirt components/packages ?
Or my assumption is incorrect and guests have to be shutdown 
manually?

it's all SL 7 and guest are M$

regards
P.


Re: libvirt guests graceful shutdown upon hosts powerdown/reboot

2014-10-22 Thread Karel Lang AFD

Hi,
IMHO, the libvirt-guests init script which is part of libvirt-client rpm 
package should take care of suspending the guests upon shutdown procedure?



--
*Karel Lang*

On 10/22/2014 11:58 AM, lejeczek wrote:

hi everybody

by an assumption I expected VM guests to be shut down/off gracefully
when the host is being powered down or rebooted, but this does not seem
to be the case so I wonder..
Am I missing some libvirt components/packages ?
Or my assumption is incorrect and guests have to be shutdown manually?
it's all SL 7 and guest are M$

regards
P.




--
*Karel Lang*


RE: libvirt guests graceful shutdown upon hosts powerdown/reboot

2014-10-22 Thread Bill Maidment
Hi
In SL6 /etc/sysconfig/libvirt-guets defaulted to suspend the guests, so I 
changed it to shutdown guets with:
ON_BOOT=ignore
ON_SHUTDOWN=shutdown
PARALLEL_SHUTDOWN=6
SHUTDOWN_TIMEOUT=90

It looks like SL7 has the same settings, but I haven't tried them yet.

Regards
Bill Maidment 
 
-Original message-
 From:Karel Lang AFD l...@afd.cz
 Sent: Wednesday 22nd October 2014 21:11
 To: lejeczek pelj...@yahoo.co.uk; scientific-linux-users@fnal.gov
 Subject: Re: libvirt guests graceful shutdown upon hosts powerdown/reboot
 
 Hi,
 IMHO, the libvirt-guests init script which is part of libvirt-client rpm 
 package should take care of suspending the guests upon shutdown procedure?
 
 
 -- 
 *Karel Lang*
 
 On 10/22/2014 11:58 AM, lejeczek wrote:
  hi everybody
 
  by an assumption I expected VM guests to be shut down/off gracefully
  when the host is being powered down or rebooted, but this does not seem
  to be the case so I wonder..
  Am I missing some libvirt components/packages ?
  Or my assumption is incorrect and guests have to be shutdown manually?
  it's all SL 7 and guest are M$
 
  regards
  P.
 
 
 
 -- 
 *Karel Lang*
 
 


kickstart packages question

2014-10-22 Thread Stephen Berg (Contractor)

Trying to figure out how to set up a kickstart %packages section for SL7.

If I put in a group to be installed that includes a package I don't want 
to install what's the proper way to set that up?


My tests so far haven't revealed a good solution.  It seems like if I 
specify a group, but them exclude a package that is in that group the 
whole group gets excluded.


For instance, I want @gnome-desktop-environment to be installed it will 
pull in the @internet-browser group which includes firefox.  I don't 
want the firefox package to be installed.  I added -firefox so it 
would be excluded but the test I did seemed to have excluded 
@gnome-desktop-environment.


How do I get the desktop without the firefox package.  I suppose I could 
figure out all the different packages I want and include them by package 
name instead of the group but that seems like a lot of extra work in the 
kickstart.


--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
stephen.berg@nrlssc.navy.mil


Re: kickstart packages question

2014-10-22 Thread Patrick J. LoPresti
On Wed, Oct 22, 2014 at 8:00 AM, Stephen Berg (Contractor)
stephen.berg@nrlssc.navy.mil wrote:

 If I put in a group to be installed that includes a package I don't want to
 install what's the proper way to set that up?

Not sure about proper, but I have found that -Package in the
%packages section rarely does what I want. So I just remove unwanted
stuff in the %post section like so:

rpm -e Package

or

yum --disablerepo=\* --assumeyes remove Package

The former will fail if Package is required by something else
installed on the system. The latter will remove Package and everything
that requires it, recursively.

 - Pat


kickstart to install to whole disk

2014-10-22 Thread Steven Haigh
Hi all,

I'm wondering - I'm looking to simplify my Xen DomU installation via a
kickstart file...

As my Xen config has /dev/xvda - which should be formatted as ext4 and
used as / - is there any options that I can achieve this?

Just about everything I've stumbled across does partitioning first - and
not the entire disk. Without supplying a kickstart file, the installer
will bail saying no disks found.

It's been this way for MANY years, but I heard rumours of a magical
kickstart option - but I can't seem to find it...

-- 
Steven Haigh

Email: net...@crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897



signature.asc
Description: OpenPGP digital signature