Changes between Version 17 and Version 18 of En:ManualInstalacionOpengnsys


Ignore:
Timestamp:
Jan 24, 2012, 2:29:08 PM (12 years ago)
Author:
paqui
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • En:ManualInstalacionOpengnsys

    v17 v18  
    122122=== Server dhcp external ===
    123123
    124  1. Add to file /var/lib/tftpboot/pxelinux.cfg/default the identification [wiki:WikiStart/en OpenGnSys] server (ip adress), with repo=xxx.xxx.xxx.xxx
    125 {{{
    126 LABEL pxe
    127 KERNEL linux
    128 APPEND initrd=initrd.gz ip=dhcp ro vga=788 irqpoll acpi=on repo=172.17.36.29
    129 }}}
    130  1. In the configuration file external dhcp server:
    131 {{{
    132 # Enables the transfer of the name by dhcp.
     124By default, OpenGnsys version 1.0.2 use Grub4Dos instead of PXELinux for booting clients. You need to incorporate the following line to configure DHCP service with Grub4Dos.
     125
    133126use-host-decl-names on;
    134 # Assign the service pxe:
    135127next-server ip_opengnsys;
    136 }}}
    137 
    138 
    139 === Server pxe external ===
    140 
    141  1. Copy files initrd and linux from /var/lib/tftpboot to server pxe external.
    142  1. Copy or integrate the initrd linux parameters (/var/lib/tftpboot/pxelinux.cfg/default), also including the parameter repo=xxx.xxx.xxx.xxx. to server pxe external. (where xxx.xxx.xxx.xxx is the OpenGnSys server ip)
     128filename  "grldr";
     129}}}
     130
     131If you wish to coexist some servers, you can specify with differents next-server lines in differents groups.
     132
     133To change the server of a client, you only have to cut/paste client from one group to another.
     134
     135{{{
     136group {
     137   next-server [ip_servidor_1];
     138   host pc1 {
     139      option host-name "xxx.es";
     140      hardware ethernet xx:xx:xx:xx:xx:xx;
     141      fixed-address xxx.xxx.xxx.xxx;
     142      filename "grldr";
     143   }
     144   host pc2 ....
     145 }
     146group {
     147   next-server [ip_servidor_2];
     148   host pc3 {
     149      option host-name "xxx.es";
     150      hardware ethernet xx:xx:xx:xx:xx:xx;
     151      fixed-address xxx.xxx.xxx.xxx;
     152      filename "grldr";
     153   }
     154   host pc4 ...
     155 }
     156}}}
     157
     158If you want to used PXELinux, you should be replaced {{{filename}}} to configure DHCP with PXELinux:
     159{{{
     160filename  "pxelinux.0";
     161}}}
     162Also, for compatibility with PXELinux, Web Console Admin Server should be referenced to the boot appropiate process, including the next simbolic link:
     163
     164{{{
     165sudo ln -fs /opt/opengnsys/www/principal/boot_pxelinux.php boot.php
     166}}}
     167
    143168
    144169