Difference between revisions of "Roentgen"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 22: Line 22:
 
*SCSI Controller: LSI Logic
 
*SCSI Controller: LSI Logic
  
== CAVEAT EMPOR ==
+
Look at the scripts!
  
The information below is from standard file on the machine, and you are much better off checking those files. This is most likely all outdated information and thus partly useless.
 
 
=== /etc/sysconfig/network-scripts/ifcfg-eth0 ===
 
DEVICE=eth0
 
HWADDR=00:E0:81:21:7D:B4
 
ONBOOT=yes
 
BOOTPROTO=static
 
IPADDR=132.177.88.61
 
NETMASK=255.255.252.0
 
GATEWAY=132.177.88.1
 
=== /etc/sysconfig/network-scripts/ifcfg-eth0:1 ===
 
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
 
# for the documentation of these parameters.
 
TYPE=Ethernet
 
IPADDR=132.177.91.234
 
DEVICE=eth0:1
 
BOOTPROTO=none
 
NETMASK=255.255.252.0
 
ONPARENT=yes
 
USERCTL=no
 
PEERDNS=yes
 
=== /etc/sysconfig/network-scripts/ifcfg-eth0:2 ===
 
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
 
# for the documentation of these parameters.
 
TYPE=Ethernet
 
IPADDR=132.177.88.130
 
DEVICE=eth0:2
 
BOOTPROTO=none
 
NETMASK=255.255.252.0
 
ONPARENT=yes
 
USERCTL=no
 
PEERDNS=yes
 
=== /etc/sysconfig/network-scripts/ifcfg-eth1 ===
 
DEVICE=eth1
 
HWADDR=00:E0:81:21:7D:B5
 
ONBOOT=yes
 
BOOTPROTO=static
 
IPADDR=10.0.0.249
 
NETMASK=255.255.255.0
 
=== /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
 
 
== Backup Configuration ==
 
== Backup Configuration ==
 
=== /etc/rsync-backup.conf ===
 
=== /etc/rsync-backup.conf ===

Revision as of 17:09, 5 September 2018

General Information

Roentgen runs an Apache webserver, with wiki on top of it and shows you these pages. SO, if there are troubles with roentgen, you couldn't read this. Roentgen also hosts the MySQL server and the wiki. THIS wiki.

Hostnames: roentgen.unh.edu, roentgen.farm.physics.unh.edu
Alias: physics.farm.physics.unh.edu nuclear.farm.physics.unh.edu

Virtual Machine

Roentgen is a virtual machine. See Kvm It used to run on Taro, and was moved to Gourd on April 1, 2015. No joke. Previous attempts at moving roentgen had failed, apparently, so here is the recipe that worked: Moving A Virtual Machine

Virtual Hardware

Check with "virsh dumpxml roentgen.unh.edu" on the machine running roentgen!

  • Memory: 1.5 GB
  • Hard Disk: 50 GB
  • Swap Disk: 2 GB
  • Network 1 (eth0): Farm-Bridge
  • Network 2 (eth1): UNH-Bridge
  • SCSI Controller: LSI Logic

Look at the scripts!

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

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

# 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

[var]
        path    = /var
        comment = user and system storage
        filter  = - /lib/bind/proc

[srv]
        path    = /srv
        comment = published content

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

[opt]
        path    = /opt
        comment = unpackaged software

[etc]
        path    = /etc
        comment = conf files

[wheel]
        path    = /wheel
        comment = admin files
        filter  =               \
                : .rsync-filter \
                + /             \
                + /kickstart    \
                + /custom       \
                + /docs         \
                + /gpg-pubkey   \
                + /scripts      \
                - /*            \