Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Difference between revisions of "Debian container node setup"

From Livedoc - The Documentation Repository
Jump to: navigation, search
(add bonding setup)
Line 2: Line 2:
  
 
* Debian can be installed by using the "debian" boot option from PXE, make sure you first remove eth0 from any port groups on the switch
 
* Debian can be installed by using the "debian" boot option from PXE, make sure you first remove eth0 from any port groups on the switch
* <code>root@sirius:~# apt-get install ifenslave # for bonding</code>
+
 
 +
<code>root@sirius:~# apt-get install ifenslave # for bonding</code>
 +
 
 +
In /etc/network/interfaces:
 +
 
 +
<pre>
 +
auto lo
 +
iface lo inet loopback
 +
 
 +
auto bond0
 +
iface bond0 inet static
 +
address 198.38.17.61
 +
netmask 255.255.254.0
 +
gateway 198.38.17.254
 +
network 198.38.16.0
 +
slaves eth0 eth1
 +
bond-mode 802.3ad
 +
bond-miimon 100
 +
bond-downdelay 200
 +
bond-updelay 200
 +
dns-nameservers 198.38.16.40 198.38.16.41
 +
dns-search csl.tjhsst.edu
 +
</pre>

Revision as of 12:06, 12 May 2015

This page is here to document what I'm doing on Sirius. This will eventually become a Salt state/Puppet manifest/Ansible playbook/whatever it is that we use now.

  • Debian can be installed by using the "debian" boot option from PXE, make sure you first remove eth0 from any port groups on the switch

root@sirius:~# apt-get install ifenslave # for bonding

In /etc/network/interfaces:

auto lo
iface lo inet loopback

auto bond0
iface bond0 inet static
	address 198.38.17.61
	netmask 255.255.254.0
	gateway 198.38.17.254
	network 198.38.16.0
	slaves eth0 eth1
	bond-mode 802.3ad
	bond-miimon 100
	bond-downdelay 200
	bond-updelay 200
	dns-nameservers 198.38.16.40 198.38.16.41
	dns-search csl.tjhsst.edu