Difference between revisions of "Weekend Projekt - Test Cluster"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: =Udstyr= *5 stk. Lenovo ThinkCenter (C01, C04, C05, C06, C17) *2950 =Setup= C01 bliver master server, med apt-cacher til installation og PXE netinstallation server. Den skal også have MRT...)
 
m (C01)
Line 35: Line 35:
 
</source>
 
</source>
 
==C01==
 
==C01==
 +
Denne node skal være installtions og mangement node for clusteret.
 +
===Std applicationer===
 +
Installtion af det nødvendig samt noget random.
 +
<source lang=bash>
 +
aptitude -y install apt-cacher tftpd-hpa tftp-hpa xinetd nagios3 mrtg nmap screen bmon iperf bonnie++ lmbench lm-sensors snmpd snmp build-essential gcc
 +
</source>
 +
===Apt-cacher===
 +
Ændre i /etc/apt-cacher/apt-cacher.conf
 +
<pre>
 +
path_map = ubuntu de.archive.ubuntu.com/ubuntu; ubuntu-updates de.archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu
 +
allowed_hosts=*
 +
</pre>
 +
Ændre i /etc/default/apt-cacher også:
 +
<pre>
 +
AUTOSTART=1
 +
</pre>
 +
Og genstart apt-cacher:
 +
<pre>
 +
/etc/init.d/apt-cacher restart
 +
</pre>
 
{{Source cli}}
 
{{Source cli}}

Revision as of 17:20, 3 July 2010

Udstyr

  • 5 stk. Lenovo ThinkCenter (C01, C04, C05, C06, C17)
  • 2950

Setup

C01 bliver master server, med apt-cacher til installation og PXE netinstallation server. Den skal også have MRTG og nagios.

  • C01 sidder i Gi0/2
  • C04 sidder i Fa0/1
  • C05 sidder i Fa0/2
  • C06 sidder i Fa0/3
  • C17 sidder i Fa0/4

2950

enable password cisco
!
interface range fa 0/1 - 24
 switchport mode access
 switchport access vlan 2
 spanning-tree portfast
!
interface range gi 0/1 - 2
 switchport mode access
 switchport access vlan 2
 spanning-tree portfast
!
interface Vlan2
 ip address 10.1.2.50 255.255.255.0
!
snmp-server community public RO
!
line con 0
line vty 0 4
 no login
line vty 5 15
 no login

C01

Denne node skal være installtions og mangement node for clusteret.

Std applicationer

Installtion af det nødvendig samt noget random.

aptitude -y install apt-cacher tftpd-hpa tftp-hpa xinetd nagios3 mrtg nmap screen bmon iperf bonnie++ lmbench lm-sensors snmpd snmp build-essential gcc

Apt-cacher

Ændre i /etc/apt-cacher/apt-cacher.conf

path_map = ubuntu de.archive.ubuntu.com/ubuntu; ubuntu-updates de.archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu
allowed_hosts=*

Ændre i /etc/default/apt-cacher også:

AUTOSTART=1

Og genstart apt-cacher:

/etc/init.d/apt-cacher restart