Hi.

Thanks a lot for the explanation, I will test this approach and report
if there are any issues.

Regards,
Stas.

2008/4/20, Andrea Righi <[EMAIL PROTECTED]>:
> Stas Oskin wrote:
>  > Hi.
>  >
>  > After solving all the issues, I'm happily using SI, and already
>  > installed several servers with it.
>  >
>  > I have only left some inconvenience in the installation, apparently
>  > caused by the way I configured the system (static install).
>  >
>  > Every time I want to install a new server, I need to:
>  >
>  > 1) Erase the dhcpd lease files, and restart dhcpd, so the new server
>  > would get XXX.XXX.XXX.10 for example.
>  > 2) Go to /var/lib/systemimager/scripts, edit hosts file and add the
>  > image name and XXX.XXX.XXX.10.
>  >
>  > This has to be done for every server.
>
>
> Just edit /etc/hosts in your image server and define the clients IP and
>  hostnames, for example (with three clients):
>
>  x.x.x.10 node10
>  x.x.x.11 node11
>  x.x.x.12 node12
>
>  Then run si_clusterconfig -e and define a new host group with these
>  clients:
>
>  ...
>         <group>
>                 <name>newgroup</name>
>                 <image>YOUR_IMAGE</image>
>                 <override>YOUR_IMAGE</override>
>                 <node>node10-node12</node>
>         </group>
>  ...
>
>  Save and quit (this automatically updates also
>  /var/lib/systemimager/scripts/hosts).
>
>  And do not use symlinks in /var/lib/systemimager/scripts/ anymore.
>
>  Now to install all these clients with YOUR_IMAGE run:
>
>  # si_mkclientnetboot --verbose --clients newgroup --netboot
>
>
>  > My question is, how I can configure SI to define a pool of DHCPD
>  > addresses, and push to them all the correct image? And how I can reset
>  > this pool automatically, meaning new servers would replace the
>  > previous installed ones (they get a diffrent IP in the end anyway).
>
>
> Define an ip range in /etc/dhcpd.conf on your image server, for example:
>
>  ...
>  subnet x.x.x.0 netmask 255.255.255.0 {
>   range  x.x.x.1 x.x.x.127;
>   option domain-name "mydomain";
>   option routers x.x.x.254;
>   }
>  ...
>
>  All the pxebooting clients will get an IP within this range. You can
>  also define static entries in /etc/dhcpd.conf, based on clients' mac
>  address:
>
>  host node10 {
>     hardware ethernet AA:BB:CC:DD:EE:FF;
>     fixed-address node10;
>  }
>
>  All these settings can be made manually or via si_mkbootserver (to
>  setup dhcp, tftp, pxe) and si_mkdhcpstatic (to define static entries).
>
>  -Andrea
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  sisuite-users mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/sisuite-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to