close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 22 and Version 23 of dSite/e0LDAP


Ignore:
Timestamp:
Oct 16, 2014, 6:48:29 PM (6 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dSite/e0LDAP

    v22 v23  
    109109SASL SSF: 0
    110110    }}}
     111    This file attempts to configure several of the services to standard defaults based on the
     112    FQDN of the machine and the contents of the site.yaml file. The following files are modified:
     113    [[CollapsibleStart(/etc/dhcpd/dhcpd.conf)]]
     114    This file is populated based on the contents of the site.yaml file. It will produce
     115    appropriate entries for all the interfaces of the nodes. Note that this requires the
     116    interfaces be ordered according to the original labeling. The contents looks like:
     117    {{{
     118option domain-name "geni.rutgers.edu";
     119authoritative;
     120use-host-decl-names on;
     121get-lease-hostnames true;
     122ping-check false;
     123ping-timeout 0;
     124log-facility local7;
     125default-lease-time 86400;
     126max-lease-time 86400;
     127ddns-updates off;
     128
     129subnet 10.3.0.0 netmask 255.255.255.0 {
     130 option domain-name-servers 10.3.0.254;
     131 option routers 10.3.0.254;
     132 option ntp-servers 10.3.0.254;
     133 next-server 10.3.0.254;
     134
     135 host cons1 { hardware ethernet 00:20:4a:d5:94:83; fixed-address 10.3.0.101; }
     136 host cons2 { hardware ethernet 00:20:4a:d5:94:f1; fixed-address 10.3.0.102; }
     137 host cons3 { hardware ethernet 00:20:4a:d5:94:e1; fixed-address 10.3.0.103; }
     138
     139}
     140
     141subnet 10.1.0.0 netmask 255.255.255.0 {
     142 option domain-name-servers 10.1.0.254;
     143 option routers 10.1.0.254;
     144 option log-servers 10.1.0.254;
     145 option ntp-servers 10.1.0.254;
     146 filename "pxelinux.0";
     147 next-server 10.1.0.254;
     148
     149 host node1 { hardware ethernet 00:03:1d:0c:d3:73; fixed-address node1.geni.rutgers.edu; }
     150 host node2 { hardware ethernet 00:03:1d:0c:d3:89; fixed-address node2.geni.rutgers.edu; }
     151 host node3 { hardware ethernet 00:03:1d:0c:d3:71; fixed-address node3.geni.rutgers.edu; }
     152
     153}
     154
     155subnet 10.2.0.0 netmask 255.255.255.0 {
     156 option ntp-servers 10.2.0.254;
     157 filename "/pxelinux.fake";
     158
     159 host data1 { hardware ethernet 00:03:1d:0c:d3:72; fixed-address 10.2.0.1; }
     160 host data2 { hardware ethernet 00:03:1d:0c:d3:88; fixed-address 10.2.0.2; }
     161 host data3 { hardware ethernet 00:03:1d:0c:d3:70; fixed-address 10.2.0.3; }
     162
     163}
     164    }}}
     165    [[CollapsibleEnd]]
     166   
     167
     168----
     169
    111170 2. After this script is run, we will need to point the dns resolver to the localhost. To do
    112171    this edit ''/etc/network/interfaces'' file and change the '''dns-nameservers''' line to