[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-28 Thread Tommy Sway
From the Oracle OLVM support:

Configuring the Hugepages for guest VMs should be suffice, however, it needs 
the KVM hosts too configured with the Hugepages.
Since, if it not you may end with issues while staring the guest VMs.

I really don't know what to do now.





-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Tuesday, September 28, 2021 3:39 PM
To: 'users' ; Tommy Sway 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit

I think that if you run VMs with Databases, you must disable transparent huge 
pages on Hypervisour level and on VM level. Yet, if you wish you can use 
regular huge pages on VM level.

Best Regards,
Strahil Nikolov






В вторник, 28 септември 2021 г., 09:21:09 ч. Гринуич+3, Tommy Sway 
 написа: 






What problem will appear if I use the default transparent huge page enabled 
mode for physical hosts, but configure traditional huge page memory on the 
virtual machine for database SGA ? 
Or is it better to disable transparent huge page on physical machines and still 
use traditional huge page memory on virtual machines?
 
Which one is prefer ?
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Tuesday, September 28, 2021 12:05 AM
To: ‪‪‪tommy ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/disabling-transparent-hugepages.html
 
https://access.redhat.com/solutions/1320153 (requires RH dev subscription or 
other type of subscription) -> In short add 'transparent_hugepage=never' to the 
kernel params
 
SLES11/12/15 -> 
https://www.suse.com/c/sles-1112-os-tuning-optimisation-guide-part-1/
 
 
Best Regards,
Strahil Nikolov
 
 
 
 
 
> On Mon, Sep 27, 2021 at 16:33, ‪‪‪tommy  wrote:
> thank you!
>   
> and how to get the config info of Transparent huge pages and how to 
> disable it?
>   
>   
>   
> 
> 
> 发自我的华为手机
> 
> 
>  原始邮件 
> 发件人: Strahil Nikolov 
> 日期: 2021年9月27日周一 21:13
> 收件人: 'users' , Tommy Sway 
> 主 题: Re: [ovirt-users] Re: About the vm memory limit
>> Transparent huge pages are enabled by default, so you need to stop 
>> them.I would use huge pages on both host and VM, but theoretically it 
>> shouldn't be a problem running a VM with enabled HugePages without 
>> configuring on Host.Best Regards,Strahil NikolovВ събота, 25 
>> септември 2021 г., 15:25:10 ч. Гринуич+3, Tommy Sway 
>>  написа: transparent huge pages are not used on vm 
>> and physical host. But, can I enable hugepage memory on  virtual 
>> machines but not on a physical machine?For database running on vm, 
>> and it needs to config hugepage.  From: Strahil Nikolov 
>>  Sent: Saturday, September 25, 2021 5:32 PMTo: 
>> Tommy Sway Subject: Re: [ovirt-users] About the vm 
>> memory limit It depends on the numa configuration of the host. If you 
>> have 256G per CPU, it's best to stay into that range. Also, consider 
>> disabling transparent huge pages on the host & VM. Since 4.4 Regular 
>> Huge Pages (do not confuse them with THP) can be used on the 
>> Hypervisors, while on 4.3 there were some issues but I can't provode 
>> any details. Best Regards,Strahil Nikolov> On Fri, Sep 24, 2021 at 
>> 6:40, Tommy Sway>  wrote:> I would like to ask if 
>> there is any limit on the memory size of virtual machines, or 
>> performance curve or something like that?> As long as there is memory 
>> on the physical machine, the more virtual machines the better?>  > In 
>> our usage scenario, there are many virtual machines with databases, 
>> and their memory varies greatly. > For some virtual machines, 4G 
>> memory is enough, while for some virtual machines, 64GB memory is 
>> needed.>  > I want to know what is the best use of memory for a 
>> virtual machine, since the virtual machine is just a QEMU emulation 
>> process on a physical machine, and I worry that it is not using as 
>> much memory as a physical machine. Understand this so that we can 
>> develop guidelines for optimal memory usage scenarios for virtual 
>> machines.>  > Thank you!>  >  > 
>> ___Users mailing list -- 
>> users@ovirt.orgTo unsubscribe send an email to 
>> users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List 
>> Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y6XDOIM
>> KCP4JEJF7M5DLJ33U2ENJKGAN/___
>> Users mailing list -- users@ovirt.orgTo unsubscribe send an email 
>> to users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List 
>> Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3YHTUBA
>> G42YRNEUCWG4DF5TEP2I22DMH/
___
Us

[ovirt-users] Re: Managed Block Storage and Templates

2021-09-28 Thread Shantur Rathore
Possibly due to https://bugzilla.redhat.com/show_bug.cgi?id=2008533

On Fri, Sep 24, 2021 at 10:35 AM Shantur Rathore
 wrote:
>
> I tried with external Ceph with cinderlib and Synology iSCSI with cinderlib 
> both as Managed block storage
>
> On Fri, 24 Sep 2021, 09:51 Gianluca Cecchi,  wrote:
>>
>> On Wed, Sep 22, 2021 at 2:30 PM Shantur Rathore  
>> wrote:
>>>
>>> Hi all,
>>>
>>> Anyone tried using Templates with Managed Block Storage?
>>> I created a VM on MBS and then took a snapshot.
>>> This worked but as soon as I created a Template from snapshot, the
>>> template got created but there is no disk attached to the template.
>>>
>>> Anyone seeing something similar?
>>>
>>> Thanks
>>>
>>
>> Are you using an external ceph cluster? Or what other cinder volume driver 
>> have you configured for the MBS storage domain?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WX7AUAMMHMLSLETYESUJFLRWX4NMWXOH/


[ovirt-users] Re: Managed Block Storage issues

2021-09-28 Thread Shantur Rathore
For 2nd Created : https://bugzilla.redhat.com/show_bug.cgi?id=2008533

I still need to test the rule

On Wed, Sep 22, 2021 at 11:59 AM Benny Zlotnik  wrote:
>
> I see the rule is created in the logs:
>
> MainProcess|jsonrpc/5::DEBUG::2021-09-22
> 10:39:37,504::supervdsm_server::95::SuperVdsm.ServerCallback::(wrapper)
> call add_managed_udev_rule with
> ('ed1a0e9f-4d30-4896-b965-534861cc0c02',
> '/dev/mapper/360014054b727813d1bc4d4cefdade7db') {}
> MainProcess|jsonrpc/5::DEBUG::2021-09-22
> 10:39:37,505::udev::124::SuperVdsm.ServerCallback::(add_managed_udev_rule)
> Creating rule 
> /etc/udev/rules.d/99-vdsm-managed_ed1a0e9f-4d30-4896-b965-534861cc0c02.rules:
> 'SYMLINK=="mapper/360014054b727813d1bc4d4cefdade7db",
> RUN+="/usr/bin/chown vdsm:qemu $env{DEVNAME}"\n'
>
> While we no longer test backends other than ceph, this used to work
> back when we started and it worked for NetApp. Perhaps this rule is
> incorrect, can you check this manually?
>
> regarding 2, can you please submit a bug?
>
> On Wed, Sep 22, 2021 at 1:03 PM Shantur Rathore
>  wrote:
> >
> > Hi all,
> >
> > I am trying to set up Managed block storage and have the following issues.
> >
> > My setup:
> > Latest oVirt Node NG : 4.4.8
> > Latest oVirt Engine : 4.4.8
> >
> > 1. Unable to copy to iSCSI based block storage
> >
> > I created a MBS with Synology UC3200 as a backend ( supported by
> > Cinderlib ). It was created fine but when I try to copy disks to it,
> > it fails.
> > Upon looking at the logs from SPM, I found "qemu-img" failed with an
> > error that it cannot open "/dev/mapper/xx" : Permission Error.
> > Had a look through the code and digging out more, I saw that
> > a. Sometimes /dev/mapper/ symlink isn't created ( log attached )
> > b. The ownership to /dev/mapper/xx and /dev/dm-xx for the new
> > device always stays at root:root
> >
> > I added a udev rule
> > ACTION=="add|change", ENV{DM_UUID}=="mpath-*", GROUP="qemu",
> > OWNER="vdsm", MODE="0660"
> >
> > and the disk copied correctly when /dev/mapper/x got created.
> >
> > 2. Copy progress finishes in UI very early than the actual qemu-img process.
> > The UI shows the Copy process is completed successfully but it's
> > actually still copying the image.
> > This happens both for ceph and iscsi based mbs.
> >
> > Is there any known workaround to get iSCSI MBS working?
> >
> > Kind regards,
> > Shantur
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/G6TMTW23SUAKR4UOXVSZKXHJY3PVMIDD/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5MJDMKCIVMLTR3HWJT3634YDTWYQAVOY/


[ovirt-users] Re: oVirt/Hyperconverged issue

2021-09-28 Thread Jayme
With 4 servers only three would be used for hyperconverged storage, the 4th
would be added as a compute node which would not participate in GlusterFS
storage.

To expand hyper-converged to more than 3 servers you have to add hosts in
multiples of 3

On Tue, Sep 28, 2021 at 9:49 AM  wrote:

> Kindly share also for the latest ovirt OS 4.4 is it possible the
> Hyperconverged to scaling up till 4 nodes? or only can use 3 nodes?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/SG725S4G57UAVBTBV5QLBO7V2AOF2MCO/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QC6QKVLXXHJ7SZZ4ZGS7HCDNRZ5R7NWY/


[ovirt-users] Re: oVirt/Hyperconverged issue

2021-09-28 Thread topoigerm
Kindly share also for the latest ovirt OS 4.4 is it possible the Hyperconverged 
to scaling up till 4 nodes? or only can use 3 nodes? 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SG725S4G57UAVBTBV5QLBO7V2AOF2MCO/


[ovirt-users] Re: oVirt / Hyperconverged

2021-09-28 Thread Strahil Nikolov via Users
Yes, you can use with 4 nodes. 
You have to check what has caused the crash before starting over or loosing the 
logs.

Best Regards,
Strahil Nikolov






В вторник, 28 септември 2021 г., 09:56:30 ч. Гринуич+3,  
написа: 





I have 4 servers of identical hardware. The documentation says "you need 3", 
not "you need 3 or more"; is it possible to run hyperconverged with 4 servers. 
Currently all the 4 nodes server has been crashed n after the 4th node try 
joining the hyperconverged 3nodes cluster. Kindly advise.
FYI currently i'm trying to reinstall back all the OS back due mentioned 
incident happen.

/BR
Faizal
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7JZIURV7ZHTTT4BLDGFUX475ICWNEUBC/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CEIFT6LHNEQD73VZS6BN2JA74XJ4C4CK/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-28 Thread Strahil Nikolov via Users
I think that if you run VMs with Databases, you must disable transparent huge 
pages on Hypervisour level and on VM level. Yet, if you wish you can use 
regular huge pages on VM level.

Best Regards,
Strahil Nikolov






В вторник, 28 септември 2021 г., 09:21:09 ч. Гринуич+3, Tommy Sway 
 написа: 






What problem will appear if I use the default transparent huge page enabled 
mode for physical hosts, but configure traditional huge page memory on the 
virtual machine for database SGA ? 
Or is it better to disable transparent huge page on physical machines and still 
use traditional huge page memory on virtual machines?
 
Which one is prefer ?
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Tuesday, September 28, 2021 12:05 AM
To: ‪‪‪tommy ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/disabling-transparent-hugepages.html
 
https://access.redhat.com/solutions/1320153 (requires RH dev subscription or 
other type of subscription) -> In short add 'transparent_hugepage=never' to the 
kernel params
 
SLES11/12/15 -> 
https://www.suse.com/c/sles-1112-os-tuning-optimisation-guide-part-1/
 
 
Best Regards,
Strahil Nikolov
 
 
 
 
 
> On Mon, Sep 27, 2021 at 16:33, ‪‪‪tommy
>  wrote:
> thank you!
>   
> and how to get the config info of Transparent huge pages and how to disable 
> it?
>   
>   
>   
> 
> 
> 发自我的华为手机
> 
> 
>  原始邮件 
> 发件人: Strahil Nikolov 
> 日期: 2021年9月27日周一 21:13
> 收件人: 'users' , Tommy Sway 
> 主 题: Re: [ovirt-users] Re: About the vm memory limit
>> Transparent huge pages are enabled by default, so you need to stop them.I 
>> would use huge pages on both host and VM, but theoretically it shouldn't be 
>> a problem running a VM with enabled HugePages without configuring on 
>> Host.Best Regards,Strahil NikolovВ събота, 25 септември 2021 г., 15:25:10 ч. 
>> Гринуич+3, Tommy Sway  написа: transparent huge pages are 
>> not used on vm and physical host. But, can I enable hugepage memory on  
>> virtual machines but not on a physical machine?For database running on vm, 
>> and it needs to config hugepage.  From: Strahil Nikolov 
>>  Sent: Saturday, September 25, 2021 5:32 PMTo: Tommy 
>> Sway Subject: Re: [ovirt-users] About the vm memory limit 
>> It depends on the numa configuration of the host. If you have 256G per CPU, 
>> it's best to stay into that range. Also, consider disabling transparent huge 
>> pages on the host & VM. Since 4.4 Regular Huge Pages (do not confuse them 
>> with THP) can be used on the Hypervisors, while on 4.3 there were some 
>> issues but I can't provode any details. Best Regards,Strahil Nikolov> On 
>> Fri, Sep 24, 2021 at 6:40, Tommy Sway>  wrote:> I would 
>> like to ask if there is any limit on the memory size of virtual machines, or 
>> performance curve or something like that?> As long as there is memory on the 
>> physical machine, the more virtual machines the better?>  > In our usage 
>> scenario, there are many virtual machines with databases, and their memory 
>> varies greatly. > For some virtual machines, 4G memory is enough, while for 
>> some virtual machines, 64GB memory is needed.>  > I want to know what is the 
>> best use of memory for a virtual machine, since the virtual machine is just 
>> a QEMU emulation process on a physical machine, and I worry that it is not 
>> using as much memory as a physical machine. Understand this so that we can 
>> develop guidelines for optimal memory usage scenarios for virtual machines.> 
>>  > Thank you!>  >  > ___Users 
>> mailing list -- users@ovirt.orgTo unsubscribe send an email to 
>> users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y6XDOIMKCP4JEJF7M5DLJ33U2ENJKGAN/___Users
>>  mailing list -- users@ovirt.orgTo unsubscribe send an email to 
>> users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3YHTUBAG42YRNEUCWG4DF5TEP2I22DMH/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRNMITHSDUEUB2JL2HM522ZGBTF4OPIC/


[ovirt-users] oVirt/Hyperconverged issue

2021-09-28 Thread topoigerm
I have 4 servers of identical hardware. The documentation says "you need 3", 
not "you need 3 or more"; is it possible to run hyperconverged with 4 servers. 
Currently all the 4 nodes server has been crashed n after the 4th node try 
joining the hyperconverged 3nodes cluster. Kindly advise.
FYI currently i'm trying to reinstall back all the OS back due mentioned 
incident happen.

BR
Faizal
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PUKXZATAAVYVO4QKYJJF4J4AM46YXNTN/