Re: [ovirt-users] Upload img file to Storage Domain

2016-06-09 Thread Fernando Frediani

Thanks for that.
That worked.

I installed a temporary Linux distribution, downloded the .img file to 
its filesystem, made a dd to /dev/vdb and remove the temporary Linux 
distribution disk, then let the disk boot from the remaining disk. Far 
from ideal but at least worked.


Fernando

Em 08/06/2016 10:12, Barak Korren escreveu:

On 8 June 2016 at 15:58, Fernando Frediani <fernando.fredi...@upx.com.br> wrote:

Hi there,

I'm spending a fair amount of time to find out how (if possible) to upload a
.img image to a oVirt Storage Domain and be able to mount it in a VM as a
disk.

It is a OpenWRT image and there is no OVF from it, so it's a raw image which
I wanted to use as a disc. Tried both with engine-iso-uploader and
engine-image-uploader but they refure for diferent reasons.

Is that possible at all ?


Uploading of QCOW images from GUI will hopefully land in 4.0.

In the meantime you can work around it like this:
1. Create a VM and install centos/some other Linux on it
2. Create a new VM disk and attach to VM, not the disk device
3. Copy the image from the file to the disk device with virt-resize.
4. Detach the disk from the VM and build a new VM around it

Optionally:
1. Convert the VM from step #4 to a template
2. Re use the VM from step #1 to upload more images.

HTH,



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


[ovirt-users] Upload img file to Storage Domain

2016-06-08 Thread Fernando Frediani

Hi there,

I'm spending a fair amount of time to find out how (if possible) to 
upload a .img image to a oVirt Storage Domain and be able to mount it in 
a VM as a disk.


It is a OpenWRT image and there is no OVF from it, so it's a raw image 
which I wanted to use as a disc. Tried both with engine-iso-uploader and 
engine-image-uploader but they refure for diferent reasons.


Is that possible at all ?

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


Re: [ovirt-users] which NIC/network NFS storage is using

2016-06-14 Thread Fernando Frediani
I guess what the colleague wants to know is how to specify a interface 
in a different VLAN on the top of the 10Gb LACP in order for the NFS 
traffic to flow.
In VMware world that would be vmkernel interface, so a new 
network/interface with an different IP address than Management (ovirtmgmt).


Fernando

Em 14/06/2016 13:52, Ryan Mahoney escreveu:

Right, but how do you specify which network the nfs traffic is using?

On Tue, Jun 14, 2016 at 12:41 PM, Nir Soffer > wrote:


On Tue, Jun 14, 2016 at 5:26 PM, Ryan Mahoney
> wrote:
> On my hosts, I have configured a 1gbe nic for ovirtmgmt whose
usage is
> currently setup for Management, Display, VM and Migration. I
also have a 2
> 10gbe nics bonded LACP which are VLAN tagged and assigned the
dozen or so
> VLANS needed for the various VM's to access.  I have NFS storage
mounted to
> the Data Center, and I would like to know how I check/specify
which network
> connection ovirt is using for that NFS storage.  I want to make
sure it is
> utilizing the 10gbe bond on each host vs using the 1gbe connection.

We don't configured anything regarding network used for nfs
storage, so it works
just like any other nfs mount you create yourself.

Nir




___
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


[ovirt-users] Storage types in oVirt

2016-06-14 Thread Fernando Frediani

Hi there,

I see that supported storage types in oVirt are: iSCSI, FCoE NFS, Local 
and Gluster.
Specifically speaking about iSCSI and FCoE I see they use LVM on the 
block storage level to store the Virtual Machines.


I just wanted to understand why the choice was to have LVM and if that 
is the only option at the moment.


Was ever considered to have something like GFS2 ou OCFS2 in comparison 
with VMFS5 and VMs running in qcow2 ou raw files on the top of it ?


I don't like LVM and have a strong preference for anything related to 
storage that doesn't use it so the reason I'm looking for a different 
way to use block storage without it having to be a LVM.


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


Re: [ovirt-users] Storage types in oVirt

2016-06-14 Thread Fernando Frediani

Hi Nir,
Thanks for clarification.

Answering your questions: The intent was to use a Posix like filesystem 
similar to VMFS5 (GFS2, OCFS2, or other) where you have no choice for 
how the block storage is presented to multiple servers. Yes I heard 
about GFS2 escalation issues in the past, but thought it had been gone 
now a days, it seems not.


I had the impression that qcow2 images have both thin-provisioning and 
snapshot capabilities.


Regarding LVM I don't like the idea of having VMs buried into a LVM 
volume nor the idea of troubleshooting LVM volumes when necessary. 
Dealing with qcow2 images for every VM separately makes things much 
easier for doing several tasks. I would say that people coming from 
VMware would prefer to deal with a VMDK rather than a RDM LUN. In the 
other hand I have nothing to say about LVM performance.


Best
Fernando


Em 14/06/2016 16:35, Nir Soffer escreveu:

On Tue, Jun 14, 2016 at 8:59 PM, Fernando Frediani
<fernando.fredi...@upx.com.br> wrote:

Hi there,

I see that supported storage types in oVirt are: iSCSI, FCoE NFS, Local and
Gluster.

We support iSCSI, FC, FCoE, NFS, Gluster, Ceph, Local and any posix like
shared file system.


Specifically speaking about iSCSI and FCoE I see they use LVM on the block
storage level to store the Virtual Machines.

To be more specific, we use lvm to create volumes. Each virtual machine disk
use one volume and additional volume for each snapshot.


I just wanted to understand why the choice was to have LVM

What would use use instead?


and if that is
the only option at the moment.

This is the only option for block storage if you need snapshots or thin
provisioning.

If preallocated disk without snapshots is good enough for you, you
can attach a LUN directly to a vm. This will give the best performance.


Was ever considered to have something like GFS2 ou OCFS2 in comparison with
VMFS5 and VMs running in qcow2 ou raw files on the top of it ?

Any posix compatible file system can be used, using raw or qcow2 files.

You can use GFS2, but I heard that it does not scale well.


I don't like LVM and have a strong preference for anything related to
storage that doesn't use it so the reason I'm looking for a different way to
use block storage without it having to be a LVM.

You can use one of the file based storage options, or ceph.

Whats wrong with lvm?


Nir


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


Re: [ovirt-users] Storage types in oVirt

2016-06-14 Thread Fernando Frediani

Hi Nir,

I wouldn't say that the performance coming from LVM is significantly 
better than from a filesystem if the last is well built. In VMware the 
performance from a VMDK running on the top of VMFS5 and from a RDM has 
no significant gain one over another. I've always preferred to have 
machines in a filesystem for the ease of management. In some cases with 
hundreds of them in a single filesystem never faced performance issues. 
The bottleneck normally is down to the storage architecture (Storage 
Controller, RAID config, etc).


The multipath is certainly a plus that helps in certain cases.

I guess the answer to my original question is clear. If I want to use 
block storage shared among different hosts there is no choice in oVirt 
other than LVM.
In a particular case I have a storage shared via a kind of internal SAS 
backplane to all servers. The only alternative to that would be dedicate 
a server to own the storage and export it as NFS, but in that case there 
would be some looses in the terms of hardware an reliability.


Thanks
Fernando

On Tue, Jun 14, 2016 at 11:23 PM, Fernando Frediani 
<fernando.fredi...@upx.com.br> wrote:

Hi Nir,
Thanks for clarification.

Answering your questions: The intent was to use a Posix like filesystem
similar to VMFS5 (GFS2, OCFS2, or other) where you have no choice for how
the block storage is presented to multiple servers. Yes I heard about GFS2
escalation issues in the past, but thought it had been gone now a days, it
seems not.

I had the impression that qcow2 images have both thin-provisioning and
snapshot capabilities.

Yes, using file based storage, you have both snapshots and thin provisioning,
this is the most reliable way to get thin provisioning in ovirt.

But then you pay for the file system overhead, where in block storage the qemu
image is using the lv directly.

In block storage we use multipath, so if you have mutiple nics and networks,
you get better reliability and performance.


Regarding LVM I don't like the idea of having VMs buried into a LVM volume
nor the idea of troubleshooting LVM volumes when necessary. Dealing with
qcow2 images for every VM separately makes things much easier for doing
several tasks. I would say that people coming from VMware would prefer to
deal with a VMDK rather than a RDM LUN. In the other hand I have nothing to
say about LVM performance.

LVM has its own issues with many lvs on the same vg - we recommend to
use up to 350 lvs per vg. If you need more, you need to use another vg.

The best would be to try both and use the best storage for the particular
use case.

Nir


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


Re: [ovirt-users] Setup new enviroment

2016-06-21 Thread Fernando Frediani

Hello,

If you have 3 x 2TB disks, one on each server, why not use a Distributed 
Storage and have redundancy ?


Fernando

Em 21/06/2016 02:32, Andy Michielsen escreveu:

Hello all,

I was just wondering what your opinions would be in setting up a new oVirt 
enviroment.

I have 4 old servers, 3 with 64 Gigs of ram and 2 tera's of disk space an one 
with 32 Gigs of ram and 1,2 Gb. Each has 2 hexcore cpu's. Each server has at 
least 2 nic's.

I would like to use each server in a seperate cluster with there own local 
storage as this would all only be used as a test enviroment but still would 
like to manage them from one interface. Deploy new vm's from templates etc.

Can I still use the all in one installation for engine and node ? Or can I 
install the engine on a seperate host, physical or virtual.

What would be a good way to use the network ?

Any advice would be greatly appriciated. Thanks in advance.
___
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


[ovirt-users] Install oVirt-Node to USB Stick / SD Card

2016-06-16 Thread Fernando Frediani

Hi,

What is the current status of installing oVirt-Node to an internal USB 
Stick or SD Card ?
Is it customized to run in memory after boot and only write config 
changes to the storage or are there any concerns or caveats necessary 
when using it that way ?


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


Re: [ovirt-users] oVirt 4.0.0 Fourth Release candidate is now available for testing

2016-06-21 Thread Fernando Frediani

Nice Rafael. Thanks for the update.

Is Next Generation Node that one that will allow a supported 
installation and running on USB Stick or SD Card instead of a 
traditional disk ?


Fernando

Em 21/06/2016 12:16, Rafael Martins escreveu:

The oVirt Project is pleased to announce the availability of the Fourth
Release Candidate of oVirt 4.0.0 for testing, as of June 21th, 2016

This is pre-release software. Please take a look at our community page[1]
to know how to ask questions and interact with developers and users.
All issues or bugs should be reported via oVirt Bugzilla[2].
This pre-release should not to be used in production.

This release is available now for:
* Fedora 23
* Red Hat Enterprise Linux 7.2 or later
* CentOS Linux (or similar) 7.2 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.2 or later
* CentOS Linux (or similar) 7.2 or later
* Fedora 23
* oVirt Next Generation Node 4.0

See the release notes draft [3] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
* A new oVirt Live ISO is already available. [4]
* A new oVirt Next Generation Node will be available soon.
* A new oVirt Engine Appliance is already available.
* A new oVirt Guest Tools ISO will be available soon.
* Mirrors[5] might need up to one day to synchronize.

Additional Resources:
* Read more about the oVirt 4.0.0 release candidate highlights:
   http://www.ovirt.org/release/4.0.0/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
   http://www.ovirt.org/blog/

[1] https://www.ovirt.org/community/
[2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
[3] http://www.ovirt.org/release/4.0.0/
[4] http://resources.ovirt.org/pub/ovirt-4.0-pre/iso/
[5] http://www.ovirt.org/Repository_mirrors#Current_mirrors

--
Rafael Martins
___
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] Hosted engine on Ceph RBD

2016-06-16 Thread Fernando Frediani

+1


On 16/06/2016 23:14, Bond, Darryl wrote:

Has there been any consideration of allowing the hosted engine to be installed 
on a Ceph rbd.

I'm not suggesting using cinder but addressing the rbd directly in the hosted 
engine install process.


This would allow ceph only hosting of oVirt without another replicated storage 
for the engine.


Darryl




The contents of this electronic message and any attachments are intended only 
for the addressee and may contain legally privileged, personal, sensitive or 
confidential information. If you are not the intended addressee, and have 
received this email, any transmission, distribution, downloading, printing or 
photocopying of the contents of this message or attachments is strictly 
prohibited. Any legal privilege or confidentiality attached to this message and 
attachments is not waived, lost or destroyed by reason of delivery to any 
person other than intended addressee. If you have received this message and are 
not the intended addressee you should notify the sender by return email and 
destroy all copies of the message and any attachments. Unless expressly 
attributed, the views expressed in this email do not necessarily represent the 
views of the company.
___
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


[ovirt-users] Network redundancy with Manual balancing per VLAN

2016-06-25 Thread Fernando Frediani

Hello,

In VMware it is possible to bond two network interfaces and for each 
Portgroup (equivalent to a VLAN) is possible to tell which of the 
physical interfaces underneath it you wish the traffic to flow primarily 
and which stays as secondary(bond mode=1 equivalent). So for certain 
VLANs (Management, Live Migration, etc) is possible to force traffic 
flow via one physical NIC of the bond and for other VLANs (Virtual 
Machine's traffic) outs via the other NIC with failover to each other 
should a cable or switch fails.


This is specially good for better utilize the fewer NICs available and 
still have redundancy.


In oVirt it is also possible to have bonds, but would it still be 
possible to do that same and favor the traffic per VLAN basis ? I guess 
it is something related to Linux Bond module but perhaps someone has 
done this already.


Thanks

Fernando

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


Re: [ovirt-users] oVirt/RHEV and HP Blades and HP iSCSI SAN

2016-06-24 Thread Fernando Frediani

Hello Colin,

I know well all the equipment you have in your hands as I used to work 
with these during a long time. Great stuff I can say.


All seems Ok from what you describe, except the iSCSI network which 
should not be a bond, but two independent vlans (and subnets) using 
iSCSI multipath. Bond works, but it's not the recommended setup for 
these scenarios.


Fernando

On 24/06/2016 22:12, Colin Coe wrote:

Hi all

We run four RHEV datacenters, two PROD, one DEV and one 
TEST/Training.  They are all  working OK but I'd like a definitive 
answer on how I should be configuring the networking side as I'm 
pretty sure we're getting sub-optimal networking performance.


All datacenters are housed in HP C7000 Blade enclosures. The PROD 
datacenters use HP 4730 iSCSI SAN clusters, each datacenter has a 
cluster of two 4730s. These are configured RAID5 internally with 
NRAID1. The DEV and TEST datacenters are using P4500 iSCSI SANs and 
each datacenter has a cluster of three P4500s configured with RAID10 
internally and NRAID5.


The HP C7000 each have two Flex10/10D interconnect modules configured 
in a redundant ring so that we can upgrade the interconnects without 
dropping network connectivity to the infrastructure. We use fat RHEL-H 
7.2 hypervisors (HP BL460) and these are all configured with six 
network interfaces:

- eno1 and eno2 are bond0 which is the rhevm interface
- eno3 and eno4 are bond1 and all the VM VLANs are trunked over this 
bond using 802.1q

- eno5 and eno6 are bond2 and dedicated to iSCSI traffic

Is this the "correct" way to do this?  If not, what should I be doing 
instead?


Thanks

CC


___
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] oVirt and Ceph

2016-06-25 Thread Fernando Frediani

This solution looks intresting.

If I understand it correctly you first build your CEPH pool. Then you 
export RBD to iSCSI Target which exports it to oVirt which then will 
create LVMs on the top of it ?


Could you share more details about your experience ? Looks like a way to 
get CEPH + oVirt without Cinder.


Thanks

Fernando

On 25/06/2016 17:47, Nicolás wrote:

Hi,

We're using Ceph along with an iSCSI gateway, so our storage domain is 
actually an iSCSI backend. So far, we have had zero issues with cca. 
50 high IO rated VMs. Perhaps [1] might shed some light on how to set 
it up.


Regards.

[1]: 
https://www.suse.com/documentation/ses-2/book_storage_admin/data/cha_ceph_iscsi.html
En 24/6/2016 9:28 p. m., Charles Gomes  
escribió:


Hello

I’ve been reading lots of material about implementing oVirt with
Ceph, however all talk about using Cinder.

Is there a way to get oVirt with Ceph without having to implement
entire Openstack ?

I’m already currently using Foreman to deploy Ceph and KVM nodes,
trying to minimize the amount of moving parts. I heard something
about oVirt providing a managed Cinder appliance, have any seen this ?



___
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] HTML5 Console

2016-07-31 Thread Fernando Frediani
Console in oVirt is pretty annoying to make it work in certain cases. 
This is certanly something for developers to take up and think about how 
to make it a bit easier and straight forward.


On 31/07/2016 00:12, Anantha Raghava wrote:


Hi,

How do we start the HTML5 console for the Virtual Machines?

Under console options, when we set the client console as HTML 5, only 
black screen appears. The same is the case for noVNC as well.



Any suggestions to set this right?
--

Thanks & Regards,

Anantha Raghava




___
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


[ovirt-users] Convert OnApp VM to oVirt

2016-08-11 Thread Fernando Frediani

Hi,

Has anyone done a VM conversion from OnApp (therefore running in LVM) to 
oVirt/RHEV format being either buried in LVM or in a QCOW2 file.


I've seen some instructions using qemu-img but wanted to find out if 
anyone has found any issues in this process. Any adjusts to be done 
before booting the VM the first time in the new platform ?

Both hypervisors are KVM.

Fernando

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


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Fernando Frediani
I use LVM2 and Thinprovisioned LVs to put Filesystems and it works with 
no issues. It's just a question of handling it correctly to tell it how 
to create each storage chunk that way. The same way those LVs can be 
used to run VMs as they are in traditional LVM.


Not sure what you mean by cote Linux not supporting it.

Fernando


Em 11/08/2016 14:43, Chris Adams escreveu:

Once upon a time, Fernando Frediani <fernando.fredi...@upx.com.br> said:

Thanks for the answer anyway. Hopefully at least LVM2
Thinprovisioning comes up anytime soon.

This has nothing to do with oVirt; it is something the core Linux LVM
code does not support.  Last time I looked, nobody was working on it
upstream.

You can still thin-provision VMs in oVirt, there's just not a way to
release space if a VM image shrinks significantly.


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


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Fernando Frediani

Really ? That's pretty bad and another downside unfortunately.

The fact that the only option for block storage is LVM (so there is not 
suitable Clustered Filesystem to run QCOW2 files) and now that LVM2 
Thinprovisioned is not supported can be a real issue where 
Thinprovisioned LUNs are not available in the Storage Controller.


Have these topics ever came up in the feature/product management 
meetings are any of them something being considered ?
The same way CPU and Memory overprovision are key features in order to 
justify the overall solution cost Storage Thinprovision equally 
necessary otherwise the Storage stuff end up costing more than half of 
whole platform solution.


Thanks for the answer anyway. Hopefully at least LVM2 Thinprovisioning 
comes up anytime soon.


Fernando


Em 11/08/2016 12:54, Nir Soffer escreveu:

On Tue, Aug 9, 2016 at 3:16 PM, Fernando Frediani
<fernando.fredi...@upx.com.br> wrote:

Hello all.

When you use oVirt with a Block Storage the only option available to store
de VMs is LVM.

Does LVM in oVirt use Thinprovisoned (supported in LVM2) instead of having
to use the SAN Thinprovisioned features ?

No, we use regular lvs. thin pool are not supported in a cluster.

Using thin provisioned LUN for ovirt storage domain is the best option
(supported
since 4.0). We discard removed lvs, so you get back the storage on the storage
server and can use it for other thin provisioned LUNs.

Nir


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


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Fernando Frediani

Ok Chris, got what you mean.

Thanks for clarifying.

Fernando


Em 11/08/2016 15:12, Chris Adams escreveu:

Once upon a time, Fernando Frediani <fernando.fredi...@upx.com.br> said:

I use LVM2 and Thinprovisioned LVs to put Filesystems and it works
with no issues. It's just a question of handling it correctly to
tell it how to create each storage chunk that way. The same way
those LVs can be used to run VMs as they are in traditional LVM.

Not sure what you mean by cote Linux not supporting it.

To do that with multiple access, you have to be running in clustered LVM
mode, and thin provisioning is not supported with CLVM.


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


Re: [ovirt-users] Multiple FC SAN's and Hosts LSM etc

2016-07-15 Thread Fernando Frediani
One of the things I don't like very much in oVirt is the LVM on Shared 
Block storage, but unfortunately there are no other options. One day 
perhaps a VMFS5 equivalent will come up somewhere.


I would avoid it and put a server in between the SAN and the oVirt Nodes 
and use NFS in order to abstract it, that would give you more 
flexibility and keep you away from LVM. But in your case if you don't 
have 10GbE interfaces you will loose on performance using 1GbE interfaces.


With regards the  migration of VMs between different CPU families I'm 
not sure what is the tolerance of oVirt with it. Depending on the CPUs 
and the cluster types you may be able to do migrations.So I would keep 
different CPU families in different clusters.


Fernando

Em 15/07/2016 07:07, Neil escreveu:

Hi guys,

I'm soon going to have the following equipment and I'd like to find 
the best way to utilise it


1.) One NEW FC SAN, and 3 new Dell Hosts with FC cards.

2.) One OLD FC SAN with 2 older HP hosts with FC cards. (old VMWare 
environment)


3.) Another OLDER FC SAN with 2 older HP Hosts with FC cards. (old 
VMWare environment)


4.) I have an existing oVirt 3.5 DR cluster with two hosts and NFS 
storage that is current in use and works well.


Each of the above SAN's will only have FC ports to connect to their 
existing hosts, so all hosts won't be connected to all SAN's. All 
hosts would be the same Centos 7.x release etc.


All existing VM's are going to be moved to the option 1 via a 
baremetal restore from backup onto a NEW oVirt platform. Once 
installed I'd then like to re-commission 2 and 3 above to make use of 
the old hardware and SAN's as secondary or possibly a "new" DR 
platform to replace or improve on option 4.


Bearing in mind the older hardware will be different CPU generations, 
would it be best to add the older hosts and SAN's as new clusters 
within the same NEW oVirt installation? Or should I rather just keep 
2, 3 and 4 as separate oVirt installations?


I know in the past live migration wouldn't work with different CPU 
generations, and of course my SAN's won't be physically connected to 
each of the hosts.


In order to move VM's between 1, 2 and 3 would I need to shut the VM 
down and export and import, or is there another way to do this?


Could LSM work between across all three SANS and hosts?

I know I can do a baremetal restore from backup directly onto either 
1, 2 or 3 if needed, but I'd like to try tie all of this into one 
platform if there is good reason to do so. Any thoughts, suggestions 
or ideas here?


Any guidance is greatly appreciated.

Thank you

Regards.

Neil Wilson.






___
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


[ovirt-users] oVirt + Gluster Hyperconverged

2016-07-15 Thread Fernando Frediani

Hi folks,

I have a few servers with reasonable amount of raw storage but they are 
3 with only 8GB of memory each.
I wanted to have them with an oVirt Hyperconverged + Gluster mainly to 
take advantage of the amount of the storage spread between them and have 
ability to live migrate VMs.


Question is: Does running Gluster on the same Hypervisor nodes consumes 
any significant memory that won't be much left for running VMs ?


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


Re: [ovirt-users] Network redundancy with Manual balancing per VLAN

2016-06-27 Thread Fernando Frediani

Thanks for the reply.

Perhaps is the case of contacting the maintainer of Linux Bond module 
and see if there is room for this feature to be implement anytime. OVS 
is great in the coming future, but Bond module is still something very 
handy that simplify the things a lot.


Thanks
Fernando

Em 27/06/2016 03:00, Edward Haas escreveu:



On Sun, Jun 26, 2016 at 4:37 PM, Yevgeny Zaspitsky 
<yzasp...@redhat.com <mailto:yzasp...@redhat.com>> wrote:


Dan, Edy,

Could you guys answer this?

IIUC, the requirements are:

  * stream the traffic of few VLANs(network roles) through a
single bond
  * be able to bind a VLAN to a bond slave with an option of fallback
  * have redundancy
  * assign different QoS to every VLAN (my addition)

I guess this is a new RFC that we do not support currently, but
would we be able to provide in any future?

-- Forwarded message --
From: *Fernando Frediani* <fernando.fredi...@upx.com.br
<mailto:fernando.fredi...@upx.com.br>>
Date: Sat, Jun 25, 2016 at 11:17 PM
Subject: [ovirt-users] Network redundancy with Manual balancing
per VLAN
To: users@ovirt.org <mailto:users@ovirt.org>


Hello,

In VMware it is possible to bond two network interfaces and for
each Portgroup (equivalent to a VLAN) is possible to tell which of
the physical interfaces underneath it you wish the traffic to flow
primarily and which stays as secondary(bond mode=1 equivalent). So
for certain VLANs (Management, Live Migration, etc) is possible to
force traffic flow via one physical NIC of the bond and for other
VLANs (Virtual Machine's traffic) outs via the other NIC with
failover to each other should a cable or switch fails.

This is specially good for better utilize the fewer NICs available
and still have redundancy.

In oVirt it is also possible to have bonds, but would it still be
possible to do that same and favor the traffic per VLAN basis ? I
guess it is something related to Linux Bond module but perhaps
someone has done this already.


Thanks

Fernando

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


Hello Fernando,

As you mentioned, oVirt is using the Linux Bond and the solution you 
are looking for is not supported.
The oVirt way to handle this is by applying QoS on the networks, 
providing the guaranteed rates for each and utilizing the bond for 
throughput beyond the one link limit.


With the introduction of OVS as an alternative networking 
infrastructure for the hosts, you could create a hook that implements 
some special functionality, but ovs is not in yet.


Thanks,
Edy.




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


Re: [ovirt-users] Network redundancy with Manual balancing per VLAN

2016-06-27 Thread Fernando Frediani

Well, yes. That's actually the name VMware uses.

If it bring similar functionalities then that's the solution. Thanks for 
sharing. looks pretty intresting.


Fernando

Em 27/06/2016 09:39, Fabrice Bacchella escreveu:

Isn't teaming[1] the futur, instead of bonding ?

[1] http://rhelblog.redhat.com/2014/06/23/team-driver/


Le 27 juin 2016 à 14:31, Fernando Frediani 
<fernando.fredi...@upx.com.br <mailto:fernando.fredi...@upx.com.br>> 
a écrit :


Thanks for the reply.

Perhaps is the case of contacting the maintainer of Linux Bond module 
and see if there is room for this feature to be implement anytime. 
OVS is great in the coming future, but Bond module is still something 
very handy that simplify the things a lot.


Thanks
Fernando

Em 27/06/2016 03:00, Edward Haas escreveu:



On Sun, Jun 26, 2016 at 4:37 PM, Yevgeny Zaspitsky 
<yzasp...@redhat.com> wrote:


Dan, Edy,

Could you guys answer this?

IIUC, the requirements are:

  * stream the traffic of few VLANs(network roles) through a
single bond
  * be able to bind a VLAN to a bond slave with an option of
fallback
  * have redundancy
  * assign different QoS to every VLAN (my addition)

I guess this is a new RFC that we do not support currently, but
would we be able to provide in any future?

-- Forwarded message --
    From: *Fernando Frediani* <fernando.fredi...@upx.com.br>
Date: Sat, Jun 25, 2016 at 11:17 PM
Subject: [ovirt-users] Network redundancy with Manual balancing
per VLAN
To: users@ovirt.org <mailto:users@ovirt.org>


Hello,

In VMware it is possible to bond two network interfaces and for
each Portgroup (equivalent to a VLAN) is possible to tell which
of the physical interfaces underneath it you wish the traffic to
flow primarily and which stays as secondary(bond mode=1
equivalent). So for certain VLANs (Management, Live Migration,
etc) is possible to force traffic flow via one physical NIC of
the bond and for other VLANs (Virtual Machine's traffic) outs
via the other NIC with failover to each other should a cable or
switch fails.

This is specially good for better utilize the fewer NICs
available and still have redundancy.

In oVirt it is also possible to have bonds, but would it still
be possible to do that same and favor the traffic per VLAN basis
? I guess it is something related to Linux Bond module but
perhaps someone has done this already.


Thanks

Fernando

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


Hello Fernando,

As you mentioned, oVirt is using the Linux Bond and the solution you 
are looking for is not supported.
The oVirt way to handle this is by applying QoS on the networks, 
providing the guaranteed rates for each and utilizing the bond for 
throughput beyond the one link limit.


With the introduction of OVS as an alternative networking 
infrastructure for the hosts, you could create a hook that 
implements some special functionality, but ovs is not in yet.


Thanks,
Edy.




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




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


[ovirt-users] Run oVirt Node in SD Card/USB Stick

2016-07-06 Thread Fernando Frediani

Hello there,

With oVirt 4.0 Release is running oVirt Node in a SD Card or USB Stick 
supported where the system boots in memory and only writes configuration 
changes to permanent storage similar to what VMware ESXi does ?


This is very useful and can save a significant amount on CAPEX and 
running costs depending on the size of the cluster.


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


Re: [ovirt-users] Run oVirt Node in SD Card/USB Stick

2016-07-06 Thread Fernando Frediani

Hi Yaniv,

I have already done a fair amount of tunning to run a minimal OS from a 
USB stick and it seems to work reasonable well overtime, but nothing 
rock solid and of course I wouldn't try it myself in a production oVirt 
Node if that's not official.


Even if it's not running in memory it's just a question to create a 
schema to avoid all unnecessary writes to permanent storage. Logs can be 
limited to a short period in memory (in another Console) or sent to a 
remote syslog server. It doesn't change much for the base OS to read 
anything it needs.
I thought I had seen these years ago during the development of the first 
versions of oVirt Node, but maybe I misunderstood or it was not 
considered for newer versions.


Perhaps there is something around this on some roadmap. As I mentioned, 
this is a significant saving for any platform not having to use any 
disks in the Compute Nodes.


Regards,
Fernando


Em 06/07/2016 10:40, Yaniv Dary escreveu:

oVirt node depends on the base OS support of the feature (Fedora\CentOS).
I have seen people do this online, but nothing official, so you can 
try it.



Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem 
Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 
7692306 8272306 Email: yd...@redhat.com <mailto:yd...@redhat.com> IRC 
: ydary


On Wed, Jul 6, 2016 at 3:23 PM, Fernando Frediani 
<fernando.fredi...@upx.com.br <mailto:fernando.fredi...@upx.com.br>> 
wrote:


Hello there,

With oVirt 4.0 Release is running oVirt Node in a SD Card or USB
Stick supported where the system boots in memory and only writes
configuration changes to permanent storage similar to what VMware
ESXi does ?

This is very useful and can save a significant amount on CAPEX and
running costs depending on the size of the cluster.

Thanks
Fernando
___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users




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


[ovirt-users] LVM2 Thinprovisioned

2016-08-09 Thread Fernando Frediani

Hello all.

When you use oVirt with a Block Storage the only option available to 
store de VMs is LVM.


Does LVM in oVirt use Thinprovisoned (supported in LVM2) instead of 
having to use the SAN Thinprovisioned features ?


Fernando

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


[ovirt-users] Gluster replication on 1Gb interfaces

2016-08-16 Thread Fernando Frediani

Hi all.

I understand using 10Gb interfaces when using Gluster is advised for 
helping with data replication specially in situations where a node went 
down for a while and need to re-sync data.


However can anyone tell if using one 1Gb interface dedicated for it in 
hosts with 1.8 TB of Raw storage would be still Ok or can it cause 
severe impact on performance ? What are the chances of a 1Gb nice being 
saturated during normal operation ?


Thanks
Fernando

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


[ovirt-users] Export/Import Virtual Machcines

2017-02-02 Thread Fernando Frediani

Hi.

I found that it is possible to import Virtual Machines from a VMware 
environment,  XEN or even Libvirt/KVM but it is not directly from 
another oVirt environment. Is this expected ?


I have two environments where I need to transfer VMs from one to another 
and the only way I see is Export it to a Export Domain, copy it over to 
another Export Domain in the other side then Import. Is this intended to 
be like that ? Why to order environments that works straight way and to 
own oVirt not ?


Thanks

Fernando

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


Re: [ovirt-users] VMWare VSAN like setup with oVirt

2017-01-31 Thread Fernando Frediani

Hello

Note that Gluster hasn't all the VSAN features yet so you will be able 
to replicate data.


Also I personally think replica=3 is overkill and waste of space for mos 
scenarios. 2 should be enough and give a raid 1 like.



On 31/01/2017 06:29, Nicolas Ecarnot wrote:

Le 31/01/2017 à 09:15, Anantha Raghava a écrit :

Hi,

We are trying to create a setup that uses the internal disks of the
hosts / nodes, yet provide the high availability, replication and
failover using oVirt. The setup we are typing to build is close to
VMWare VSAN which allows for all the above just using the internal disks
of the ESXi servers.

Can we achieve something similar with oVirt with Gluster?


Absolutely. One of our oVirt setup is done this way.
Three hosts are set up as glusterFS servers (replica-3), as well as 
oVirt nodes.
We choose to add a fourth host as an standalone engine, but you can 
choose to use a VM for that (hyperconverge setup).


I have no experience on similar setup with a random number of nodes, 
neither if this can be achievable (some kind of network RAID-10)... (?)




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


[ovirt-users] Data / ISOs / Export - Domains

2017-02-02 Thread Fernando Frediani

Hi there.

What are the main diferences between the three types of Domains 
available that you cannot use one for the all uses. For example, on the 
same Datastore put Virtual Machines, ISO files (if a filesystem) and 
Export Machines. Is there anything specific the forbids it which could 
cause a trouble in mixing files of different types in the same Datastore 
or is it just a design wish to keep them separate.


This could help in the sense that gives more flexibility in more limited 
scenarios.


Also, what is the limitation that is not possible to use Local Storage 
in a Host the belongs to a Shared Datacenter. What would happend if I 
have the possibility to run VMs in a Shared Storage and also in Local 
Storage (or store ISO files for exemple) ?


Thanks

Fernando

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


Re: [ovirt-users] [Call for feedback] did you install/update to 4.1.0?

2017-02-02 Thread Fernando Frediani

Hello

Thanks for sharing your procedures.

Why did you have to restart VMs for the migration to work ? Is it 
mandatory for an upgrade ?


Fernando


On 02/02/2017 12:23, Краснобаев Михаил wrote:

Hi,
upgraded my cluster (3 hosts, engine, nfs-share) to the latest 4.1 
release and Centos 7.3 (from 4.06).

Did the following:
1. Upgraded engine machine to Centos 7.3
2. Upgraded engine packages and ran "engine-setup"
3. Upgraded one by one hosts to 7.3 + packages from the new 4.1. repo 
and refreshed hosts capabilities.

4. Raised cluster and datacenter compatibility level to 4.1.
5. Restarted virtual machines and tested migration.
6. Profit! Everything went really smoothly. No errors.
Now trying to figure out how the sparsify function works. I need to 
run trimming from inside the VM first?

Best regards, Mikhail.
02.02.2017, 15:19, "Sandro Bonazzola" :

Hi,
did you install/update to 4.1.0? Let us know your experience!
We end up knowing only when things doesn't work well, let us know it 
works fine for you :-)
If you're not planning an update to 4.1.0 in the near future, let us 
know why.

Maybe we can help.
Thanks!
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com 
,

___
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


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


Re: [ovirt-users] NIC Teaming x Bonding

2017-02-01 Thread Fernando Frediani
Well, I just found that Teaming doesn't seem to be recognized by oVirt, 
only Bonding. Am I correct ?


Fernando


On 30/01/2017 12:59, Fernando Frediani wrote:
Has anyone used NIC Teaming in production with oVirt Node ? How are 
you finding it compared to Bonding ?


Has it helped in some way with the new features it brings.

For example: one feature VMware does it when you create a given 
portgroup for a group of VMs you may set that portgroup to use one 
physical NIC as Active and others as Backup, while in another 
portgroup you may set otherwise. Then you have both failover for both 
portgroups and better bandwidth usage.


Does Teaming do that kind of thing when used along with 
oVirt/libvirt+KVM ?


Thanks

Fernando



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


Re: [ovirt-users] NIC Teaming x Bonding

2017-02-01 Thread Fernando Frediani

Hi Yaniv. Not that much.

As I am starting a new environment I wanted to make usage of some new 
features present in Teaming. Guess suport will come soon.


Thanks for replying.

Fernando


On 01/02/2017 16:49, Yaniv Kaul wrote:



On Wed, Feb 1, 2017 at 8:06 PM, Fernando Frediani 
<fernando.fredi...@upx.com.br <mailto:fernando.fredi...@upx.com.br>> 
wrote:


Well, I just found that Teaming doesn't seem to be recognized by
oVirt, only Bonding. Am I correct ?


Yes, that's correct. Does it make a difference in your deployment?
Y.



Fernando



On 30/01/2017 12:59, Fernando Frediani wrote:

Has anyone used NIC Teaming in production with oVirt Node ?
How are you finding it compared to Bonding ?

Has it helped in some way with the new features it brings.

For example: one feature VMware does it when you create a
given portgroup for a group of VMs you may set that portgroup
to use one physical NIC as Active and others as Backup, while
in another portgroup you may set otherwise. Then you have both
failover for both portgroups and better bandwidth usage.

Does Teaming do that kind of thing when used along with
oVirt/libvirt+KVM ?

Thanks

Fernando


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




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


[ovirt-users] 4.0 x 4.1

2017-01-23 Thread Fernando Frediani
I am deploying a oVirt environment which will not get production data 
immediately.


Obviously I would rather use 4.1 RC due the many changes and fixes 
present. Later when 4.1 becomes stable then upgrade to it.
Does anyone see any problem in doing that way or would it be more 
advisable to start with 4.0.6 and upgrade to 4.1 stable when time comes ?


My concern are the issue people related they had when upgrading from one 
major version to another in the past.


Thanks

Fernando

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


[ovirt-users] Use of Direct Attached Storage as Storage Type

2017-01-23 Thread Fernando Frediani
I am trying to use a DAC (Direct Attached Storage) in a Hardware which 
has it as the only option (DELL VRTX) but I see no matching option at 
Storage Type. It has there: NFS, POSIX compliant FS, GlusterFS, iSCSI 
and Fiber Channel. The two closest are iSCSI and Fiberchannel as they 
use CLVM in the backend I understand, but of course they are not the 
same thing as DAC.


Has anyone had a similar scenario and how solved it ?

Thanks

Fernando

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


[ovirt-users] oVirt Node TUI

2017-01-30 Thread Fernando Frediani

What happened with the TUI ?

Have just installed a 4.1 oVirt Node and it seems it is CLI only and I 
only see a shell login. Is it correct ?
I read some pages on ovirt.org saying the old TUI was problematic and it 
was being redesign but that seems old.


Or do I understand correctly and everything is now handled by Cockpit ? 
Then if I have no network CLI is my friend ?


Thanks folks.

Fernando

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


[ovirt-users] NIC Teaming x Bonding

2017-01-30 Thread Fernando Frediani
Has anyone used NIC Teaming in production with oVirt Node ? How are you 
finding it compared to Bonding ?


Has it helped in some way with the new features it brings.

For example: one feature VMware does it when you create a given 
portgroup for a group of VMs you may set that portgroup to use one 
physical NIC as Active and others as Backup, while in another portgroup 
you may set otherwise. Then you have both failover for both portgroups 
and better bandwidth usage.


Does Teaming do that kind of thing when used along with oVirt/libvirt+KVM ?

Thanks

Fernando

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


Re: [ovirt-users] oVirt Node TUI

2017-01-30 Thread Fernando Frediani

Hi Douglas, thanks.

No, just said if I have no network connectivity to the box for some 
reason only tool to use is shell to try to get it back online correct ? 
It TUI thought to be back sometime or Cockpit will be the ongoing tool 
for that ? (I find it nice the TUI interface too).


Fernando

On 30/01/2017 13:55, Douglas Schilling Landgraf wrote:

Ola Fernando!

On 01/30/2017 09:23 AM, Fernando Frediani wrote:

What happened with the TUI ?

Have just installed a 4.1 oVirt Node and it seems it is CLI only and I
only see a shell login. Is it correct ?
I read some pages on ovirt.org saying the old TUI was problematic and it
was being redesign but that seems old.

Or do I understand correctly and everything is now handled by Cockpit ?


That's correct. Cockpit is the preferred option.


Then if I have no network CLI is my friend ?


Not sure if I understood the question but in Cockpit, there is Network 
tab. Web-browser: NODE_IP_ADDRESS:9090 -> Networking


Or are looking for something like nmcli/nmtui?

--
Cheers
Douglas


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


[ovirt-users] Memory for Engine Machine

2017-02-20 Thread FERNANDO FREDIANI

Hello folks

I have a Engine dedicated machine running with 4GB of memory. It has 
been working fine without any apparent issues.


If I check the system memory usage it rarely goes over 1.5GB.

But when I upgrade oVirt Engine it complains with the following message: 
"[WARNING] Less than 16384MB of memory is available".


Why is all that required if the real usage doesn't show that need ? Or 
am I missing anything ?


Fernando Frediani

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


Re: [ovirt-users] Bandiwdth limit on a Virtual Machine

2017-02-13 Thread Fernando Frediani
Thanks for the clarification Yaniv.
Perhaps at some point we can set this value manually to reflect in the
interface the maximum the VM can do either limited by the Host Nic or QoS.

Regards,
Fernando

2017-02-13 17:58 GMT-02:00 Yaniv Kaul <yk...@redhat.com>:

>
>
> On Mon, Feb 13, 2017 at 8:30 PM, Fernando Frediani <
> fernando.fredi...@upx.com.br> wrote:
>
>> Hello Yaniv.
>>
>> Yes that exactly the bonding hash I am using layer3+4.
>>
>> I have another server where I run simple libvirt/KVM in a similar
>> scenario e it does balance the traffic well between all physical interfaces
>> on the host as there are many individual connections to the VM.
>>
>> But my question was if there was anything that hard limit any VM traffic
>> to 1Gb unless you change and also what the speed the is shown on the
>> interface is related to ? 1Gb, 10Gb or if you can set that specifically ?
>>
>
> Nope, no limit. It's just when virtio was invented they needed to give it
> some speed (to show in Windows, ethtool, etc.) and 1Gb seemed like a good
> nice number. It's not enforced anywhere.
> Y.
>
>
>> Fernando
>>
>> On 13/02/2017 16:25, Yaniv Kaul wrote:
>>
>>
>>
>> On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani <
>> <fernando.fredi...@upx.com.br>fernando.fredi...@upx.com.br> wrote:
>>
>>> Hello.
>>>
>>> Is there any limitation of bandwidth for a Virtual Machine per default ?
>>>
>>> I have a host with a bonding of 3 x 1Gb and the VM is connected to that
>>> bonding. On the Engine interface on the VM status I see "Network" and it
>>> has a percentage and a tiny graph. What that percentage is related to ? 1Gb
>>> ? 3Gb ? 10Gb ?
>>>
>>> Is there anything that has to be done in order the VM can achieve speeds
>>> over 1Gbps ?
>>>
>>
>> To the external network, you cannot easily achieve >1Gb, unless you open
>> multiple connections that will go over multiple physical NICs. It depends
>> on the bond hashing policy. layer3+4 might make it easier to achieve. This
>> is not very different than a connection from the host. (I think UDP should
>> be easier, but it's less interesting?)
>>
>> VM to VM traffic should easily overcome 1Gbps.
>> Y.
>>
>>
>>>
>>>
>>> Fernando
>>>
>>> ___
>>> 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


[ovirt-users] Bandiwdth limit on a Virtual Machine

2017-02-13 Thread Fernando Frediani
Hello.

Is there any limitation of bandwidth for a Virtual Machine per default ?

I have a host with a bonding of 3 x 1Gb and the VM is connected to that
bonding. On the Engine interface on the VM status I see "Network" and it
has a percentage and a tiny graph. What that percentage is related to ? 1Gb
? 3Gb ? 10Gb ?

Is there anything that has to be done in order the VM can achieve speeds
over 1Gbps ?

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


Re: [ovirt-users] Bandiwdth limit on a Virtual Machine

2017-02-13 Thread Fernando Frediani

Hello Yaniv.

Yes that exactly the bonding hash I am using layer3+4.

I have another server where I run simple libvirt/KVM in a similar 
scenario e it does balance the traffic well between all physical 
interfaces on the host as there are many individual connections to the VM.


But my question was if there was anything that hard limit any VM traffic 
to 1Gb unless you change and also what the speed the is shown on the 
interface is related to ? 1Gb, 10Gb or if you can set that specifically ?


Fernando


On 13/02/2017 16:25, Yaniv Kaul wrote:



On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani 
<fernando.fredi...@upx.com.br <mailto:fernando.fredi...@upx.com.br>> 
wrote:


Hello.

Is there any limitation of bandwidth for a Virtual Machine per
default ?

I have a host with a bonding of 3 x 1Gb and the VM is connected to
that bonding. On the Engine interface on the VM status I see
"Network" and it has a percentage and a tiny graph. What that
percentage is related to ? 1Gb ? 3Gb ? 10Gb ?

Is there anything that has to be done in order the VM can achieve
speeds over 1Gbps ?


To the external network, you cannot easily achieve >1Gb, unless you 
open multiple connections that will go over multiple physical NICs. It 
depends on the bond hashing policy. layer3+4 might make it easier to 
achieve. This is not very different than a connection from the host. 
(I think UDP should be easier, but it's less interesting?)


VM to VM traffic should easily overcome 1Gbps.
Y.



Fernando

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




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


Re: [ovirt-users] 4.0 x 4.1

2017-01-24 Thread Fernando Frediani

Sounds reasonable.

Out of curiosity what people use or do in order to rollback a failed 
upgrade or an upgrade that can bring instability in the control or 
operation of the cluster ? In VMware as vCenter used to run within a 
Virtual Machine I used to take a snapshot before starting the upgrade.


In oVirt if I have my Engine running in a simple VM somewhere else out 
of the cluster as well I guess that could also be an option. What about 
when it is a self hosted engine. Would it work ?


Thanks

Fernando


On 24/01/2017 05:03, Yedidyah Bar David wrote:

On Mon, Jan 23, 2017 at 9:36 PM, Fernando Frediani
<fernando.fredi...@upx.com.br> wrote:

I am deploying a oVirt environment which will not get production data
immediately.

Obviously I would rather use 4.1 RC due the many changes and fixes present.
Later when 4.1 becomes stable then upgrade to it.
Does anyone see any problem in doing that way or would it be more advisable
to start with 4.0.6 and upgrade to 4.1 stable when time comes ?

If eventually it will be production, I'd start with 4.0.6.

Generally speaking, if we find in the future a bug when upgrading from
4.0.6 to 4.1.z, we'll try to solve it, so that it does not affect an
upgrade from 4.0.6 to 4.1.z+1. But if we find a bug that affects only
upgrade from a rc/beta/etc. version to a stable version, we might decide
it's not worth fixing.

Also note that 4.1.0 should be out really soon:

https://www.ovirt.org/develop/release-management/releases/4.1/release-management/

So you might as well simply wait a bit.


My concern are the issue people related they had when upgrading from one
major version to another in the past.

In general, or to/from beta/rc/etc versions?

In general we appreciate very much people testing upgrades from/to beta/rc
versions, and if they find bugs, we do try to fix them. But people should
do this in test environments, not ones that are eventually destined to become
production.

Best,


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


Re: [ovirt-users] Monitoring disk I/O

2017-01-20 Thread Fernando Frediani
That's pretty much wanted and basic to have the three main metrics: CPU, 
Memory and Disk.


Fernando


On 19/01/2017 22:22, Michael Watters wrote:

Thanks.  I can monitor the VMs using snmp or collectd but what I'd like
is to have I/O use shown in the engine just like memory and CPU use are.


On 1/19/17 4:21 PM, Markus Stockhausen wrote:

Hi there ...

we are running a simple custom script that collects data of qemu
on the nodes via /proc etc. Storing this into RRD databases and
doing a little LAMP scripting you get the attached result.

Best regards.

Markus


Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
Michael Watters [watte...@watters.ws]
Gesendet: Donnerstag, 19. Januar 2017 21:42
An: users
Betreff: [ovirt-users] Monitoring disk I/O

Does ovirt have any way to monitor disk I/O for each VM or disk in a
storage pool?  I am receiving disk latency warnings and would like to
know which VMs are causing the most disk I/O.

___
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


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


Re: [ovirt-users] Replicated Glusterfs on top of ZFS

2017-03-02 Thread FERNANDO FREDIANI
Am I understanding correctly, but you have Gluster on the top of ZFS 
which is on the top of LVM ? If so, why the usage of LVM was necessary ? 
I have ZFS with any need of LVM.


Fernando


On 02/03/2017 06:19, Arman Khalatyan wrote:

Hi,
I use 3 nodes with zfs and glusterfs.
Are there any suggestions to optimize it?

host zfs config 4TB-HDD+250GB-SSD:
[root@clei22 ~]# zpool status
  pool: zclei22
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Tue Feb 28 14:16:07 2017
config:

NAMESTATE READ WRITE CKSUM
zclei22 ONLINE   0 0 0
  HGST_HUS724040ALA640_PN2334PBJ4SV6T1  ONLINE   0 0 0
logs
  lv_slog   ONLINE   0 0 0
cache
  lv_cache  ONLINE   0 0 0

errors: No known data errors

Name:
GluReplica
Volume ID:
ee686dfe-203a-4caa-a691-26353460cc48
Volume Type:
Replicate (Arbiter)
Replica Count:
2 + 1
Number of Bricks:
3
Transport Types:
TCP, RDMA
Maximum no of snapshots:
256
Capacity:
3.51 TiB total, 190.56 GiB used, 3.33 TiB free


___
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] oVirt on a single server

2016-09-05 Thread Fernando Frediani
Adding Kimchi to oVirt node perhaps may be the easiest option. It can be 
pretty useful for many situations and doesn't need such thing like 
mounting NFS in localhost.


It is not nice to not have a All-in-One stable solution anymore as this 
can help with its adoption for later growth.


oVirt-Cockpit looks nice and intresting.

Fernando


On 05/09/2016 05:18, Barak Korren wrote:

On 4 September 2016 at 23:45, zero four  wrote:
...

I understand and acknowledge that oVirt is not targeted towards homelab
setups, or at least small homelab setups.  However I believe that having a
solid configuration for such use cases would be a benefit to the project as
a whole.

As others have already mentioned, using the full oVirt  with engine in
a single host scenario can work, but is not currently actively
maintained or tested.

There are other options originating from the oVirt community however.

One notable option is to use the Cockpit-oVirt plugin [1] which can
use VDSM to manage VMs on a single host.

Another option is to use the Kimchi project [2] for which discussion
for making it an oVirt project had taken part in the past [3]. It
seems that also some work for inclusion in oVirt node was also planned
at some point [4].

[1]: http://www.ovirt.org/develop/release-management/features/cockpit/
[2]: https://github.com/kimchi-project/kimchi
[3]: http://lists.ovirt.org/pipermail/board/2013-July/000921.html
[4]: http://www.ovirt.org/develop/release-management/features/node/kimchiplugin/



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


Re: [ovirt-users] Hardware setup

2016-09-09 Thread Fernando Frediani
What is the reason for ? A lot of stuff is moving into Hyperconvergence 
and that saves a lot of hardware and power consumption.


The only thing I would look with more caution is the amount of memory 
Gluster itself consumes, but if there are enough resources in each host 
for Distributed Storage + Compute stuff I see no problems with that, 
unless someone has some strong technical reason for not.


Fernando


On 09/09/2016 12:43, Fernando Fuentes wrote:

Bryan,

Just my opinion but I would separate storage away from your compute nodes.

Regards,

--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org



On Fri, Sep 9, 2016, at 10:28 AM, Bryan Sockel wrote:

Hi,

I am looking to put together a configuration setup for a new install 
and was wondering if it is ok for have both gluster and ovirt running 
on the same systems, or if it was better to separate my storage on to 
anther platform?


I am currently looking into 3 servers with 196 GB Ram, dual 6 core 
proc's on each server.  Gluster would be installed on each server 
with a 3 way replica, ovirt would be running as an appliance and each 
node would be part of the ovirt cluster.



_
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


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


[ovirt-users] Minimal resources for Engine

2016-09-09 Thread Fernando Frediani

Hi there.

I was reading this interesting URL someone just sent a while ago 
regarding hyperconvergence topic 
(https://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/) 
and found the point about the optimal amount of resources for a Engine - 
16GB of RAM.


I just wanted to ask what component or feature eats up so much memory 
for that amount be the recommended. Or is it just in a hyperconverged 
scenario ?


Are there any components that can be optional that can reduce the amount 
of memory needed to run the Engine ?


Also with if the Data Warehouse runs in a separate host what would be 
the reduction in resources consumption, specially memory ?


Thanks

Fernando

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


[ovirt-users] Question about Bridge and macvtap

2016-09-22 Thread Fernando Frediani

Hi.

Quick question between Linux Bridge which is used by default in oVirt 
and macvtap which can be used in libvirt/KVM.


What are the downsides or limitations of using macvtap ? Does it have 
any significa performance improvement over bridge ?


Thanks

Fernando

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


Re: [ovirt-users] GFS2 and OCFS2 for Shared Storage

2016-11-23 Thread Fernando Frediani

Are you sure Pavel ?

As far as I know and it has been discussed in this list before, the 
limitation is in CLVM which doesn't support Thinprovisioning yet. LVM2 
does, but it is not in Clustered mode. I tried to use GFS2 in the past 
for other non-virtualization related stuff and didn't have much success 
either.


What about OCFS2 ? Has anyone ?

Fernando


On 23/11/2016 11:26, Pavel Gashev wrote:

Fernando,

oVirt supports thin provisioning for shared block storages (DAS or iSCSI). It 
works using QCOW2 disk images directly on LVM volumes. oVirt extends volumes 
when QCOW2 is growing.

I tried GFS2. It's slow, and blocks other hosts on a host failure.

-Original Message-
From: <users-boun...@ovirt.org> on behalf of Fernando Frediani 
<fernando.fredi...@upx.com.br>
Date: Wednesday 23 November 2016 at 15:03
To: "users@ovirt.org" <users@ovirt.org>
Subject: [ovirt-users] GFS2 and OCFS2 for Shared Storage

Has anyone managed to use GFS2 or OCFS2 for Shared Block Storage between
hosts ? How scalable was it and which of the two work better ?

Using traditional CLVM is far from good starting because of the lack of
Thinprovision so I'm willing to consider either of the Filesystems.

Thanks

Fernando

___
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


[ovirt-users] GFS2 and OCFS2 for Shared Storage

2016-11-23 Thread Fernando Frediani
Has anyone managed to use GFS2 or OCFS2 for Shared Block Storage between 
hosts ? How scalable was it and which of the two work better ?


Using traditional CLVM is far from good starting because of the lack of 
Thinprovision so I'm willing to consider either of the Filesystems.


Thanks

Fernando

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


Re: [ovirt-users] GFS2 and OCFS2 for Shared Storage

2016-11-23 Thread Fernando Frediani

Hello Nicolas. Thanks for your reply.

As you correctly said GlusterFS is not Block Storare but it is 
Distributed Storage. There are scenarios where it simply doesn't apply 
like a Shared Block storage between physical servers in a chassis or 
simply shared DAS (Direct Attached Storage). Otherwise would you would 
unnecessarily use network throughput which can be better used for other 
things like VM legit traffic and not have the best performance you could 
reading/writing directly from/to a Shared Block Storage.


Distributed storage is always a great mindset for newer scenarios, but 
it doesn't apply to all scenarios and I wouldn't think Redhat would 
direct people to a single way.


Fernando


On 23/11/2016 11:11, Nicolas Ecarnot wrote:

Le 23/11/2016 à 13:03, Fernando Frediani a écrit :

Has anyone managed to use GFS2 or OCFS2 for Shared Block Storage between
hosts ? How scalable was it and which of the two work better ?

Using traditional CLVM is far from good starting because of the lack of
Thinprovision so I'm willing to consider either of the Filesystems.

Thanks

Fernando

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


Hello Fernando,

Redhat took a clear direction towards the use of GlusterFS for its 
Software-defined storage, and lots of efforts are made to make 
oVirt/RHEV work together smoothly.
I know GlusterFS is not a block storage, but it's worth considering 
it, especially if you intend to setup hyper-converged clusters.




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


Re: [ovirt-users] GFS2 and OCFS2 for Shared Storage

2016-11-23 Thread Fernando Frediani

Right Pavel. Then where is it or where is the reference to it ?

The only way I heard of is using Thinprovisioning in the SAN level.

With regards to OCFS2 if anyone has any experience with I would like to 
hear about its sucess or not using it.


Thanks

Fernando


On 23/11/2016 11:46, Pavel Gashev wrote:

Fernando,

Clustered LVM doesn’t support lvmthin(7) 
http://man7.org/linux/man-pages/man7/lvmthin.7.html
There is an oVirt LVM-based thin provisioning implementation.

-Original Message-
From: Fernando Frediani <fernando.fredi...@upx.com.br>
Date: Wednesday 23 November 2016 at 16:31
To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] GFS2 and OCFS2 for Shared Storage

Are you sure Pavel ?

As far as I know and it has been discussed in this list before, the
limitation is in CLVM which doesn't support Thinprovisioning yet. LVM2
does, but it is not in Clustered mode. I tried to use GFS2 in the past
for other non-virtualization related stuff and didn't have much success
either.

What about OCFS2 ? Has anyone ?

Fernando


On 23/11/2016 11:26, Pavel Gashev wrote:

Fernando,

oVirt supports thin provisioning for shared block storages (DAS or iSCSI). It 
works using QCOW2 disk images directly on LVM volumes. oVirt extends volumes 
when QCOW2 is growing.

I tried GFS2. It's slow, and blocks other hosts on a host failure.

-Original Message-
From: <users-boun...@ovirt.org> on behalf of Fernando Frediani 
<fernando.fredi...@upx.com.br>
Date: Wednesday 23 November 2016 at 15:03
To: "users@ovirt.org" <users@ovirt.org>
Subject: [ovirt-users] GFS2 and OCFS2 for Shared Storage

Has anyone managed to use GFS2 or OCFS2 for Shared Block Storage between
hosts ? How scalable was it and which of the two work better ?

Using traditional CLVM is far from good starting because of the lack of
Thinprovision so I'm willing to consider either of the Filesystems.

Thanks

Fernando

___
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


[ovirt-users] Using zRam with oVirt Nodes

2016-12-30 Thread Fernando Frediani

Hello folks.

On simple libvirt/KVM hosts in order to improve RAM usage and avoid swap 
to disk I use zRam with swap to RAM technique. So create half of amount 
of host memory in zRam disk divided by the number of CPU cores. Works 
pretty well.


Has anyone tried it with oVirt Nodes or even has it been considered as a 
feature to simply turn on/off ?


Thanks
Fernando

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


Re: [ovirt-users] Using zRam with oVirt Nodes

2016-12-30 Thread Fernando Frediani

Hello it's the same thing zswap.

The use case is to be able to put more stuff in a single host without it 
need needing to swap to slow disks. You sacrifice CPU and avoid a lot 
slower swap to disk.


Fernando

On 30/12/2016 16:41, Yaniv Kaul wrote:



On Dec 30, 2016 7:06 PM, "Fernando Frediani" 
<fernando.fredi...@upx.com.br <mailto:fernando.fredi...@upx.com.br>> 
wrote:


Hello folks.

On simple libvirt/KVM hosts in order to improve RAM usage and
avoid swap to disk I use zRam with swap to RAM technique. So
create half of amount of host memory in zRam disk divided by the
number of CPU cores. Works pretty well.

Has anyone tried it with oVirt Nodes or even has it been
considered as a feature to simply turn on/off ?


What exactly is the use case?
I'd use zram for temporary disks, using the VDSM hook for them.
I think you are referring to zswap?
Y.


Thanks
Fernando

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




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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Fernando Frediani
Honestlly I don't see why in 2017 people still using the old DRBD + 
Pacemaker solution for virtualization stuff.



On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm 
and engine.


Is their any plan in ovirt to support *drbd + Pacemaker* ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:




On 3 Jan 2017, at 11:55, Nathanaël Blanchet > wrote:

except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not
want to find/read a dedicated documentation for such a little query.



yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost
always needed to inform vdsm/engine to know about it to prevent
corner cases, misdetections, etc...



Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :



On 3 Jan 2017, at 11:15, Nathanaël Blanchet > wrote:

Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.



it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way



Le 03/01/2017 à 11:09, Yaniv Dary a écrit :

It is preferable you use VDSM hooks to add devices to VMs.

Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34
Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109
Tel : +972 (9) 7692306 8272306 Email: yd...@redhat.com
 IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic .
> wrote:

Hi Joop,

I want to add drdb device in vm instance hence would like
to execute virsh command.
Is it possible ?

Thanks,
~Rohit



On Tue, Jan 3, 2017 at 1:26 PM, jvandewege
>
wrote:

On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt
installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I
have to provide ?
If you only need read access then you need to supply
-r as an additional
argument.

Why do you need virsh because that will only give you
the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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





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

-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr   
___ Users mailing

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

-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr   

___ 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Using zRam with oVirt Nodes

2017-01-02 Thread Fernando Frediani
All nodes I user zSwap (or Swap in zRam) I do have also some swap space 
in disk with lower priority which when/if gets used means something warning.


Overall the usage of zSwap helps a lot to increase the density of a Host 
at the cost of CPU which in most cases is more idle than memory or storage


Fernando


On 30/12/2016 21:47, Pavel Gashev wrote:

I enable zSwap on my oVirt nodes by default. However zSwap is not the same 
thing as zRam. The purpose of zSwap is decreasing I/O by compressing swap 
itself. zSwap uses some ram for compressed swap, but it doesn’t try to keep a 
page in memory if it can’t be compressed.

I find using of zRam without swap too risky. You don’t know when OOM killer 
start its job.

-Original Message-
From: <users-boun...@ovirt.org> on behalf of Fernando Frediani 
<fernando.fredi...@upx.com.br>
Date: Friday 30 December 2016 at 20:06
To: "users@ovirt.org" <users@ovirt.org>
Subject: [ovirt-users] Using zRam with oVirt Nodes

Hello folks.

On simple libvirt/KVM hosts in order to improve RAM usage and avoid swap
to disk I use zRam with swap to RAM technique. So create half of amount
of host memory in zRam disk divided by the number of CPU cores. Works
pretty well.

Has anyone tried it with oVirt Nodes or even has it been considered as a
feature to simply turn on/off ?

Thanks
Fernando

___
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] Regarding DAS for Shared Storage

2016-12-22 Thread Fernando Frediani

Hello rex.

I have a very similar situation and I'm interested to find out how 
people are doing to use DAS in these types of environments.


Thanks
Fernando

On 22/12/2016 10:07, rex wrote:

Hi,

Have a VRTX Chassis enclosure populated with two Dell PowerEdge M620 
Blades and has a built-in DAS storage. Created a 1 TB Virtual Disk 
from the DAS storage using the Dell iDRAC interface. This block device 
is accessible from the two blades (CentOS 7 OS) like shown below,


 [root@node1 ~]# lsblk /dev/sdc

 NAME MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
 sdc8:32   0 1024G  0 disk

 [root@node2 ~]# lsblk /dev/sdc

 NAME MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
 sdc8:32   0 1024G  0 disk

 oVirt rpms has been installed on both the blades with the aim of 
configuring them as oVirt nodes with Live Migration feature. But other 
than the DAS we don't have any storage which can be used as shared 
storage. So can some one please tell me whether the above block disk 
can be used as a shared storage (i.e mounted on the two nodes at the 
same time) and if it is possible how can this be done. Thank you.



___
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] Strange network performance on VirtIIO VM NIC

2017-03-21 Thread FERNANDO FREDIANI

Hello Yaniv.

Have a new information about this scenario: I have load-balanced the 
requests between both vNICs, so each is receiving/sending half of the 
traffic in average and the packet loss although it still exists it 
lowered to 1% - 2% (which was expected as the CPU to process this 
traffic is shared by more than one CPU at a time).

However the Load on the VM is still high probably due to the interrupts.

Find below in-line the answers to some of your points:


On 21/03/2017 12:31, Yaniv Kaul wrote:


So there are 2 NUMA nodes on the host? And where are the NICs located?
Tried to search how to check it but couldn't find how. Could you give me 
a hint ?


BTW, since those are virtual interfaces, why do you need two on the 
same VLAN?
Very good question. It's because of an specific situation where I need 
to 2 MAC addresses in order to balance the traffic in LAG in a switch 
which does only layer 2 hashing.
Are you using hyper-threading on the host? Otherwise, I'm not sure 
threads per core would help.

Yes I have hyper-threading enabled on the Host. Is it worth to enable it ?

Thanks
Fernando



On 18/03/2017 12:53, Yaniv Kaul wrote:



On Fri, Mar 17, 2017 at 6:11 PM, FERNANDO FREDIANI
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>>
wrote:

Hello all.

I have a peculiar problem here which perhaps others may have
had or know about and can advise.

I have Virtual Machine with 2 VirtIO NICs. This VM serves
around 1Gbps of traffic with thousands of clients connecting
to it. When I do a packet loss test to the IP pinned to NIC1
it varies from 3% to 10% of packet loss. When I run the same
test on NIC2 the packet loss is consistently 0%.

From what I gather I may have something to do with possible
lack of Multi Queu VirtIO where NIC1 is managed by a single
CPU which might be hitting 100% and causing this packet loss.

Looking at this reference
(https://fedoraproject.org/wiki/Features/MQ_virtio_net
<https://fedoraproject.org/wiki/Features/MQ_virtio_net>) I
see one way to test it is start the VM with 4 queues (for
example), but checking on the qemu-kvm process I don't see
option present. Any way I can force it from the Engine ?


I don't see a need for multi-queue for 1Gbps.
Can you share the host statistics, the network configuration,
the qemu-kvm command line, etc.?
What is the difference between NIC1 and NIC2, in the way they
are connected to the outside world?


This other reference
(https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature
<https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature>)
points to the same direction about starting the VM with queues=N

Also trying to increase the TX ring buffer within the guest
with ethtool -g eth0 is not possible.

Oh, by the way, the Load on the VM is significantly high
despite the CPU usage isn't above 50% - 60% in average.


Load = latest 'top' results? Vs. CPU usage? Can mean a lot of
processes waiting for CPU and doing very little - typical for
web servers, for example. What is occupying the CPU?
Y.


Thanks
Fernando



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










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


Re: [ovirt-users] Error on Adding Host

2017-03-16 Thread FERNANDO FREDIANI
Hello Yedidyah and all

I bring you a slightly new information about this issue.

If I have the node SSH port changed to something else other than 22 it is
unable to fetch the fingerprint. I changed it back to 22 and it worked to
fetch the fingerprint but failed again when adding the host with the same
error as before. (Yes I have allowed the port in the node firewall)

Before adding the host I have also cleaned both /root/.ssh/known_host and
/var/lib/ovirt-engine/.ssh/known_hosts

Regards
Fernando

On 16/03/2017 10:17, FERNANDO FREDIANI wrote:

Well, that's pretty much what I found on most sites about this subject but
still can't find anything that points to the error (find the related logs
attached).

Please note that before adding the server the Engine is not able to fetch
the fingerprint and thorws the following error in the log:

2017-03-16 09:57:14,998-03 ERROR [org.ovirt.engine.core.bll.
GetServerSSHKeyFingerprintQuery] (default task-54)
[223c2f69-6e84-4d5c-a29d-2f828fd9466e]
Could not fetch fingerprint of host '': Failed to get the
session.

The most relevant parts of the attached logs I could find were some things
related to 'sharedLocks' and 'ACTION_TYPE_FAILED_OBJECT_LOCKED'.
And the error itself:

SSH error running command r...@host1.fqdn.abc.net:55000:'umask 0077;
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; trap
"chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
/dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
"${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine
DIALOG/customization=bool:True': Command returned failure code 1 during SSH
session 'r...@host1.fqdn.abc.net:55000'
2017-03-16 09:58:25,505-03 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
(org.ovirt.thread.pool-6-thread-14) [3a4fb0da] Exception:
java.io.IOException: Command returned failure code 1 during SSH session '
r...@host1.fqdn.abc.net:55000'

Fernando



On 16/03/2017 04:15, Yedidyah Bar David wrote:

On Thu, Mar 16, 2017 at 5:24 AM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> <fernando.fredi...@upx.com> wrote:

Hi folks.

I think I have been hit by the most annoying error you can get on oVirt.
I have removed a Host from Engine, re-installed it with the latest
ovirt-node-ng ISO, tried to add the freshly installed Host back to Engine
and got the following error:

"Command returned failure code 1 during SSH session"

The host has the same FQDN as before and I have cleaned the SSH from the
known_hosts file in the Engine before trying to add it on the web
interface.

I have also tried this process with 2 different ISO files:
- ovirt-node-ng-installer-ovirt-4.1-pre-2017030911 <(201)%20703-0911>.iso
- ovirt-node-ng-installer-ovirt-4.1-pre-2017031104 <(201)%20703-1104>.iso

And the Engine is version 4.1.1.4-1

Have searched for this error and there are a lot of people affected but not
a single solution solves it.

Please give some light.

Please check/share /var/log/ovirt-engine/engine.log on the engine
machine.

Best,

Thanks
Fernando

___
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


[ovirt-users] Change repository from PRE to Release

2017-03-16 Thread FERNANDO FREDIANI

Hi again folks

I have been using the *ovirt-4.1-pre* and *ovirt-4.1-pre-dependencies* 
repositories, but now that 4.1 is stable I want to change it to 
*ovirt-release41*.


Is there any harm if I just install 
http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm and remove 
the other two 'pre' repositories from my /etc/yum.repos.d/ ? Or is there 
anything I should be concerned when doing that ?


Thanks

Fernando

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


[ovirt-users] Strange network performance on VirtIIO VM NIC

2017-03-17 Thread FERNANDO FREDIANI
Hello all.

I have a peculiar problem here which perhaps others may have had or know
about and can advise.

I have Virtual Machine with 2 VirtIO NICs. This VM serves around 1Gbps of
traffic with thousands of clients connecting to it. When I do a packet loss
test to the IP pinned to NIC1 it varies from 3% to 10% of packet loss. When
I run the same test on NIC2 the packet loss is consistently 0%.

>From what I gather I may have something to do with possible lack of Multi
Queu VirtIO where NIC1 is managed by a single CPU which might be hitting
100% and causing this packet loss.

Looking at this reference (
https://fedoraproject.org/wiki/Features/MQ_virtio_net) I see one way to
test it is start the VM with 4 queues (for example), but checking on the
qemu-kvm process I don't see option present. Any way I can force it from
the Engine ?

This other reference (
https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature) points to the
same direction about starting the VM with queues=N

Also trying to increase the TX ring buffer within the guest with ethtool -g
eth0 is not possible.

Oh, by the way, the Load on the VM is significantly high despite the CPU
usage isn't above 50% - 60% in average.

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


Re: [ovirt-users] Change repository from PRE to Release

2017-03-16 Thread FERNANDO FREDIANI

Ok Sandro, thanks for the feedback on this.

Regards,
Fernando


On 16/03/2017 13:32, Sandro Bonazzola wrote:



On Thu, Mar 16, 2017 at 2:52 PM, FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hi again folks

I have been using the *ovirt-4.1-pre* and
*ovirt-4.1-pre-dependencies* repositories, but now that 4.1 is
stable I want to change it to *ovirt-release41*.

Is there any harm if I just install
http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
<http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm> and
remove the other two 'pre' repositories from my /etc/yum.repos.d/
? Or is there anything I should be concerned when doing that ?


No harm, thanks for having tested pre releases!
I would wait until 4.1.1 is released just avoiding to get orphaned 
rpms since stable is still at 4.1.0 while pre is at 4.1.1 rc3 right now.


Thanks

Fernando


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




--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com <http://redhat.com>


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


Re: [ovirt-users] Strange network performance on VirtIIO VM NIC

2017-03-17 Thread FERNANDO FREDIANI
Hello Phil.
Thanks for the tips.

I have checked the hosts and all four 1 Gb NICs use tg3 driver and are
"Broadcom
Gigabit Ethernet BCM5720" so they should all behaviour the same.
As I use 3 bonded interfaces on each Host where the VM connects to, I have
downed each of the 3 one at a time to see if any of them could be adding
this packet loss but that changed nothing about.

Interesting is: I have another server with exactly same hardware which is
not an Hypervisor, runs CentOS 6 with newer kernel 4.5.0-1 and has not
packet loss at all even with high traffic. While the oVirt Node runs CentOS
7.3 (oVirt-Node-NG 4.1) but with kernel 3.10.0-514.6.1.

Could it possibility be anything related to the kernel version and should I
try to upgrade the oVirt-Node kernel or rather install a Minimal CentOS 7,
use the newer kernel on it and use it as a Hypervisor instead of
oVirt-Node-NG?

>From what I could gather searching all day about this issue it make sense
it be something related to NIC buffers or multiqueue , but not sure yet
what is the best way to address it: if when starting up the Virtual Machine
add the queue=N option, if changing anything on the NIC driver config on
the Host or even trying to use a different driver/kernel version.

Please note something I mentioned in the previous message: If I run the
packet loss test against each of the 2 VirtIO NIC on the same VM, the busy
one (NIC1) has packet loss and the one without much traffic (NIC2) doesn't.
All the traffic going up to all VMs on the Host pass through the same bond
interface, so if it was something related to the physical NICs it would
show packet loss to the second vNIC as well. Or do I miss anything here ?

Thanks
Fernando

2017-03-17 14:53 GMT-03:00 Phil Meyer <p...@unixlords.com>:

> On 03/17/2017 11:11 AM, FERNANDO FREDIANI wrote:
> > Hello all.
> >
> > I have a peculiar problem here which perhaps others may have had or
> > know about and can advise.
> >
> > I have Virtual Machine with 2 VirtIO NICs. This VM serves around 1Gbps
> > of traffic with thousands of clients connecting to it. When I do a
> > packet loss test to the IP pinned to NIC1 it varies from 3% to 10% of
> > packet loss. When I run the same test on NIC2 the packet loss is
> > consistently 0%.
> >
> > From what I gather I may have something to do with possible lack of
> > Multi Queu VirtIO where NIC1 is managed by a single CPU which might be
> > hitting 100% and causing this packet loss.
> >
> > Looking at this reference
> > (https://fedoraproject.org/wiki/Features/MQ_virtio_net) I see one way
> > to test it is start the VM with 4 queues (for example), but checking
> > on the qemu-kvm process I don't see option present. Any way I can
> > force it from the Engine ?
> >
> > This other reference
> > (https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature) points
> > to the same direction about starting the VM with queues=N
> >
> > Also trying to increase the TX ring buffer within the guest with
> > ethtool -g eth0 is not possible.
> >
> > Oh, by the way, the Load on the VM is significantly high despite the
> > CPU usage isn't above 50% - 60% in average.
> >
> > Thanks
> > Fernando
>
>
> Check for NIC errors on the host.  There have been numerous issues with
> Windows VMs
> not being able to handle certain features of better NICs on the host.
>
> By turning those features off on the host, the VM may be able to cope
> again.
>
> here is a snippet from a support case we had here:
>
> "
> There have been no occurrences of the ixgbe driver issue in the logs
> since the fix went in at roughly: Jan  3 22:50:11 2016 until now: Tue
> Jan  5 15:28:02 2016
>
> Only large-receive-offload was turned off with:
>
> # ethtool -K eth0 lro off
> # ethtool -K eth1 lro off
> "
>
> By making that change on all of the hosts, the Windows VMs all recovered.
>
> This is likely not your exact issue, but its included here to show that
> some OSes on VMs can have issues with the host NIC that the VM does not
> support.
>
> The issue may even be seen in the error logs on the host, as these were.
>
>
> ___
> 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] Error on Node upgrade 2

2017-03-15 Thread FERNANDO FREDIANI

Find it attached Yuval.

Fernando


On 14/03/2017 18:21, Yuval Turgeman wrote:

Adding Ryan, Fernando, can you please attach /tmp/imgbased.log ?

On Mar 13, 2017 2:43 PM, "FERNANDO FREDIANI" 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hi Yedidyah.

Running oVirt-Node *4.1.0--0.20170201.0+1* on the nodes and tried
a normal upgrade. It detected it has to upgrade to
*4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos* from the
ovirt-4.1-pre repository.

The upgrade finished with the following problems:

...
Running transaction
  Updating   :

ovirt-node-ng-image-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch
1/4
  Updating   :

ovirt-node-ng-image-update-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch
2/4
mount: special device
/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 does not exist
cp: target ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/’ is not a
directory
rm: cannot remove
‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/*image-update*.rpm’: No
such file or directory
umount: /tmp/tmp.N6JgSdFcu6: not mounted
...

So it seems it was not able to do it correctly.
This is the second time it happens and I had to remove manually
these packages containing 4.1.1 version.

Tried also:

# lvdisplay | grep ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Path   
/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1

  LV Nameovirt-node-ng-4.1.1-0.20170303.0+1
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
fdisk: cannot open
/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1: No such file or
directory
# vgchange -ay
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 (then
worked)

But the upon reboot it came back to 4.1.0 as if 4.1.1 never existed

Fernando

On 12/03/2017 03:30, Yedidyah Bar David wrote:

On Fri, Mar 10, 2017 at 2:37 PM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> <mailto:fernando.fredi...@upx.com>  wrote:

I am not sure if another email I sent went through but has anyone got
problems when upgrading a running oVirt-node-ng from 4.1.0 to 4.1.1.

What kind of problems?


Is the only solution a complete reinstall of the node ?

No, this should work.

Best,


Thanks

Fernando

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



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

[DEBUG] Version: imgbased-0.9.14
[DEBUG] Arguments: Namespace(FILENAME='/usr/share/ovirt-node-ng/image//ovirt-node-ng-4.1.0-0.20170303.0.el7.squashfs.img', command='update', debug=True, experimental=False, format='liveimg', stream='Image')
[INFO] Extracting image '/usr/share/ovirt-node-ng/image//ovirt-node-ng-4.1.0-0.20170303.0.el7.squashfs.img'
[DEBUG] Calling binary: (['mktemp', '-d', '--tmpdir', 'mnt.X'],) {}
[DEBUG] Calling: (['mktemp', '-d', '--tmpdir', 'mnt.X'],) {'close_fds': True, 'stderr': -2}
[DEBUG] Returned: /tmp/mnt.FXr7K
[DEBUG] Calling binary: (['mount', '/usr/share/ovirt-node-ng/image//ovirt-node-ng-4.1.0-0.20170303.0.el7.squashfs.img', u'/tmp/mnt.FXr7K'],) {}
[DEBUG] Calling: (['mount', '/usr/share/ovirt-node-ng/image//ovirt-node-ng-4.1.0-0.20170303.0.el7.squashfs.img', u'/tmp/mnt.FXr7K'],) {'close_fds': True, 'stderr': -2}
[DEBUG] Returned: 
[DEBUG] Mounted squashfs
[DEBUG] Found fsimage at '/tmp/mnt.FXr7K/LiveOS/rootfs.img'
[DEBUG] Calling binary: (['mktemp', '-d', '--tmpdir', 'mnt.X'],) {}
[DEBUG] Calling: (['mktemp', '-d', '--tmpdir', 'mnt.X'],) {'close_fds': True, 'stderr': -2}
[DEBUG] Returned: /tmp/mnt.YkYJj
[DEBUG] Calling binary: (['mount', u'/tmp/mnt.FXr7K/LiveOS/rootfs.img', u'/tmp/mnt.YkYJj'],) {}
[DEBUG] Calling: (['mount', u'/tmp/mnt.FXr7K/LiveOS/rootfs.img', u'/tmp/mnt.YkYJj'],) {'close_fds': True, 'stderr': -2}
[DEBUG] Returned: 
[DEBUG] Using nvr: ovirt-node-ng-4.1.1-0.20170303.0
[DEBUG] Fetching image for '/'
[DEBUG] Calling binary: (['findmnt', '--noheadings', '-o', 'SOURCE', '/'],) {}
[DEBUG] Calling: (['findmnt', '--noheadings', '-o', 'SOURCE', '/'],) {'close_fds': True, 'stderr': -2}
[DEBUG] Returned: /dev/mapper/onn_kvm01-ovirt--node--ng--4.1.0--0.20170201.0+1
[DEBUG] Found '/dev/mapper/onn_kvm01-ovirt--node--ng--4.1.0--0.20170201.0+1'
[DEBUG] Calling binary: (['lvs', '--noheadings', '-ovg_name,lv_name', u'/dev/mapper/onn_kvm01-ovirt--node--ng--4.1.0--0.20170201.0+1'],) {'stderr': }
[DEBUG] Calling: (['lvs', '--noheadings', '-ovg_name,lv_name', u'/dev/mapper/onn_kvm01-ovirt--node--ng--4.1.0--0.2017020

[ovirt-users] Error on Adding Host

2017-03-15 Thread FERNANDO FREDIANI
Hi folks.

I think I have been hit by the most annoying error you can get on oVirt.
I have removed a Host from Engine, re-installed it with the latest
ovirt-node-ng ISO, tried to add the freshly installed Host back to Engine
and got the following error:

"Command returned failure code 1 during SSH session"

The host has the same FQDN as before and I have cleaned the SSH from the
known_hosts file in the Engine before trying to add it on the web interface.

I have also tried this process with 2 different ISO files:
- ovirt-node-ng-installer-ovirt-4.1-pre-2017030911.iso
- ovirt-node-ng-installer-ovirt-4.1-pre-2017031104.iso

And the Engine is version 4.1.1.4-1

Have searched for this error and there are a lot of people affected but not
a single solution solves it.

Please give some light.

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


Re: [ovirt-users] Strange network performance on VirtIIO VM NIC

2017-03-20 Thread FERNANDO FREDIANI
 Servers which is using 
this amount of CPU.


Only guess I could have so far is that traffic on NIC1 is being handeled 
by one of the vCPUs which eventually get 100% due to some of the 
processes while traffic on NIC2 is handled by another vCPU which is not 
that busy and explains the 0% packet loss. BUT, should VirtIO vNIC use 
CPU from within the Guest ?

Does it make any sense ?

Thanks

Fernando


On 18/03/2017 12:53, Yaniv Kaul wrote:



On Fri, Mar 17, 2017 at 6:11 PM, FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hello all.

I have a peculiar problem here which perhaps others may have had
or know about and can advise.

I have Virtual Machine with 2 VirtIO NICs. This VM serves around
1Gbps of traffic with thousands of clients connecting to it. When
I do a packet loss test to the IP pinned to NIC1 it varies from 3%
to 10% of packet loss. When I run the same test on NIC2 the packet
loss is consistently 0%.

From what I gather I may have something to do with possible lack
of Multi Queu VirtIO where NIC1 is managed by a single CPU which
might be hitting 100% and causing this packet loss.

Looking at this reference
(https://fedoraproject.org/wiki/Features/MQ_virtio_net
<https://fedoraproject.org/wiki/Features/MQ_virtio_net>) I see one
way to test it is start the VM with 4 queues (for example), but
checking on the qemu-kvm process I don't see option present. Any
way I can force it from the Engine ?


I don't see a need for multi-queue for 1Gbps.
Can you share the host statistics, the network configuration, the 
qemu-kvm command line, etc.?
What is the difference between NIC1 and NIC2, in the way they are 
connected to the outside world?



This other reference
(https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature
<https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature>)
points to the same direction about starting the VM with queues=N

Also trying to increase the TX ring buffer within the guest with
ethtool -g eth0 is not possible.

Oh, by the way, the Load on the VM is significantly high despite
the CPU usage isn't above 50% - 60% in average.


Load = latest 'top' results? Vs. CPU usage? Can mean a lot of 
processes waiting for CPU and doing very little - typical for web 
servers, for example. What is occupying the CPU?

Y.


Thanks
Fernando



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




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


Re: [ovirt-users] Error on Adding Host

2017-03-16 Thread FERNANDO FREDIANI

Final information about this.

I have re-installed the node with the ISO Release version (2017020112) 
and it now worked, both with SSH port 22 or changed. Therefore Node-NG 
ISO versions 2017030911 and 2017031104 don't work well with my Engine.


Despite it was still not able to fetch the fingerprint using running 
with a different port on SSH (and firewalld allowing the port) it was 
able to add the host normally and configure it correctly. Should I 
report it in bugzilla ?


Let me know if you need anything further about this.

Regards
Fernando


On 16/03/2017 11:53, FERNANDO FREDIANI wrote:


Hello Yedidyah and all

I bring you a slightly new information about this issue.

If I have the node SSH port changed to something else other than 22 it 
is unable to fetch the fingerprint. I changed it back to 22 and it 
worked to fetch the fingerprint but failed again when adding the host 
with the same error as before. (Yes I have allowed the port in the 
node firewall)


Before adding the host I have also cleaned both /root/.ssh/known_host 
and /var/lib/ovirt-engine/.ssh/known_hosts


Regards
Fernando


On 16/03/2017 10:17, FERNANDO FREDIANI wrote:
Well, that's pretty much what I found on most sites about this 
subject but still can't find anything that points to the error (find 
the related logs attached).


Please note that before adding the server the Engine is not able to 
fetch the fingerprint and thorws the following error in the log:


2017-03-16 09:57:14,998-03 ERROR 
[org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery] (default 
task-54) [223c2f69-6e84-4d5c-a29d-2f828fd9466e] Could not fetch 
fingerprint of host '': Failed to get the session.


The most relevant parts of the attached logs I could find were some 
things related to 'sharedLocks' and 'ACTION_TYPE_FAILED_OBJECT_LOCKED'.

And the error itself:

SSH error running command r...@host1.fqdn.abc.net:55000 
<mailto:r...@host1.fqdn.abc.net:55000>:'umask 0077; 
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; 
trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr 
\"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C 
"${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy 
DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command 
returned failure code 1 during SSH session 
'r...@host1.fqdn.abc.net:55000 <mailto:r...@host1.fqdn.abc.net:55000>'
2017-03-16 09:58:25,505-03 ERROR 
[org.ovirt.engine.core.uutils.ssh.SSHDialog] 
(org.ovirt.thread.pool-6-thread-14) [3a4fb0da] Exception: 
java.io.IOException: Command returned failure code 1 during SSH 
session 'r...@host1.fqdn.abc.net:55000 
<mailto:r...@host1.fqdn.abc.net:55000>'


Fernando



On 16/03/2017 04:15, Yedidyah Bar David wrote:

On Thu, Mar 16, 2017 at 5:24 AM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> <mailto:fernando.fredi...@upx.com> wrote:

Hi folks.

I think I have been hit by the most annoying error you can get on 
oVirt.

I have removed a Host from Engine, re-installed it with the latest
ovirt-node-ng ISO, tried to add the freshly installed Host back to 
Engine

and got the following error:

"Command returned failure code 1 during SSH session"

The host has the same FQDN as before and I have cleaned the SSH 
from the
known_hosts file in the Engine before trying to add it on the web 
interface.


I have also tried this process with 2 different ISO files:
- ovirt-node-ng-installer-ovirt-4.1-pre-2017030911 
<tel:%28201%29%20703-0911>.iso
- ovirt-node-ng-installer-ovirt-4.1-pre-2017031104 
<tel:%28201%29%20703-1104>.iso


And the Engine is version 4.1.1.4-1

Have searched for this error and there are a lot of people affected 
but not

a single solution solves it.

Please give some light.

Please check/share /var/log/ovirt-engine/engine.log on the engine
machine.

Best,


Thanks
Fernando

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











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


Re: [ovirt-users] Error on Adding Host

2017-03-16 Thread FERNANDO FREDIANI
Well, that's pretty much what I found on most sites about this subject 
but still can't find anything that points to the error (find the related 
logs attached).


Please note that before adding the server the Engine is not able to 
fetch the fingerprint and thorws the following error in the log:


2017-03-16 09:57:14,998-03 ERROR 
[org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery] (default 
task-54) [223c2f69-6e84-4d5c-a29d-2f828fd9466e] Could not fetch 
fingerprint of host '': Failed to get the session.


The most relevant parts of the attached logs I could find were some 
things related to 'sharedLocks' and 'ACTION_TYPE_FAILED_OBJECT_LOCKED'.

And the error itself:

SSH error running command r...@host1.fqdn.abc.net:55000:'umask 0077; 
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; trap 
"chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > 
/dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  
"${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine 
DIALOG/customization=bool:True': Command returned failure code 1 during 
SSH session 'r...@host1.fqdn.abc.net:55000'
2017-03-16 09:58:25,505-03 ERROR 
[org.ovirt.engine.core.uutils.ssh.SSHDialog] 
(org.ovirt.thread.pool-6-thread-14) [3a4fb0da] Exception: 
java.io.IOException: Command returned failure code 1 during SSH session 
'r...@host1.fqdn.abc.net:55000'


Fernando



On 16/03/2017 04:15, Yedidyah Bar David wrote:

On Thu, Mar 16, 2017 at 5:24 AM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> wrote:

Hi folks.

I think I have been hit by the most annoying error you can get on oVirt.
I have removed a Host from Engine, re-installed it with the latest
ovirt-node-ng ISO, tried to add the freshly installed Host back to Engine
and got the following error:

"Command returned failure code 1 during SSH session"

The host has the same FQDN as before and I have cleaned the SSH from the
known_hosts file in the Engine before trying to add it on the web interface.

I have also tried this process with 2 different ISO files:
- ovirt-node-ng-installer-ovirt-4.1-pre-2017030911.iso
- ovirt-node-ng-installer-ovirt-4.1-pre-2017031104.iso

And the Engine is version 4.1.1.4-1

Have searched for this error and there are a lot of people affected but not
a single solution solves it.

Please give some light.

Please check/share /var/log/ovirt-engine/engine.log on the engine
machine.

Best,


Thanks
Fernando

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






2017-03-16 09:58:06,546-03 INFO  [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-56) [bd52ecbe-ed82-4626-8575-d5baba0e2f60] Running command: AddVdsCommand internal: false. Entities affected :  ID: f97c5bd6-18eb-402f-b5e7-61fcdaed5511 Type: ClusterAction group CREATE_HOST with role type ADMIN
2017-03-16 09:58:06,602-03 INFO  [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-56) [36d7e262] Before acquiring and wait lock 'EngineLock:{exclusiveLocks='[2325e1a4-c702-469c-82eb-ff43baa06d44=<REGISTER_VDS, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-03-16 09:58:06,602-03 INFO  [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-56) [36d7e262] Lock-wait acquired to object 'EngineLock:{exclusiveLocks='[2325e1a4-c702-469c-82eb-ff43baa06d44=<REGISTER_VDS, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-03-16 09:58:06,604-03 INFO  [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-56) [36d7e262] Running command: AddVdsSpmIdCommand internal: true. Entities affected :  ID: b6d06eb1-6e54-42f2-b4e9-d855a90799ef Type: VDS
2017-03-16 09:58:06,645-03 INFO  [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-56) [36d7e262] Lock freed to object 'EngineLock:{exclusiveLocks='[2325e1a4-c702-469c-82eb-ff43baa06d44=<REGISTER_VDS, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-03-16 09:58:06,649-03 INFO  [org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand] (default task-56) [36d7e262] START, RemoveVdsVDSCommand(HostName = kvm01.mia1.upx.net.br, RemoveVdsVDSCommandParameters:{runAsync='true', hostId='b6d06eb1-6e54-42f2-b4e9-d855a90799ef'}), log id: 6f514ef9
2017-03-16 09:58:06,649-03 INFO  [org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand] (default task-56) [36d7e262] FINISH, RemoveVdsVDSCommand, log id: 6f514ef9
2017-03-16 09:58:06,651-03 INFO  [org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand] (default task-56) [36d7e262] START, AddVdsVDSCommand(HostName = kvm01.mia1.upx.net.br, AddVdsVDSCommandParameters:{runAsync='true', hostId='b6d06eb1-6e54-42f2-b4e9-d855a90799ef'}), log id: 113c68ae
2017-03-16 09:58:06,651-03 INFO  [org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand] (default task-56) [36d7e262] AddVds - entered , starting logic to add VDS 'b6d06e

[ovirt-users] How to Feature Request

2017-03-22 Thread FERNANDO FREDIANI
Where is the best place to put feature requests ? Bugzilla with priority 
'unspecified' or 'low' or anywhere else ?


Thanks
Fernando

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


Re: [ovirt-users] Error on Node upgrade 2

2017-03-15 Thread FERNANDO FREDIANI

Well, this failed badly.
In another try it did the upgrade to the newer version it was not being 
able to do before, but upon reboot several services fail to start and 
the host doesn't come up. I then rebooted into the previous version.


A complete re-install seems to be the only option.
Seems the upgrade process need refining.

Taking the opportunity what is the procedure to remove from the Engine a 
Host that will never come back up ? Seems the remove option is grayed 
when the server is offline or unreachable.


Fernando


On 15/03/2017 10:06, FERNANDO FREDIANI wrote:


Find it attached Yuval.

Fernando


On 14/03/2017 18:21, Yuval Turgeman wrote:

Adding Ryan, Fernando, can you please attach /tmp/imgbased.log ?

On Mar 13, 2017 2:43 PM, "FERNANDO FREDIANI" 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hi Yedidyah.

Running oVirt-Node *4.1.0--0.20170201.0+1* on the nodes and tried
a normal upgrade. It detected it has to upgrade to
*4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos* from the
ovirt-4.1-pre repository.

The upgrade finished with the following problems:

...
Running transaction
  Updating   :

ovirt-node-ng-image-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch
1/4
  Updating   :

ovirt-node-ng-image-update-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch
2/4
mount: special device
/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 does not exist
cp: target ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/’ is not a
directory
rm: cannot remove
‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/*image-update*.rpm’: No
such file or directory
umount: /tmp/tmp.N6JgSdFcu6: not mounted
...

So it seems it was not able to do it correctly.
This is the second time it happens and I had to remove manually
these packages containing 4.1.1 version.

Tried also:

# lvdisplay | grep ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Path   
/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1

  LV Nameovirt-node-ng-4.1.1-0.20170303.0+1
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
fdisk: cannot open
/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1: No such file
or directory
# vgchange -ay
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
(then worked)

But the upon reboot it came back to 4.1.0 as if 4.1.1 never existed

Fernando

On 12/03/2017 03:30, Yedidyah Bar David wrote:

On Fri, Mar 10, 2017 at 2:37 PM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> <mailto:fernando.fredi...@upx.com>  wrote:

I am not sure if another email I sent went through but has anyone got
problems when upgrading a running oVirt-node-ng from 4.1.0 to 4.1.1.

What kind of problems?


Is the only solution a complete reinstall of the node ?

No, this should work.

Best,


Thanks

Fernando

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

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

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


[ovirt-users] Latency threshold between Hosted Engine and Hosts

2017-04-17 Thread FERNANDO FREDIANI

Hello.

I have a Engine which is hosted in a optimal location for the people who 
access it and this Engine manage multiple Datacenters, some close by and 
some far away in terms of latency.


What is the maximum latency advised between the Engine and the hosts for 
a healthy operation or that doesn't matter much as long the Engine can 
always reach the hosts ?


Currently the maximum latency I have between Engine and Hosts is 110ms 
and sometimes when there is a non-optimal route latency goes up to 
170ms. Should I be concerned about this ?


Thanks
Fernando

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


Re: [ovirt-users] storage redundancy in Ovirt

2017-04-17 Thread FERNANDO FREDIANI
If this works in this way then it's a huge downside in the architecture. 
Perhaps someone can clarify in more details.


Fernando


On 15/04/2017 14:53, Konstantin Raskoshnyi wrote:

Hi Fernando,
I see each host has direct connection nfs mount, but yes, if main host 
to which I connected nfs storage going down the storage becomes 
unavailable and all vms are down



On Sat, Apr 15, 2017 at 10:37 AM FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hello Konstantin.

That doesn`t make much sense make a whole cluster depend on a
single host. From what I know any host talk directly to NFS
Storage Array or whatever other Shared Storage you have.
Have you tested that host going down if that affects the other
with the NFS mounted directlly in a NFS Storage array ?

Fernando

2017-04-15 12:42 GMT-03:00 Konstantin Raskoshnyi
<konra...@gmail.com <mailto:konra...@gmail.com>>:

In ovirt you have to attach storage through specific host.
If host goes down storage is not available.

On Sat, Apr 15, 2017 at 7:31 AM FERNANDO FREDIANI
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>>
wrote:

Well, make it not go through host1 and dedicate a storage
server for running NFS and make both hosts connect to it.
In my view NFS is much easier to manage than any other
type of storage, specially FC and iSCSI and performance is
pretty much the same, so you won`t get better results
other than management going to other type.

Fernando

2017-04-15 5:25 GMT-03:00 Konstantin Raskoshnyi
<konra...@gmail.com <mailto:konra...@gmail.com>>:

Hi guys,
I have one nfs storage,
it's connected through host1.
host2 also has access to it, I can easily migrate
vms between them.

The question is - if host1 is down - all
infrastructure is down, since all traffic goes through
host1,
is there any way in oVirt to use redundant storage?

Only glusterfs?

Thanks


___
Users mailing list
Users@ovirt.org <mailto: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] storage redundancy in Ovirt

2017-04-17 Thread FERNANDO FREDIANI
Raskoshnyi
<konra...@gmail.com
<mailto:konra...@gmail.com>>
wrote:

Hi Fernando,
I see each
host has
direct
connection nfs
mount, but
yes, if main
host to which
I connected
nfs storage
going down the
storage
becomes
unavailable
and all vms
are down


On Sat, Apr
    15, 2017 at
10:37 AM
FERNANDO
FREDIANI

<fernando.fredi...@upx.com

<mailto:fernando.fredi...@upx.com>>
wrote:

Hello
Konstantin.

That
doesn`t
make much
sense make
a whole
cluster
depend on
a single
host. From
what I
know any
host talk
directly
to NFS
Storage
Array or
whatever
other
Shared
Storage
you have.
Have you
tested
that host
going down
if that
affects
the other
with the
NFS
mounted
directlly
in a NFS
Storage
array ?

Fernando

2017-04-15
12:42
GMT-03:00
Konstantin
Raskoshnyi
<konra...@gmail.com

[ovirt-users] CentOS 7 and kernel 4.x

2017-04-19 Thread FERNANDO FREDIANI

Hi folks

Is anyone using KVM Nodes running CentOS with upgraded Kernel like 
Elrepo to either 4.5 (lt) or 4.10(ml) and noticed any improvements due 
that ?


What about oVirt-Node-NG ? I don't really like to make much changes on 
oVirt-Node image, but wanted to hear from whoever may have done that and 
are having good and stable results. And if so if there is a way to build 
an install image with one of those newer kernels.


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


Re: [ovirt-users] storage redundancy in Ovirt

2017-04-15 Thread FERNANDO FREDIANI
Hello Konstantin.

That doesn`t make much sense make a whole cluster depend on a single host.
>From what I know any host talk directly to NFS Storage Array or whatever
other Shared Storage you have.
Have you tested that host going down if that affects the other with the NFS
mounted directlly in a NFS Storage array ?

Fernando

2017-04-15 12:42 GMT-03:00 Konstantin Raskoshnyi <konra...@gmail.com>:

> In ovirt you have to attach storage through specific host.
> If host goes down storage is not available.
>
> On Sat, Apr 15, 2017 at 7:31 AM FERNANDO FREDIANI <
> fernando.fredi...@upx.com> wrote:
>
>> Well, make it not go through host1 and dedicate a storage server for
>> running NFS and make both hosts connect to it.
>> In my view NFS is much easier to manage than any other type of storage,
>> specially FC and iSCSI and performance is pretty much the same, so you
>> won`t get better results other than management going to other type.
>>
>> Fernando
>>
>> 2017-04-15 5:25 GMT-03:00 Konstantin Raskoshnyi <konra...@gmail.com>:
>>
>>> Hi guys,
>>> I have one nfs storage,
>>> it's connected through host1.
>>> host2 also has access to it, I can easily migrate vms between them.
>>>
>>> The question is - if host1 is down - all infrastructure is down, since
>>> all traffic goes through host1,
>>> is there any way in oVirt to use redundant storage?
>>>
>>> Only glusterfs?
>>>
>>> Thanks
>>>
>>>
>>> ___
>>> 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] storage redundancy in Ovirt

2017-04-15 Thread FERNANDO FREDIANI
Well, make it not go through host1 and dedicate a storage server for
running NFS and make both hosts connect to it.
In my view NFS is much easier to manage than any other type of storage,
specially FC and iSCSI and performance is pretty much the same, so you
won`t get better results other than management going to other type.

Fernando

2017-04-15 5:25 GMT-03:00 Konstantin Raskoshnyi :

> Hi guys,
> I have one nfs storage,
> it's connected through host1.
> host2 also has access to it, I can easily migrate vms between them.
>
> The question is - if host1 is down - all infrastructure is down, since all
> traffic goes through host1,
> is there any way in oVirt to use redundant storage?
>
> Only glusterfs?
>
> Thanks
>
>
> ___
> 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] Networking setup

2017-04-14 Thread FERNANDO FREDIANI
Hello Alexis.

Why use all those physical NICs and not simplify with fewer NICs and
cabling.

Things like Management, Migration and Display you may put on the same set
of NICs (bond0) as Management and Display traffic are marginal so you have
an almost dedicated NICs for Migration traffic.
Then yes is good to separate VMs traffic and iSCSI in different set of NICs.

If you really want to use all your physical NICs add the one left in this
scenario to either add more bandwidth to VMs traffic or to user as
active/backup if you have two non-stackable switches, either with bonding
too.

Regards
Fernando

2017-04-14 10:37 GMT-03:00 Sandro Bonazzola :

> Adding Dan and Marcin
>
> On Wed, Apr 12, 2017 at 9:29 AM, Alexis HAUSER <
> alexis.hau...@imt-atlantique.fr> wrote:
>
>> Hi,
>>
>>
>> I have an Ovirt installation with 3 nodes (5 soon), containing 6 network
>> cards (8 soon), a multipath iSCSI array and I would like to know how you
>> would advice me to choose which link to bond or not.
>>
>> I thought about :
>>
>> 1+2 : ovirtmgmt (bond)
>> 3+4 : iSCSI (multipath)
>> 5 : VM and Display
>> 6 : Migration
>>
>> What do you think about this configuration ?
>> Is it a bad idea to set VM and display on the same network interface ?
>> Do ovirtmgmt need high bandwidth ?
>> In terms of bandwidth, is it a bad idea to have one single NIC for
>> Migration ?
>>
>>
>> Thanks in advance for your suggestions
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA 
> 
> TRIED. TESTED. TRUSTED. 
>
> ___
> 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] Passing VLAN trunk to VM

2017-03-09 Thread FERNANDO FREDIANI
Have you tried use Vlan 4095 ? On VMware it used to be the way to pass 
all Vlans from a vSwitch to a Vlan in a single port. And yes I have used 
it also for pfSense.


Fernando


On 09/03/2017 16:09, Simon Vincent wrote:
Is it possible to pass multiple VLANs to a VM (pfSense) using a single 
virtual NIC? All my existing oVirt networks are setup as a single 
tagged VLAN. I know this didn't used to be supported but wondered if 
this has changed. My other option is to pass each VLAN as a separate 
NIC to the VM however if I needed to add a new VLAN I would have to 
add a new interface and reboot the VM as hot-add of NICs is not 
supported by pfSense.





___
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] Error on Node upgrade 2

2017-03-13 Thread FERNANDO FREDIANI

Hi Yedidyah.

Running oVirt-Node *4.1.0--0.20170201.0+1* on the nodes and tried a 
normal upgrade. It detected it has to upgrade to 
*4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos* from the 
ovirt-4.1-pre repository.


The upgrade finished with the following problems:

...
Running transaction
  Updating   : 
ovirt-node-ng-image-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch 
1/4
  Updating   : 
ovirt-node-ng-image-update-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch 
2/4
mount: special device /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 
does not exist

cp: target ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/’ is not a directory
rm: cannot remove 
‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/*image-update*.rpm’: No such 
file or directory

umount: /tmp/tmp.N6JgSdFcu6: not mounted
...

So it seems it was not able to do it correctly.
This is the second time it happens and I had to remove manually these 
packages containing 4.1.1 version.


Tried also:

# lvdisplay | grep ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Path /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Nameovirt-node-ng-4.1.1-0.20170303.0+1
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
fdisk: cannot open /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1: No 
such file or directory

# vgchange -ay
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 (then worked)

But the upon reboot it came back to 4.1.0 as if 4.1.1 never existed

Fernando

On 12/03/2017 03:30, Yedidyah Bar David wrote:

On Fri, Mar 10, 2017 at 2:37 PM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> wrote:

I am not sure if another email I sent went through but has anyone got
problems when upgrading a running oVirt-node-ng from 4.1.0 to 4.1.1.

What kind of problems?


Is the only solution a complete reinstall of the node ?

No, this should work.

Best,


Thanks

Fernando

___
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] oVirt 4 and 10GbE NICs

2017-03-14 Thread FERNANDO FREDIANI
Isn't the traffic shown on the dashboard based in 1Gbps always, even if 
the hosts have 10Gb interfaces ?


Is there anywhere in oVirt config files or Database that you can tell to 
the dashboard to consider 10Gb instead of 1Gb for those cases ?


Thanks

Fernando


On 14/03/2017 07:57, Davide Ferrari wrote:

Hello

the oVirt hosts in my cluster have all 10GbE interfaces (bonded 2 by 
2), and I was wondering if a single Linux VM with a virtio interface 
can reach for example 8Gbps.


I'm asking because I'm seeing a 100% network usage in some VMs in 
ovirt VM dashboard but the real traffic in that VM is between 1-2Gbps.


Thanks

--
Davide Ferrari
Senior Systems Engineer


___
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] Passing VLAN trunk to VM

2017-03-12 Thread FERNANDO FREDIANI
Great !

What about a range of VLANs, is it also supported ?

2017-03-11 17:47 GMT-03:00 Edward Haas <eh...@redhat.com>:

> Passing a trunk to the vnic is supported long ago.
> Just create a network over a nic/bond that is connected to a trunk port
> and do not define any VLAN (we call it non vlan network).
> In oVirt, a non-vlan network will ignore the VLAN tag and will forward the
> packets as is onward.
> It is up to the VM vnic to define vlans or use a promisc mode to see
> everything.
>
> OVS can add a layer of security over the existing, by defining explicitly
> which vlans are allowed for a specific vnic, but it is not
> currently available.
>
>
> On Thu, Mar 9, 2017 at 11:40 PM, Simon Vincent <s...@srvincent.co.uk> wrote:
>
>> I was wondering if open vswitch will get round this problem. Has anyone
>> tried it?
>>
>> On 9 Mar 2017 7:41 pm, "Rogério Ceni Coelho" <rogeriocenicoe...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Ovirt user interface does not allow to input 4095 as a tag vlan number
>>> ... Only values between 0 and 4094.
>>>
>>> This is useful to me too. Maybe any other way ?
>>>
>>> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
>>> fernando.fredi...@upx.com> escreveu:
>>>
>>>> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass
>>>> all Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
>>>> also for pfSense.
>>>>
>>>> Fernando
>>>>
>>>> On 09/03/2017 16:09, Simon Vincent wrote:
>>>>
>>>> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
>>>> virtual NIC? All my existing oVirt networks are setup as a single tagged
>>>> VLAN. I know this didn't used to be supported but wondered if this has
>>>> changed. My other option is to pass each VLAN as a separate NIC to the VM
>>>> however if I needed to add a new VLAN I would have to add a new interface
>>>> and reboot the VM as hot-add of NICs is not supported by pfSense.
>>>>
>>>>
>>>>
>>>>
>>>> ___
>>>> Users mailing 
>>>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>> ___
>>>> 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
>>>
>>>
>> ___
>> 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


[ovirt-users] Error on Node upgrade 2

2017-03-10 Thread FERNANDO FREDIANI
I am not sure if another email I sent went through but has anyone got 
problems when upgrading a running oVirt-node-ng from 4.1.0 to 4.1.1.


Is the only solution a complete reinstall of the node ?

Thanks

Fernando

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


[ovirt-users] Error on Node upgrade

2017-03-08 Thread FERNANDO FREDIANI

Hello.

I'm running oVirt-Node *4.1.0--0.20170201.0+1* on my hosts and tried a 
normal upgrade. It detected it has to upgrade to 
*4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos* from the 
ovirt-4.1-pre repository.


The upgrade finished with the following problems:

...
Running transaction
  Updating   : 
ovirt-node-ng-image-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch 
1/4
  Updating   : 
ovirt-node-ng-image-update-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch 
2/4
mount: special device /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 
does not exist

cp: target ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/’ is not a directory
rm: cannot remove 
‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/*image-update*.rpm’: No such 
file or directory

umount: /tmp/tmp.N6JgSdFcu6: not mounted
...

So it seems it was not able to do it correctly.
This is the second time it happens and I had to remove manually these 
packages containing 4.1.1 version.


Tried also:

# lvdisplay | grep ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Path /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Nameovirt-node-ng-4.1.1-0.20170303.0+1
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
fdisk: cannot open /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1: No 
such file or directory

# vgchange -ay
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 (then worked)

But the upon reboot it came back to 4.1.0 as if 4.1.1 never existed.

Is there any known solution of a full Node reinstall is the recommended ?

Thanks
Fernando

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


Re: [ovirt-users] oVirt Nodes Monitoring

2017-03-08 Thread FERNANDO FREDIANI

Thanks Arsène

Just for others benefit just adding the repository and installing the 
agent won't work. Need to add it to SELINUX. For that I used the 
following command:


semodule -i zabbix_agent_setrlimit.pp

Fernando


On 07/03/2017 05:42, Arsène Gschwind wrote:

Hi Fernando,

We do monitor our oVirt hosts using Zabbix and we add the zabbix repo 
to the host so we keep it up to date.


rgds,
Arsène


On 03/06/2017 03:00 PM, FERNANDO FREDIANI wrote:

Hi.

How do you guys monitor your hosts with Zabbix ?
I see the oVirt Nodes have snmpd service installed and could be used 
for basic things but ideally, for Zabbix is good to use its agent.


What would be the best way to install its zabbix-agent package and 
make it persistent ? Add its repository to the oVirt-Node in 
/etc/yum.repos.d/ and install it with yum or install using a .rpm 
directly ?


Thanks
Fernando

___
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


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


[ovirt-users] oVirt Nodes Monitoring

2017-03-06 Thread FERNANDO FREDIANI

Hi.

How do you guys monitor your hosts with Zabbix ?
I see the oVirt Nodes have snmpd service installed and could be used for 
basic things but ideally, for Zabbix is good to use its agent.


What would be the best way to install its zabbix-agent package and make 
it persistent ? Add its repository to the oVirt-Node in 
/etc/yum.repos.d/ and install it with yum or install using a .rpm directly ?


Thanks
Fernando

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


Re: [ovirt-users] Strange network performance on VirtIIO VM NIC

2017-03-21 Thread FERNANDO FREDIANI

Hi Yaniv

On 21/03/2017 06:19, Yaniv Kaul wrote:


Is your host with NUMA support (multiple sockets) ? Are all your 
interfaces connected to the same socket? Perhaps one is on the 'other' 
socket (a different PCI bus, etc.)? This can introduce latency.
In general, you would want to align everything, from host (interrupts 
of the drivers) all the way to the guest to perform the processing on 
the same socket.

I believe so it is. Look:
~]# dmesg | grep -i numa
[0.00] Enabling automatic NUMA balancing. Configure with 
numa_balancing= or the kernel.numa_balancing sysctl

[0.693082] pci_bus :00: on NUMA node 0
[0.696457] pci_bus :40: on NUMA node 1
[0.700678] pci_bus :3f: on NUMA node 0
[0.704844] pci_bus :7f: on NUMA node 1

The thing is, if was something affecting the underlying network layer 
(drivers for the physical nics for example) it would affect all traffic 
to the VM, not just the one going in/out via vNIC1, right ?


Layer 2+3 may or may not provide you with good distribution across the 
physical links, depending on the traffic. Layer 3+4 hashing is better, 
but is not entirely compliant with all vendors/equipment.
Yes, I have tested with both and both work well. Have settled on 
layer2+3 as it balances the traffic equally layer3+4 for my scenario.
Initially I have guessed it could be the bonding, but ruled that out 
when I tested with another physical interface that doesn't have any 
bonding and the problem happened the same for the VM in question.
Linux is not always happy with multiple interfaces on the same L2 
network. I think there are some params needed to be set to make it happy?
Yes you are right and yes, knowing of that I have configured PBR using 
iproute2 which makes Linux work happy in this scenario. Works like a charm.


That can explain it.  Ideally, you need to also streamline the 
processing in the guest. The relevant application should be on the 
same NUMA node as the vCPU processing the virtio-net interrupts.
In your case, the VM sees a single NUMA node - does that match the 
underlying host architecture as well?
Not sure. The command line from qemu-kvm is automatically generated by 
oVirt. Perhaps some extra option to be changed under Advanced Parameters 
on VM CPU configuration ? Also I was wondering if enabling "IO Threads 
Enabled" under Resource Allocation could be of any help.


To finish I more inclined to understand that problem is restricted to 
the VM, not to the Host(drivers, physical NICs, etc), given the packet 
loss happens in vNIC1 not in vNIC2 when it has no traffic. If it was in 
the Host level or bonding it would affect the whole VM traffic in either 
vNICs.
As a last resource I am considering add an extra 2 vCPUs to the VMs, but 
I guess that will only lower the problem. Does anyone think that 
"Threads per Core" or IO Thread could be a better choice ?


Thanks
Fernando



On 18/03/2017 12:53, Yaniv Kaul wrote:



On Fri, Mar 17, 2017 at 6:11 PM, FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hello all.

I have a peculiar problem here which perhaps others may have had
or know about and can advise.

I have Virtual Machine with 2 VirtIO NICs. This VM serves around
1Gbps of traffic with thousands of clients connecting to it. When
I do a packet loss test to the IP pinned to NIC1 it varies from
3% to 10% of packet loss. When I run the same test on NIC2 the
packet loss is consistently 0%.

From what I gather I may have something to do with possible lack
of Multi Queu VirtIO where NIC1 is managed by a single CPU which
might be hitting 100% and causing this packet loss.

Looking at this reference
(https://fedoraproject.org/wiki/Features/MQ_virtio_net
<https://fedoraproject.org/wiki/Features/MQ_virtio_net>) I see
one way to test it is start the VM with 4 queues (for example),
but checking on the qemu-kvm process I don't see option present.
Any way I can force it from the Engine ?


I don't see a need for multi-queue for 1Gbps.
Can you share the host statistics, the network configuration, the 
qemu-kvm command line, etc.?
What is the difference between NIC1 and NIC2, in the way they are 
connected to the outside world?



This other reference
(https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature
<https://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature>)
points to the same direction about starting the VM with queues=N

Also trying to increase the TX ring buffer within the guest with
ethtool -g eth0 is not possible.

Oh, by the way, the Load on the VM is significantly high despite
the CPU usage isn't above 50% - 60% in average.


Load = latest 'top' results? Vs. CPU usage? Can mean a lot of 
processes waiting for CPU and doing very little - typical for web 
servers, for example. What is occu

Re: [ovirt-users] Communication Problems between Engine and Hosts

2017-08-16 Thread FERNANDO FREDIANI

Hello Piotr. Thanks for your reply

I was running version 4.1.1, but since that day I have upgraded to 4.1.5 
(the Engine because the hosts remain on 4.1.1). I am not sure the logs 
still exists (how long they are kept normally).


Just to clarify the hosts didn't become unresponsive, but the 
communication between the Engine and the Hosts in question (each in a 
different Datacenter was interrupted - but locally the hosts were fine 
and accessible). What was strange was that since the Hosts could not 
talk to the Engine they seem to have got 'confused' and started several 
VM live migrations which was not expected. As a note I don't have any 
Fencing policy enabled.


Regards
Fernando


On 16/08/2017 07:00, Piotr Kliczewski wrote:

Fernando,

Which ovirt version are you running? Please share the logs so I could
check what caused the hosts to become unresponsive.

Thanks,
Piotr

On Wed, Aug 2, 2017 at 5:11 PM, FERNANDO FREDIANI
<fernando.fredi...@upx.com> wrote:

Hello.

Yesterday I had a pretty strange problem in one of our architectures. My
oVirt which runs in one Datacenter and controls Nodes locally and also
remotelly lost communication with the remote Nodes in another Datacenter.
To this point nothing wrong as the Nodes can continue working as expected
and running their Virtual Machines each without dependency of the oVirt
Engine.

What happened at some point is that when the communication between Engine
and Hosts came back Hosts got confused and initiated a Live Migration of ALL
VMs from one of the other. I had also to restart vdsmd agent on all Hosts in
order to get sanity my environment.
What adds up even more strangeness to this scenario is that one of the Hosts
affected doesn't belong to the same Cluster as the others and had to have
the vdsmd restarted.

I understand the Hosts can survive without the Engine online with reduced
possibilities but can communicated between them, but without affecting the
VMs or even needing to do what happened in this scenario.

Am I wrong on any of the assumptions ?

Fernando

___
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


[ovirt-users] oVirt Node with bcache

2017-08-16 Thread FERNANDO FREDIANI

Hello

I just wanted to share a scenario with you and perhaps exchange more 
information with other people that may also have a similar scenario.


For a couple of months I have been running a oVirt Node (CentOS 7.3 
Minimal) with bcache (https://bcache.evilpiepirate.org/) for caching a 
SSD with HDD disks. The setup is simple and was made for a prof of 
concept and since them has been working better than expected.
This is a standalone host with 4 disks being: 1 for Operating System, 2 
x 2TB 7200 RPM in software RAID 1 and 1 x PCI-E NVMe 400GB SSD which 
plays the caching device for both reads and writes. The VM storage 
folder is mounted as a ext4 partition on the logical device created by 
bcache (/dev/bcache0). All this is transparent to oVirt as all it sees 
is a /folder to put the VMs.


We monitor the IOPS on all block devices individually and see the 
behavior exactly as expected: random writes are all done on the SSD 
first and them streamed sequentially to the mechanical drives with 
pretty impressive performance. Also in the beginning while the total 
amount of data was less than 400GB ALL read used to come from the 
caching device and therefore didn't use IOPS from the mechanical drives 
leaving it free to do basically writes. Finally at sequential IOPS (as 
described by bcache) are intelligently passed directly to the mechanical 
drives (but they are not much).


Although bcache is present on kernel 3.10 I had to use kernel-ml 4.12 
(from Elrepo) and I had also to compile the bcache-tools as I could not 
find it available in any repository.


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


Re: [ovirt-users] Bizzare oVirt network problem

2017-07-12 Thread FERNANDO FREDIANI

Hello Pavel

What you mean by another oVirt instance ? In one Datacenter it has 2 
different clusters (or Datacenter in oVirt way of orrganizing things), 
but in the other Datacenter the oVirt Node is standlone.


Let me know.

Fernando


On 12/07/2017 16:49, Pavel Gashev wrote:


Fernando,

It looks like you have another oVirt instance in the same network 
segment(s). Don’t you?


*From: *<users-boun...@ovirt.org> on behalf of FERNANDO FREDIANI 
<fernando.fredi...@upx.com>

*Date: *Wednesday, 12 July 2017 at 16:21
*To: *"users@ovirt.org" <users@ovirt.org>
*Subject: *[ovirt-users] Bizzare oVirt network problem

Hello.

I am facing a pretty bizzare problem in two of my Nodes running oVirt. 
A given VM running a few hundred Mbps of traffic simply stops passing 
traffic and only recovers after a reboot. Checking the bridge with 
'brctl showmacs BRIDGE' I see the VM's MAC address missing during this 
event.


It seems the bridge simply unlearn the VM's mac address which only 
returns when the VM is rebooted.
This problems happened in two different Nodes running in different 
hardware, in different datacenter, in different network architecture, 
different switch vendors and different bonding modes.


The main differences these Nodes have compared to others I have and 
which don't show this problem are:

- The CentOS 7 installed is a Minimal installation instead of oVirt-NG
- The Kernel used is 4.12 (elrepo) instead of the default 3.10
- The ovirtmgmt network is used also for the Virtual Machine 
showing this problem.


Has anyone have any idea if it may have anything to do with oVirt (any 
filters) or any of the components different from a oVirt-NG installation ?


Thanks
Fernando



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


[ovirt-users] Bizzare oVirt network problem

2017-07-12 Thread FERNANDO FREDIANI

Hello.

I am facing a pretty bizzare problem in two of my Nodes running oVirt. A 
given VM running a few hundred Mbps of traffic simply stops passing 
traffic and only recovers after a reboot. Checking the bridge with 
'brctl showmacs BRIDGE' I see the VM's MAC address missing during this 
event.


It seems the bridge simply unlearn the VM's mac address which only 
returns when the VM is rebooted.
This problems happened in two different Nodes running in different 
hardware, in different datacenter, in different network architecture, 
different switch vendors and different bonding modes.


The main differences these Nodes have compared to others I have and 
which don't show this problem are:

- The CentOS 7 installed is a Minimal installation instead of oVirt-NG
- The Kernel used is 4.12 (elrepo) instead of the default 3.10
- The ovirtmgmt network is used also for the Virtual Machine 
showing this problem.


Has anyone have any idea if it may have anything to do with oVirt (any 
filters) or any of the components different from a oVirt-NG installation ?


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


Re: [ovirt-users] ovirt on sdcard?

2017-07-20 Thread FERNANDO FREDIANI
The proposed seems to be something interesting but is manual and 
susceptible to errors. I would much rather if this would come out of the 
box as it is VMware ESXi.


A 'squashfs' type of image boots up and runs completely in memory. Any 
logging is written and rotated also in memory which keeps only a certain 
recent period of logs necessary for quick trobleshooting. Whoever wants 
more than that can easily set a rsyslog server to collect and keep the 
logs for a longer period. With this, only the modified Node 
configuration is written in the SD Card/USB Stick when it changes which 
is not often which makes it a reliable solution.


I personally have a Linux + libvirt solution installed and running in a 
USB Stick that does exactlly this (writes up all the logs in memory) and 
it has been running for 3+ years without any issues.


Fernando


On 20/07/2017 03:54, Lionel Caignec wrote:

Ok thank you,

for now i'm not so advanced on architecture design i'm just thinking of what 
can i do.

Lionel

- Mail original -
De: "Yedidyah Bar David" 
À: "Lionel Caignec" 
Cc: "users" 
Envoyé: Jeudi 20 Juillet 2017 08:03:50
Objet: Re: [ovirt-users] ovirt on sdcard?

On Wed, Jul 19, 2017 at 10:16 PM, Lionel Caignec  wrote:

Hi,

i'm planning to install some new hypervisors (ovirt) and i'm wondering if it's 
possible to get it installed on sdcard.
I know there is write limitation on this kind of storage device.
Is it a viable solution? there is somewhere some tuto about tuning ovirt on 
this kind of storage?

Perhaps provide some more details about your plans?

The local disk is normally used only for standard OS-level stuff -
mostly logging. If you put /var/log on NFS/iSCSI/whatever, I think
you should not expect much other local writing.
Didn't test this myself.

People are doing many other things, including putting all of the
root filesystem on remote storage. There are many options, depending
on your hardware, your existing infrastructure, etc.

Best,


Thanks

--
Lionel
___
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


[ovirt-users] Backup oVirt Node configuration

2017-07-18 Thread Fernando Frediani
Folks. I had a need to reinstall a oVirt Node a few times these days. This
imposed reconfigure it all in order to add it back to oVirt Engine.

What is a better way to backup a oVirt Node configuration, for when you
reinstall it or if it fail completelly you just reinstall it and restore
the backed up files with network configuration, UUID, VDSM, etc ?

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


[ovirt-users] Problemas with ovirtmgmt network used to connect VMs

2017-07-21 Thread FERNANDO FREDIANI

Has anyone had problem when using the ovirtmgmt bridge to connect VMs ?

I am still facing a bizarre problem where some VMs connected to this 
bridge stop passing traffic. Checking the problem further I see its mac 
address stops being learned by the bridge and the problem is resolved 
only with a VM reboot.


When I last saw the problem I run brctl showmacs ovirtmgmt and it shows 
me the VM's mac adress with agening timer 200.19. After the VM reboot I 
see the same mac with agening timer 0.00.
I don't see it in another environment where the ovirtmgmt is not used 
for VMs.


Does anyone have any clue about this type of behavior ?

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


Re: [ovirt-users] Ovirt Node

2017-07-25 Thread FERNANDO FREDIANI
Josep, these Hosts was CentOS Minimal Install or were oVirt-Node-NG 
images ? If they were CentOS Minimal install you must install vsdm 
before adding the host to oVirt Engine.


Fernando


On 25/07/2017 14:13, Jose Vicente Rosello Vila wrote:


Hello users,

I installed ovirt engine 4.1.3.5-1.el7.centos and I tried to install 2 
hosts, but the result was “ install failed”.


Both nodes have been installes from CD image.

What can I do?

Thanks,

Descripción: Descripción: logo_upv_val.jpg



Josep Vicent Roselló Vila

Àrea de Sistemes d’Informació i Comunicacions

*Universitat Politècnica de València *



Camí de Vera, s/n

46022 VALÈNCIA

_Edifici 4 
L___




Tel. +34 963 879 075 (ext.78746)

rose...@asic.upv.es 



Antes de imprimir este mensaje, piense si es necesario.
¡El cuidado del medioambiente es cosa de todos!



___
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] Problemas with ovirtmgmt network used to connect VMs

2017-07-24 Thread FERNANDO FREDIANI
Hello Edward, this happened again today and I was able to check more 
details.


So:

- The VM stopped passing any network traffic.
- Checking 'brctl showmacs ovirtmgmt' it showed the VM's mac address 
missing.
- I then went to oVirt Engine, under VM's 'Network Interfaces' tab, 
clicked Edit and changed the Link State to Down then to Up and it 
recovered its connectivity.
- Another 'brctl showmacs ovirtmgmt' showed the VM's mac address learned 
again by the bridge.


This Node server has the particularity of sharing the ovirtmgmt with 
VMs. Could it possibly be the cause of the issue in any way ?


Thanks
Fernando


On 24/07/2017 09:47, FERNANDO FREDIANI wrote:


Not tried this yet Edwardh, but will do at next time it happens. THe 
source mac address should be the mac as the VM. I don't see any reason 
for it to change from within the VM ou outside.


What type of things would make the bridge stop learning a given VM mac 
address ?


Fernando


On 23/07/2017 07:51, Edward Haas wrote:
Have you tried to use tcpdump at the VM vNIC to examine if there is 
traffic trying to get out from there? And with what source mac address?


Thanks,
Edy,

On Fri, Jul 21, 2017 at 5:36 PM, FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Has anyone had problem when using the ovirtmgmt bridge to connect
VMs ?

I am still facing a bizarre problem where some VMs connected to
this bridge stop passing traffic. Checking the problem further I
see its mac address stops being learned by the bridge and the
problem is resolved only with a VM reboot.

When I last saw the problem I run brctl showmacs ovirtmgmt and it
shows me the VM's mac adress with agening timer 200.19. After the
VM reboot I see the same mac with agening timer 0.00.
I don't see it in another environment where the ovirtmgmt is not
used for VMs.

Does anyone have any clue about this type of behavior ?

Fernando
___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>






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


Re: [ovirt-users] oVirt VM backups

2017-07-27 Thread FERNANDO FREDIANI
One thing that I cannot conceive when doing oVirt backups is the need to 
clone the VM in order to copy it. Why, as in VMware, isn't possible to 
just Snapshot and copy the read-only disk ?


Fernando


On 27/07/2017 07:14, Abi Askushi wrote:

Hi All,

For VM backups I am using some python script to automate the snapshot 
-> clone -> export -> delete steps (although with some issues when 
trying to backups a Windows 10 VM)


I was wondering if there is there any plan to integrate VM backups in 
the GUI or what other recommended ways exist out there.


Thanx,
Abi


___
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] Problemas with ovirtmgmt network used to connect VMs

2017-07-24 Thread FERNANDO FREDIANI
Not tried this yet Edwardh, but will do at next time it happens. THe 
source mac address should be the mac as the VM. I don't see any reason 
for it to change from within the VM ou outside.


What type of things would make the bridge stop learning a given VM mac 
address ?


Fernando


On 23/07/2017 07:51, Edward Haas wrote:
Have you tried to use tcpdump at the VM vNIC to examine if there is 
traffic trying to get out from there? And with what source mac address?


Thanks,
Edy,

On Fri, Jul 21, 2017 at 5:36 PM, FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Has anyone had problem when using the ovirtmgmt bridge to connect
VMs ?

I am still facing a bizarre problem where some VMs connected to
this bridge stop passing traffic. Checking the problem further I
see its mac address stops being learned by the bridge and the
problem is resolved only with a VM reboot.

When I last saw the problem I run brctl showmacs ovirtmgmt and it
shows me the VM's mac adress with agening timer 200.19. After the
VM reboot I see the same mac with agening timer 0.00.
I don't see it in another environment where the ovirtmgmt is not
used for VMs.

Does anyone have any clue about this type of behavior ?

Fernando
___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>




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


Re: [ovirt-users] ovirt-guest-agent - Ubuntu 16.04

2017-07-04 Thread FERNANDO FREDIANI
I am still getting problems with ovirt-guest-agent on Ubuntu machines in 
any scenario, new or upgraded instalation.


One of the VMs has been upgraded to Ubuntu 17.04 (zesty) and the 
upgraded version of ovirt-guest-agent also doesn't start due something 
with python.


When trying to run it manually with: "/usr/bin/python 
/usr/share/ovirt-guest-agent/ovirt-guest-agent.py" I get the following 
error:
root@hostname:~# /usr/bin/python 
/usr/share/ovirt-guest-agent/ovirt-guest-agent.py

*** stack smashing detected ***: /usr/bin/python terminated
Aborted (core dumped)

Tried also to install the previous version (16.04) from evilissimo but 
doesn't work either.


Fernando


On 30/06/2017 06:16, Sandro Bonazzola wrote:
Adding Laszlo Boszormenyi (GCS) <g...@debian.org 
<mailto:g...@debian.org>> which is the maintainer according to 
http://it.archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/universe/o/ovirt-guest-agent/ovirt-guest-agent_1.0.13.dfsg-1.dsc 



On Wed, Jun 28, 2017 at 5:37 PM, FERNANDO FREDIANI 
<fernando.fredi...@upx.com <mailto:fernando.fredi...@upx.com>> wrote:


Hello

Is the maintainer of ovirt-guest-agent for Ubuntu on this mail list ?

I have noticed that if you install ovirt-guest-agent package from
Ubuntu repositories it doesn't start. Throws an error about python
and never starts. Has anyone noticied the same ? OS in this case
is a clean minimal install of Ubuntu 16.04.

Installing it from the following repository works fine -

http://download.opensuse.org/repositories/home:/evilissimo:/ubuntu:/16.04/xUbuntu_16.04

<http://download.opensuse.org/repositories/home:/evilissimo:/ubuntu:/16.04/xUbuntu_16.04>

Fernando

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




--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA <https://www.redhat.com/>

<https://red.ht/sig>  
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>



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


Re: [ovirt-users] download/export a VM image

2017-07-03 Thread FERNANDO FREDIANI

Have exactlly the same doubt here as well.


On 03/07/2017 12:05, aduckers wrote:

Running a 4.1 cluster with FC SAN storage.  I’ve got a VM that I’ve customized, 
and would now like to pull that out of oVirt in order to share with folks 
outside the environment.
What’s the easiest way to do that?
I see that the export domain is being deprecated, though I can still set one up 
at this time.  Even in the case of an NFS export domain though, it looks like 
I’d need to drill down into the exported file system and find the correct image 
based on VMID (I think..).

Is there a simple way to grab a VM image?

Thanks

___
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


[ovirt-users] Virtual Machine looses connectivity with no clear explanation

2017-07-03 Thread FERNANDO FREDIANI
I have a rather strange issue which is affecting one of my last deployed 
Hypervisors. It is a CentOS 7 (not a oVirt Node) which runs only 3 
Virtual Machines.


One of these VMs have a reasonable output traffic at peaks (500 - 
700Mbps) and the hypervisor underneath is connected to the switch via a 
bonding (mode=2) which in turn creates bond0.XX interfaces which are 
connected to different bridges for each network. The VM in question is 
connected to bridge "ovirtmgmt".


When the problem happens the VM stops passing traffic and cannot reach 
even the router or other VMs in the same Layer 2. Seems the bridge stop 
passing traffic for that particular VM. Other VMs work fine since they 
were created. When this problem happens I just need to go to its Console 
and run a reboot (Ctrl-Alt-Del), don't even need to Power Off and Power 
On again using oVirt Engine.
I have even re-installed this VMs operating system from scratch but the 
problem persists. Have also changed the vNic mac address in the case 
(already check) of conflicted mac addresses somewhere in that Layer 2.


Last, my hypervisor machine (due a mistake) has been running with 
SElinux disabled, not sure if it could have anything to do with this 
behavior.


Anyway, anyone has ever seen any behavior like that ?

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


  1   2   >