Difference between revisions of "CentOS 7.x Rocks cluster 7.0 Build master server"
From Notes_Wiki
m |
m |
||
Line 24: | Line 24: | ||
### Hostname section, Enter FQDN name. Ex: rocksmaster.rnd.com DNS server must resolve this FQDN to IP given to public interface. | ### 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. | ### No need to assign any private IP address on this page. | ||
### Click done | |||
## Choose "INSTALLATION DESTINATION" | ## Choose "INSTALLATION DESTINATION" | ||
### You can choose to configure manual partitions | ### You can choose to configure manual partitions | ||
Line 34: | Line 35: | ||
### Enter private domain name or leave default .local | ### Enter private domain name or leave default .local | ||
### Private IPAddress & Netmask. Ideally this should not be duplicated anywhere in organization LAN network. | ### Private IPAddress & Netmask. Ideally this should not be duplicated anywhere in organization LAN network. | ||
### Click done | |||
## Choose "ROCKS ROLLS" | ## Choose "ROCKS ROLLS" | ||
### Enter rolls server address such as http://rolls.rnd.com/install/rolls/ | ### Enter rolls server address such as http://rolls.rnd.com/install/rolls/ | ||
### Click on "List Available Rolls" | ### Click on "List Available Rolls" | ||
### Select all 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 on "Add Selected Rolls" | ||
### Click done. | |||
## Choose "CLUSTER CONFIG" | ## Choose "CLUSTER CONFIG" | ||
### Verify FQDN | ### Verify FQDN | ||
### Enter cluster name | ### Enter cluster name | ||
### Verify Private IPaddress details | ### Verify Private IPaddress details | ||
### Click done | |||
# Click on "Begin Installation" | # Click on "Begin Installation" | ||
# Enter root password | # Enter root password |
Revision as of 12:55, 10 May 2022
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 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