Kickstart template for RHEV hypervisor auto installation.

Latest response

Hi all,

I have an requirement of automating all my RHEV hypervisor installation using pxe. So is there any kickstart template available for RHEV hypervisor installation?? it will be helpful to have a template to automate my requirement.

Thanks in advance,

Inbaraj

Responses

You can look at your existing RHEV Hypervisor machines (for existing options):

cat /root/anaconda-ks.cfg

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.1/html/5.4-2.1_Hypervisor_Deployment_Guide/sect-Deployment_Guide-Preparing_Red_Hat_Enterprise_Virtualization_Hypervisor_installation_media-Deploying_RHEV_Hypervisors_with_PXE_and_tftp.html

Happy New Year 2014!!!
Thanks James for you reply.
I don’t see any anaconda-ks file in any installed RHEV hypervisor.
the same can be found in RHEL. so is there a knowledge base available for creating ks file for RHEV hypervisor installation.

Thanks,
Inbaraj

hello Inbaraj, I don't currently have a RHEV Hypervisor built and unfortunately it's been over 2 years since I have tried to kickstart a RHEV Hypervisor - but, I think we can figure this out. I'll do some poking around later. Something just occured to me... I don't believe you use a KS file (like a normal kickstart). You specify the parameters in your PXE cfg. (I apologize for suggesting the kickstart file).

Check out the Red Hat Enterprise Linux 6 Hypervisor Deployment Guide (sec 4.2.9)

:linux storage_init=/dev/sda storage_vol=::::: local_boot BOOTIF=eth0
management_server=rhevm.example.com netconsole=rhevm.example.com

I will look into this further and update this thread when I have better advice ;-)

My intention here is to do RHEV hypervisor installation without any manual intervention, but with all user values(disk,partition size) using a kickstart file(which we use for RHEL).
Thanks,
Inbaraj

Inbaraj,

This article also describes an option, using RHEV manager + PXE:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization_for_Desktops/2.2/html/5.5-2.2_Hypervisor_Deployment_Guide/sect-Deployment_Guide-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation-Example_Automated_RHEV_Hypervisor_Installation.html

Kickstart is a less obvious way, for setting up a storage domain for your guest is not easy using shell commands.

Regards,

Jan Gerrit Kootstra