Difference between revisions of "Lentil"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 19: Line 19:
 
</pre>
 
</pre>
 
=== /etc/sysconfig/network-scripts/ifcfg-unh ===
 
=== /etc/sysconfig/network-scripts/ifcfg-unh ===
<pre># UNH network
+
<pre>VLAN=yes
VLAN=yes
+
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
 +
# for the documentation of these parameters.
 +
GATEWAY=132.177.88.1
 +
TYPE=Ethernet
 
DEVICE=eth0.2
 
DEVICE=eth0.2
 +
#HWADDR=00:0e:0c:4c:e1:52
 
BOOTPROTO=none
 
BOOTPROTO=none
BROADCAST=132.177.91.255
+
NETMASK=255.255.252.0
 
IPADDR=132.177.88.254
 
IPADDR=132.177.88.254
NETMASK=255.255.252.0
 
NETWORK=132.177.88.0
 
 
ONBOOT=yes
 
ONBOOT=yes
REORDER_HDR=no
 
GATEWAY=132.177.88.1
 
TYPE=Ethernet
 
 
USERCTL=no
 
USERCTL=no
 
IPV6INIT=no
 
IPV6INIT=no
 
PEERDNS=yes
 
PEERDNS=yes
 +
 
</pre>
 
</pre>
 +
 
=== /etc/sysconfig/network-scripts/ifcfg-lo ===
 
=== /etc/sysconfig/network-scripts/ifcfg-lo ===
 
<pre>DEVICE=lo
 
<pre>DEVICE=lo

Revision as of 15:10, 1 June 2009

General Information

Lentil performs backups. Its backup script needs further investigation to determine exactly how it works.

Hostnames: lentil.unh.edu, lentil.farm.physics.unh.edu

Network Configuration

Currently connected to the unh and farm networks via the switch and VLAN.

/etc/sysconfig/network-scripts/ifcfg-farm

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0E:0C:4C:E1:52
IPADDR=10.0.0.250
NETMASK=255.255.252.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

/etc/sysconfig/network-scripts/ifcfg-unh

VLAN=yes
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
GATEWAY=132.177.88.1
TYPE=Ethernet
DEVICE=eth0.2
#HWADDR=00:0e:0c:4c:e1:52
BOOTPROTO=none
NETMASK=255.255.252.0
IPADDR=132.177.88.254
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes

/etc/sysconfig/network-scripts/ifcfg-lo

DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

Access Configuration

 /etc/security/access.conf
 Any valid user can log into lentil from any machine on the Internet.

Backup Configuration

/etc/rsync-backup.conf

# Backups are 'pull' only.  Too bad there isn't a better way to enforce this.
read only       = yes

# Oh for the ability to retain CAP_DAC_READ_SEARCH, and no other.  
#uid            = root
# XXX There seems to be an obscure bug with pam_ldap and rsync whereby 
# getpwnam(3) segfaults when (and only when) archiving /etc.  Using a numeric
# uid avoids this bug.  Only verified on Fedora Core 2.
uid             = 0

# There's not much point in putting the superuser in a chroot jail
# use chroot    = yes

# This isn't really an effective "lock" per se, since the value is per-module,
# but there really ought never be more than one, and it would at least 
# ensure serialized backups.
max connections = 1

[usr_local]
        path    = /usr/local
        comment = unpackaged software

[opt]
        path    = /opt
        comment = unpackaged software

[etc]
        path    = /etc
        comment = conf files

[var]
        path    = /var
        comment = user and system storage

SNMP Configuration

 /etc/snmp/snmpd.conf
 Copied from Pepper.

Backup Location

/mnt/npg-daily/34/

Hardware Information

 Motherboard: Asus P5QL-CM
   Specifications: Specifications
   User Manual: V2.pdf Users Manual
 Memory: 2 GB DDR2
 Wake On Lan Command: sudo ether-wake 00:1e:4f:9b:13:90

Fixes