[ovirt-users] Q: 2-Node Failover Setup - NFS or GlusterFS ?

2017-12-31 Thread Andrei V
Hi !

I'm installing 2-node failover cluster (2 x Xeon servers with local RAID
5 / ext4 for oVirt storage domains).
Now I have a dilemma - use either GlusterFS replica 2 or stick with NFS?

4.2 Engine is running on separate hardware.
Each node have its own storage domain (on internal RAID).

All VMs must be highly available.
One of the VMs is an accounting/stock control system with FireBird SQL
server on CentOS is speed-critical.
No load balancing between nodes necessary. 2nd is just for backup if 1st
for whatever reason goes up in smoke. All VM disks must be replicated to
backup node in near real-time or in worst case each 1 - 2 hour.
GlusterFS solves this issue yet at high performance penalty.

>From what I read here
http://lists.ovirt.org/pipermail/users/2017-July/083144.html
GlusterFS performance with oVirt is not very good right now because QEMU
uses FUSE instead of libgfapi.

What is optimal way to go on ?
Thanks in advance.
Andrei

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import OVA from oVirt 4.2 to oVirt 4.2

2017-12-31 Thread Arik Hadas
On Sat, Dec 30, 2017 at 1:26 AM, Alex Bartonek  wrote:

> I used clonezilla and built the VM that way.  If you get the OVA thing
> working, cool..  but in the meantime, here's how I did it using Clonezilla.
>

The bad news is that unfortunately, this OVA-import functionality is indeed
broken on 4.2.0.2.
The good news is that not only that the fix for this, along with other
OVA-related improvements, is already available on the master branch where
4.2.1 will be generated from but also that there is a workaround for
importing an OVA **that was generated by oVirt** which may even be more
efficient:
The alternative way requires using the SDK.
An example that demonstrates how to do this can be found at [1] - you just
need to replace the path to the ova (#43), the name of the target cluster
(#45), the connection details (#51-#57) and the name of the target storage
domain (#115).

So you'll need to install the SDK on one of the hosts that are part of the
source data center and then:
1. Export the VM as OVA through the webadmin/rest-api to a specific path on
that host.
2. Execute the example-script that takes the OVA from that path and uploads
it to the target data center.

Note that the SDK example-script uses the upload-disk operation.
This requires several configuration settings - I highly suggest to execute
the example of upload-disk [2] and only once that works for you to upload
the OVA(s).

[1]
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_ova_as_vm.py
[2]
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py



>
> https://www.unix1337.com/cloning-a-virtualbox-vm-to-ovirt-4-2/
>
>
>
> Sent with ProtonMail  Secure Email.
>
>  Original Message 
> Subject: How to import OVA from oVirt 4.2 to oVirt 4.2
> Local Time: December 28, 2017 8:03 PM
> UTC Time: December 29, 2017 2:03 AM
> From: a...@unix1337.com
> To: users 
>
> Followed instructions here:
> https://www.ovirt.org/develop/release-management/features/
> virt/virt-v2v-integration/
> Section: Importing OVA Files from VMware
> Even though its not VMWare, its an ova file so I followed the steps
> there.  Ownership of the file is 777, wide open.
>
> Error after clicking load: Failed to load VM configuration from OVA file:
> /media/primary/extra_space/CentOS7.ova
>
>
> Error in engine.log:
> 2017-12-28 20:03:04,910-06 INFO  
> [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor]
> (default task-38) [b596efbd-dc55-4ce4-b3b8-5e8ffac6e633] Executing
> Ansible command:  [/usr/bin/ansible-playbook, 
> --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa,
> --inventory=/tmp/ansible-inventory4892490524555390378,
> --extra-vars=ovirt_query_ova_path=/media/primary/extra_space/CentOS7.ova,
> /usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml] [Logfile: null]
> 2017-12-28 20:03:09,045-06 INFO  
> [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor]
> (default task-38) [b596efbd-dc55-4ce4-b3b8-5e8ffac6e633] Ansible playbook
> command has exited with value: 0
> 2017-12-28 20:03:09,046-06 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery]
> (default task-38) [b596efbd-dc55-4ce4-b3b8-5e8ffac6e633] Query
> 'GetVmFromOvaQuery' failed: null
> 2017-12-28 20:03:09,046-06 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery]
> (default task-38) [b596efbd-dc55-4ce4-b3b8-5e8ffac6e633] Exception:
> java.lang.NullPointerException
> at 
> org.ovirt.engine.core.bll.GetVmFromOvaQuery.executeQueryCommand(GetVmFromOvaQuery.java:47)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:106)
> [bll.jar:]
> at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
> [dal.jar:]
> at org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(
> DefaultBackendQueryExecutor.java:14) [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:548) [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
> [:1.8.0_151]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_151]
> at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_151]
> at org.jboss.as.ee.component.ManagedReferenceMethodIntercep
> tor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:422)
> at org.jboss.invocation.InterceptorContext$Invocation.
> proceed(InterceptorContext.java:509)
> at org.jboss.as.weld.ejb.DelegatingInterceptorInvocationContext.proceed(
> DelegatingInterceptorInvocationContext.java:92) [wildfly-weld-ejb-11.0.0.
> Final.jar:11.0.0.Final]
> at org.jboss.weld.interceptor.proxy.WeldInvocationContext.
> interceptorChainCompleted(WeldInvocationContext.java:98)
> [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
> at 

[ovirt-users] Error importing Windows Server 2016 VMs from vCenter 6.5

2017-12-31 Thread Matthew Hoberg
I am trying to import VMs from VMware 6.5 into oVirt 4.2 and it is failing. The 
only message I get in the Engine interface is that it failed to convert. All my 
2016 VMs are running in EFI mode. I built a fresh 2016 VM in MBR mode and that 
imported fine. VMware is a 2 host cluster running vCenter. oVirt 4.2 is a 2 
host cluster running a hosted engine. Both clusters connect to iSCSI 
datastores. Is there anything else I have to do to be able to import an EFI 
based VM?

~Matt
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt virtio drivers for fedora 5

2017-12-31 Thread Anantha Raghava

Hello Sergey,

Your suggestion worked Instead of extending the disks, we added the 
third IDE disk with about 500 GB, created the required partitions, mount 
points and just synchronised the date from physical server to all these 
mount points using DD command. Post the completion of synchronization 
process, we modified the fstab and the VM went live.


Now all well.

Thanks for your suggestion and WISH YOU & THE LIST A VERY HAPPY NEW YEAR.

--

Thanks & Regards,


Anantha Raghava


Do not print this e-mail unless required. Save Paper & trees.
On 30/12/17 3:33 AM, Sergey Kulikov wrote:

Re: [ovirt-users] oVirt virtio drivers for fedora 5

Maybe you can make this two disks larger, make more extended 
partitions on them and move partitions from disks 3 and 4 to this two 
and modify fstab accordingly?
Or if you don't need separate mount points you can extend space on / 
and move data to / filesystem tree and remove fstab entries,

and use only 1 virtual disk, if it's acceptable.
All this can be done from modern OS, you can connect all 4 disks via 
virtio drivers, connect 5th disk, move data to it, install fedora5 
bootloader,

modify fstab and than reattach to original vm via IDE.

/--



Wednesday, December 27, 2017, 16:07:59:

/

Hi,
We have converted a very old fedora 5 server to run on oVirt. However, 
since the Fedora 5 does not have virtio drivers, or virtio-scsi 
drivers, the disks are connected to virtual IDE interface. The problem 
here is on a single IDE interface, we cannot connect more than 2 
disks. But the old converted server had 4 disks on 2 IDE controllers.
First question is can we add one more virtual IDE Controller to the 
VM? If yes, please share the procedure. Or whether any one can share 
the proper virtio or virtio scsi for fedora 5 OS drivers so that we 
can get other two inactive disks working.

Unfortunately we cannot upgrade from Fedora 5 at the moment.
Await your inputs.
--
Thanks & Regards,

/Anantha Raghava

/Do not print this e-mail unless required. Save Paper & trees.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Some questions

2017-12-31 Thread Wesley Stewart
In addition to the previous post, oVirt requires you to use a DNS entry,
not an IP address to access the web interface.  If you don't run your own
DNS server, you can simply edit the host files on the client PCs.  This is
quite easy to do.  For example, just Google "edit host file on Windows".

Did you add the vnic after the installation?  The Linux distros are pretty
good when doing the install of detecting the NICs, but if you add them
later you may have to enable them afterwards.  Try running "sudo nmtui" and
see if you can enable it that way.  Otherwise you will Need to activate it
manually.

Lastly, windows was tricky for me at first.  Have you downloaded the oVirt
driver ISO?  Make sure that you have downloaded this and have it available
for oVirt vms to use.  During the windows install, you will have to use the
"change disk" or "change CD" button in the console once you get to the
point where you can choose your driver's, load the correct drivers, and
then switch back to the windows iso and continue the install.

https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/

I hope this helps!  Once I am next to a computer I can answer more fully if
necessary

On Dec 29, 2017 1:03 PM, "Pepe Pepe"  wrote:

Hello!

I got some questions for you.

1. How can I acces to the User Portal from a different PC of my subnetwork
(appart from the one which has the engine)? IP/UserPortal doesn't work.

2. I have Ubuntu and CentOS in a VM. I added a NIC to each one but they
don't appear as a interface.

3. Why when I try to install W10, it doesn't detect any Hard Drive ? I
added the floppy disk as it's explained on the web guides.


Thanks in advance,

Regards and have a nice day!

Jose.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Some questions

2017-12-31 Thread Yaniv Kaul
On Fri, Dec 29, 2017 at 7:57 PM, Pepe Pepe  wrote:

> Hello!
>
> I got some questions for you.
>

It will be easier if you could split the questions to the different email
threads, especially as they are on unrelated topics.


>
> 1. How can I acces to the User Portal from a different PC of my subnetwork
> (appart from the one which has the engine)? IP/UserPortal doesn't work.
>

You probably do not have a default gateway defined properly for your
Engine. Can you access the Admin Portal correctly from any PC?


>
> 2. I have Ubuntu and CentOS in a VM. I added a NIC to each one but they
> don't appear as a interface.
>

What is the NIC type? Did hot-plug it or just added it?


>
> 3. Why when I try to install W10, it doesn't detect any Hard Drive ? I
> added the floppy disk as it's explained on the web guides.
>

What kind of disk? If it's IDE, it should work. Otherwise, you need the
virtio-win drivers as part of the installation.
Y.


>
>
> Thanks in advance,
>
> Regards and have a nice day!
>
> Jose.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users