I'm using systemimager on a couple Gentoo opteron clusters.

Here are some of my (mostly unedited) notes from the initial install.  Perhaps they will be somewhat helpful.

## beginning of notes ##

. installed tftp-hpa:
# emerge tftp-hpa
# mkdir /tftproot   # this is the default in /etc/conf.d/in.tftpd
 . when the time comes, the init script for tftpd is /etc/init.d/in.tftpd

. downloaded systemimager-3.5.3 source
 . unpacked it in /root/systemimager-3.5.3

. built
# cd /root/systemimager-3.5.3
# make
# make install_server_all

. edited /etc/systemimager/systemimager.conf to store images in
'/share/systemimager/images'

. unpacked systemimager to /share/systemimager-3.5.3
. logged onto m00 and built client
m00 # cd /share/systemimager-3.5.3
m00 # make install_client_all

. I should have done the initial build from /share/systemimager-3.5.3; then
I could have done 'make install_server_all' on the server and 'make
install_client_all' on m00, without rebuilding everything.

. ran si_prepareclient on m00
m00 # si_prepareclient

. failed because systemconfigurator is not installed, so installing
systemconfigurator
m00 # echo "app-admin/systemconfigurator x86" >> /etc/portage/package.keywords
m00 # emerge -vp systemconfigurator
m00 # emerge systemconfigurator
m00 # si_prepareclient --server mini

. run si_mkdhcpserver
 . first, backup /etc/dhcp/dhcpd.conf to /root/dhcpd.conf.bak
 . second, install systemconfigurator on mini
mini # echo "app-admin/systemconfigurator x86" >> /etc/portage/package.keywords
mini # emerge -vp systemconfigurator
mini # emerge systemconfigurator
 . run si_mkdhcpserver
mini # si_mkdhcpserver

. pull an image
mini # emerge dev-perl/XML-Simple  # needed by si_getimage
mini # si_getimage -golden-client m00 -image gentoo_0. For IP Address Assignment, I selected option (1) DHCP.  Perhaps I should
have chosen (3) REPLICANT, which leaves network settings alone.  I don't
know what these choices entail.  According to the man page, I may just now
need to run 'si_mkdhcpstatic'.
. The next thing to do is apparently 'si_addclients'.
mini # si_addclients

. next, run si_mkdhcpstatic to recreate our static ip addresses that we have
already determined. (had to fix a bug in /usr/sbin/si_mkdhcpstatic)
mini # si_mkdhcpstatic
 . can't figure this one out - skipping
. 'si_mkbootserver' sets up the boot server for doing pxeboot.  It uses
tftpd, which we already have installed, and pxelinux, which is part of the
syslinux package.  Grub also has a 'netboot' use flag.  Should we be using
this?

. first, I'll install grub with the 'netboot' use flag to see what that
gives me.
mini # echo "sys-boot/grub netboot" >> /etc/portage/package.use
mini # emerge grub
m00 # echo "sys-boot/grub netboot" >> /etc/portage/package.use
m00 # emerge grub

. next, lets install syslinux just to see what that gives us
mini # emerge syslinux

. next, try si_mkbootserver
 . requires xinetd, so lets install it
mini # emerge xinetd
mini # /etc/init.d/xinetd start
mini # rc-update add xinetd default
mini # echo "in.tftpd: 127.0.0.1" >> /etc/hosts.allow
. modified /etc/xinetd.conf:
 only_from      = localhost 127.0.0.1 192.168.1.0
. si_mkbootserver does not work fully, so setting up the pxe environment by
hand
  . there is a systemimager-on-amd64 howto on the sisuite-users mailinglist.
   . I am basically following this howto.
    . the howto claims there is a bug with using GRUB, and lilo should be
    used instead.  I'll wait and see.

. have yet to test pxeboot for imaging a client

. to update a client with si_updateclient:
mini # /etc/init.d/systemimager-server-rsyncd start
node # si_updateclient -server mini -image <IMAGENAME>

## end of notes

Later, when I installed on the second cluster I used pxeboot.
It took a bit of trial and error, and issues with grub, but I got
it to work after much manual labor and tweeking of the
systemimager install script.

-bryan

On 11/15/05, John Jolet <[EMAIL PROTECTED]> wrote:
On Tuesday 15 November 2005 12:18, eric pretorious wrote:
> Has anyone successfully installed SI on Gentoo? I'm trying to install
> from source (v. 3.4.1) using `make all` and am getting errors
> complaining about "msdos_boot_sector":
>
>   mkdosfs.c:###: error: invalid use of undefined type 'struct
> msdos_boot_sector'
>
> FWIW:
> 1. msdos  support is compiled as a kernel module into the system's
>    2.6.11 kernel.
> 2. The module is loaded.
> 3. IDE/ATA FLOPPY support is NOT compiled into the kernel or as a
>    module.
>
> Eric P.
> Sunnyvale, CA
>
I'm using 3.5.3 on 64-bit gentoo on amd opteron.  lots of issue compiling, but
I managed to get it to go.  had to modify the make files to eliminate the
docs, and some packages it  tries to install that I had to get via emerge.
One of them was the dos utilities.....
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Sisuite-users mailing list
> Sisuite-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-users

--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]


Reply via email to