[ovirt-users] automatic creation of single host cluster

Yaniv Kaul ykaul at redhat.com
Wed Aug 23 13:52:07 UTC 2017


On Wed, Aug 23, 2017 at 1:11 PM, Fabrice Bacchella <
fabrice.bacchella at orange.fr> wrote:

> I'm still playing with my sdk4 python wrapper (https://github.com/
> fbacchella/ovirtcmd).
>
> In the last update, I tried to make writing of custom script simpler.
>
> As an example, i wrote a wrapper for single node cluster installation.
>
> I have a bunch of old ProLiant DL185 G5. I configured them to be
> single-node cluster. I create two disks on them, one will be system, the
> second on will be directly used by oVirt, without a file system on it.
> Three VLAN are added to the server. It used with:
>
>     ovcmd eval -v host_name $hostname samples/single_node_cluster.py
>
> The code for this script is found at https://github.com/
> fbacchella/ovirtcmd/blob/master/samples/single_node_cluster.py
>
>
Thanks for sharing. I quite like ovlib.
How do you pass parameters to the script?

Lastly, I wonder how it compares to oVirt Ansible roles[1].
Y.

[1] https://github.com/ovirt/ovirt-ansible

>
>
> _______________________________________________
> Users mailing list
> 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/20170823/e3bd59ed/attachment.html>


More information about the Users mailing list