Ubuntu HPC master and compute node network setup

From Notes_Wiki
Revision as of 08:08, 17 February 2023 by Saurabh (talk | contribs) (Created page with "Home > Ubuntu > HPC setup with openpbs and openmpi > Master and compute node network setup After initial template is built using Ubuntu HPC Common setup of all HPC nodes, we need to differentiate between master and compute nodes from network perspective. # '''On compute nodes''' disable firewall using: #:<pre> #:: systemctl stop ufw #:: systemctl dis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Ubuntu > HPC setup with openpbs and openmpi > Master and compute node network setup

After initial template is built using Ubuntu HPC Common setup of all HPC nodes, we need to differentiate between master and compute nodes from network perspective.

  1. On compute nodes disable firewall using:
    systemctl stop ufw
    systemctl disable ufw
  2. On all nodes set proper hostname using:
    hostnamectl set-hostname <hostname>
  3. For master node ensure that it is connected to both public and private networks (Two NIC)
  4. For compute nodes connect them only on private network
  5. For all nodes assign static IPs (Compute-private; Master - Both public and private). Make a note of hostname to IP association
  6. On master enable net.ipv4.ip_forward=1
  7. On master enable MASQUERADE in POSTROUTING chain in nat table
  8. On compute nodes test outgoing Internet access via master
  9. On master node set password less SSH from master to compute root user using:
    ssh-keygen
    ssh-copy-id root@<compute-node-private-ip>
    This should be done for all compute nodes in cluster
  10. On master node test the root ssh connectivity from master to all compute nodes. It should not prompt for any password.
  11. On master node enable iptables to persist after reboot via Persistent firewall in Ubuntu



Home > Ubuntu > HPC setup with openpbs and openmpi > Master and compute node network setup