Difference between revisions of "HCL cluster/heterogeneous.ucd.ie install log"

From HCL
Jump to: navigation, search
Line 22: Line 22:
 
** add repository key <source lang="text">wget -q http://drbl.sourceforge.net/GPG-KEY-DRBL -O- | apt-key add -</source>
 
** add repository key <source lang="text">wget -q http://drbl.sourceforge.net/GPG-KEY-DRBL -O- | apt-key add -</source>
 
** the line add to /etc/apt/sources.list: <source lang="text">deb http://drbl.sourceforge.net/drbl-core drbl stable</source>
 
** the line add to /etc/apt/sources.list: <source lang="text">deb http://drbl.sourceforge.net/drbl-core drbl stable</source>
** run: <source lang="text">apt-get update
+
** run: <source lang="text">apt-get update && apt-get install drbl && /opt/drbl/sbin/drbl4imp</source>
apt-get install drbl
+
** accept default options to drbl4imp.
/opt/drbl/sbin/drbl4imp</source>
+
 
** accept default options to drbl4imp and then edit /etc/dhcpd3/dhcpd.conf
+
* After Clonezilla has installed edit <code>/etc/dhcpd3/dhcpd.conf</code>, adding all entries for test nodes <code>hcl07</code> and <code>hcl03</code>. Also ensure these nodes have been removed from the inplace heterogeneous.ucd.ie server so that they are only served by one machine.
 +
<source lang="text">
 +
default-lease-time 300;
 +
max-lease-time 300;
 +
option subnet-mask 255.255.255.0;
 +
option domain-name-servers  137.43.116.19,137.43.116.17,137.43.105.22;
 +
option domain-name "ucd.ie";
 +
ddns-update-style                      none; # brett had ad-hoc ...?
 +
server-name drbl;
 +
filename = "pxelinux.0";
 +
 
 +
 
 +
subnet 192.168.21.0 netmask 255.255.255.0 {
 +
    option subnet-mask 255.255.255.0;
 +
    option routers 192.168.21.1;
 +
    next-server 192.168.21.254;
 +
 
 +
    pool {
 +
      # allow members of "DRBL-Client";
 +
      range 192.168.21.200 192.168.21.212;
 +
    }
 +
 
 +
        host hcl03 {
 +
                option host-name "hcl03.ucd.ie";
 +
                hardware ethernet 00:14:22:0A:22:6C;
 +
                fixed-address 192.168.21.5;
 +
        }
 +
host hcl03_eth1 {
 +
                option host-name "hcl03_eth1.ucd.ie";
 +
                hardware ethernet 00:14:22:0A:22:6D;
 +
                fixed-address 192.168.21.105;
 +
        }
 +
        host hcl07 {
 +
                option host-name "hcl07.ucd.ie";
 +
                hardware ethernet 00:14:22:0A:20:E2;
 +
                fixed-address 192.168.21.9;
 +
        }
 +
        host hcl07_eth1 {
 +
                option host-name "hcl07_eth1.ucd.ie";
 +
                hardware ethernet 00:14:22:0A:20:E3;
 +
                fixed-address 192.168.21.109;
 +
        }
 +
 
 +
default-lease-time 21600;
 +
max-lease-time 43200;
 +
}
 +
</source>

Revision as of 13:42, 24 April 2010

  • Basic installation of Debian Sarge
  • edit /etc/networks/interfaces
iface eth0 inet static
	address 192.168.21.254
	netmask 255.255.255.0
	gateway 192.168.21.1
  • set resolv.conf:
nameserver 137.43.116.19
nameserver 137.43.116.17
nameserver 137.43.105.22
domain ucd.ie
search ucd.ie
  • follow the guide to installing Clonezilla here. Essentially:
    • add repository key
      wget -q http://drbl.sourceforge.net/GPG-KEY-DRBL -O- | apt-key add -
      
    • the line add to /etc/apt/sources.list:
      deb http://drbl.sourceforge.net/drbl-core drbl stable
      
    • run:
      apt-get update && apt-get install drbl && /opt/drbl/sbin/drbl4imp
      
    • accept default options to drbl4imp.
  • After Clonezilla has installed edit /etc/dhcpd3/dhcpd.conf, adding all entries for test nodes hcl07 and hcl03. Also ensure these nodes have been removed from the inplace heterogeneous.ucd.ie server so that they are only served by one machine.
default-lease-time			300;
max-lease-time				300;
option subnet-mask			255.255.255.0;
option domain-name-servers  		137.43.116.19,137.43.116.17,137.43.105.22;
option domain-name			"ucd.ie";	
ddns-update-style                       none; # brett had ad-hoc ...?
server-name 				drbl;
filename = "pxelinux.0";


subnet 192.168.21.0 netmask 255.255.255.0 {
    option subnet-mask	255.255.255.0;
    option routers 192.168.21.1;
    next-server 192.168.21.254;

    pool {
      # allow members of "DRBL-Client";
      range 192.168.21.200 192.168.21.212;
    }

        host hcl03 {
                option host-name "hcl03.ucd.ie";
                hardware ethernet 00:14:22:0A:22:6C;
                fixed-address 192.168.21.5;
        }
	host hcl03_eth1 {
                option host-name "hcl03_eth1.ucd.ie";
                hardware ethernet 00:14:22:0A:22:6D;
                fixed-address 192.168.21.105;
        }
        host hcl07 {
                option host-name "hcl07.ucd.ie";
                hardware ethernet 00:14:22:0A:20:E2;
                fixed-address 192.168.21.9;
        }
        host hcl07_eth1 {
                option host-name "hcl07_eth1.ucd.ie";
                hardware ethernet 00:14:22:0A:20:E3;
                fixed-address 192.168.21.109;
        }

	default-lease-time 21600;	
	max-lease-time 43200;
}