CentOS 7.x Rocks cluster 7.0 Build master server
From Notes_Wiki
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.
- Choose eth1 for public ipaddress and enter IPaddress, netmask, gateway, DNS etc. information
- Choose "INSTALLATION DESTINATION"
- Create /export/ directory with maximum possible space.
- 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.
- Choose "ROCKS ROLLS"
- Enter rolls server address such as http://rolls.rnd.com/install/rolls/
- Click on "List Available Rolls"
- Select all rolls
- Click on "Add Selected Rolls"
- Choose "CLUSTER CONFIG"
- Verify FQDN
- Enter cluster name
- Verify Private IPaddress details
- Choose "CLUSTER PRIVATE NETWORK"
- Click on "Begin Installation"
- Enter root password
- Once Installation is done and node reboots, login via root user and
- edit /etc/sysconfig/iptables and allow connection to 80, 443 on public Interface from any source IP
- Enable this edited configuration using
- iptables-restore < /etc/sysconfig/iptables
- edit /etc/httpd/conf.d/rocks.conf and allow access to rocks sites from any IP
- Reload apache after changing config using:
- systemctl restart httpd
- 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