[ovirt-users] Sample OVirt KS for HV Deployment

Dan Yasny dyasny at gmail.com
Fri Mar 4 21:41:36 UTC 2016


On Fri, Mar 4, 2016 at 4:33 PM, Duckworth, Douglas C <duckd at tulane.edu>
wrote:

> We also use Ansible
>
> Could you share your role / playbook for networks?
>

All I use it for is to set one NIC up with an IP address, so the engine can
reach it. The rest is done via the engine. I probably should just do this
with DHCP and MAC reservations really

As for iscsi:

    - name: iSCSI initiator node.session.cmds_max adjustment
      lineinfile: dest=/etc/iscsi/iscsid.conf
                  regexp='^node.session.cmds_max'
                  line='node.session.cmds_max = 1024'
                  state=present

    - name: iSCSI initiator node.session.queue_depth adjustment
      lineinfile: dest=/etc/iscsi/iscsid.conf
                  regexp='^node.session.queue_depth'
                  line='node.session.queue_depth = 128'
                  state=present

    - name: iSCSI initiatorname set
      lineinfile:
        dest: /etc/iscsi/initiatorname.iscsi
        regexp: '^InitiatorName=iqn'
        line: '{{ "InitiatorName=iqn.2010-12.com.maxbetgroup:" +
inventory_hostname }}'
      notify:
        - restart iscsi
        - restart iscsid


  handlers:
    - name: restart iscsi
      service: name=iscsi state=restarted

    - name: restart iscsid
      service: name=iscsid state=restarted




>
> Thanks
> Doug
>
> --
> Thanks
>
> Douglas Duckworth, MSc, LFCS
> Unix Administrator
> Tulane University
> Technology Services
> 1555 Poydras Ave
> NOLA -- 70112
>
> E: duckd at tulane.edu
> O: 504-988-9341
> F: 504-988-8505
>
> On 03/02/2016 05:50 PM, Dan Yasny wrote:
> > I usually deploy with only a basic KS that places an ssh cert on the
> > host. Then ansible adds the repos and adjusts the network and iscsi
> > initiator , the ovirt bootstrap takes care of the rest
> >
> > On Mar 2, 2016 5:42 PM, "Duckworth, Douglas C" <duckd at tulane.edu
> > <mailto:duckd at tulane.edu>> wrote:
> >
> >     Never mind.  This seems to be a place to start:
> >
> >
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Installation_Guide/sect-Automated_Installation.html
> >
> >     https://access.redhat.com/solutions/41697
> >
> >     --
> >     Thanks
> >
> >     Douglas Duckworth, MSc, LFCS
> >     Unix Administrator
> >     Tulane University
> >     Technology Services
> >     1555 Poydras Ave
> >     NOLA -- 70112
> >
> >     E: duckd at tulane.edu <mailto:duckd at tulane.edu>
> >     O: 504-988-9341 <tel:504-988-9341>
> >     F: 504-988-8505 <tel:504-988-8505>
> >
> >     On 03/02/2016 04:06 PM, Duckworth, Douglas C wrote:
> >     > Does anyone have a kickstart available to share?  We are looking to
> >     > automate hypervisor deployment with Cobbler.
> >     >
> >     > Thanks
> >     > Doug
> >     >
> >     _______________________________________________
> >     Users mailing list
> >     Users at ovirt.org <mailto:Users at ovirt.org>
> >     http://lists.ovirt.org/mailman/listinfo/users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160304/298a3423/attachment-0001.html>


More information about the Users mailing list