Download Page:
http://www.rocksclusters.org/wordpress/?page_id=477
- In VMWare Workstation:
- Create a blank VM using typical settings and the Rocks ISO/CD selecting Linux/CentOS 64-bit as the operating system.
- Customize the hardware of the VM giving it a NAT Network Adapter as well as a Host-only Network adapter.
- Virtual Network Settings for 1st Adapter
- VMNet10 - Host Only
- IP 10.1.1.0
- Subnet Mask 255.255.255.0
- Disable DHCP
- Virtual Network Settings for 2nd Adapter
- VMNet8 - NAT
- IP 192.168.74.0
- Subnet Mask 255.255.255.0
- Disable DHCP
Create HeadNode:
Upon boot, the Rocks Clusters splash screen should appear. Type build to launch to begin setup.
Rolls -
- For this installation we will select the following rolls:
- base
- ganglia
- kernel
- os
- web-server
Cluster Information -
Add information as applicable.
- Ethernet for Public Network -
- eth1 - Public IP address - Used to communicate outside of the cluster
- IP 192.168.74.80
- Netmask 255.255.255.0
- Ethernet for Private Network
- eth0 is for the private IP address used within the cluster
- IP: 10.1.1.1
- Netmask: 255.255.255.0
- Misc. Network
- Gateway 192.168.74.2
- DNS 192.168.74.80
Once the system comes up, ensure VM settings still have
- Network Device 1 as VMNet10 - Host Only
- Network Device 2 as NAT.
At this point it's recommended to install VMWare tools and check connectivity to the internet.
To run yum update use the following command -
To add a user complete the following -
NOTE: If installing Torque/Maui do this before building compute nodes.
To run yum update use the following command -
- yum --enablerepo=updates update
To add a user complete the following -
- login as root
- useradd <username>
- passwd <username>
- rocks sync users
NOTE: If installing Torque/Maui do this before building compute nodes.
Create Compute-0-0:
- Create a new VM with the same VMNet10 network adapter.
- On the head node run insert-ethers and select compute
- Boot compute-0-0 vm
- Compute-0-0 should PXE boot and automatically begin provisioning. Once there is a (*) next to the device press F8 to quit insert-ethers and type rocks-console compute-0-0 to view the installation in progress.
- Repeat this as many times as necessary for additional compute nodes.
- NOTE: Updating compute nodes with yum could lead to problems.
Create Login-0-0:
- Create a new VM with the same VMNet10 network adapter and NAT network adapter
- On the head node run insert-ethers and select login
- Boot login-0-0 vm
- Login-0-0 should kickstart and automatically begin provisioning. Once there is a (*) next to the device press f8 to quit insert-ethers and type rocks-console login-0-0 to view the installation in progress.
- On headnode execute the following commands
- # rocks set host interface ip login-0-0 iface=eth1 ip=192.168.74.81
- # rocks set host interface subnet login-0-0 eth1 public
- # rocks add host route login-0-0 192.168.74.81 eth1 netmask=255.255.255.0
- # rocks sync config
- # rocks sync host network login-0-0
- Update the login node with yum --enablerepo=updates update
I'm using VMware Workstation Pro 12 and Rocks 6.2.
ReplyDeleteWith the same configuration I got the internet to work - but I cannot start the dhcpd service.
If I type dhcpd in the terminal I get "No subnet declaration for eth0 (no IPv4 addresses)."
Please help!
I got it figured out.
ReplyDeleteFor VMware HOST-ONLY adapter:
IP 10.1.0.0
Subnet Mask 255.255.0.0
eth0
IP: 10.1.1.1
Netmask: 255.255.0.0