CentOS 7.x Rocks cluster 7.0 Build master server
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:
- Boot with kernel roll CD. This is
- Select "Install Rocks 7.0"
- Choose Language "English'
- In the next screen select appropriate timezone. Optionally disable kdump and SELinux.
- In the system area
- choose "NETWORK & HOSTNAME"
- Choose eth1 for public ipaddress and enter IPaddress, netmask, gateway, DNS etc. information
- In General tab select "Automatically connect to this network when available"
- Hostname section, Enter FQDN name. Ex: rocksmaster.rnd.com DNS server must resolve this FQDN to IP given to public interface.
- No need to assign any private IP address on this page.
- Click done
- Choose eth1 for public ipaddress and enter IPaddress, netmask, gateway, DNS etc. information
- Choose "INSTALLATION DESTINATION"
- You can choose to configure manual partitions
- Click on the link above to create partitions automatically
- Rename /home to /export
- Basically Create /export/ directory with maximum possible space.
- Click done to accept configured partitioning
- choose "NETWORK & HOSTNAME"
- In the Rocks Cluster Config section
- Choose "CLUSTER PRIVATE NETWORK"
- Enter private domain name or leave default .local
- Private IPAddress & Netmask. Ideally this should not be duplicated anywhere in organization LAN network.
- Click done
- Choose "ROCKS ROLLS"
- Enter rolls server address such as http://rolls.rnd.com/install/rolls/
- Click on "List Available Rolls"
- 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.
- Click on "Add Selected Rolls"
- Click done.
- Choose "CLUSTER CONFIG"
- Verify FQDN
- Enter cluster name
- Verify Private IPaddress details
- Click done
- Choose "CLUSTER PRIVATE NETWORK"
- Click on "Begin Installation"
- Enter root password
- Once Installation is done click "Reboot" button to reboot node
- After reboot login with username root and configured password.
Refer:
Enable http access on master from public network
By default we cannot access the master web page hosting documentation and ganglia monitoring from LAN. Normally it is restricted to access from master node itself using localhost. But to enable the access for all LAN users use:
- Login into master node as root user and run following commands:
- rocks remove firewall host=localhost rulename=A40-WWW-PUBLIC-LAN
- rocks add firewall host=localhost network=public protocol=tcp service=www chain=INPUT \
- action=ACCEPT flags="-m state --state NEW --source 0.0.0.0/0.0.0.0" \
- rulename=A40-WWW-PUBLIC-NEW
- rocks report host firewall localhost
- rocks sync host firewall localhost
- After this opening http://<master-fqdn> should work from public (LAN) network.
Refer:
Configure disk quotas
Most of the user space on compute will come from master node /export directory. Expecially /export/home and /export/apps are made available to compute nodes for their operations. Hence to ensure fare usage it makes sense to implement some kind of user quota on this filesystems. See Basic disk quota configuration
Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > CentOS 7.x Rocks cluster 7.0 Build master server