Re: [sisuite-users] Problem with partitioning for dual boot

2008-12-15 Thread Ali Nazemian
yeah its on two Hard drive , i have just one , i  know how to build that
with the ordering of first linux then Windows , but i want to found out how
to do that vice versa .
Did u know any method to make some changes in Systemimager in a way that it
doesnt Format Hard drive , its just make partitions in not allocate space...
cheers.

On Tue, Dec 16, 2008 at 4:27 AM, Bernard Li  wrote:

> On Sun, Nov 30, 2008 at 10:53 AM, Ali Nazemian 
> wrote:
>
> > I want to build hybrid cluster network , using OSCAR and Windows hpc pack
> > 2008 , as u know , oscar uses system imager for deploying images to
> compute
> > nodes, how can i change "scsi.disk" for changing default partiotioning
> > method as i want to deploying images on hard drives that have windows hpc
> > server 2008 on first drive?!
> >
> > /dev/sda1 24 ext3 /boot defaults
> > /dev/sda5 128 swap
> > /dev/sda6 * ext3 / defaults
> > nfs_oscar:/home - nfs /home rw
>
> Have you taken a look at this document?
>
> http://svn.oscar.openclustergroup.org/trac/oscar/wiki/TipWindowsAndLinux
>
> Cheers,
>
> Bernard
>
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> sisuite-users mailing list
> sisuite-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>



-- 
A.Nazemian
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] suse 11 + I couldn't identify your kernel file

2008-12-15 Thread J. Bakshi
Bernard Li wrote:

Hello Bernard,

Thanks a lot for your kind guidance.  I'll surely give it a try and
coming back soon with the feedback.
Have a great time.


> Hi Joydeep:
>
> On Fri, Dec 12, 2008 at 2:01 AM, J. Bakshi  wrote:
>
>   
>> I am totally newbie in systemimager. I am supervisibg a remote server
>> running suse 11. To see the potential of system imager I hve installed
>> the client packages in that server namely
>>
>> systemconfigurator-2.2.11-1
>> systemimager-common-4.1.6-1
>> systemimager-client-4.1.6-1
>>
>> To prepare the image I have fiven the command as root
>>
>> # si_prepareclient --server  suse11
>>
>> but after copying  some modules  it produced an error like
>>
>> ~~~
>> I couldn't identify your kernel file.  Please try to use --kernel option
>> `
>>
>> I have then applied the --Kernel option like
>>
>> #  si_prepareclient --server  suse11 --kernel  vmlinuz-2.6.25.11-0.1-default
>>
>> still it  reproduced the same error.
>>
>> Could  any one kindly show me the way to fix it ?
>> 
>
> Try this patch against
> /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm and see if
> this works (please make a backup copy of that file before you apply
> the patch):
>
> Index: UseYourOwnKernel.pm
> ===
> --- UseYourOwnKernel.pm   (revision 4466)
> +++ UseYourOwnKernel.pm   (working copy)
> @@ -460,6 +460,7 @@
>  #   2.4.19-mantis-2002.11.20 (r...@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 (ge...@buildhost) #1 SMP
> 2007/09/21 22:29:00 UTC
> +#   2.6.25.18-0.2-default #1 SMP 2008-10-21
> 16:30:26 +0200 [openSUSE 11.0]
>  #
>  my $regex =
>  #   | kernel version + build machine
> @@ -468,11 +469,11 @@
>  #
>  #   | build date
>  #   `---
> -'(\w{3} \w{3} \d{1,2}|\d{4}\/\d{2}\/\d{2}) '.
> +'(\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})?';
> +'\d{2}:\d{2}:\d{2} [\w{3,4}( \d{4})?|+\d{4}]';
>  while() {
> # extract the `uname -r` string from the kernel file
> if(m/$regex/o) {
>
> Patch is also available here in case the inline patch does not work:
>
> http://therealms.org/oss/systemimager/UseYourOwnKernel.pm.patch
>
> I have tested the code with openSUSE 11.0 and that seems to work fine.
>
> Cheers,
>
> Bernard
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> sisuite-users mailing list
> sisuite-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>
>   


-- 
~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


[sisuite-users] AUTO: Sachio Iwamoto/Markham/IBM is out of the office. (returning 05/01/2009)

2008-12-15 Thread Sachio Iwamoto


I am out of the office until 05/01/2009.




Note: This is an automated response to your message  "?sisuite-users
Digest, Vol 31, Issue 7" sent on 12/15/08 19:34:41.

This is the only notification you will receive while this person is away.--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Booting from a CD written using si_mkautoinstallcd

2008-12-15 Thread Bernard Li
Hi Mark:

On Fri, Dec 12, 2008 at 7:18 AM, Mark Hewitt  wrote:

>> I'm afraid I'm not familiar enough with the options as to how to make
>> the boot process on a standard configuration do anything other than its
>> default behaviour. Which it prints
>> Using DHCP server (very deprecated) IMAGESERVER  172.16.194.254
>>
>> That IP address is not anything to do with here as far as I can tell.

It looks like there is a DHCP server already existing in the network
your server is plugged into.  You need to fix that...

> "If you want to install an image and are not deploying based on IP
> addresses, you can specify parameters at the boot prompt. For example,
> using kernel IMAGESERVER=192.168.0.1 IMAGENAME=bob at the boot CD prompt
> will deploy the image bob from the server at 192.168.0.1 to the client
> machine"
>
>
> How can I specify these parameters? As whenever I boot from the CD it
> immediately bypasses the boot prompt and starts doing its own thing?

`man si_mkautoinstallcd` and look for the '-append' option.

Cheers,

Bernard

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Problem with partitioning for dual boot

2008-12-15 Thread Bernard Li
On Sun, Nov 30, 2008 at 10:53 AM, Ali Nazemian  wrote:

> I want to build hybrid cluster network , using OSCAR and Windows hpc pack
> 2008 , as u know , oscar uses system imager for deploying images to compute
> nodes, how can i change "scsi.disk" for changing default partiotioning
> method as i want to deploying images on hard drives that have windows hpc
> server 2008 on first drive?!
>
> /dev/sda1 24 ext3 /boot defaults
> /dev/sda5 128 swap
> /dev/sda6 * ext3 / defaults
> nfs_oscar:/home - nfs /home rw

Have you taken a look at this document?

http://svn.oscar.openclustergroup.org/trac/oscar/wiki/TipWindowsAndLinux

Cheers,

Bernard

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] SystemImager and creating a VMware VM

2008-12-15 Thread Bernard Li
Hi Dimitri:

On Fri, Dec 12, 2008 at 12:46 PM, Dimitri Yioulos
 wrote:

> I'm new to SystemImager. Installation on my CentOS 5.2 image server and CentOS
> golden client went fine.  Creation of the golden client image went without
> error, as did the creation of a boot CD.  Id like to create a VMware Server
> virtual machine from the image I created.  After creating the VM (trying
> Guest Operating System type "Other Linux 2.6.x kernel"and Other Linux"), when
> I try to install from the boot CD, I get the following error:
>
> ISOLINUX 3.72 2008-09-25 ETCD Copyright (C) 1994-2008 H. Peter Anvin
> Unknown keyword in configuration file: f
> Unknown keyword in configuration file: BOOT.CAT:1
> Could not find kernel image: linux
> boot:
>
> Can I create a VMware VM from SystemImager?  Via a SystemImager CD?  Do I have
> to create the CD in a special way?

Have you tried booting the CD outside of VMware (i.e. from bare metal)
and see if it gives you the same error?

Cheers,

Bernard

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] suse 11 + I couldn't identify your kernel file

2008-12-15 Thread Bernard Li
Hi Joydeep:

On Fri, Dec 12, 2008 at 2:01 AM, J. Bakshi  wrote:

> I am totally newbie in systemimager. I am supervisibg a remote server
> running suse 11. To see the potential of system imager I hve installed
> the client packages in that server namely
>
> systemconfigurator-2.2.11-1
> systemimager-common-4.1.6-1
> systemimager-client-4.1.6-1
>
> To prepare the image I have fiven the command as root
>
> # si_prepareclient --server  suse11
>
> but after copying  some modules  it produced an error like
>
> ~~~
> I couldn't identify your kernel file.  Please try to use --kernel option
> `
>
> I have then applied the --Kernel option like
>
> #  si_prepareclient --server  suse11 --kernel  vmlinuz-2.6.25.11-0.1-default
>
> still it  reproduced the same error.
>
> Could  any one kindly show me the way to fix it ?

Try this patch against
/usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm and see if
this works (please make a backup copy of that file before you apply
the patch):

Index: UseYourOwnKernel.pm
===
--- UseYourOwnKernel.pm (revision 4466)
+++ UseYourOwnKernel.pm (working copy)
@@ -460,6 +460,7 @@
 #   2.4.19-mantis-2002.11.20 (r...@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 (ge...@buildhost) #1 SMP
2007/09/21 22:29:00 UTC
+#   2.6.25.18-0.2-default #1 SMP 2008-10-21
16:30:26 +0200 [openSUSE 11.0]
 #
 my $regex =
 #   | kernel version + build machine
@@ -468,11 +469,11 @@
 #
 #   | build date
 #   `---
-'(\w{3} \w{3} \d{1,2}|\d{4}\/\d{2}\/\d{2}) '.
+'(\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})?';
+'\d{2}:\d{2}:\d{2} [\w{3,4}( \d{4})?|+\d{4}]';
 while() {
# extract the `uname -r` string from the kernel file
if(m/$regex/o) {

Patch is also available here in case the inline patch does not work:

http://therealms.org/oss/systemimager/UseYourOwnKernel.pm.patch

I have tested the code with openSUSE 11.0 and that seems to work fine.

Cheers,

Bernard

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] sisuite-users Digest, Vol 31, Issue 4

2008-12-15 Thread Bernard Li
Hi Adam:

On Sun, Dec 14, 2008 at 7:13 PM, Adam LaMee  wrote:

> Bernard, thanks for the reply.  I just reinstalled the server and new
> systemimager 4.0.2 installed (the error message has been corrected, thanks
> again).  si_mkbootserver is still stopping at the same point: in.tftpd not
> found.  Ports are open on the client and I am able to do a standard network

Do you have 'tftp' in your path?  If not, you need to install that.

Cheers,

Bernard

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Problem with SI 4.0.2 and a SLES 8 client image

2008-12-15 Thread Drew Wrobel

I believe part of the problem has to do with what the kernel believes the disk 
geometry is.

With the 2.4 kernel, the disk geometry comes back as the following:

root# cat /proc/ide/hda/geometry 
physical 77545/16/63
logical  4865/255/63

With the 2.6 kernel, the disk geometry comes back as the following:

root# cat /proc/ide/hda/geometry 
physical 16383/16/63
logical  65535/16/63

After re-imaging the client with SI 4.0.2 ( which is a 2.6 ) kernel, I'm now 
getting errors
from parted after the disk geometry.

I tried to make the hda2 partition smaller, but still getting the same problem 
of / being
reported as only having about 130MB of space used.

Oh, I have found that when I hit 200MB of space used, even though I have plenty 
of space
left free, I get out of space errors when I try to create any new files or 
directories.

I tried to modify the boel_binaries tarball from SI 4.0.2 to include an older 
version of parted,
and any necessary libraries, from a running SLES 8 system to see if I could use 
the older 
version of parted to get around the problem.  No dice.

Any thoughs/ideas??

From: phoenix1...@hotmail.com
To: sisuite-users@lists.sourceforge.net
Date: Fri, 12 Dec 2008 11:52:13 -0500
Subject: Re: [sisuite-users] Problem with SI 4.0.2 and a SLES 8 client image








> Date: Thu, 11 Dec 2008 22:38:31 -0800
> From: bern...@vanhpc.org
> To: sisuite-users@lists.sourceforge.net
> Subject: Re: [sisuite-users] Problem with SI 4.0.2 and a SLES 8 client image
> 
> Hi Drew:
> 
> On Thu, Dec 4, 2008 at 11:59 AM, Drew Wrobel  wrote:
> 
> >   But when the client reboots, the / partition does not report the correct 
> > size.
> 
> Can you please elaborate on this point?

The client, when re-imaged should be using about 800MB of space.  But on 
re-image and reboot,
the client status that only 134MB of space is being used under /, but yet all 
800MB of data is there.

It's interesting that the 134MB of space being report is the size of the swap 
partition, /dev/hda1.


The following is the df, du and partition table output for the client after 
re-imaging and rebooting.

root# df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hda2 38338176134384  36256300   1% /
shmfs   255904 0255904   0% /dev/shm

root# du -sk /
768167  /

root# parted /dev/hda print
Warning: Unable to align partition properly.  This probably means that another 
partitioning tool generated an incorrect partition table, because it didn't 
have the correct BIOS
geometry.  It is safe to ignore,but ignoring may cause (fixable) problems with 
some boot loaders.
Ignore/Cancel? ignore 
Disk geometry for /dev/hda: 0.000-38166.679 megabytes
Disk label type: msdos
MinorStart   End Type  Filesystem  Flags
1  0.000129.700  primary   linux-swap  type=82
2129.700  38166.679  primary   ext3type=83
Information: Don't forget to update /etc/fstab, if necessary.   


The OS states that there is 36GB of space free.  But if I attempt to apply 
various OS and application fixes,
at some point I start getting out of space messages.

If I try to remount /dev/hda2 on /mnt, it still reports the 134MB space being 
used.

Not sure what else I can do, other then going back to an older version of SI.

My only problem is that part of the reason I went with 4.0.2, aside from being 
the latest stable version,
is that it includes support for the natsemi network card and handles long 
network runs.

We had to create a custom boel_binaries tarball for the older version of SI we 
are running to work with
out systems.  Only problem is that it doesn't have the necessary support for 
the long network runs.


> >   Would I be wrong in guessing that my problem is that a partition table 
> > created
> > under a 2.6 kernel is formatted differently so that a 2.4 kernel doesn't
> > read it properly?
> 
> I am thinking it is because the parted that came with SystemImager
> 4.0.2 created partitions which confused the 2.4 kernel.
> 
> I wonder if there are some compatibility flags that could be passed to
> parted that can create partitions that does not cause problems for the
> 2.4. kernel -- also, have you tried updating the 2.4 kernel to the
> latest version available?

  Yes I have updated the kernel to the latest version supported by the product.

> 
> Cheers,
> 
> Bernard
> 
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> sisuite-users mailing list
> sisuite-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/