Discussion:
[Sisuite-devel] client restore fails on hotplug even with my modules
Greg Adair
2009-03-05 23:16:49 UTC
Permalink
I'm trying to do an HP DL580 G4 restore and it kernel panics when loading
hotplug. Anyone know how to narrow this issue down?

Thanks in advance to any help you can offer.
-Greg
Greg Adair
2009-03-09 20:09:57 UTC
Permalink
I've been digging around trying to solve this hotplug issue. I've noticed
that systemimager uses its own hotplug scripts:
/usr/share/systemimager/boot/x86_64/standard/initrd_template/etc/hotplug/

I've also noticed that when using UYOK the initrd that gets created uses
these same hotplug scripts even though my own kernel and modules are part of
the ISO.

Should this be happening? I would think that it would pull the hotplug
scripts from the golden client image and not from the template when
specifying UYOK.

Thoughts?
Brian Elliott Finley
2009-03-09 20:53:20 UTC
Permalink
That's an interesting idea, Greg. Can you gove it a try? Just copy in your client's hotplug scripts to the template, instead of the SystemImager provided ones.

Then get an image, and see how it works.


--
Brian Elliott Finley
Mobile: 630.631.6621


-----Original Message-----
From: Greg Adair <***@gmail.com>

Date: Mon, 9 Mar 2009 16:09:57
To: <sisuite-***@lists.sourceforge.net>
Subject: [Sisuite-devel] client restore fails on hotplug even with my modules
Greg Adair
2009-03-11 16:49:15 UTC
Permalink
This worked for us. On the client I removed
/usr/share/systemimager/boot/x86_64/standard/initrd_template/hotplug and
/usr/share/systemimager/boot/x86_64/standard/initrd_template/hotplug.d and
copied /etc/hotplug and /etc/hotplug.d to
/usr/share/systemimager/boot/x86_64/standard/initrd_template. This got us
past the kernel panic.

Can I propose that this be the action that si_prepareclient takes when being
executed with "--my-modules". Instead of having to overwrite the template
directories on every server it would best if it just copied the hotplug
directories into the initrd that gets created when --my-modules is called.

To help your understanding. We are using system imager on our servers as a
rapid recovery tool. We create an image prior to patching so that we can
quickly recover the root disk if something goes wrong. In the Solaris world
this is how we used "flar". This has created some challenges for us. One
in particular is that we only want the root disk rsync'd. This means we
have to mess with the autoinstallscript.conf and mounted_filesystems after
we run si_prepareclient so that the master file that gets created does not
try to recreate volume groups stored on the SAN. In addition we are using
UYOK.

We'd like to expand on system imagers use as well. We recently started to
investigate some of the cloning opportunities but are having issues with the
static flag. It seems to create an improper grub.conf file when we use that
flag. This results in an infinite reboot.

Appreciate your response. We are very happy that you've created this tool
and hope it has long term success.

On Mon, Mar 9, 2009 at 4:53 PM, Brian Elliott Finley
Post by Brian Elliott Finley
That's an interesting idea, Greg. Can you gove it a try? Just copy in your
client's hotplug scripts to the template, instead of the SystemImager
provided ones.
Then get an image, and see how it works.
--
Brian Elliott Finley
Mobile: 630.631.6621
-----Original Message-----
Date: Mon, 9 Mar 2009 16:09:57
Subject: [Sisuite-devel] client restore fails on hotplug even with my modules
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
SFAD
http://p.sf.net/sfu/XcvMzF8H
Loading...