From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search

Jalapeno is a kvm virtual machine currently running on Gourd. It serves as our primary DNS server.

Upgraded Jalapeño.

Virtual Hardware

  • Memory: 512 MB
  • Hard Disk: 10 GB
  • Network 1 (eth0): Farm-Bridge
  • Network 2 (eth1): UNH-Bridge

Network Settings

  • IP Address farm (eth0): -- temp jalapeno2 (yendi)
  • IP Address UNH (eth1):

Software and Services


Jalapeno uses the standard NPG iptables firewall. It allows ssh, DNS, and CUPS ipp connections.


Named provides DNS hostname resolution for the farm.physics.unh.edu backend network. DNS configuration files are located in the /var/named directory.

Backup Configuration


# 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

        path    = /usr/local
        comment = unpackaged software

        path    = /opt
        comment = unpackaged software

        path    = /etc
        comment = conf files

        path    = /var
        comment = user and system storage

Upgrade to Centos7


On Pumpkin (which is in the 88 network, while Jalapeño needs to be on 180!)

 qemu-img create -f qcow2  /kvm/images/jalepeno_new.qcow2 10G
 virt-install -v --name=jalapeno2 --memory 512 --os-type=linux --os-variant=rhel7 --cdrom=/net/data/endeavour1/System/Centos/CentOS-7-x86_64-DVD-1503-01.iso --disk path=/kvm/images/jalapeno_new.qcow2,size=10 --network=bridge:farmbr --network=bridge:unhbr --vnc --vncport=5904

Next, install a minimal machine, with installer, and setup the back-end IP address from installer GUI. Give it a root password.

Login to machine, check that network is up! Kill NetworkManager, and check the ifcfg, then ifup the network

Next, edit /etc/yum.conf to use the endeavour proxy, add: proxy=http://endeavour.farm.physics.unh.edu:3128 at end of file. Save. Then: "yum update" and "yum upgrade"

Bind/Named installation

 yum install -y bind bind-utils

Install the named.conf file in /etc and the farm.physics.unh.edu.zone and ...-rev files in /var/named

  systemctl enable named
  systemctl start named

Test it.