Difference between revisions of "How to Create Cluster 7 (Ubuntu 20.04)"

From DISI
Jump to navigation Jump to search
Line 22: Line 22:
 
# Install Ubuntu 20.04 using USB. You can skip everything and leave everything default.
 
# Install Ubuntu 20.04 using USB. You can skip everything and leave everything default.
 
# Create a DNS entry for this machine in the website below to give you a public IP address
 
# Create a DNS entry for this machine in the website below to give you a public IP address
:* https://www.cgl.ucsf.edu/cgi-bin/secure/dns_dhcp_registration.py?action=view_zone&name=compbio.ucsf.edu
+
#* https://www.cgl.ucsf.edu/cgi-bin/secure/dns_dhcp_registration.py?action=view_zone&name=compbio.ucsf.edu
::* You need the MAC Address of an ethernet interface
+
#* You need the MAC Address of an ethernet interface
 
# Configure private and public network interfaces
 
# Configure private and public network interfaces
:* vim /etc/netplan/00-installer-config.yaml
+
#* vim /etc/netplan/00-installer-config.yaml
:* Configuration should look like this:
+
#* Configuration should look like this:
 +
#: # This is the network config written by 'subiquity'
 +
#: network:
 +
#:  ethernets:
 +
#:    enp3s0:
 +
#:      addresses:
 +
#:      - 10.70.1.2/16
 +
#:      gateway4: 127.0.0.1
 +
#:      nameservers:
 +
#:        addresses:
 +
#:        - 10.70.1.1
 +
#:        search:
 +
#:        - dot
 +
#:    enp4s0:
 +
#:      addresses:
 +
#:      - 169.230.26.58/16
 +
#:      gateway4: 169.230.26.1
 +
#:      nameservers:
 +
#:        addresses:
 +
#:        - 8.8.8.8
 +
#:        - 8.8.4.4
 +
#:        - 128.218.254.10
 +
#:        - 128.218.254.40
 +
#:        search:
 +
#:        - dot
 +
#:        - compbio.ucsf.edu
 +
#:  version: 2
  
  
 
== Install Foreman ==
 
== Install Foreman ==

Revision as of 20:16, 19 October 2021

Introduction

Here are the instructions on how to build Cluster 7 using Ubuntu 20.04.

The build is not complete as of October 19, 2021.

Hardware Requirements (so far)

  • 2 x 1 gigabit unmanaged switches
  • one switch for private IP
  • one switch for public IP
  • 4 x unused ProLiant DL160 G5 Machines
  • one for NAT machine
  • one for Foreman Server
  • one for LDAP Server
  • one extra for any testing
  • 1 x USB for Operating System (OS)


Create a Network Address Translation(NAT) machine

A NAT machine will act as a local VPN to the cluster. This will be the first machine you SSH into.

Here are the instructions:

  1. Install Ubuntu 20.04 using USB. You can skip everything and leave everything default.
  2. Create a DNS entry for this machine in the website below to give you a public IP address
  3. Configure private and public network interfaces
    • vim /etc/netplan/00-installer-config.yaml
    • Configuration should look like this:
    # This is the network config written by 'subiquity'
    network:
    ethernets:
    enp3s0:
    addresses:
    - 10.70.1.2/16
    gateway4: 127.0.0.1
    nameservers:
    addresses:
    - 10.70.1.1
    search:
    - dot
    enp4s0:
    addresses:
    - 169.230.26.58/16
    gateway4: 169.230.26.1
    nameservers:
    addresses:
    - 8.8.8.8
    - 8.8.4.4
    - 128.218.254.10
    - 128.218.254.40
    search:
    - dot
    - compbio.ucsf.edu
    version: 2


Install Foreman