RHV single node with local storage domain

In the last few month I got quite a few requests on deploying RHV as a single hyper-converged non extendable node with local storage (not gluster). This blog post is going to show you how you can install RHVM on baremetal and add the  same host which hosts the baremetal engine to RHVM. As always, you need a working dns server and the engine host needs to resolve (forward and reverse lookups). for this to work.

Step1. Register your host with subscription manager

Step2. Attach the needed channels

Step3. Update the host and reboot

Step4. Disable firewalld as the hypervisor will use iptables when it adds the hosts.

Step 5. Install rhvem

Step 6. Set iptables rules. Open /etc/sysconfig/iptables and drop in the following

Step 7. Reload iptables

Step 8. Run Engine Setup (For the firewall choose NO as we already configured it)

Step 9. That step is fairly quick once done login as admin

Step 10. Go to the hosts tab and click new (fill out the fields then hit ok

Make sure you uncheck the button “Automatically configure host firewall”

Step 11. Once your host is activated  you should see this.

Step 12. Put the host into maintenance mode to define where you local storage will be. (keep in mind that it probably will make a lot of sense to have a separate Raid disk for the data domain) You will also have to add it to fstab

Step 12. Once the node is in maintenance mode click on Management -> Configure local storage

 

Step 14. Configure the path for the local storage.

Step 15. Make sure that the directory you specify above is owned by vdsm.kvm. After you added the path hit ok. It will create the storage domain.

Step 16. You are now ready to use RHV.

 

5 thoughts on “RHV single node with local storage domain

Leave a Reply

Your email address will not be published. Required fields are marked *

*


Hit Counter provided by laptop reviews