wiki:GENIRacks/StarterCompSetup

Version 1 (modified by lnevers@bbn.com, 13 years ago) (diff)

--

GENI Starter Rack Component Setup

This page describes software setup for each of the GENI Starter Rack components by role. This pages assumes that the systems are physically installed in the rack and networks are connected, before the operations can occur. Following is a list of software setup required for each rack component:

Router Setup

  1. Configure router name.
  2. Setup GPO user account.
  3. Set up VLAN Trunk Protocol (VTP) mode as transparent.
  4. Create Control and Data Plane VLANs.
  5. Disable VLAN 1.
  6. Configure IP interfaces and default route.
  7. Configure VLAN membership for each switchport.
  8. Setup access list for GPOLab Network Monitor Server and local network monitor.
  9. Configure ACL for SSH access.
  10. Configure NTP to be the Monitor Host Control Address.
  11. Configure Syslog.
  12. Disable HTTP servers.

Switch Setup

  1. Configure control VLAN to Router and Data Plane VLAN to HP switch.
  2. Disable VLAN unused interfaces to prevent trouble from unconfigured cross-connects.
  3. Configure IP access list for local server.
  4. Configure ACL for SSH access.
  5. Configure SNMP read-only access for local monitoring.
  6. Configure NTP to be the Monitor Host Control Address.
  7. Disable public SNMP access.

IPKVM Setup

Using Serial Connection set the following:

  1. Disable DHCP
  2. Configure the IP address and Netmask of the control network.
  3. Define default gateway on control network.
  4. Choose default automatic detection of interface speed and mode.
  5. Connect via SSH and to login as sysadmin user disable unencrypted HTTP access.
  6. Connect to https://XXX-ipkvm1.cities.gpolab.bbn.com (XXX=bos, cha, or cle) and set the following:
    6.1 Set the hostname and DNS server.
    6.2 Define KVM Console Virtual Keys to Add More Entries and define " Key2 as Ctrl+Ctrl.
    6.3 Define NTP server to be the Monitor Host Control Address.
    6.4 Enable SNMP agent.

Host Common Setup

Initial Base Installation steps includes:

  1. Install CentOS 5 64-bit Base OS and choose the following:
    1.1 Language: English and Keyboard Layout: U.S. English.
    1.2 Remove all partitions and select default layout.
    1.3 Install GRUB.
    1.4 Configure Network devices: eth0 for manual IP with assigned address.
    1.5 Disable IPv6.
    1.6 Define fully qualified host name and default gateway.
    1.7 Define Primary DNS and Timezone.
    1.8 Deselect Gnome package, keep all other defaults.
  2. Define root account password, used randomly define word.
  3. Eject DVD and reboot.

The GPO infrastructure team uses the tool puppet to install, configure and maintain each of the hosts. The puppet specific steps will not be covered here, instead this section highlights the configuration that is taking place for each of the systems for the post installation steps:

  1. Configure DNS resolution.
  2. NTP Configuration on each node to use the local monitor host as an NTP servers.
  3. Configure SMTP to used smtp.gpolab.bbn.com.
  4. Assign sudo privileges for administrative staff.
  5. Configure Sendmail

Eucalyptus Installation

On both Head and Worker Hosts:

  1. Define Eucalyptus user home directory.
  2. Disable SELinux.
  3. Create /etc/eucalyptus/eucalyptus.conf.

Head Host Setup

  1. Install Eucalyptus V2.0.3 packages (eucalyptus-cloud eucalyptus-cc eucalyptus-walrus eucalyptus-sc).
  2. Install euca2ools.
  3. Set up SSH keys for head host to access worker hosts.
  4. Enable eucalyptus cluster controller service (eucalyptus-cc).
  5. Make eucalyptus-cloud service part of system start-up.
  6. Define Eucalyptus Head node private and public IP addresses.
  7. Install euca test scripts.
  8. Enable Monitoring statistics cron scripts.

Worker Hosts Setup

  1. Install Eucalyptus package (eucalyptus-nc)
  2. Install KVM required by Eucalyptus
  3. Customize the eucalyptus KVM template (/usr/share/eucalyptus/gen_kvm_libvirt_xml)
  4. Customize the libvirtd config file (/etc/libvirt/libvirtd.conf)
  5. Enable eucalyptus-nc and libvirtd services
  6. Enable Monitoring statistics cron scripts.

Monitor Node Setup

  1. Install ganglia, python and rrdtools packages.
  2. Install and run the cron script that runs as user ganglia and reports data to ganglia server.
  3. Add the script to cron jobs.