CentOS 7.x Rocks cluster 7.0 Build master server

From Notes_Wiki
Revision as of 12:55, 10 May 2022 by Saurabh (talk | contribs)

Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > CentOS 7.x Rocks cluster 7.0 Build master server

Minimum requirement

  • Should have atleast two network interfaces
    • eth0 - First interface connected to private network
    • eth1 - Second interface connected to public network
  • Hostname must set while installing. This FQDN should resolve to master node public IP via DNS.
    The hostname cannot be frontend.<domain-name>. Any other name other than frontend esp. master, rocksmaster, etc. seems to work fine.
  • Most of the space on master should go to /export partition / folder
    If you want to reserve space for other purposes eg backups then create /mnt/data1 etc. appropriately with rest of the space


Installation of Rocks Frontend server

To setup a rocks master node use:

  1. Boot with kernel roll CD. This is
  2. Select "Install Rocks 7.0"
  3. Choose Language "English'
  4. In the next screen select appropriate timezone. Optionally disable kdump and SELinux.
  5. In the system area
    1. choose "NETWORK & HOSTNAME"
      1. Choose eth1 for public ipaddress and enter IPaddress, netmask, gateway, DNS etc. information
        In General tab select "Automatically connect to this network when available"
      2. Hostname section, Enter FQDN name. Ex: rocksmaster.rnd.com DNS server must resolve this FQDN to IP given to public interface.
      3. No need to assign any private IP address on this page.
      4. Click done
    2. Choose "INSTALLATION DESTINATION"
      1. You can choose to configure manual partitions
      2. Click on the link above to create partitions automatically
      3. Rename /home to /export
        Basically Create /export/ directory with maximum possible space.
      4. Click done to accept configured partitioning
  6. In the Rocks Cluster Config section
    1. Choose "CLUSTER PRIVATE NETWORK"
      1. Enter private domain name or leave default .local
      2. Private IPAddress & Netmask. Ideally this should not be duplicated anywhere in organization LAN network.
      3. Click done
    2. Choose "ROCKS ROLLS"
      1. Enter rolls server address such as http://rolls.rnd.com/install/rolls/
      2. Click on "List Available Rolls"
      3. Select all 17 rolls carefully. Do not miss any role. Adding them later on creates a different type of master image with different no. of packages.
      4. Click on "Add Selected Rolls"
      5. Click done.
    3. Choose "CLUSTER CONFIG"
      1. Verify FQDN
      2. Enter cluster name
      3. Verify Private IPaddress details
      4. Click done
  7. Click on "Begin Installation"
  8. Enter root password
  9. Once Installation is done and node reboots, login via root user and
    1. edit /etc/sysconfig/iptables and allow connection to 80, 443 on public Interface from any source IP
    2. Enable this edited configuration using
      iptables-restore < /etc/sysconfig/iptables
    3. edit /etc/httpd/conf.d/rocks.conf and allow access to rocks sites from any IP
    4. Reload apache after changing config using:
      systemctl restart httpd
    5. Check cluster status using web browser at https://<master-fqdn> from LAN network.

Ref:



Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > CentOS 7.x Rocks cluster 7.0 Build master server