[Ovirt-devel] How to install ovirt in working environment?

Joey Boggs jboggs at redhat.com
Thu Jul 2 15:37:07 UTC 2009


If you are familiar enough with using git and adding in a few patches 
from the mailing list you can achieve using a remote ipa server,  until 
it gets acks from the list or folks that have tested it, it won't be 
commited. If you want to use cobbler that's already setup, (on the 
question that asks if you have a cobbler setup already, answer yes and 
add your hostname/user/password)

Here's the patch list that will allow you to use another ipa server but 
it does try to do so right now using ipa-client-install. I'm not 
entirely sure how ipa-client install will behave if it's ran twice so 
you may want to skip that step by running:  touch 
/var/ace/single_execs/ipa_setup prior to running ace install ovirt


[PATCH server] update ovirt-add-host to use ipa commands instead of 
kadmin.local
[PATCH server] separate ipa common tasks freeipa::common and rename 
ipa_server_install to ipa_install
[PATCH server] add server-side groundwork for remote freeipa server
[PATCH server] update host-browser to use ipa commands rather than kadmin
[PATCH server] last patch to implement remote freeipa



On 07/02/2009 09:09 AM, Konstantin Kozlov wrote:
> Hello,
>
> I have the following question.
>
> How to install ovirt in working environment?
>
> Details:
>
> I want to install ovirt server on a physical host with Fedora 10 
> (Intel, no VT).
>
> I installed rpms from ovirt repo as stated on website.
>
> I allready have ipa, cobbler, dns, dhcp, nfs, two networks and such 
> set up and working. I want to preserve this setup. The host I am 
> installing ovirt on is ipa client. Ipa server is on another host.
>
> I gave consistent answers on corresponding questions of ovirt-installer.
>
> The script was produced as follows (ips and hostnames changed):
>
> # Configurations script generated by ovirt-installer
> # at Thu Jul 02 16:32:09 +0400 2009#
>
> import 'ovirt'
> import 'firewall'
> firewall::setup{'setup':
>     status => 'enabled'
> }
>
> firewall_rule{"ssh": destination_port => "22"}
>
> #DNS Configuration
> $guest_httpd_ipaddr = '195.168.1.7'
> $guest_ipaddr = '10.1.1.7'
> $admin_ipaddr = '10.1.1.7'
> $ovirt_host = 'station.example.ru'
> $ipa_host = 'station.example.ru'
>
> dns::remote{setup:
>     guest_ipaddr=> $guest_ipaddr,
>     admin_ipaddr=> $admin_ipaddr,
>     guest_dev => 'eth1',
>     admin_dev => 'eth1'
> }
>
> # DHCP Configuration
>
>
> # Cobbler configuration
> $cobbler_hostname = 'station.example.ru'
> $cobbler_user_name = 'cobbler'
> $cobbler_user_password = 'cobbler'
>
> # Postgres Configuration
> $db_username = 'ovirt'
> $db_password = 'ovirtadmin'
>
> # FreeIPA configuration
> $realm_name = 'example.ru'
> $freeipa_password = 'secret'
> $short_ldap_dn = 'dc=example,dc=ru'
> $ldap_dn = 'cn=ipaConfig,cn=etc,dc=example,dc=ru'
>
> include cobbler::remote
> include postgres::bundled
> include freeipa::bundled
> include ovirt::setup
>
> I ran it with
>
> ace -d -v install ovirt | tee ovirt-inst-log
>
> And stopped it when it was going to run
>
> Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 
> -y install ipa-server'
> that I don't want. As far as I can tell only firewall has been changed 
> which is not that bad.
>
> So the question is how to change the output of installer to instruct 
> the ace to install only ovirt and use ipa, cobbler etc from the 
> current set up.
>
> Sorry for the long story,
>
> Best regards,
>
> Konstantin
>
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel




More information about the ovirt-devel mailing list