Re: [sisuite-users] Getting SU 4.1.6 si_prepareclient to work on SLES 11 SP1 64-bit

2011-06-09 Thread Drew Wrobel

sorry for the delay in getting back to this...

After installing the latest 4.2.0 development snapshot, was able to run 
si_prepareclient and si_getimage without any problems.

I am however now having a different problem.

I didn't see what the error message was, but when I imaged a server using the 
new image, it reboots and comes up to a blank screen.

I'm going to try and get the error that systemconfigurator is giving.

Not sure if it will help, but I have a server, that I have the 4.2.0 version 
installed, that I tried to execute si_updateclient and failed.

Here are the RPM's that are installed and the error:

rpm -qa | grep systemimager
systemimager-i386initrd_template-4.1.99.svn4556_bli-1
systemimager-x86_64initrd_template-4.1.99.svn4556_bli-1
systemimager-client-4.1.99.svn4556_bli-1
systemimager-common-4.1.99.svn4556_bli-1

si_updateclient --server str7970sa  --autoinstall --flavor vmhost_sles11-64 
--configure-from eth0
.
.
.
Using System Configurator to set boot configuration...ROOTDEV /dev/ram under 
[BOOT] does not exist, please check your systemconfigurator config
systemconfigurator command to configure autoinstall boot failed! at 
/usr/sbin/si_updateclient line 436


Here is the contents of the systemconfig/systemconfig.conf:
[BOOT]
ROOTDEV = /dev/mapper/system-root
BOOTDEV = /dev/sda
DEFAULTBOOT = systemimager

[KERNEL0]
LABEL = systemimager
PATH = /boot/kernel.systemimager
INITRD = /boot/initrd-2.6.32.36-0.5-default-kdump
APPEND =  crashkernel=256M-:128M resume=/dev/sda1 splash=silent vga=0x317


Drew
  
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


[sisuite-users] Getting SU 4.1.6 si_prepareclient to work on SLES 11 SP1 64-bit

2011-05-20 Thread Drew Wrobel

Been using SI since 3.2..been very happy with it.  Gotten a bit creative 
with the master scripts for helping to automate and do some custom changes
to the golden client image when the hardware has change but the golden client 
image is still usable.

Starting to build systems running 64-bit..specifically SLES 11 SP1 64-bit

si_prepareclient files to run properly becasuse systemconfigurator is unable to 
determine the kernel.

I checked the mailing list and I found something that had written a patch for 
the UseYourOwnKernel.pm that I applied.  Still doesn't work.

What information do I need to provide to help build against SLES 11 SP1 64-bit??




Here are the RPM's that are installed on the golden-client:

systemconfigurator-2.2.11-1
systemimager-common-4.1.6-1
systemimager-i386initrd_template-4.1.6-1
systemimager-x86_64initrd_template-4.1.6-1
systemimager-client-4.1.6-1


uname -a returns the following:

Linux newserverbuild 2.6.32.36-0.5-default #1 SMP 2011-04-14 10:12:31 +0200 
x86_64 x86_64 x86_64 GNU/Linux


Here is the patch that I found on the message board and tried to use:

*** /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.orig    Mon Mar 
24 07:11:44 2008
--- /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.new Fri May 
13 10:28:15 2011
***
*** 365,370 
--- 365,376 
  #
  # eliminate message
  if( $filename =~ m/^message/ ) { return undef; }
+ #
+ # eliminate symbol files
+ if( $filename =~ m/^sym/ ) { return undef; }
+ #
+ # eliminate backup_mbr
+ if( $filename =~ m/^backup_mbr/ ) { return undef; }
  
  #
  # Get output from file for elimination by identification tests
***
*** 460,478 
  #   2.4.19-mantis-2002.11.20 (root@mantis) #6 Tue Nov 19 
15:15:43 CST 2002
  #   2.6.7-1-686 (dilin...@toaster.hq.voxel.net) #1 Thu 
Jul 8 05:36:53 EDT 2004
  #   2.6.22.5-31-default (geeko@buildhost) #1 SMP 
2007/09/21 22:29:00 UTC
  #
  my $regex =
  #   | kernel version + build machine
  #   `---
! '(2\.[46]\.\d[^\/]*?) \(.*@.*\) [#]\d+.*' .
  #
  #   | build date
  #   `---
! '(\w{3} \w{3} \d{1,2}|\d{4}\/\d{2}\/\d{2}) '.
  #
  #   | build time
  #   `---
! '\d{2}:\d{2}:\d{2} \w{3,4}( \d{4})?';
  while(IN) {
 # extract the `uname -r` string from the kernel file
 if(m/$regex/o) {
--- 466,485 
  #   2.4.19-mantis-2002.11.20 (root@mantis) #6 Tue Nov 19 
15:15:43 CST 2002
  #   2.6.7-1-686 (dilin...@toaster.hq.voxel.net) #1 Thu 
Jul 8 05:36:53 EDT 2004
  #   2.6.22.5-31-default (geeko@buildhost) #1 SMP 
2007/09/21 22:29:00 UTC
+ #   2.6.27.29-0.1-default (geeko@buildhost) #1 SMP 
2009-08-15 17:53:59 +0200
  #
  my $regex =
  #   | kernel version + build machine
  #   `---
! '(2[.][46][.][[:digit:]][^\/]*?) [(]...@.*[)] 
[#][[:digit:]]+.*' .
  #
  #   | build date
  #   `---
! '(\w{3} \w{3} 
[[:digit:]]{1,2}|[[:digit:]]{4}[/-][[:digit:]]{2}[/-][[:digit:]]{2}) '.
  #
  #   | build time
  #   `---
! '[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2} 
(\w{3,4}|[+-][[:digit:]]{4})?( [[:digit:]]{4})?';
  while(IN) {
 # extract the `uname -r` string from the kernel file
 if(m/$regex/o) {
  
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Getting SU 4.1.6 si_prepareclient to work on SLES 11 SP1 64-bit

2011-05-20 Thread Bernard Li
Hi Drew:

On Fri, May 20, 2011 at 8:26 AM, Drew Wrobel phoenix1...@hotmail.com wrote:

 What information do I need to provide to help build against SLES 11 SP1 
 64-bit??

You can try this patch:

http://trac.systemimager.org/changeset/4537

This is included in the 4.2.0 development snapshot:

http://www.mail-archive.com/sisuite-users@lists.sourceforge.net/msg05393.html

Please try it out and let us know if it works.

Cheers,

Bernard

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users