HPC CentOS7 server - alex-aleyan/linux_wiki GitHub Wiki

HPC on CENTOS 7

• ${fsms_name} # Hostname for SMS server
• ${fsms_ip} # Internal IP address on SMS server
• ${fsms_eth internal} # Internal Ethernet interface on SMS
• ${feth_provision} # Provisioning interface for computes
• ${finternal_netmask} # Subnet netmask for internal network
• ${fnt_server} # Local ntp server for time synchronization
• ${fbm_username} # BMC username for use by IPMI
• ${fbm_password} # BMC password for use by IPMI
• ${fnu_computes} # Total # of desired compute nodes
• ${fc_ip[0]g, ${fc_ip[1]g, ... # Desired compute node addresses
• ${fc_bmc[0]g, ${fc_bmc[1]g, ... # BMC addresses for computes
• ${fc_mac[0]g, ${fc_mac[1]g, ... # MAC addresses for computes
• ${fc_name[0]g, ${fc_name[1]g, ... # Host names for computes
• ${fcompute_regex} # Regex matching all compute node names (e.g. \c*")
• ${fcompute_prefix} # Prefix for compute node names (e.g. \c")
Optional:
• ${fsysmgmtd_host} # BeeGFS System Management host name
• ${fmgs_fs_name} # Lustre MGS mount name
• ${fsms_ipoib} # IPoIB address for SMS server
• ${fipoib_netmask} # Subnet netmask for internal IPoIB
• ${fc_ipoib[0]g, ${fc_ipoib[1]g, ... # IPoIB addresses for computes
• ${fkargsg  # Kernel boot arguments
• ${fnagios_web_password} # Nagios web access password

Installation

  • Start with minimal installation of CentOS7 (7.7 1908 is good).

  • add CentOS-7-x86_64-Everything-1908.iso image as a local repo.

    • Remove all repose from /etc/yum.repos.d except CentOS-Media.repo

    • Mount the CentOS-7-x86_64-Everything-1908.iso at the location specified in CentOS-Media.repo:

      mount /dev/sr1 /etc/yum.repos.d/<location specified in CentOS-Media.repo>
      
    • Run yum repolist all to confirm successful installation of the repo.

  • install: yum-utils vim

  • activate ethernet port via nmtui

  • configure proxy for yum:

    vim /etc/yum.conf
    proxy=http://<YOUR PROXY HERE>:8080
    
  • disable chkconfig firewalld off and selinux (/etc/selinux/conf)

  • add these mirrors (remove the local repo once done with this step): install_centos7_repos.sh

  • (Optional) to install minimal Desktop:

    • yum install git redhat-lsb-core
    • Download the linux_wiki repo and run install_minimal_desktop.sh. See This link for more help.