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

dima vasiletc pronix.service at gmail.com
Thu Jul 2 13:32:24 UTC 2009


This files describe all steps for automatic installation.
You need non standart installation.
you run each step manualy.
for example /usr/share/ace/modules/ovirt/manifests/freeipa.pp  descripe 
how to prepare freeipa - you select only required steps :
set_kdc_defaults
replace_line_returns
get_krb5_tkt
ipa_modify_username_length ...and many other
and skip for example dns_masq restart and freeipa installation



On 07/02/2009 05:24 PM, Konstantin Kozlov wrote:
> Hello,
>
> Can you give some more details?
>
> The output of that command is:
>
> /usr/sbin/ovirt-installer
> /usr/share/ace
> /usr/share/ace/appliances
> /usr/share/ace/appliances/ovirt-appliance
> /usr/share/ace/appliances/ovirt-appliance/ovirt-appliance.pp
> /usr/share/ace/modules
> /usr/share/ace/modules/ovirt
> /usr/share/ace/modules/ovirt/files
> /usr/share/ace/modules/ovirt/files/cobbler-import
> /usr/share/ace/modules/ovirt/files/collectd.conf
> /usr/share/ace/modules/ovirt/files/dns_entries.sh
> /usr/share/ace/modules/ovirt/files/modules.conf
> /usr/share/ace/modules/ovirt/files/ovirt-appliance-setup
> /usr/share/ace/modules/ovirt/files/ovirt-storage
> /usr/share/ace/modules/ovirt/files/qpidd.conf
> /usr/share/ace/modules/ovirt/files/sasl2_qpidd.conf
> /usr/share/ace/modules/ovirt/manifests
> /usr/share/ace/modules/ovirt/manifests/appliance.pp
> /usr/share/ace/modules/ovirt/manifests/cobbler.pp
> /usr/share/ace/modules/ovirt/manifests/dhcp.pp
> /usr/share/ace/modules/ovirt/manifests/dns.pp
> /usr/share/ace/modules/ovirt/manifests/freeipa.pp
> /usr/share/ace/modules/ovirt/manifests/init.pp
> /usr/share/ace/modules/ovirt/manifests/ovirt.pp
> /usr/share/ace/modules/ovirt/manifests/postgres.pp
> /usr/share/ace/modules/ovirt/manifests/tftp.pp
> /usr/share/ace/modules/ovirt/templates
> /usr/share/ace/modules/ovirt/templates/digest_line.erb
> /usr/share/ace/modules/ovirt/templates/ovirt-dhcp.conf.erb
> /usr/share/ace/modules/ovirt/templates/ovirt-dns.conf.erb
> /usr/share/ace/modules/ovirt/templates/ovirt-tftp.conf.erb
>
> How can I select/deselect these parts (and what)?
>
> dima vasiletc wrote:
>> Check "rpm -ql ovirt-server-installer" and run only required for you 
>> function.
>>
>>
>>
>> On 07/02/2009 05:09 PM, 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