[ovirt-users] about the time of the warning message on the engine web

2022-03-13 Thread Tommy Sway
Why is the alarm information displayed on the ovirt Engine information page
inconsistent with the actual time, or even later than the current time?

The time of the server where the engine resides and the managed servers have
been synchronized to the latest time. Why does a similar problem occur?

 

Thanks.

 

 

 



___
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/VMKJPDG3VQOAIRFIHSNQTNL75REJP3TU/


[ovirt-users] Re: Some errors on the grafana dashboard

2021-11-02 Thread Tommy Sway
Sorry , I have got the cause of the files :

/root/ovirt-dwh-backup/packaging/dbscripts/create_views_4_3.sql

/root/ovirt-dwh/packaging/dbscripts/create_views_4_3.sql

 

So, please just  focus only on other issues in my last mail.

 

Thanks.

 

From: Tommy Sway  
Sent: Wednesday, November 3, 2021 1:01 PM
To: 'Aviv Litman' ; users@ovirt.org
Subject: RE: Some errors on the grafana dashboard

 

1. connect to your engine machine
2. vi /usr/share/ovirt-engine/dbscripts/create_dwh_views.sql :

add the new line as described in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-engine/+/114565/4/packaging/dbscripts/create_dwh_views.sql.

 

--- This step just add one line to the 
/usr/share/ovirt-engine/dbscripts/create_dwh_views.sql 87 line :

--- count_threads_as_cores AS count_threads_as_cores,

--- it’s OK.

 


3. connect to your dwh machine (if the engine and dwh are on the same machine 
then all files are in the same machine)

4. create or edit the files in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-dwh/+/114568/, note that for you files named 
4_4 should be named 4_3
You can find the file's location with this command:
find / -name create_views_4_3.sql

 

 Should this step need to edit these files:

 



 

--- And there are many same name files as:

 

# find / -name create_views_4_3.sql

/root/ovirt-dwh-backup/packaging/dbscripts/create_views_4_3.sql

/root/ovirt-dwh/packaging/dbscripts/create_views_4_3.sql

/usr/share/ovirt-engine-dwh/dbscripts/create_views_4_3.sql

 

Do I need to change these files at the same time ??

 

 

 


5. run engine-setup, or engine-setup --offline 

 

 

 

 

From: Aviv Litman mailto:alit...@redhat.com> > 
Sent: Monday, November 1, 2021 5:50 PM
To: Tommy Sway mailto:sz_cui...@163.com> >; users@ovirt.org 
<mailto:users@ovirt.org> 
Subject: Re: Some errors on the grafana dashboard

 

Hi Tommy,
You can apply  the patches by changing the relevant files in engine and dwh and 
run 'engine-setup' or 'engine-setup --offline' .

Steps:
1. connect to your engine machine
2. vi /usr/share/ovirt-engine/dbscripts/create_dwh_views.sql :

add the new line as described in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-engine/+/114565/4/packaging/dbscripts/create_dwh_views.sql.
3. connect to your dwh machine (if the engine and dwh are on the same machine 
then all files are in the same machine)

4. create or edit the files in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-dwh/+/114568/, note that for you files named 
4_4 should be named 4_3
You can find the file's location with this command:
find / -name create_views_4_3.sql
5. run engine-setup, or engine-setup --offline 
 
Let me know how it goes!

Thanks,
Aviv

 

 

On Mon, Nov 1, 2021 at 9:42 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

But how to apply the patches? 

 

Is some docs can guide me how to apply?

 

Thanks.

 

 

 

 

From: Aviv Litman mailto:alit...@redhat.com> > 
Sent: Sunday, October 3, 2021 10:08 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Subject: Re: Some errors on the grafana dashboard

 

Important note: do not to change the minimal version part in dwh 
ovirt-engine-dwh.spec.in <http://ovirt-engine-dwh.spec.in>  file.

 

On Sun, Oct 3, 2021 at 4:50 PM Aviv Litman mailto:alit...@redhat.com> > wrote:

Hi Tommy,
You can try to implement the patches I shared manually by changing the relevant 
files in engine and dwh and run engine-setup.

Let me know if you have any questions.

Thanks,
Aviv

 

On Sun, Sep 19, 2021 at 4:56 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Thank you!

 

 

 

 

 

From: Aviv Litman mailto:alit...@redhat.com> > 
Sent: Sunday, September 19, 2021 3:04 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Subject: Re: Some errors on the grafana dashboard

 

Hi Tommy,
There was a bug in the way we calculate hosts CPU: we didn't consider the 
count_threads_as_cores option in the calculation.
The count_threads_as_cores column is available only from ovirt-engine 4.4.6.7 
version, and ovirt-dwh 4.4.7.

Patches:

ovirt-engine <https://gerrit.ovirt.org/#/c/ovirt-engine/+/114565/> 

ovirt-dwh <https://gerrit.ovirt.org/#/c/ovirt-dwh/+/114568/> 

So you have to update the version to 4.4.7.
I will also add a note in the Blog.

Feel free to contact me if you have more questions.

Best,
Aviv  

 

On Tue, Sep 14, 2021 at 11:38 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Hello!

 

I used the JSON file you provided and imported grafana. Before importing, I 
replaced the version, because the version of my system is 4.3.

$ find . -type f -name "*dashboard.json" -exec sed -i -e 's/v4_4_/v4_3_/g' {} \;

However, most of the reports are normal, but some reports have similar errors: 

 

pq: column "count_threads_as_cores" does not exist

Object

status:400

statusText:"Bad Request"

data:Object

results:Object

message:"pq: column "count_threads_as_cores" d

[ovirt-users] Re: Some errors on the grafana dashboard

2021-11-02 Thread Tommy Sway
1. connect to your engine machine
2. vi /usr/share/ovirt-engine/dbscripts/create_dwh_views.sql :

add the new line as described in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-engine/+/114565/4/packaging/dbscripts/create_dwh_views.sql.

 

--- This step just add one line to the 
/usr/share/ovirt-engine/dbscripts/create_dwh_views.sql 87 line :

--- count_threads_as_cores AS count_threads_as_cores,

--- it’s OK.

 


3. connect to your dwh machine (if the engine and dwh are on the same machine 
then all files are in the same machine)

4. create or edit the files in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-dwh/+/114568/, note that for you files named 
4_4 should be named 4_3
You can find the file's location with this command:
find / -name create_views_4_3.sql

 

 Should this step need to edit these files:

 



 

--- And there are many same name files as:

 

# find / -name create_views_4_3.sql

/root/ovirt-dwh-backup/packaging/dbscripts/create_views_4_3.sql

/root/ovirt-dwh/packaging/dbscripts/create_views_4_3.sql

/usr/share/ovirt-engine-dwh/dbscripts/create_views_4_3.sql

 

Do I need to change these files at the same time ??

 

 

 


5. run engine-setup, or engine-setup --offline 

 

 

 

 

From: Aviv Litman  
Sent: Monday, November 1, 2021 5:50 PM
To: Tommy Sway ; users@ovirt.org
Subject: Re: Some errors on the grafana dashboard

 

Hi Tommy,
You can apply  the patches by changing the relevant files in engine and dwh and 
run 'engine-setup' or 'engine-setup --offline' .

Steps:
1. connect to your engine machine
2. vi /usr/share/ovirt-engine/dbscripts/create_dwh_views.sql :

add the new line as described in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-engine/+/114565/4/packaging/dbscripts/create_dwh_views.sql.
3. connect to your dwh machine (if the engine and dwh are on the same machine 
then all files are in the same machine)

4. create or edit the files in the patch: 
https://gerrit.ovirt.org/#/c/ovirt-dwh/+/114568/, note that for you files named 
4_4 should be named 4_3
You can find the file's location with this command:
find / -name create_views_4_3.sql
5. run engine-setup, or engine-setup --offline 
 
Let me know how it goes!

Thanks,
Aviv

 

 

On Mon, Nov 1, 2021 at 9:42 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

But how to apply the patches? 

 

Is some docs can guide me how to apply?

 

Thanks.

 

 

 

 

From: Aviv Litman mailto:alit...@redhat.com> > 
Sent: Sunday, October 3, 2021 10:08 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Subject: Re: Some errors on the grafana dashboard

 

Important note: do not to change the minimal version part in dwh 
ovirt-engine-dwh.spec.in <http://ovirt-engine-dwh.spec.in>  file.

 

On Sun, Oct 3, 2021 at 4:50 PM Aviv Litman mailto:alit...@redhat.com> > wrote:

Hi Tommy,
You can try to implement the patches I shared manually by changing the relevant 
files in engine and dwh and run engine-setup.

Let me know if you have any questions.

Thanks,
Aviv

 

On Sun, Sep 19, 2021 at 4:56 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Thank you!

 

 

 

 

 

From: Aviv Litman mailto:alit...@redhat.com> > 
Sent: Sunday, September 19, 2021 3:04 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Subject: Re: Some errors on the grafana dashboard

 

Hi Tommy,
There was a bug in the way we calculate hosts CPU: we didn't consider the 
count_threads_as_cores option in the calculation.
The count_threads_as_cores column is available only from ovirt-engine 4.4.6.7 
version, and ovirt-dwh 4.4.7.

Patches:

ovirt-engine <https://gerrit.ovirt.org/#/c/ovirt-engine/+/114565/> 

ovirt-dwh <https://gerrit.ovirt.org/#/c/ovirt-dwh/+/114568/> 

So you have to update the version to 4.4.7.
I will also add a note in the Blog.

Feel free to contact me if you have more questions.

Best,
Aviv  

 

On Tue, Sep 14, 2021 at 11:38 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Hello!

 

I used the JSON file you provided and imported grafana. Before importing, I 
replaced the version, because the version of my system is 4.3.

$ find . -type f -name "*dashboard.json" -exec sed -i -e 's/v4_4_/v4_3_/g' {} \;

However, most of the reports are normal, but some reports have similar errors: 

 

pq: column "count_threads_as_cores" does not exist

Object

status:400

statusText:"Bad Request"

data:Object

results:Object

message:"pq: column "count_threads_as_cores" does not exist"

message:"pq: column "count_threads_as_cores" does not exist"

 

Many of the other reports worked fine, with only a few similar errors.

Is this caused by version incompatibility?

After all, 4.4 in the original document was replaced with 4.3 before the import.

 

Thank you!

 

 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www

[ovirt-users] Internal Error

2021-10-26 Thread Tommy Sway
Why is there such an error ?

 

 

 

2021-10-27 06:33:30,996+0800 INFO  (jsonrpc/3) [api.host] FINISH getStats
error=:'NoneType' object has no
attribute 'statistics'"> from=:::10.200.211.80,48086 (api:52)

2021-10-27 06:33:30,997+0800 ERROR (jsonrpc/3) [jsonrpc.JsonRpcServer]
Internal server error (__init__:350)

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345,
in _handle_request

res = method(**params)

  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
_dynamicMethod

result = fn(*methodArgs)

  File "", line 2, in getStats

  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in
method

ret = func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1435, in
getStats

multipath=True)}

  File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 77, in
get_stats

ret.update(cif.mom.getKsmStats())

  File "/usr/lib/python2.7/site-packages/vdsm/momIF.py", line 67, in
getKsmStats

stats = self._mom.getStatistics()['host']

  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__

return self.__send(self.__name, args)

  File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request

verbose=self.__verbose

  File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request

return self.single_request(host, handler, request_body, verbose)

  File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, in single_request

return self.parse_response(response)

  File "/usr/lib64/python2.7/xmlrpclib.py", line 1482, in parse_response

return u.close()

  File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close

raise Fault(**self._stack[0])

Fault: :'NoneType' object has
no attribute 'statistics'">

2021-10-27 06:33:30,997+0800 INFO  (jsonrpc/3) [jsonrpc.JsonRpcServer] RPC
call Host.getStats failed (error -32603) in 0.04 seconds (__init__:312)

 

 

 

 

 

 

___
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/IQFJNX6KM6J7FLHYXK6TQZBSTCFIMRTV/


[ovirt-users] Re: cannot stop vm normally

2021-10-15 Thread tommy sway





On 10/15/2021 09:03, zhou...@vip.friendtimes.net wrote:
看着像老乡啊,一般虚拟机正常情况下是可以关机成功的,有时候关机后会显示正在关机,那么你再关一次也可以成功关机
还有一种特别的情况,虚拟机本身卡死,进行强制关机操作,有概率变成僵尸进程(父进程是1的这种),这种情况只能重启宿主机了,我碰到过几次,没有解决方案(通常出现在高IO操作情况下导致的超时)


zhou...@vip.friendtimes.net
 
From: Tommy Sway
Date: 2021-10-15 00:04
To: 'users'
Subject: [ovirt-users] cannot stop vm normally

Sometimes, some vm failed to stop it by press the shutdown button on the 
management portal, it will show such message in log: shutdown of vm *** failed.

 

And I want to know:

1. why cannot shutdown it normally ?

2. what difference between the shutdown and power off ? (For example, what 
are the different signals sent to the QEMU process)

 

Thanks.___
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/IB5UZ6KPTBV7N7CFK3XMVH4WAF35NIBM/


[ovirt-users] Re: cannot stop vm normally

2021-10-14 Thread tommy sway
yes,the qemu-guest - agent works well.


On 10/15/2021 12:27, Strahil Nikolov via Users wrote:
Shitdown needs integration and cooperation from the VM OS. Did you install the 
qemu-guest-agent , is it working properly ?




Best Regards,
Strahil Nikolov


On Fri, Oct 15, 2021 at 4:12, zhou...@vip.friendtimes.net
 wrote:
看着像老乡啊,一般虚拟机正常情况下是可以关机成功的,有时候关机后会显示正在关机,那么你再关一次也可以成功关机
还有一种特别的情况,虚拟机本身卡死,进行强制关机操作,有概率变成僵尸进程(父进程是1的这种),这种情况只能重启宿主机了,我碰到过几次,没有解决方案(通常出现在高IO操作情况下导致的超时)


zhou...@vip.friendtimes.net
 
From: Tommy Sway
Date: 2021-10-15 00:04
To: 'users'
Subject: [ovirt-users] cannot stop vm normally

Sometimes, some vm failed to stop it by press the shutdown button on the 
management portal, it will show such message in log: shutdown of vm *** failed.

 

And I want to know:

1. why cannot shutdown it normally ?

2. what difference between the shutdown and power off ? (For example, what 
are the different signals sent to the QEMU process)

 

Thanks.

___
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/KVNRWBB4BWGJXMNTHBXW3E7RQQCEURSA/
___
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/JDKAWODN5YV6B4GOUUK5R7I6XQDCUDDA/


[ovirt-users] cannot stop vm normally

2021-10-14 Thread Tommy Sway
Sometimes, some vm failed to stop it by press the shutdown button on the
management portal, it will show such message in log: shutdown of vm ***
failed.

 

And I want to know:

1. why cannot shutdown it normally ?

2. what difference between the shutdown and power off ? (For example,
what are the different signals sent to the QEMU process)

 

Thanks.

___
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/RAZYMUDH4WJTO2CMLJ6FM6D5BBJZ6EKV/


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

2021-10-03 Thread Tommy Sway
SUBSCRIBER EXCLUSIVE CONTENT

An active Red Hat subscription is required to participate.

 

I cannot get the result.

 

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Sunday, October 3, 2021 4:03 AM
To: sz_cui...@163.com; 'Strahil Nikolov via Users' 
Subject: [ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

 

 

vdsm supports dynamic allocation of Huge Pages, but 
https://access.redhat.com/solutions/4904441 indicates the issues in 4.3 related 
to hugepages (you can see the solution via RH dev subscription).

If you needed to set them manually and everything works normally, I would have 
picked something like 90-95% in HugePages.

 

Yet, due to the issues described in that solution - it's better to enable 
HugePages only in the Guest.

 

Best Regards,

Strahil Nikolov

 

 

On Sat, Oct 2, 2021 at 10:13, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/CEXZE5QYTWWNMFQU5ASJR75IWOOIFYLJ/

 

___
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/7O3MGF5IGJQJ4SP7ILZU4NI2JAVGMK4Y/


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

2021-10-02 Thread tommy sway
Do you mean the best way is to enable traditional hugepage memory only on 
virtual machines and turn off the default transparent hugepage memory on 
physical machines and without enabling traditional hugepage memory?


On 10/03/2021 04:03, Strahil Nikolov via Users wrote:


vdsm supports dynamic allocation of Huge Pages, but 
https://access.redhat.com/solutions/4904441 indicates the issues in 4.3 related 
to hugepages (you can see the solution via RH dev subscription).
If you needed to set them manually and everything works normally, I would have 
picked something like 90-95% in HugePages.



Yet, due to the issues described in that solution - it's better to enable 
HugePages only in the Guest.


Best Regards,
Strahil Nikolov




On Sat, Oct 2, 2021 at 10:13, Tommy Sway
 wrote:
___
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/CEXZE5QYTWWNMFQU5ASJR75IWOOIFYLJ/

___
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/KLHJDZMPLKPPXABYSP55DA472UPCKCDO/


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

2021-10-02 Thread Tommy Sway
3.1.4.2 Configuring Huge Pages

You can configure a virtual machine for high performance, so that it runs with 
performance metrics as close to bare metal as possible. When you choose high 
performance optimization, the virtual machine is configured with a set of 
automatic and recommended manual settings for maximum efficiency. By using huge 
pages, you increase the page size which reduces the page table, reduces the 
pressure on the Translation Lookaside Buffer cache, and improves performance.

Huge pages are pre-allocated when a virtual machine starts to run (dynamic 
allocation is disabled by default).

 Are Virtual machines mentioned here with high performance option ? So they 
turn off transparent huge pages by default and use traditional huge pages 
instead ??

 Most normal virtual machines use large transparent pages by default in 
their operating systems.

 

Note

If you configure huge pages for a virtual machine, you cannot hotplug or hot 
uplug memory.

To configure huge pages:

1.  In the Custom Properties tab, select hugepages from the custom 
properties list, which displays Please select a key…​ by default.
2.  Enter the huge page size in KB.

You should set the huge page size to the largest size supported by the pinned 
host. The recommended size for x86_64 is 1 GB.

The huge page size has the following requirements:

*   The virtual machine’s huge page size must be the same size as the 
pinned host’s huge page size.
*   The virtual machine’s memory size must fit into the selected size of 
the pinned host’s free huge pages.
*   The NUMA node size must be a multiple of the huge page’s selected size.

To enable dynamic allocation of huge pages:

1.  Disable the HugePages filter in the scheduler.
2.  In the [performance] section in /etc/vdsm/vdsm.conf set the following:

use_dynamic_hugepages = true

 

  what kind of hugepage it is ?  Tradition Hugepages or Transparent 
Hugepages ?  And it is archived by VDSM ??

 I’m really get confused.

 

 

 

 

 

 

From: Strahil Nikolov  
Sent: Thursday, September 30, 2021 11:35 PM
To: Tommy Sway ; 'users' 
Subject: Re: [ovirt-users]Re: 回复: Re: About the vm memory limit

 

Each VM for that 4TB host will be a single process. When that process addresses 
some memory location, the kernel will lookup in the translation lookaside 
buffer (TLB) and in case the Host is using Hugepages the kernel needs less time 
to find the memory page (page table walk), which slows the process (in your 
case the VM).

 

Simplified said -> the VM process should be seen as an Oracle DB. On bare metal 
you want to disable transparent hugepages and enable the 2M hugepages for ODB - 
so logically VMs doing the same workload should be treated the same way.

 

 

Here is a link to Oracle's OLVM (based on oVirt): 
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/admin/gs-optimize.html#optimize-vm-perf

 

Best Regards,

Strahil Nikolov

 

 

 

On Thu, Sep 30, 2021 at 6:25, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

In my scenario, the physical machine has a lot of memory (4TB), with dozens of 
virtual machines running on it, each vm is running a database, and every vm is 
set up with traditional large-page memory.
In this case, whether it is necessary to set up large page memory on the 
physical machine and what type of large page memory should be set up, this 
issue has not been determined, I am also very confused.







-Original Message-
From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of 
Strahil Nikolov via Users
Sent: Wednesday, September 29, 2021 8:50 PM
To: 'users' mailto:users@ovirt.org> >; Tommy Sway 
mailto:sz_cui...@163.com> >
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit

I got a 3 TB host (physical) with Oracle without Traditional Hugepages. The DB 
will work even without hugepages... but how much memory will be lost - that's 
another story.

Disable the transparent Huge Pages and check this documentation - should be 
valid for oVirt 4.3 and OLVM 4.3 as they share the same source:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/configuring_high_performance_virtual_machines_templates_and_pools#Configuring_Huge_Pages

Best Regards,
Strahil Nikolov





В сряда, 29 септември 2021 г., 15:20:54 ч. Гринуич+3, Tommy Sway 
mailto:sz_cui...@163.com> > написа: 






I’am 4.3, but the memory of the VM and the SGA is large , 32GB, so the vm 
should set the traditional hugepage for the database SGA.

I don't know how to set up a large page on a KVM host.
Because if I make it a traditional big page, how big should I make it? Will 
non-VM SGA usage of many VMs be affected?
After all, not all memory used by QEMU needs to be HugePage, and traditional 
large page memory needs to be used by specific code calls and is not

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

2021-10-02 Thread Tommy Sway
If it is  transparent huge page, I can only enable it, but the traditional huge 
page is required to specify the specific size.

Should I follow the principle that the size of huge pages on a physical machine 
equals the sum of the size of huge pages on all VMS running on it?

 

 

 

From: users-boun...@ovirt.org  On Behalf Of tommy sway
Sent: Saturday, October 2, 2021 1:32 PM
To: Strahil Nikolov via Users 
Subject: [ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

 

but config what size of the hugepage on the kvm host?

On 10/02/2021 01:33,  <mailto:users@ovirt.org> Strahil Nikolov via Users wrote:

KVM host -> Just enable it. All VMs will be in Hugepages.

 

VM -> just for the SGA.

 

Best Regards,

Strahil Nikolov

On Fri, Oct 1, 2021 at 18:01, ‪‪‪tommy

mailto:sz_cui...@163.com> > wrote:

If both the KVM server and the VIRTUAL machine are configured with traditional 
large pages, there is also the issue of configuring size. 

 

Since only THE SGA uses large pages, other database components cannot use them. 

 

Should the KVM server and virtual machine use the same memory ratio for large 
pages? For example, use 50% of the total memory size to avoid imbalance caused 
by improper proportion.



 原始邮件 
发件人: Strahil Nikolov mailto:hunter86...@yahoo.com> >
日期: 2021年10月1日周五 22:52
收件人: tommy sway mailto:sz_cui...@163.com> >, Strahil 
Nikolov via Users mailto:users@ovirt.org> >
主 题: Re: [ovirt-users]Re: 回复: Re: About the vm memory limit

Actually yes - should speedup the process. I've edited that draft too many 
times :)

 

On Fri, Oct 1, 2021 at 7:32, tommy sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/LMPJISCMPKRWJN4KW5DVVWEXLRK45L7L/

 

___
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/CEXZE5QYTWWNMFQU5ASJR75IWOOIFYLJ/


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

2021-10-01 Thread tommy sway
but config what size of the hugepage on the kvm host?


On 10/02/2021 01:33, Strahil Nikolov via Users wrote:
KVM host -> Just enable it. All VMs will be in Hugepages.


VM -> just for the SGA.


Best Regards,
Strahil Nikolov


On Fri, Oct 1, 2021 at 18:01, ‪‪‪tommy‬
 wrote:
If both the KVM server and the VIRTUAL machine are configured with traditional 
large pages, there is also the issue of configuring size.


Since only THE SGA uses large pages, other database components cannot use them.


Should the KVM server and virtual machine use the same memory ratio for large 
pages? For example, use 50% of the total memory size to avoid imbalance caused 
by improper proportion.



 原始邮件 
发件人: Strahil Nikolov 
日期: 2021年10月1日周五 22:52
收件人: tommy sway , Strahil Nikolov via Users 
主 题: Re: [ovirt-users]Re: 回复: Re: About the vm memory limit
Actually yes - should speedup the process. I've edited that draft too many 
times :)



On Fri, Oct 1, 2021 at 7:32, tommy sway
 wrote:
___
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/LMPJISCMPKRWJN4KW5DVVWEXLRK45L7L/

___
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/JHTZU36VPEC53JNOC6AAKH7INQIY3OHH/


[ovirt-users] Re: about the expiration time of the oVirt certs

2021-09-30 Thread tommy sway
Thanks for your recommendation!

I think Ovirt should integrate tools with similar functions into the management 
portal.

This is important for long-term user stability.


On 09/30/2021 23:38, Strahil Nikolov via Users wrote:
I think you are looking for certmonger, but it will require some manual steps:


https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/certmongerx


Best Regards,
Strahil Nikolov


On Thu, Sep 30, 2021 at 10:17, Tommy Sway
 wrote:

As you know, there are many kinds of certificates in Ovirt, used for 
communication, authentication and so on.

However, in practice, there is a security risk related to the above 
certificates.

 

That is, you need to generate a new certificate after the certificate expires. 
Otherwise, a problem will occur.

In addition, different certificates expire at different times, which brings a 
lot of management trouble to users.

Especially in the production system, a huge virtualization cluster may run 
thousands of VMS. If a cluster certificate has a problem, the impact is very 
serious.

 

So I felt there was an urgent need for a technical tool that could help users 
quickly locate certificates, identify their expiration dates, and rebuild them.

Even if there is no tool, there should be a way to solve the problems caused by 
partial certificate expiration. I think it should include the following points:

First, how to list the certificate in detail

Second, how to check the certificate expiration time

Third, how to rebuild the certificate

 

Does anyone else have this kind of confusion? What's a good solution?

 

Thanks.

___
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/3WFDWAZ2ZE6L44YAYXK7Q5NUNZSDR4AU/
___
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/RQZP2LZYZ74SXYN75JWV4WKLEYDTM6U7/


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

2021-09-30 Thread tommy sway
which slows the process (in your case the VM).


Is it a clerical error? Should it be speed up the process?









On 09/30/2021 23:34, Strahil Nikolov via Users wrote:
Each VM for that 4TB host will be a single process. When that process addresses 
some memory location, the kernel will lookup in the translation lookaside 
buffer (TLB) and in case the Host is using Hugepages the kernel needs less time 
to find the memory page (page table walk), which slows the process (in your 
case the VM).


Simplified said -> the VM process should be seen as an Oracle DB. On bare metal 
you want to disable transparent hugepages and enable the 2M hugepages for ODB - 
so logically VMs doing the same workload should be treated the same way.




Here is a link to Oracle's OLVM (based on oVirt): 
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/admin/gs-optimize.html#optimize-vm-perf


Best Regards,
Strahil Nikolov







On Thu, Sep 30, 2021 at 6:25, Tommy Sway
 wrote:
In my scenario, the physical machine has a lot of memory (4TB), with dozens of 
virtual machines running on it, each vm is running a database, and every vm is 
set up with traditional large-page memory.
In this case, whether it is necessary to set up large page memory on the 
physical machine and what type of large page memory should be set up, this 
issue has not been determined, I am also very confused.







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

I got a 3 TB host (physical) with Oracle without Traditional Hugepages. The DB 
will work even without hugepages... but how much memory will be lost - that's 
another story.

Disable the transparent Huge Pages and check this documentation - should be 
valid for oVirt 4.3 and OLVM 4.3 as they share the same source:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/configuring_high_performance_virtual_machines_templates_and_pools#Configuring_Huge_Pages

Best Regards,
Strahil Nikolov





В сряда, 29 септември 2021 г., 15:20:54 ч. Гринуич+3, Tommy Sway 
 написа:






I’am 4.3, but the memory of the VM and the SGA is large , 32GB, so the vm 
should set the traditional hugepage for the database SGA.

I don't know how to set up a large page on a KVM host.
Because if I make it a traditional big page, how big should I make it? Will 
non-VM SGA usage of many VMs be affected?
After all, not all memory used by QEMU needs to be HugePage, and traditional 
large page memory needs to be used by specific code calls and is not 
transparent.

These are all questions.




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

If you are on 4.3 -> disable transparent hugepages both Hypervisor and VM.
If you are using 4.4 -> disable transparent hugepages and also cobfigure 
regular huge pages.

Best Regards,
Strahil Nikolov
> On Wed, Sep 29, 2021 at 5:34, Tommy Sway  wrote:
> 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/di
> sabling-transparent-hugepages.html
>
> https://access.redhat.com/solutions/13

[ovirt-users] about the expiration time of the oVirt certs

2021-09-30 Thread Tommy Sway
As you know, there are many kinds of certificates in Ovirt, used for
communication, authentication and so on.

However, in practice, there is a security risk related to the above
certificates. 

 

That is, you need to generate a new certificate after the certificate
expires. Otherwise, a problem will occur. 

In addition, different certificates expire at different times, which brings
a lot of management trouble to users. 

Especially in the production system, a huge virtualization cluster may run
thousands of VMS. If a cluster certificate has a problem, the impact is very
serious.

 

So I felt there was an urgent need for a technical tool that could help
users quickly locate certificates, identify their expiration dates, and
rebuild them.

Even if there is no tool, there should be a way to solve the problems caused
by partial certificate expiration. I think it should include the following
points:

First, how to list the certificate in detail

Second, how to check the certificate expiration time

Third, how to rebuild the certificate

 

Does anyone else have this kind of confusion? What's a good solution?

 

Thanks.

___
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/3WFDWAZ2ZE6L44YAYXK7Q5NUNZSDR4AU/


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

2021-09-29 Thread Tommy Sway
In my scenario, the physical machine has a lot of memory (4TB), with dozens of 
virtual machines running on it, each vm is running a database, and every vm is 
set up with traditional large-page memory.
In this case, whether it is necessary to set up large page memory on the 
physical machine and what type of large page memory should be set up, this 
issue has not been determined, I am also very confused.







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

I got a 3 TB host (physical) with Oracle without Traditional Hugepages. The DB 
will work even without hugepages... but how much memory will be lost - that's 
another story.

Disable the transparent Huge Pages and check this documentation - should be 
valid for oVirt 4.3 and OLVM 4.3 as they share the same source:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/configuring_high_performance_virtual_machines_templates_and_pools#Configuring_Huge_Pages

Best Regards,
Strahil Nikolov





В сряда, 29 септември 2021 г., 15:20:54 ч. Гринуич+3, Tommy Sway 
 написа: 






I’am 4.3, but the memory of the VM and the SGA is large , 32GB, so the vm 
should set the traditional hugepage for the database SGA.
 
I don't know how to set up a large page on a KVM host.
Because if I make it a traditional big page, how big should I make it? Will 
non-VM SGA usage of many VMs be affected?
After all, not all memory used by QEMU needs to be HugePage, and traditional 
large page memory needs to be used by specific code calls and is not 
transparent.
 
These are all questions.
 
 
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Wednesday, September 29, 2021 5:39 PM
To: Tommy Sway ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
If you are on 4.3 -> disable transparent hugepages both Hypervisor and VM.
If you are using 4.4 -> disable transparent hugepages and also cobfigure 
regular huge pages.
 
Best Regards,
Strahil Nikolov
> On Wed, Sep 29, 2021 at 5:34, Tommy Sway  wrote:
> 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/di
> sabling-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 ho

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

2021-09-29 Thread Tommy Sway
I’am 4.3, but the memory of the VM and the SGA is large , 32GB, so the vm 
should set the traditional hugepage for the database SGA.

 

I don't know how to set up a large page on a KVM host.

Because if I make it a traditional big page, how big should I make it? Will 
non-VM SGA usage of many VMs be affected?

After all, not all memory used by QEMU needs to be HugePage, and traditional 
large page memory needs to be used by specific code calls and is not 
transparent.

 

These are all questions.

 

 

 

 

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

 

If you are on 4.3 -> disable transparent hugepages both Hypervisor and VM.

If you are using 4.4 -> disable transparent hugepages and also cobfigure 
regular huge pages.

 

Best Regards,

Strahil Nikolov

On Wed, Sep 29, 2021 at 5:34, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

>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 <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of 
Strahil Nikolov via Users
Sent: Tuesday, September 28, 2021 3:39 PM
To: 'users' mailto:users@ovirt.org> >; Tommy Sway 
mailto:sz_cui...@163.com> >
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 
mailto:sz_cui...@163.com> > написа: 






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 <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of 
Strahil Nikolov via Users
Sent: Tuesday, September 28, 2021 12:05 AM
To: ‪‪‪tommy mailto:sz_cui...@163.com> >; 'users' 
mailto:users@ovirt.org> >
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  
<https://access.redhat.com/solutions/1320153%20> (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  <mailto:sz_cui...@163.com> > wrote:
> thank you!
>  
> and how to get the config info of Transparent huge pages and how to 
> disable it?
>  
>  
>  
> 
> 
> 发自我的华为手机
> 
> 
>  原始邮件 ----
> 发件人: Strahil Nikolov mailto:hunter86...@yahoo.com> >
> 日期: 2021年9月27日周一 21:13
> 收件人: 'users' mailto:users@ovirt.org> >, Tommy Sway 
> mailto:sz_cui...@163.com> >
> 主 题: 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 
>> mailto:sz_cui...@163.com> > написа: 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 
>> mailto:hunter86...@yahoo.com> > Sent: Saturday, 
>> September 25, 2021 5:32 PMTo: 
>> Tommy Sway mailto:sz_cui...@163.com> >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 pr

[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 -- use

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

2021-09-28 Thread 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

mailto:sz_cui...@163.com> > wrote:

thank you!

 

and how to get the config info of Transparent huge pages and how to disable it?

 

 

 



发自我的华为手机



 原始邮件 
发件人: Strahil Nikolov mailto:hunter86...@yahoo.com> >
日期: 2021年9月27日周一 21:13
收件人: 'users' mailto:users@ovirt.org> >, Tommy Sway 
mailto:sz_cui...@163.com> >
主 题: 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 
mailto:sz_cui...@163.com> > написа: 






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 mailto:hunter86...@yahoo.com> > 
Sent: Saturday, September 25, 2021 5:32 PMTo: Tommy Sway mailto:sz_cui...@163.com> >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
> mailto:sz_cui...@163.com> > 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 <mailto:users@ovirt.orgTo>  unsubscribe send an email to 
> users-leave@ovirt.orgPrivacy <mailto: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.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/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/3FPFJOA2YYLZWKU4WVBXLZMZ75TXC4RA/


[ovirt-users] Re: about the Live Storage Migration

2021-09-27 Thread Tommy Sway
Engine:

2021-09-27 16:26:40,363+08 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-90) [] Failed in
'HSMGetAllTasksStatusesVDS' method
2021-09-27 16:26:40,390+08 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineScheduled-Thread-90) [] EVENT_ID:
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM olvms2 command
HSMGetAllTasksStatusesVDS failed: low level Image copy failed: ()
2021-09-27 16:26:40,390+08 INFO
[org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
(EE-ManagedThreadFactory-engineScheduled-Thread-90) []
SPMAsyncTask::PollTask: Polling task '46aa9508-1029-4d8f-8840-d2c23041a6eb'
(Parent Command 'SyncImageGroupData', Parameters Type
'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') returned
status 'finished', result 'cleanSuccess'.
2021-09-27 16:26:40,394+08 ERROR
[org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
(EE-ManagedThreadFactory-engineScheduled-Thread-90) []
BaseAsyncTask::logEndTaskFailure: Task
'46aa9508-1029-4d8f-8840-d2c23041a6eb' (Parent Command 'SyncImageGroupData',
Parameters Type
'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with
failure:
-- Result: 'cleanSuccess'
-- Message: 'VDSGenericException: VDSErrorException: Failed to
HSMGetAllTasksStatusesVDS, error = low level Image copy failed: (), code =
261',
-- Exception: 'VDSGenericException: VDSErrorException: Failed to
HSMGetAllTasksStatusesVDS, error = low level Image copy failed: (), code =
261'
2021-09-27 16:26:40,396+08 INFO
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
(EE-ManagedThreadFactory-engineScheduled-Thread-90) []
CommandAsyncTask::endActionIfNecessary: All tasks of command
'40bd5b89-54cd-4d6f-aa18-69747241eed0' has ended -> executing 'endAction'
2021-09-27 16:26:40,396+08 INFO
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
(EE-ManagedThreadFactory-engineScheduled-Thread-90) []
CommandAsyncTask::endAction: Ending action for '1' tasks (command ID:
'40bd5b89-54cd-4d6f-aa18-69747241eed0'): calling endAction '.
2021-09-27 16:26:40,397+08 INFO
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
(EE-ManagedThreadFactory-engine-Thread-452957) []
CommandAsyncTask::endCommandAction [within thread] context: Attempting to
endAction 'SyncImageGroupData',
2021-09-27 16:26:40,404+08 ERROR
[org.ovirt.engine.core.bll.storage.lsm.SyncImageGroupDataCommand]
(EE-ManagedThreadFactory-engine-Thread-452957)
[bf830d22-1724-45fa-a3c3-6f543f331397] Ending command
'org.ovirt.engine.core.bll.storage.lsm.SyncImageGroupDataCommand' with
failure.


VDSM.log:

2021-09-27 16:26:51,609+0800 ERROR (libvirt/events) [virt.vm]
(vmId='3261ae19-ddb6-4d73-9e79-55530b564999') Block job COPY for drive
/rhev/data-center/mnt/blockSD/41bc1316-5c1d-4836-a103-5acbbf0c47a1/images/0f
c2697b-2727-4dd2-89c4-4f3d104c1898/b3811b1e-d229-438b-9a4a-fbf5955830c6 has
failed (vm:5892)









-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Vojtech
Juranek
Sent: Monday, September 27, 2021 3:23 PM
To: users@ovirt.org; Tommy Sway 
Subject: [ovirt-users] Re: about the Live Storage Migration

On Sunday, 26 September 2021 14:07:01 CEST Tommy Sway wrote:
> Why always fail ?
> 

please provide relevant part of engine and vdsm logs

___
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/IGXAMGJDWKFBZ2R5RCGUHHRMRI3ZX5CG/


[ovirt-users] Re: about the Live Storage Migration

2021-09-26 Thread Tommy Sway


 

 

 

Why always fail ?

 

 

 

 

 

 

-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Benny 
Zlotnik
Sent: Sunday, September 26, 2021 7:51 PM
To: Tommy Sway 
Cc: users 
Subject: [ovirt-users] Re: about the Live Storage Migration

 

when you move a disk that's attached to a running VM, live storage migration 
will be performed

 

On Sun, Sep 26, 2021 at 2:08 PM Tommy Sway < <mailto:sz_cui...@163.com> 
sz_cui...@163.com> wrote:

> 

> From the document:

> 

> 

> 

> Overview of Live Storage Migration

> 

> Virtual disks can be migrated from one storage domain to another while the 
> virtual machine to which they are attached is running. This is referred to as 
> live storage migration. When a disk attached to a running virtual machine is 
> migrated, a snapshot of that disk’s image chain is created in the source 
> storage domain, and the entire image chain is replicated in the destination 
> storage domain. As such, ensure that you have sufficient storage space in 
> both the source storage domain and the destination storage domain to host 
> both the disk image chain and the snapshot. A new snapshot is created on each 
> live storage migration attempt, even when the migration fails.

> 

> Consider the following when using live storage migration:

> 

> You can live migrate multiple disks at one time.

> 

> Multiple disks for the same virtual machine can reside across more than one 
> storage domain, but the image chain for each disk must reside on a single 
> storage domain.

> 

> You can live migrate disks between any two storage domains in the same data 
> center.

> 

> You cannot live migrate direct LUN hard disk images or disks marked as 
> shareable.

> 

> 

> 

> But where do users perform online storage migrations?

> 

> There seems to be no interface.

> 

> ___

> Users mailing list --  <mailto:users@ovirt.org> users@ovirt.org

> To unsubscribe send an email to  <mailto:users-le...@ovirt.org> 
> users-le...@ovirt.org Privacy 

> Statement:  <https://www.ovirt.org/privacy-policy.html> 
> https://www.ovirt.org/privacy-policy.html

> oVirt Code of Conduct: 

>  <https://www.ovirt.org/community/about/community-guidelines/> 
> https://www.ovirt.org/community/about/community-guidelines/

> List Archives: 

>  <https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRFF5WF7> 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRFF5WF7

> TEWL3P66LA24C5NJWDAR5JUP/

___

Users mailing list --  <mailto:users@ovirt.org> users@ovirt.org

To unsubscribe send an email to  <mailto:users-le...@ovirt.org> 
users-le...@ovirt.org Privacy Statement:  
<https://www.ovirt.org/privacy-policy.html> 
https://www.ovirt.org/privacy-policy.html

oVirt Code of Conduct:  
<https://www.ovirt.org/community/about/community-guidelines/> 
https://www.ovirt.org/community/about/community-guidelines/

List Archives:  
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/U4YHBCFSFBUDMUHJI7XEHJFPVZILXTHL/>
 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/U4YHBCFSFBUDMUHJI7XEHJFPVZILXTHL/

___
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/L2ZDAJCWCUJECSFDYXW4BIPAOEWSD4TB/


[ovirt-users] about the Live Storage Migration

2021-09-26 Thread Tommy Sway
>From the document:

 

Overview of Live Storage Migration

Virtual disks can be migrated from one storage domain to another while the
virtual machine to which they are attached is running. This is referred to
as live storage migration. When a disk attached to a running virtual machine
is migrated, a snapshot of that disk's image chain is created in the source
storage domain, and the entire image chain is replicated in the destination
storage domain. As such, ensure that you have sufficient storage space in
both the source storage domain and the destination storage domain to host
both the disk image chain and the snapshot. A new snapshot is created on
each live storage migration attempt, even when the migration fails.

Consider the following when using live storage migration:

You can live migrate multiple disks at one time.

Multiple disks for the same virtual machine can reside across more than one
storage domain, but the image chain for each disk must reside on a single
storage domain.

You can live migrate disks between any two storage domains in the same data
center.

You cannot live migrate direct LUN hard disk images or disks marked as
shareable.

 

But where do users perform online storage migrations? 

There seems to be no interface.

___
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/GRFF5WF7TEWL3P66LA24C5NJWDAR5JUP/


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

2021-09-25 Thread Tommy Sway
In fact, I am very interested in the part you mentioned, because my environment 
is running relational database, which usually requires a large amount of 
memory, 

and some systems clearly need to configure HUGEPAGE memory (such as Oracle). 

 

Could you elaborate on some technical details about the management of huge page 
memory? And the difference between 4.3 and 4.4 in this respect? 

 

Thank you very much!

 

 

 

From: Strahil Nikolov  
Sent: Saturday, September 25, 2021 5:32 PM
To: 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

mailto:sz_cui...@163.com> > 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.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/Y6XDOIMKCP4JEJF7M5DLJ33U2ENJKGAN/

___
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/VU3AOWKKYL3EDZHI46HMZOOGSVK2HMAE/


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

2021-09-25 Thread 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 PM
To: 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

mailto:sz_cui...@163.com> > 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.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/Y6XDOIMKCP4JEJF7M5DLJ33U2ENJKGAN/

___
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/3YHTUBAG42YRNEUCWG4DF5TEP2I22DMH/


[ovirt-users] Re: why cannot set the power management proxy server ?

2021-09-25 Thread Tommy Sway
Thank you very much!

I have read your document. The article mentioned that LANPLUS enhances the 
security of communication, but it did not elaborate on what LANPLUS is. 

I want to know what technology it is.

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Saturday, September 25, 2021 5:28 PM
To: Tommy Sway ; 'users' 
Subject: [ovirt-users] Re: why cannot set the power management proxy server ?

 

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/fence_configuration_guide/s1-software-fence-ipmi-ca

 

True or 1. If blank, then value is False. It is recommended that you enable 
Lanplus to improve the security of your connection if your hardware supports it.

 

Most probably the hardware doesn't support with reduced security (lanplus=False 
is the default).

 

Best Regards,

Strahil Nikolov

On Fri, Sep 24, 2021 at 6:12, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/YIJF7PZAJZG6EEFNQ2P4O2LSPAM4VXJ5/

___
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/NVO2TWOEOM744YOFZFRAJHQKHGC4VN6H/


[ovirt-users] About the vm memory limit

2021-09-23 Thread Tommy Sway
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.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/Y6XDOIMKCP4JEJF7M5DLJ33U2ENJKGAN/


[ovirt-users] Re: why cannot set the power management proxy server ?

2021-09-23 Thread Tommy Sway
I set lanplus=1, and then it ok.

 

What’s meaning of it ?

 

 

 

From: Strahil Nikolov  
Sent: Friday, September 24, 2021 3:13 AM
To: Tommy Sway 
Subject: Re: [ovirt-users] why cannot set the power management proxy server ?

 

Try adding 'lanplus=0' into the options.

 

Best Regards,

Strahil Nikolov

On Thu, Sep 23, 2021 at 5:59, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

I can use ipmitool to send commands from any KVM host to other hosts in the 
same cluster. 

However, an internal error is reported when CONFIGURING power proxy on engine. 

 

How can I locate the fault?

 

 

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/62XDSQNJTOPRKT37B6SAGZVBASTKU5LA/

___
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/YIJF7PZAJZG6EEFNQ2P4O2LSPAM4VXJ5/


[ovirt-users] Re: Sparse VMs from Templates - Storage issues

2021-09-23 Thread Tommy Sway
Another option with (still tech preview) is Managed Block Storage (Cinder based 
storage).

It still tech preview in 4.4 ??







-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Nir Soffer
Sent: Wednesday, August 11, 2021 4:26 AM
To: Shantur Rathore 
Cc: users ; Roman Bednar 
Subject: [ovirt-users] Re: Sparse VMs from Templates - Storage issues

On Tue, Aug 10, 2021 at 4:24 PM Shantur Rathore  
wrote:
>
> Hi all,
>
> I have a setup as detailed below
>
> - iSCSI Storage Domain
> - Template with Thin QCOW2 disk
> - Multiple VMs from Template with Thin disk

Note that a single template disk used by many vms can become a performance 
bottleneck, and is a single point of failure. Cloning the template when 
creating vms avoids such issues.

> oVirt Node 4.4.4

4.4.4 is old, you should upgrade to 4.4.7.

> When the VMs boots up it downloads some data to it and that leads to increase 
> in volume size.
> I see that every few seconds the VM gets paused with
>
> "VM X has been paused due to no Storage space error."
>
>  and then after few seconds
>
> "VM X has recovered from paused back to up"

This is normal operation when a vm writes too quickly and oVirt cannot extend 
the disk quick enough. To mitigate this, you can increase the volume chunk size.

Created this configuration drop in file:

# cat /etc/vdsm/vdsm.conf.d/99-local.conf
[irs]
volume_utilization_percent = 25
volume_utilization_chunk_mb = 2048

And restart vdsm.

With this setting, when free space in a disk is 1.5g, the disk will be extended 
by 2g. With the default setting, when free space is 0.5g the disk was extended 
by 1g.

If this does not eliminate the pauses, try a larger chunk size like 4096.

> Sometimes after a many pause and recovery the VM dies with
>
> "VM X is down with error. Exit message: Lost connection with qemu process."

This means qemu has crashed. You can find more info in the vm log at:
/var/log/libvirt/qemu/vm-name.log

We know about bugs in qemu that cause such crashes when vm disk is extended. I 
think the latest bug was fixed in 4.4.6, so upgrading to 4.4.7 will fix this 
issue.

Even with these settings, if you have a very bursty io in the vm, it may become 
paused. The only way to completely avoid these pauses is to use a preallocated 
disk, or use file storage (e.g. NFS). Preallocated disk can be thin provisioned 
on the server side so it does not mean you need more storage, but you will not 
be able to use shared templates in the way you use them now. You can create vm 
from template, but the template is cloned to the new vm.

Another option with (still tech preview) is Managed Block Storage (Cinder based 
storage). If your storage server is supported by Cinder, we can managed it 
using cinderlib. In this setup every disk is a LUN, which may be thin 
provisioned on the storage server. This can also offload storage operations to 
the server, like cloning disks, which may be much faster and more efficient.

Nir
___
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/W653KLDZMLUNMKLE242UFH5LY4KQ6LD5/
___
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/2AZWT2ZNHJSHAFVAMBSV6BV5VVBEZTEX/


[ovirt-users] Re: about the vm disk type

2021-09-22 Thread Tommy Sway
OK, thank you!




-Original Message-
From: Vojtech Juranek  
Sent: Thursday, September 23, 2021 1:22 PM
To: Tommy Sway 
Cc: 'users' 
Subject: Re: [ovirt-users] Re: about the vm disk type

> According to what you said, qemU-img info tool was used to query the
result.
> On Block storage, theses are results:
> if preallocated, the storage format is RAW;

correct

> If Thin mode, is QCOW2;

correct

> If the VM is cloned from a template in preallocated mode, the disk 
> consists of two files: the bottom back-end file is RAW, and the front 
> end file is QCOW2.

correct, second one is snapshot (not to modify template image) and snaphosts
are always qcow2

> If the vm is cloned from a Thin template, I haven't had time to test this.

both disks should be qcow2

> According to the above classification, the performance of QCOW2 is 
> worse than that of RAW format.
> Therefore, using preallocation mode for Block storage can not only 
> remove interference at the file system level, but also achieve 
> performance advantages in file types, thus achieving the best I/O effect.
> 
> The last sentence was the result I really wanted, as I was running IO 
> heavy systems on OLVM.

if you want to use only raw file format, you should use preallocated disks
on block storage (on file storage doesn't matter) and avoid snapshots, as
snapshots are always qcow2 format
___
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/X6QK5FNWU2ZLQHNCHWZDFZTXYJYUVKOI/


[ovirt-users] Re: about the OVF_STORE and the xleases volume

2021-09-22 Thread Tommy Sway
Thank you!

lrwxrwxrwx. 1 vdsm kvm 45 Jun 12 23:42 ids ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/ids
lrwxrwxrwx. 1 vdsm kvm 47 Jun 12 23:42 inbox ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/inbox
lrwxrwxrwx. 1 vdsm kvm 48 Jun 12 23:42 leases ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/leases
lrwxrwxrwx. 1 vdsm kvm 48 Jun 12 23:42 master ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/master
lrwxrwxrwx. 1 vdsm kvm 50 Jun 12 23:42 metadata ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/metadata
lrwxrwxrwx. 1 vdsm kvm 48 Jun 12 23:42 outbox ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/outbox
lrwxrwxrwx. 1 vdsm kvm 49 Jun 12 23:42 xleases ->
/dev/41bc1316-5c1d-4836-a103-5acbbf0c47a1/xleases



and what difference between the xleases and leases on the list?






-Original Message-
From: Vojtech Juranek  
Sent: Wednesday, September 22, 2021 6:12 PM
To: users@ovirt.org
Cc: Tommy Sway 
Subject: Re: [ovirt-users] about the OVF_STORE and the xleases volume

On Wednesday, 22 September 2021 10:39:34 CEST Tommy Sway wrote:
> I wonder if the xleases volume mentioned here refers to ovf_store ?

No, xleases is part of the disk space used internally by oVirt (to manage
concurrent access to the resources, e.g. disk image) and shouldn't be
touched by the user.

OVF store is Open Virtualization Format [1] and it's used for storing these
files, see [2] for more details.

[1] https://en.wikipedia.org/wiki/Open_Virtualization_Format
[2] https://www.ovirt.org/develop/release-management/features/storage/
importstoragedomain.html

> 
> 
> 
> 
> * A new xleases volume to support VM leases - this feature adds the
> ability to acquire a lease per virtual machine on shared storage 
> without attaching the lease to a virtual machine disk.
> 
> A VM lease offers two important capabilities:
> 
> * Avoiding split-brain.
> * Starting a VM on another host if the original host becomes
> non-responsive, which improves the availability of HA VMs.


___
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/KP2YXJWQ4TH2ZHEWTPNRD6I7EQMTVQI7/


[ovirt-users] Re: about the power management of the hosts

2021-09-22 Thread Tommy Sway
My test scenario is as follows: Two physical machines in a cluster are not 
configured with power management, and VMS are enabled with high availability. 

After a host is stopped, VMS restart on other physical servers. The physical 
machine that was stopped  then started back, found that there was no abnormal.

 

I was wondering under what conditions you said there might be problems with the 
storage layer ?

 

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Thursday, September 23, 2021 12:55 AM
To: Tommy Sway ; 'Klaas Demter' ; 
users@ovirt.org
Subject: [ovirt-users] Re: about the power management of the hosts

 

It is possible, but without the SPM host being fenced you won't be able to do 
any storage-related tasks. Even snapahot management will be impossible 
withoutmanual intervention (reboot the host from the remote management and then 
mark the host as restarted).

 

Best Regards,

Strahil Nikolov

On Wed, Sep 22, 2021 at 5:42, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/QXDDVK3QMNLSIFBO4I6MNKN53VUM4E7Q/

___
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/X4G7IW5ZWYNTUW3NQZWMWNBV3ZI7ST5V/


[ovirt-users] Re: about the vm disk type

2021-09-22 Thread Tommy Sway
I just want know how to check the type.


According to what you said, qemU-img info tool was used to query the result.
On Block storage, theses are results:
if preallocated, the storage format is RAW;
If Thin mode, is QCOW2;
If the VM is cloned from a template in preallocated mode, the disk consists
of two files: the bottom back-end file is RAW, and the front end file is
QCOW2.
If the vm is cloned from a Thin template, I haven't had time to test this.

According to the above classification, the performance of QCOW2 is worse
than that of RAW format. 
Therefore, using preallocation mode for Block storage can not only remove
interference at the file system level, but also achieve performance
advantages in file types, thus achieving the best I/O effect.

The last sentence was the result I really wanted, as I was running IO heavy
systems on OLVM.

Thank you!





-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Vojtech
Juranek
Sent: Wednesday, September 22, 2021 8:00 PM
To: Tommy Sway 
Cc: 'users' 
Subject: [ovirt-users] Re: about the vm disk type

Sorry for my misleading previous answer, I thought you are asking how to
create pre/thin allocated disk. As for the format, you cannot choose it. As
for the defaults, Benny already answered this.

> I also have block storage on my environment. How do I observe the type 
> of a vm image (LV)?

What do you exactly mean? Do you ask about image format (raw vs. cow)? If
so, you can deduce it from Benny's answer, based on the facts on which
domain is disk stored and if it's pre-allocated or not. If you are asking
how to check it on the storage, you can check disk metadata or you can use
directly qemu- img utility (qemu-img info /path/to/the/disk)

___
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/4QZVJ46HFIXMBEVPQBQIK5F6PH7SEYKS/


[ovirt-users] Re: about the vm disk type

2021-09-22 Thread Tommy Sway
I also have block storage on my environment. How do I observe the type of a vm 
image (LV)?

 

 

 

From: Benny Zlotnik  
Sent: Wednesday, September 22, 2021 7:30 PM
To: Tommy Sway 
Cc: Vojtech Juranek ; users 
Subject: Re: [ovirt-users] Re: about the vm disk type

 

file-based domains use RAW for both settings, thin-provisioned on block domain 
will use qcow2, otherwise RAW will be used

 

On Wed, Sep 22, 2021 at 1:22 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

For example :

 



And I check the file on the storage:

 

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]# cat 
9e4dc022-c450-4f85-89f5-233fa41c07d0.meta

CAP=10737418240

CTIME=1632305740

DESCRIPTION={"DiskAlias":"test09222_Disk1","DiskDescription":""}

DISKTYPE=DATA

DOMAIN=f77091d9-aabc-42db-87b1-b8299765482e

FORMAT=RAW

GEN=0

IMAGE=51dcbfae-1100-4e43-9e0a-bb8c578623d7

LEGALITY=LEGAL

PUUID=----

TYPE=SPARSE

VOLTYPE=LEAF

EOF

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]# ll

total 1025

-rw-rw. 1 vdsm kvm 10737418240 Sep 22 18:15 
9e4dc022-c450-4f85-89f5-233fa41c07d0

-rw-rw. 1 vdsm kvm 1048576 Sep 22 18:15 
9e4dc022-c450-4f85-89f5-233fa41c07d0.lease

-rw-r--r--. 1 vdsm kvm 303 Sep 22 18:15 
9e4dc022-c450-4f85-89f5-233fa41c07d0.meta

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]# du -h 
./9e4dc022-c450-4f85-89f5-233fa41c07d0

0   ./9e4dc022-c450-4f85-89f5-233fa41c07d0

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-Original Message-
From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of Tommy 
Sway
Sent: Wednesday, September 22, 2021 6:07 PM
To: 'Vojtech Juranek' mailto:vjura...@redhat.com> >; 
users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] Re: about the vm disk type

 

You mean if it's pre-allocated, it must be RAW, not Qcow2?

The documentation only states that RAW must be pre-allocated, but it does not 
say that qCOW2 cannot use pre-allocation.

 

 

 

 

 

-Original Message-

From: Vojtech Juranek < <mailto:vjura...@redhat.com> vjura...@redhat.com>

Sent: Wednesday, September 22, 2021 6:04 PM

To:  <mailto:users@ovirt.org> users@ovirt.org

Cc: Tommy Sway < <mailto:sz_cui...@163.com> sz_cui...@163.com>

Subject: Re: [ovirt-users] about the vm disk type

 

On Wednesday, 22 September 2021 09:55:26 CEST Tommy Sway wrote:

> When I create the VM's image disk, I am not asked to select the 

> following type of disk.

 

Actually you are, it's "Allocation Policy" drop down menu.

Thin provisioned == qcow format

Preallocated == raw

 

> 

> 

> What is the default value ?

 

Thin provisioned, i.e. qcow.

 

> 

> 

> Thanks.

> 

> 

> 

> 

> 

> QCOW2 Formatted Virtual Machine Storage

> 

> QCOW2 is a storage format for virtual disks. QCOW stands for QEMU 

> copy-on-write. The QCOW2 format decouples the physical storage layer 

> from the virtual layer by adding a mapping between logical and 

> physical

blocks.

> Each logical block is mapped to its physical offset, which enables 

> storage over-commitment and virtual machine snapshots, where each QCOW 

> volume only represents changes made to an underlying virtual disk.

> 

> The initial mapping points all logical blocks to the offsets in the 

> backing file or volume. When a virtual machine writes data to a QCOW2 

> volume after a snapshot, the relevant block is read from the backing 

> volume, modified with the new information and written into a new 

> snapshot QCOW2 volume. Then the map is updated to point to the new place.

> 

> Raw

> 

> The raw storage format has a performance advantage over QCOW2 in that 

> no formatting is applied to virtual disks stored in the raw format.

> Virtual machine data operations on virtual disks stored in raw format 

> require no additional work from hosts. When a virtual machine writes 

> data to a given offset in its virtual disk, the I/O is written to the 

> same offset on the backing file or logical volume.

> 

> Raw format requires that the entire space of the defined image be 

> preallocated unless using externally managed thin provisioned LUNs 

> from a storage array.

 

 

___

Users mailing list --  <mailto:users@ovirt.org> users@ovirt.org

To unsubscribe send an email to  <mailto:users-le...@ovirt.org> 
users-le...@ovirt.org Privacy Statement:  
<h

[ovirt-users] Re: about the OVF_STORE and the xleases volume

2021-09-22 Thread Tommy Sway
*   The OVF_STORE disk will contain all the entities configuration which
are candidates to be registered. The candidates are VMs and Templates which
has at least one disk exists in the Storage Domain OVF contained in the
unregistered_ovf_of_entities table.

 

In my mind, OVF_STORE is also a disk that holds VM or Template configuration
information in XML format, which is used when importing data domains into a
new data center.

But why do I find more than one OVF_STORE disk in the same storage domain?

 

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Tommy
Sway
Sent: Wednesday, September 22, 2021 6:58 PM
To: 'Vojtech Juranek' ; users@ovirt.org
Subject: [ovirt-users] Re: about the OVF_STORE and the xleases volume

 

I got it.

 

Today, oVirt supports importing ISO and Export Storage Domains, however,
there is no support for importing an existing Data Storage Domain. A Data
Storage Domain contains disks volumes and VMs/Templates OVF files. The OVF
file is an XML standard representing the VM/Template configuration including
disks, memory, CPU and more. Based on this information stored in the Storage
Domain we can revive entities such as disks, VMs and Templates in the setup
of any Data Center the Storage Domain will be attached to. The usability of
the feature might be useful for various use cases, here are some of them:

*   Recover after the loss of the oVirt Engine's database.
*   Transfer VMs between setups without the need to copy the data into
and out of the export domain.
*   Support migrating Storage Domains between different oVirt
installations.

Storage Domains that can be restored for VMs/Templates must contain
OVF_STORE disks. Since OVF_STORE disk is only supported from a 3.5v Data
Center, the Storage Domains that can be restored have to be managed in a
3.5v Data Center before the disaster. As long as the setup contains 3.5v
Data Centers, the Import Storage Domain feature will automatically be
supported for those Data Centers.

 

 

 

 

 

 

 

 

From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>
mailto:users-boun...@ovirt.org> > On Behalf Of
Tommy Sway
Sent: Wednesday, September 22, 2021 6:48 PM
To: 'Vojtech Juranek' mailto:vjura...@redhat.com> >;
users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] Re: about the OVF_STORE and the xleases volume

 

Are you referring to the description of this passage?

 

 


Detailed Description


VM/Template configurations (including disks info) are stored on the master
storage domain only for backup purposes and in order to provide the ability
to run VMs without having a running engine/db. This feature aims to change
the current place in which the OVFs are stored while using the existing
<https://www.ovirt.org/develop/release-management/features/storage/ovfautoup
dater.html> OvfAutoUpdater feature (asynchronous incremental OVF updates).
The expected benefits are:

1.  Having "self contained" Storage Domains which will enable to recover
in case of data loss (oVirt supports registration of unknown disks stored on
storage domain in the engine and adding VM from OVF configuration - so
having the VM OVF stored on the same Storage Domain of it's disks will allow
to recover the vm "completeness" from that Storage Domain to the oVirt
engine).
2.  Moving out from using the master_fs on the storage domain, as part
of this change the OVFs will be stored on a designated volume located on
each Storage Domain.
3.  Adding support for streaming files from the engine to vdsm (will be
discussed later on).

 

 

 

 

-Original Message-
From: Vojtech Juranek mailto:vjura...@redhat.com> > 
Sent: Wednesday, September 22, 2021 6:12 PM
To: users@ovirt.org <mailto:users@ovirt.org> 
Cc: Tommy Sway mailto:sz_cui...@163.com> >
Subject: Re: [ovirt-users] about the OVF_STORE and the xleases volume

 

On Wednesday, 22 September 2021 10:39:34 CEST Tommy Sway wrote:

> I wonder if the xleases volume mentioned here refers to ovf_store ?

 

No, xleases is part of the disk space used internally by oVirt (to manage
concurrent access to the resources, e.g. disk image) and shouldn't be
touched by the user.

 

OVF store is Open Virtualization Format [1] and it's used for storing these
files, see [2] for more details.

 

[1]  <https://en.wikipedia.org/wiki/Open_Virtualization_Format>
https://en.wikipedia.org/wiki/Open_Virtualization_Format

[2]  <https://www.ovirt.org/develop/release-management/features/storage/>
https://www.ovirt.org/develop/release-management/features/storage/

importstoragedomain.html

 

> 

> 

> 

> 

> *A new xleases volume to support VM leases - this feature adds the

> ability to acquire a lease per virtual machine on shared storage 

> without attaching the lease to a virtual machine disk.

> 

> A VM lease offers two important capabilities:

> 

> *Avoidi

[ovirt-users] Re: about the OVF_STORE and the xleases volume

2021-09-22 Thread Tommy Sway
I got it.

 

Today, oVirt supports importing ISO and Export Storage Domains, however,
there is no support for importing an existing Data Storage Domain. A Data
Storage Domain contains disks volumes and VMs/Templates OVF files. The OVF
file is an XML standard representing the VM/Template configuration including
disks, memory, CPU and more. Based on this information stored in the Storage
Domain we can revive entities such as disks, VMs and Templates in the setup
of any Data Center the Storage Domain will be attached to. The usability of
the feature might be useful for various use cases, here are some of them:

*   Recover after the loss of the oVirt Engine's database.
*   Transfer VMs between setups without the need to copy the data into
and out of the export domain.
*   Support migrating Storage Domains between different oVirt
installations.

Storage Domains that can be restored for VMs/Templates must contain
OVF_STORE disks. Since OVF_STORE disk is only supported from a 3.5v Data
Center, the Storage Domains that can be restored have to be managed in a
3.5v Data Center before the disaster. As long as the setup contains 3.5v
Data Centers, the Import Storage Domain feature will automatically be
supported for those Data Centers.

 

 

 

 

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Tommy
Sway
Sent: Wednesday, September 22, 2021 6:48 PM
To: 'Vojtech Juranek' ; users@ovirt.org
Subject: [ovirt-users] Re: about the OVF_STORE and the xleases volume

 

Are you referring to the description of this passage?

 

 


Detailed Description


VM/Template configurations (including disks info) are stored on the master
storage domain only for backup purposes and in order to provide the ability
to run VMs without having a running engine/db. This feature aims to change
the current place in which the OVFs are stored while using the existing
<https://www.ovirt.org/develop/release-management/features/storage/ovfautoup
dater.html> OvfAutoUpdater feature (asynchronous incremental OVF updates).
The expected benefits are:

1.  Having "self contained" Storage Domains which will enable to recover
in case of data loss (oVirt supports registration of unknown disks stored on
storage domain in the engine and adding VM from OVF configuration - so
having the VM OVF stored on the same Storage Domain of it's disks will allow
to recover the vm "completeness" from that Storage Domain to the oVirt
engine).
2.  Moving out from using the master_fs on the storage domain, as part
of this change the OVFs will be stored on a designated volume located on
each Storage Domain.
3.  Adding support for streaming files from the engine to vdsm (will be
discussed later on).

 

 

 

 

-Original Message-
From: Vojtech Juranek mailto:vjura...@redhat.com> > 
Sent: Wednesday, September 22, 2021 6:12 PM
To: users@ovirt.org <mailto:users@ovirt.org> 
Cc: Tommy Sway mailto:sz_cui...@163.com> >
Subject: Re: [ovirt-users] about the OVF_STORE and the xleases volume

 

On Wednesday, 22 September 2021 10:39:34 CEST Tommy Sway wrote:

> I wonder if the xleases volume mentioned here refers to ovf_store ?

 

No, xleases is part of the disk space used internally by oVirt (to manage
concurrent access to the resources, e.g. disk image) and shouldn't be
touched by the user.

 

OVF store is Open Virtualization Format [1] and it's used for storing these
files, see [2] for more details.

 

[1]  <https://en.wikipedia.org/wiki/Open_Virtualization_Format>
https://en.wikipedia.org/wiki/Open_Virtualization_Format

[2]  <https://www.ovirt.org/develop/release-management/features/storage/>
https://www.ovirt.org/develop/release-management/features/storage/

importstoragedomain.html

 

> 

> 

> 

> 

> *A new xleases volume to support VM leases - this feature adds the

> ability to acquire a lease per virtual machine on shared storage 

> without attaching the lease to a virtual machine disk.

> 

> A VM lease offers two important capabilities:

> 

> *Avoiding split-brain.

> *Starting a VM on another host if the original host becomes

> non-responsive, which improves the availability of HA VMs.

 

___
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/JGRSZNF5CYJRNPX5N3T5KVHNXGBAWEBR/


[ovirt-users] Re: about the OVF_STORE and the xleases volume

2021-09-22 Thread Tommy Sway
Are you referring to the description of this passage?

 

 


Detailed Description


VM/Template configurations (including disks info) are stored on the master
storage domain only for backup purposes and in order to provide the ability
to run VMs without having a running engine/db. This feature aims to change
the current place in which the OVFs are stored while using the existing
<https://www.ovirt.org/develop/release-management/features/storage/ovfautoup
dater.html> OvfAutoUpdater feature (asynchronous incremental OVF updates).
The expected benefits are:

1.  Having "self contained" Storage Domains which will enable to recover
in case of data loss (oVirt supports registration of unknown disks stored on
storage domain in the engine and adding VM from OVF configuration - so
having the VM OVF stored on the same Storage Domain of it's disks will allow
to recover the vm "completeness" from that Storage Domain to the oVirt
engine).
2.  Moving out from using the master_fs on the storage domain, as part
of this change the OVFs will be stored on a designated volume located on
each Storage Domain.
3.  Adding support for streaming files from the engine to vdsm (will be
discussed later on).

 

 

 

 

-Original Message-
From: Vojtech Juranek  
Sent: Wednesday, September 22, 2021 6:12 PM
To: users@ovirt.org
Cc: Tommy Sway 
Subject: Re: [ovirt-users] about the OVF_STORE and the xleases volume

 

On Wednesday, 22 September 2021 10:39:34 CEST Tommy Sway wrote:

> I wonder if the xleases volume mentioned here refers to ovf_store ?

 

No, xleases is part of the disk space used internally by oVirt (to manage
concurrent access to the resources, e.g. disk image) and shouldn't be
touched by the user.

 

OVF store is Open Virtualization Format [1] and it's used for storing these
files, see [2] for more details.

 

[1]  <https://en.wikipedia.org/wiki/Open_Virtualization_Format>
https://en.wikipedia.org/wiki/Open_Virtualization_Format

[2]  <https://www.ovirt.org/develop/release-management/features/storage/>
https://www.ovirt.org/develop/release-management/features/storage/

importstoragedomain.html

 

> 

> 

> 

> 

> *A new xleases volume to support VM leases - this feature adds the

> ability to acquire a lease per virtual machine on shared storage 

> without attaching the lease to a virtual machine disk.

> 

> A VM lease offers two important capabilities:

> 

> *Avoiding split-brain.

> *Starting a VM on another host if the original host becomes

> non-responsive, which improves the availability of HA VMs.

 

___
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/XS3GMASJ5TW6Q4S2MZHT72E4FLH5GSBZ/


[ovirt-users] Re: about the vm disk type

2021-09-22 Thread Tommy Sway
For example :

 



And I check the file on the storage:

 

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]# cat 
9e4dc022-c450-4f85-89f5-233fa41c07d0.meta

CAP=10737418240

CTIME=1632305740

DESCRIPTION={"DiskAlias":"test09222_Disk1","DiskDescription":""}

DISKTYPE=DATA

DOMAIN=f77091d9-aabc-42db-87b1-b8299765482e

FORMAT=RAW

GEN=0

IMAGE=51dcbfae-1100-4e43-9e0a-bb8c578623d7

LEGALITY=LEGAL

PUUID=----

TYPE=SPARSE

VOLTYPE=LEAF

EOF

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]# ll

total 1025

-rw-rw. 1 vdsm kvm 10737418240 Sep 22 18:15 
9e4dc022-c450-4f85-89f5-233fa41c07d0

-rw-rw. 1 vdsm kvm 1048576 Sep 22 18:15 
9e4dc022-c450-4f85-89f5-233fa41c07d0.lease

-rw-r--r--. 1 vdsm kvm 303 Sep 22 18:15 
9e4dc022-c450-4f85-89f5-233fa41c07d0.meta

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]# du -h 
./9e4dc022-c450-4f85-89f5-233fa41c07d0

0   ./9e4dc022-c450-4f85-89f5-233fa41c07d0

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

[root@olvms1 51dcbfae-1100-4e43-9e0a-bb8c578623d7]#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-Original Message-
From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of Tommy 
Sway
Sent: Wednesday, September 22, 2021 6:07 PM
To: 'Vojtech Juranek' mailto:vjura...@redhat.com> >; 
users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] Re: about the vm disk type

 

You mean if it's pre-allocated, it must be RAW, not Qcow2?

The documentation only states that RAW must be pre-allocated, but it does not 
say that qCOW2 cannot use pre-allocation.

 

 

 

 

 

-Original Message-

From: Vojtech Juranek < <mailto:vjura...@redhat.com> vjura...@redhat.com>

Sent: Wednesday, September 22, 2021 6:04 PM

To:  <mailto:users@ovirt.org> users@ovirt.org

Cc: Tommy Sway < <mailto:sz_cui...@163.com> sz_cui...@163.com>

Subject: Re: [ovirt-users] about the vm disk type

 

On Wednesday, 22 September 2021 09:55:26 CEST Tommy Sway wrote:

> When I create the VM's image disk, I am not asked to select the 

> following type of disk.

 

Actually you are, it's "Allocation Policy" drop down menu.

Thin provisioned == qcow format

Preallocated == raw

 

> 

> 

> What is the default value ?

 

Thin provisioned, i.e. qcow.

 

> 

> 

> Thanks.

> 

> 

> 

> 

> 

> QCOW2 Formatted Virtual Machine Storage

> 

> QCOW2 is a storage format for virtual disks. QCOW stands for QEMU 

> copy-on-write. The QCOW2 format decouples the physical storage layer 

> from the virtual layer by adding a mapping between logical and 

> physical

blocks.

> Each logical block is mapped to its physical offset, which enables 

> storage over-commitment and virtual machine snapshots, where each QCOW 

> volume only represents changes made to an underlying virtual disk.

> 

> The initial mapping points all logical blocks to the offsets in the 

> backing file or volume. When a virtual machine writes data to a QCOW2 

> volume after a snapshot, the relevant block is read from the backing 

> volume, modified with the new information and written into a new 

> snapshot QCOW2 volume. Then the map is updated to point to the new place.

> 

> Raw

> 

> The raw storage format has a performance advantage over QCOW2 in that 

> no formatting is applied to virtual disks stored in the raw format.

> Virtual machine data operations on virtual disks stored in raw format 

> require no additional work from hosts. When a virtual machine writes 

> data to a given offset in its virtual disk, the I/O is written to the 

> same offset on the backing file or logical volume.

> 

> Raw format requires that the entire space of the defined image be 

> preallocated unless using externally managed thin provisioned LUNs 

> from a storage array.

 

 

___

Users mailing list --  <mailto:users@ovirt.org> users@ovirt.org

To unsubscribe send an email to  <mailto:users-le...@ovirt.org> 
users-le...@ovirt.org Privacy Statement:  
<https://www.ovirt.org/privacy-policy.html> 
https://www.ovirt.org/privacy-policy.html

oVirt Code of Conduct:  
<https://www.ovirt.org/community/about/community-guidelines/> 
https://www.ovirt.org/community/about/community-guidelines/

List Archives:  
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/JGJX4VUOYVBG6AWPKWVMILXINNOFFO2V/>
 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JGJX4VUOYVBG6AWPKWVMILXINNOFFO2V/

___

[ovirt-users] Re: about the vm disk type

2021-09-22 Thread Tommy Sway
You mean if it's pre-allocated, it must be RAW, not Qcow2?
The documentation only states that RAW must be pre-allocated, but it does
not say that qCOW2 cannot use pre-allocation.





-Original Message-
From: Vojtech Juranek  
Sent: Wednesday, September 22, 2021 6:04 PM
To: users@ovirt.org
Cc: Tommy Sway 
Subject: Re: [ovirt-users] about the vm disk type

On Wednesday, 22 September 2021 09:55:26 CEST Tommy Sway wrote:
> When I create the VM's image disk, I am not asked to select the 
> following type of disk.

Actually you are, it's "Allocation Policy" drop down menu.
Thin provisioned == qcow format
Preallocated == raw

> 
> 
> What is the default value ?

Thin provisioned, i.e. qcow.

> 
> 
> Thanks.
> 
> 
> 
> 
> 
> QCOW2 Formatted Virtual Machine Storage
> 
> QCOW2 is a storage format for virtual disks. QCOW stands for QEMU 
> copy-on-write. The QCOW2 format decouples the physical storage layer 
> from the virtual layer by adding a mapping between logical and physical
blocks.
> Each logical block is mapped to its physical offset, which enables 
> storage over-commitment and virtual machine snapshots, where each QCOW 
> volume only represents changes made to an underlying virtual disk.
> 
> The initial mapping points all logical blocks to the offsets in the 
> backing file or volume. When a virtual machine writes data to a QCOW2 
> volume after a snapshot, the relevant block is read from the backing 
> volume, modified with the new information and written into a new 
> snapshot QCOW2 volume. Then the map is updated to point to the new place.
> 
> Raw
> 
> The raw storage format has a performance advantage over QCOW2 in that 
> no formatting is applied to virtual disks stored in the raw format. 
> Virtual machine data operations on virtual disks stored in raw format 
> require no additional work from hosts. When a virtual machine writes 
> data to a given offset in its virtual disk, the I/O is written to the 
> same offset on the backing file or logical volume.
> 
> Raw format requires that the entire space of the defined image be 
> preallocated unless using externally managed thin provisioned LUNs 
> from a storage array.


___
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/JGJX4VUOYVBG6AWPKWVMILXINNOFFO2V/


[ovirt-users] about the OVF_STORE and the xleases volume

2021-09-22 Thread Tommy Sway
I wonder if the xleases volume mentioned here refers to ovf_store ?

 

 

*   A new xleases volume to support VM leases - this feature adds the
ability to acquire a lease per virtual machine on shared storage without
attaching the lease to a virtual machine disk.

A VM lease offers two important capabilities:

*   Avoiding split-brain.
*   Starting a VM on another host if the original host becomes
non-responsive, which improves the availability of HA VMs.

 

___
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/G4YOZPDC4ZUZ2PSSPKPSIL6YLLTUCTV5/


[ovirt-users] about the vm disk type

2021-09-22 Thread Tommy Sway
When I create the VM's image disk, I am not asked to select the following
type of disk. 

 

What is the default value ? 

 

Thanks.

 

 

QCOW2 Formatted Virtual Machine Storage

QCOW2 is a storage format for virtual disks. QCOW stands for QEMU
copy-on-write. The QCOW2 format decouples the physical storage layer from
the virtual layer by adding a mapping between logical and physical blocks.
Each logical block is mapped to its physical offset, which enables storage
over-commitment and virtual machine snapshots, where each QCOW volume only
represents changes made to an underlying virtual disk.

The initial mapping points all logical blocks to the offsets in the backing
file or volume. When a virtual machine writes data to a QCOW2 volume after a
snapshot, the relevant block is read from the backing volume, modified with
the new information and written into a new snapshot QCOW2 volume. Then the
map is updated to point to the new place.

Raw

The raw storage format has a performance advantage over QCOW2 in that no
formatting is applied to virtual disks stored in the raw format. Virtual
machine data operations on virtual disks stored in raw format require no
additional work from hosts. When a virtual machine writes data to a given
offset in its virtual disk, the I/O is written to the same offset on the
backing file or logical volume.

Raw format requires that the entire space of the defined image be
preallocated unless using externally managed thin provisioned LUNs from a
storage array.

 

___
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/CZZBMXL2DMJKHS4YLBOIGPMJ4D35TZH5/


[ovirt-users] Re: about the power management of the hosts

2021-09-21 Thread Tommy Sway
Is a high availability virtual machine impossible without power management?

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Klaas 
Demter
Sent: Monday, September 20, 2021 12:51 AM
To: users@ovirt.org
Subject: [ovirt-users] Re: about the power management of the hosts

 

Hi,

I don't think you're supposed to use IPMI for anything :) Most likely candidate 
for current hardware is redfish -- 
https://en.wikipedia.org/wiki/Redfish_(specification)

 

Greetings

Klaas

 

On 9/19/21 17:08, Tommy Sway wrote:

In product env are Inspur Server.

 

It should use the IPMI.

 

 

 

 

From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>   
<mailto:users-boun...@ovirt.org>  On Behalf Of Strahil 
Nikolov via Users
Sent: Saturday, September 18, 2021 11:06 PM
To: Tommy Sway  <mailto:sz_cui...@163.com> ; users@ovirt.org 
<mailto:users@ovirt.org> 
Subject: [ovirt-users] Re: about the power management of the hosts

 

Values are based on the method you want to fence the node.

What type of server do you have ?

 

 

Best Regards,

Strahil Nikolov

On Sat, Sep 18, 2021 at 15:31, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/7HJHXQ25BKIQJI7V7XYMBGVFFTJHQELZ/





___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/CSZADLQJUY6F2YTRTCQR6OQAFD5EANMY/

___
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/QXDDVK3QMNLSIFBO4I6MNKN53VUM4E7Q/


[ovirt-users] Re: about the power management of the hosts

2021-09-19 Thread Tommy Sway
In product env are Inspur Server.

 

It should use the IPMI.

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Saturday, September 18, 2021 11:06 PM
To: Tommy Sway ; users@ovirt.org
Subject: [ovirt-users] Re: about the power management of the hosts

 

Values are based on the method you want to fence the node.

What type of server do you have ?

 

 

Best Regards,

Strahil Nikolov

On Sat, Sep 18, 2021 at 15:31, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/7HJHXQ25BKIQJI7V7XYMBGVFFTJHQELZ/

___
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/CSZADLQJUY6F2YTRTCQR6OQAFD5EANMY/


[ovirt-users] Re: about the power management of the hosts

2021-09-18 Thread Tommy Sway
Thanks.

 

Is the fence agent in this article a physical KVM server?

 



 

 

 

From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Saturday, September 18, 2021 5:45 PM
To: Tommy Sway ; users@ovirt.org
Subject: [ovirt-users] Re: about the power management of the hosts

 

I think that the following documentation explains it far better than a single 
person can do:

 

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/technical_reference/power_management

 

 

Best Regards,

Strahil Nikolov

On Sat, Sep 18, 2021 at 9:00, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/K6W7KB6323WJUYS3AWWL3NXBBEEADHH7/

___
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/7HJHXQ25BKIQJI7V7XYMBGVFFTJHQELZ/


[ovirt-users] Re: about the power management of the hosts

2021-09-18 Thread Tommy Sway
Can somebody explain in detail when and Under what circumstances  power 
management will works?

 

 

From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Thursday, September 16, 2021 5:37 PM
To: sz_cui...@163.com; users@ovirt.org
Subject: [ovirt-users] Re: about the power management of the hosts

 

If your Host is stale and is having thr SPM role -> some tasks will fail.

Also, the VMs on such host won't be recovered unless VM HA is enabled (with 
storage lease).

 

For prod, I would setup that.

Keep in mind that the fencing is issued by another host in the cluster, so you 
need minimum 2 hosts in a cluster before starting setup & test.

 

Best Regards,

Strahil Nikolov

 

On Thu, Sep 16, 2021 at 10:32, Tommy Sway

mailto:sz_cui...@163.com> > wrote:

Everybody, hi:

I would like to ask, after the configuration of power management on the host, 
under what circumstances will work? 

That is, when does the engine send a request to the IPMI module to restart the 
power supply?

 

Is it necessary to configure power management modules in the production 
environment? 

Are there any risks?

 

Thanks!

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/C3FVP7FH57KOYW7MP2LFKUVQF3ROGL6M/

___
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/K6W7KB6323WJUYS3AWWL3NXBBEEADHH7/


[ovirt-users] Re: about the password of the engine host and worker KVM hosts

2021-09-17 Thread Tommy Sway
Thank you!

 

 

From: users-boun...@ovirt.org  On Behalf Of
matthew.st...@fujitsu.com
Sent: Friday, September 17, 2021 11:45 PM
To: Tommy Sway ; users@ovirt.org
Subject: [ovirt-users] Re: about the password of the engine host and worker
KVM hosts

 

My understanding, is that OLVM/oVirt use the root password to push it's SSH
credentials at first login.  Once that is done, all other SSH access is
though those credentials.

 

You should be able to change the root password without issue.

 

From: Tommy Sway mailto:sz_cui...@163.com> > 
Sent: Friday, September 17, 2021 4:12 AM
To: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] about the password of the engine host and worker KVM
hosts

 

I have successfully installed and deployed OLVM, where the Engine uses a
separate physical server and the virtual machines work on other worker
servers.

Due to the company's internal security policy, I now need to change the root
user password for all servers. Is that ok?

Will cluster running be affected?

 

Thanks!

 

 

___
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/X2OGK3LKQG3PGFDYNXGPUWKWIFK7OLIH/


[ovirt-users] Re: [External] : about the password of the engine host and worker KVM hosts

2021-09-17 Thread Tommy Sway
Thank you!

 

 

From: users-boun...@ovirt.org  On Behalf Of Marcos
Sungaila
Sent: Friday, September 17, 2021 11:51 PM
To: Tommy Sway ; users@ovirt.org
Subject: [ovirt-users] Re: [External] : about the password of the engine
host and worker KVM hosts

 

Hi Tommy,

 

Yes, you can change root password on all hosts with no problem.

Your cluster will keep working fine.

 

Regards

 

Marcos

 

From: Tommy Sway mailto:sz_cui...@163.com> > 
Sent: sexta-feira, 17 de setembro de 2021 06:12
To: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [External] : [ovirt-users] about the password of the engine host
and worker KVM hosts

 

I have successfully installed and deployed OLVM, where the Engine uses a
separate physical server and the virtual machines work on other worker
servers.

Due to the company's internal security policy, I now need to change the root
user password for all servers. Is that ok?

Will cluster running be affected?

 

Thanks!

 

 

___
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/SONKFQWUX54F6GGS6SVCCZRVBHA3JTTI/


[ovirt-users] about the password of the engine host and worker KVM hosts

2021-09-17 Thread Tommy Sway
I have successfully installed and deployed OLVM, where the Engine uses a
separate physical server and the virtual machines work on other worker
servers.

Due to the company's internal security policy, I now need to change the root
user password for all servers. Is that ok?

Will cluster running be affected?

 

Thanks!

 

 

___
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/35JOJC3DJFK7I2IMLIC2HTSDFT5UE5HZ/


[ovirt-users] Re: oVirt 4.3 DWH with Grafana

2021-09-16 Thread Tommy Sway
So, 4.3 cannot resolve it ?

Thanks.



-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Kiran 
Rajendra
Sent: Thursday, September 16, 2021 4:54 PM
To: users@ovirt.org
Subject: [ovirt-users] Re: oVirt 4.3 DWH with Grafana

Hi Tommy,

In OLVM/oVirt 4.3, Column count_threads_as_cores is not present in table 
cluster_configuration

ovirt_engine_history=# \d cluster_configuration
Table "public.cluster_configuration"
  Column  |   Type   | Collation | 
Nullable |Default
--+--+---+--+
 history_id   | integer  |   | not 
null | nextval('configuration_seq'::regclass)
 cluster_id   | uuid |   | not 
null |
 cluster_name | character varying(40)|   | not 
null |
 cluster_description  | character varying(4000)  |   |  
|
 datacenter_id| uuid |   |  
|
 cpu_name | character varying(255)   |   |  
|
 compatibility_version| character varying(40)|   | not 
null | '2.2'::character varying
 datacenter_configuration_version | integer  |   |  
|
 create_date  | timestamp with time zone |   |  
|
 update_date  | timestamp with time zone |   |  
|
 delete_date  | timestamp with time zone |   |  
|
Indexes:
"cluster_configuration_pkey" PRIMARY KEY, btree (history_id)
"cluster_configuration_cluster_id_idx" btree (cluster_id)
"cluster_configuration_datacenter_id_idx" btree (datacenter_id)


It is added in oVirt 4.4 release.
https://gerrit.ovirt.org/c/ovirt-dwh/+/114568
https://gerrit.ovirt.org/c/ovirt-dwh/+/114568/11/packaging/dbscripts/create_views_4_4.sql
 

Thank you
___
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/JOYM3DBPSHJIQUCBFV5STKSPLG47X4CY/
___
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/FYNIMRZX2FY3ZTLX2JADQAWE4XWL3QJZ/


[ovirt-users] about the power management of the hosts

2021-09-16 Thread Tommy Sway
Everybody, hi:

I would like to ask, after the configuration of power management on the
host, under what circumstances will work? 

That is, when does the engine send a request to the IPMI module to restart
the power supply?

 

Is it necessary to configure power management modules in the production
environment? 

Are there any risks?

 

Thanks!

___
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/C3FVP7FH57KOYW7MP2LFKUVQF3ROGL6M/


[ovirt-users] Re: oVirt 4.3 DWH with Grafana

2021-09-15 Thread Tommy Sway
Thank you!

 

I tried it, and I can import the json after replace the 4.4 with 4.3, but still 
have some errors like this:



pq: column "count_threads_as_cores" does not exist

Object

status:400

statusText:"Bad Request"

data:Object

results:Object

message:"pq: column "count_threads_as_cores" does not exist"

message:"pq: column "count_threads_as_cores" does not exist"

 

Many of the other reports worked fine, with only a few similar errors.

Is this caused by version incompatibility?

After all, 4.4 in the original document was replaced with 4.3 before the import.

 

 

 

 

From: matthew.st...@fujitsu.com  
Sent: Wednesday, September 15, 2021 3:28 AM
To: Tommy Sway ; 'Michal Gutowski' 
; 'Vrgotic, Marko' 
Cc: users@ovirt.org
Subject: RE: [ovirt-users] Re: oVirt 4.3 DWH with Grafana

 

The instructions to modify the json files are missing. (Using find and sed to 
change all instances of v4_4_ to v4_3_ before importing them into Grafana)

 

This is from an Oracle Blog on the doing this with OLVM 4.3 (which is basically 
a repackaged oVirt 4.3)

 

Build Grafana Dashboard for Oracle Linux Virtualization Manager 4.3 
<https://blogs.oracle.com/scoter/post/build-grafana-dashboard-for-oracle-linux-virtualization-manager-43>
 

 

From: Tommy Sway mailto:sz_cui...@163.com> > 
Sent: Tuesday, September 14, 2021 3:01 AM
To: 'Michal Gutowski' mailto:michal.gutow...@oracle.com> >; 'Vrgotic, Marko' 
mailto:m.vrgo...@activevideo.com> >
Cc: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] Re: oVirt 4.3 DWH with Grafana

 

The oVirt version I'm using is 4.3, and I get an error when I import JSON.

pq: relation"v4_4_latest_configuration_datacenters" does not exist.

 

 

 

From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of Michal 
Gutowski
Sent: Wednesday, November 25, 2020 12:26 AM
To: Vrgotic, Marko mailto:m.vrgo...@activevideo.com> >
Cc: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] Re: oVirt 4.3 DWH with Grafana

 

Hi Marko,

 

I've tested this myself as I like playing with various Grafana use-cases and 
following steps allow you to set up Grafana Monitoring for your oVirt 4.3 
environment and re-use all Grafana Dashboards from latest oVirt 4.4 on a 
previous release.

 

1. Allowing Grafana to connect to oVirt DWH database (Data Warehouse)

 

Login to the oVirt engine 4.3 and create a user "grafana" with password 
"grafana" that will get a read-only access to the ovirt_engine_history database 
and will be able to use public schema

 

# su - postgres -c 'scl enable rh-postgresql10 bash'

# psql -U postgres -c "CREATE ROLE grafana WITH LOGIN ENCRYPTED PASSWORD 
'grafana';" -d ovirt_engine_history

# psql -U postgres -c "GRANT CONNECT ON DATABASE ovirt_engine_history TO 
grafana;"

# psql -U postgres -c "GRANT USAGE ON SCHEMA public TO grafana;" 
ovirt_engine_history

 

Generate the rest of the permissions that will be granted to the newly created 
user and save them to a file:

 

# psql -U postgres -c "SELECT 'GRANT SELECT ON ' || relname || ' TO grafana;' 
FROM pg_class JOIN pg_namespace ON pg_namespace.oid = pg_class.relnamespace 
WHERE nspname = 'public' AND relkind IN ('r', 'v');" --pset=tuples_only=on  
ovirt_engine_history > grant.sql

 

Use the file you created in the previous step to grant permissions to the newly 
created user:

# psql -U postgres -f grant.sql ovirt_engine_history

 

Remove the file you used to grant permissions:

# rm grant.sql

 

Exit the postgres user shell by pressing Ctrl+d

 

Add the following lines for the newly created user to 
/var/opt/rh/rh-postgresql10/lib/pgsql/data/pg_hba.conf preceding the line 
beginning local all all

 

hostovirt_engine_history grafana 0.0.0.0/0   md5

hostovirt_engine_history grafana ::0/0   md5

 

Reload postgres service

# systemctl reload rh-postgresql10-postgresql

 

2. Installing Grafana

 

You can install Grafana directly on the oVirt Engine machine (this is how it's 
done in oVirt 4.4) or on a separate machine. Following steps shows how you can 
install Grafana on a Oracle Linux 7 server. Note: Oracle provides Grafana in 
the OLCNE yum repository - you only need to install the repository definition 
package to pickup Grafana and it's dependencies.

 

# yum install oraclelinux-release-el7

# yum install oracle-olcne-release-el7

# yum-config-manager --enable ol7_optional_latest ol7_olcne11

# yum install grafana

# systemctl enable --now grafana-server

 

3. Adding oVirt DWH database as Data Source in Grafana

 

Login to Grafana (default port 3000) and navigate to Configuration -> 
DataSources and click on Add Data Source button.

 

Select PostgreSQL source and use the following settings (adj

[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-14 Thread Tommy Sway
Thank you very much!

By the way, Is there some item list that show the changes between 4.3 and 4.4 ?






-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Benny 
Zlotnik
Sent: Tuesday, September 14, 2021 8:08 PM
To: Tommy Sway 
Cc: users 
Subject: [ovirt-users] Re: what kind of managed block can oVirt manage ?

Yes, but please be aware that 4.3 is EOL for a while, there have been 
significant changes between 4.3 and 4.4 in all relevant components

On Tue, Sep 14, 2021 at 2:39 PM Tommy Sway  wrote:
>
> As I understand it now, on 4.3 I need to enable it like this:
> 1. Activate the REPO source and install cinder relevant software 2, 
> when run the engine-setup add -s ManagedBlockDomainSupported = true 
> option 3. Add ManagedBlockDomain after installation Do I understand 
> this correctly?
>
> Thank you very much!
>
>
>
>
> -Original Message-
> From: Benny Zlotnik 
> Sent: Tuesday, September 14, 2021 7:19 PM
> To: Tommy Sway 
> Cc: users 
> Subject: Re: [ovirt-users] Re: what kind of managed block can oVirt manage ?
>
> On Tue, Sep 14, 2021 at 2:11 PM Tommy Sway  wrote:
> >
> > Do you mean that I don't need to manually add cider related repo in the new 
> > version, the engine-setup process will automatically add cinder related 
> > repo and install the package?
> it will add the repo but will not install the package as we had to 
> revert this for now
> > All I need to do is select CinderLib option during Engine setup?
> in 4.3 you also need to enable:
> $ engine-config -s ManagedBlockDomainSupported=true
> > Then I can add Managed Block Domains in the admin interface?
> after enabling, yes
>
___
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/VYRJKXLFZ7EKNKVRZGCDIMTLK3SDXZKC/
___
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/ENFNMFAUJKXTC25AYZSGMX3WJQ2OB22G/


[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-14 Thread Tommy Sway
As I understand it now, on 4.3 I need to enable it like this:
1. Activate the REPO source and install cinder relevant software
2, when run the engine-setup add -s ManagedBlockDomainSupported = true option
3. Add ManagedBlockDomain after installation
Do I understand this correctly?

Thank you very much!




-Original Message-
From: Benny Zlotnik  
Sent: Tuesday, September 14, 2021 7:19 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] Re: what kind of managed block can oVirt manage ?

On Tue, Sep 14, 2021 at 2:11 PM Tommy Sway  wrote:
>
> Do you mean that I don't need to manually add cider related repo in the new 
> version, the engine-setup process will automatically add cinder related repo 
> and install the package?
it will add the repo but will not install the package as we had to revert this 
for now
> All I need to do is select CinderLib option during Engine setup?
in 4.3 you also need to enable:
$ engine-config -s ManagedBlockDomainSupported=true
> Then I can add Managed Block Domains in the admin interface?
after enabling, yes
___
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/ZRFAD7E63K5WJUYQJIAWTBKOZS6MUT2T/


[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-14 Thread Tommy Sway
Do you mean that I don't need to manually add cider related repo in the new 
version, the engine-setup process will automatically add cinder related repo 
and install the package?
All I need to do is select CinderLib option during Engine setup?
Then I can add Managed Block Domains in the admin interface?



-Original Message-
From: Benny Zlotnik  
Sent: Tuesday, September 14, 2021 6:53 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] Re: what kind of managed block can oVirt manage ?

No, the difference is that we setup the required repos (we also installed the 
dependencies, but we had to revert this for now). The setup of a Managed Block 
Storage Domain remains the same

On Tue, Sep 14, 2021 at 1:49 PM Tommy Sway  wrote:
>
> Do you mean that in the new version, I only need to configure CINDERLib when 
> running Ovirt-Engine, and then I can connect to Ceph server directly in the 
> admin interface?
>
>
>
>
>
>
>
>
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of 
> Benny Zlotnik
> Sent: Tuesday, September 14, 2021 4:56 PM
> To: Tommy Sway 
> Cc: users 
> Subject: [ovirt-users] Re: what kind of managed block can oVirt manage ?
>
> I see, if you use 4.3 you will have to add the repos manually on the 
> ovirt-engine node and vdsm hosts If you did not enable cinderlib in 
> engine-setup previously you have to do that, yes
>
> On Tue, Sep 14, 2021 at 11:43 AM Tommy Sway  wrote:
> >
> > But my system version is 4.3, so how can I activate it?
> > Do I should install as documented before running engine- Setup?
> > It seems that CiderLib is also given a database to create while running 
> > engine-setup,so I guess the setup-config maybe also important.
> >
> >
> >
> >
> >
> > -Original Message-
> > From: users-boun...@ovirt.org  On Behalf Of 
> > Benny Zlotnik
> > Sent: Tuesday, September 14, 2021 4:09 PM
> > To: Tommy Sway 
> > Cc: users 
> > Subject: [ovirt-users] Re: what kind of managed block can oVirt manage ?
> >
> > If it's already enabled there's no need to run it again. I looked at 
> > the doc again now, and it's slightly outdated, since 4.4.8 we add 
> > the required openstack (victoria) and ceph repos automatically
> >
> > On Tue, Sep 14, 2021 at 8:18 AM Tommy Sway  wrote:
> > >
> > > Thank you very much!
> > >
> > > I read the documentation and found out that you are one of the authors of 
> > > this feature! I guess I asked the right person.
> > >
> > > After installed the CinderLib as you mentioned in the second link, do I 
> > > still need to run engine setup and integrate CinderLib to use Managed 
> > > Block ?
> > >
> > >
> > >
> > >
> > >
> > > [root@olvmm ~]#  engine-setup --reconfigure-optional-components
> > >
> > > [ INFO  ] Stage: Initializing
> > >
> > > [ INFO  ] Stage: Environment setup
> > >
> > >   Configuration files:
> > > ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> > > '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> > > '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
> > >
> > >   Log file:
> > > /var/log/ovirt-engine/setup/ovirt-engine-setup-20210914130015-1qjh
> > > wx
> > > .l
> > > og
> > >
> > >   Version: otopi-1.8.4 (otopi-1.8.4-1.el7)
> > >
> > > [ INFO  ] Stage: Environment packages setup
> > >
> > > [ INFO  ] Stage: Programs detection
> > >
> > > [ INFO  ] Stage: Environment setup (late)
> > >
> > > [ INFO  ] Stage: Environment customization
> > >
> > >
> > >
> > >  --== PRODUCT OPTIONS ==--
> > >
> > >
> > >
> > >   Set up Cinderlib integration
> > >
> > >   (Currently in tech preview)
> > >
> > >   (Yes, No) [No]: Yes
> > >
> > > [ INFO  ] ovirt-provider-ovn already installed, skipping.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: Benny Zlotnik 
> > > Sent: Monday, September 13, 2021 9:20 PM
> > > To: Tommy Sway 
> > > Cc: users 
> > > Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?
> > >
> > >
> > >
> > > cinderlib (Managed Block Storage) does not use openstack at all, 
> > > we have an example 

[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-14 Thread Tommy Sway
Do you mean that in the new version, I only need to configure CINDERLib when 
running Ovirt-Engine, and then I can connect to Ceph server directly in the 
admin interface?








-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Benny 
Zlotnik
Sent: Tuesday, September 14, 2021 4:56 PM
To: Tommy Sway 
Cc: users 
Subject: [ovirt-users] Re: what kind of managed block can oVirt manage ?

I see, if you use 4.3 you will have to add the repos manually on the 
ovirt-engine node and vdsm hosts If you did not enable cinderlib in 
engine-setup previously you have to do that, yes

On Tue, Sep 14, 2021 at 11:43 AM Tommy Sway  wrote:
>
> But my system version is 4.3, so how can I activate it?
> Do I should install as documented before running engine- Setup?
> It seems that CiderLib is also given a database to create while running 
> engine-setup,so I guess the setup-config maybe also important.
>
>
>
>
>
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of 
> Benny Zlotnik
> Sent: Tuesday, September 14, 2021 4:09 PM
> To: Tommy Sway 
> Cc: users 
> Subject: [ovirt-users] Re: what kind of managed block can oVirt manage ?
>
> If it's already enabled there's no need to run it again. I looked at 
> the doc again now, and it's slightly outdated, since 4.4.8 we add the 
> required openstack (victoria) and ceph repos automatically
>
> On Tue, Sep 14, 2021 at 8:18 AM Tommy Sway  wrote:
> >
> > Thank you very much!
> >
> > I read the documentation and found out that you are one of the authors of 
> > this feature! I guess I asked the right person.
> >
> > After installed the CinderLib as you mentioned in the second link, do I 
> > still need to run engine setup and integrate CinderLib to use Managed Block 
> > ?
> >
> >
> >
> >
> >
> > [root@olvmm ~]#  engine-setup --reconfigure-optional-components
> >
> > [ INFO  ] Stage: Initializing
> >
> > [ INFO  ] Stage: Environment setup
> >
> >   Configuration files:
> > ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> > '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> > '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
> >
> >   Log file:
> > /var/log/ovirt-engine/setup/ovirt-engine-setup-20210914130015-1qjhwx
> > .l
> > og
> >
> >   Version: otopi-1.8.4 (otopi-1.8.4-1.el7)
> >
> > [ INFO  ] Stage: Environment packages setup
> >
> > [ INFO  ] Stage: Programs detection
> >
> > [ INFO  ] Stage: Environment setup (late)
> >
> > [ INFO  ] Stage: Environment customization
> >
> >
> >
> >  --== PRODUCT OPTIONS ==--
> >
> >
> >
> >   Set up Cinderlib integration
> >
> >   (Currently in tech preview)
> >
> >   (Yes, No) [No]: Yes
> >
> > [ INFO  ] ovirt-provider-ovn already installed, skipping.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Benny Zlotnik 
> > Sent: Monday, September 13, 2021 9:20 PM
> > To: Tommy Sway 
> > Cc: users 
> > Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?
> >
> >
> >
> > cinderlib (Managed Block Storage) does not use openstack at all, we 
> > have an example of how to add ceph in the feature page[1]
> >
> > and docs have instructions on how to set it up[2]
> >
> >
> >
> >
> >
> > [1]
> > https://www.ovirt.org/develop/release-management/features/storage/ci
> > nd
> > erlib-integration.html
> >
> > [2]
> > https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone
> > _m anager_with_local_databases/#Set_up_Cinderlib
> >
> >
> >
> > On Mon, Sep 13, 2021 at 2:43 PM Tommy Sway  wrote:
> >
> > You mean to configure ceph in Cinder pages must be connected to real 
> > openstack?
> >
> > Can ceph be connected to a Managed Block page by simply linking to 
> > cenderlib files without accessing the actual openstack?
> >
> >
> >
> > I am very interested in this section, can you send some related guide 
> > documents?
> >
> > Thank you very much!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Benny Zlotnik 
> > Sent: Monday, September 13, 2021 7:27 PM
> > To: Tommy Sway 
> > Cc: users 
> > Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?
> >
> >
> >
> > cinder uses an actual openstack environment setup with c

[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-14 Thread Tommy Sway
But my system version is 4.3, so how can I activate it?
Do I should install as documented before running engine- Setup?
It seems that CiderLib is also given a database to create while running 
engine-setup,so I guess the setup-config maybe also important.





-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Benny 
Zlotnik
Sent: Tuesday, September 14, 2021 4:09 PM
To: Tommy Sway 
Cc: users 
Subject: [ovirt-users] Re: what kind of managed block can oVirt manage ?

If it's already enabled there's no need to run it again. I looked at the doc 
again now, and it's slightly outdated, since 4.4.8 we add the required 
openstack (victoria) and ceph repos automatically

On Tue, Sep 14, 2021 at 8:18 AM Tommy Sway  wrote:
>
> Thank you very much!
>
> I read the documentation and found out that you are one of the authors of 
> this feature! I guess I asked the right person.
>
> After installed the CinderLib as you mentioned in the second link, do I still 
> need to run engine setup and integrate CinderLib to use Managed Block ?
>
>
>
>
>
> [root@olvmm ~]#  engine-setup --reconfigure-optional-components
>
> [ INFO  ] Stage: Initializing
>
> [ INFO  ] Stage: Environment setup
>
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>
>   Log file: 
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20210914130015-1qjhwx.l
> og
>
>   Version: otopi-1.8.4 (otopi-1.8.4-1.el7)
>
> [ INFO  ] Stage: Environment packages setup
>
> [ INFO  ] Stage: Programs detection
>
> [ INFO  ] Stage: Environment setup (late)
>
> [ INFO  ] Stage: Environment customization
>
>
>
>  --== PRODUCT OPTIONS ==--
>
>
>
>   Set up Cinderlib integration
>
>   (Currently in tech preview)
>
>   (Yes, No) [No]: Yes
>
> [ INFO  ] ovirt-provider-ovn already installed, skipping.
>
>
>
>
>
>
>
>
>
> From: Benny Zlotnik 
> Sent: Monday, September 13, 2021 9:20 PM
> To: Tommy Sway 
> Cc: users 
> Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?
>
>
>
> cinderlib (Managed Block Storage) does not use openstack at all, we 
> have an example of how to add ceph in the feature page[1]
>
> and docs have instructions on how to set it up[2]
>
>
>
>
>
> [1] 
> https://www.ovirt.org/develop/release-management/features/storage/cind
> erlib-integration.html
>
> [2] 
> https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_m
> anager_with_local_databases/#Set_up_Cinderlib
>
>
>
> On Mon, Sep 13, 2021 at 2:43 PM Tommy Sway  wrote:
>
> You mean to configure ceph in Cinder pages must be connected to real 
> openstack?
>
> Can ceph be connected to a Managed Block page by simply linking to cenderlib 
> files without accessing the actual openstack?
>
>
>
> I am very interested in this section, can you send some related guide 
> documents?
>
> Thank you very much!
>
>
>
>
>
>
>
>
>
> From: Benny Zlotnik 
> Sent: Monday, September 13, 2021 7:27 PM
> To: Tommy Sway 
> Cc: users 
> Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?
>
>
>
> cinder uses an actual openstack environment setup with cinder, 
> cinderlib does not require it
>
>
>
> On Mon, Sep 13, 2021 at 2:17 PM Tommy Sway  wrote:
>
>
>
> What's the difference between cender page and Managed Block page ?
>
> If  have to connect them through cinderlib,why not put them all under 
> cinder page ?
>
>
>
>
>
>
>
> From: Benny Zlotnik 
> Sent: Monday, September 13, 2021 6:14 PM
> To: Tommy Sway 
> Cc: users 
> Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?
>
>
>
> yes, we support ceph via cinderlib, so in theory any vendor with a 
> storage driver for cinder can work, but we only test ceph
>
>
>
> On Mon, Sep 13, 2021 at 1:06 PM Tommy Sway  wrote:
>
> On the create disk page, there is option to create disk that is from managed 
> block, I want wo know what’s kind of it ?  Ceph block device ?
>
>
>
> Thanks!
>
>
>
>
>
> ___
> 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/RSQSTL5S
> R5TE6DKAJZ

[ovirt-users] Re: oVirt 4.3 DWH with Grafana

2021-09-14 Thread Tommy Sway
The oVirt version I'm using is 4.3, and I get an error when I import JSON.

pq: relation"v4_4_latest_configuration_datacenters" does not exist.

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Michal 
Gutowski
Sent: Wednesday, November 25, 2020 12:26 AM
To: Vrgotic, Marko 
Cc: users@ovirt.org
Subject: [ovirt-users] Re: oVirt 4.3 DWH with Grafana

 

Hi Marko,





I've tested this myself as I like playing with various Grafana use-cases and 
following steps allow you to set up Grafana Monitoring for your oVirt 4.3 
environment and re-use all Grafana Dashboards from latest oVirt 4.4 on a 
previous release.

 

1. Allowing Grafana to connect to oVirt DWH database (Data Warehouse)

 

Login to the oVirt engine 4.3 and create a user "grafana" with password 
"grafana" that will get a read-only access to the ovirt_engine_history database 
and will be able to use public schema

 

# su - postgres -c 'scl enable rh-postgresql10 bash'

# psql -U postgres -c "CREATE ROLE grafana WITH LOGIN ENCRYPTED PASSWORD 
'grafana';" -d ovirt_engine_history

# psql -U postgres -c "GRANT CONNECT ON DATABASE ovirt_engine_history TO 
grafana;"

# psql -U postgres -c "GRANT USAGE ON SCHEMA public TO grafana;" 
ovirt_engine_history

 

Generate the rest of the permissions that will be granted to the newly created 
user and save them to a file:

 

# psql -U postgres -c "SELECT 'GRANT SELECT ON ' || relname || ' TO grafana;' 
FROM pg_class JOIN pg_namespace ON pg_namespace.oid = pg_class.relnamespace 
WHERE nspname = 'public' AND relkind IN ('r', 'v');" --pset=tuples_only=on  
ovirt_engine_history > grant.sql

 

Use the file you created in the previous step to grant permissions to the newly 
created user:

# psql -U postgres -f grant.sql ovirt_engine_history

 

Remove the file you used to grant permissions:

# rm grant.sql

 

Exit the postgres user shell by pressing Ctrl+d

 

Add the following lines for the newly created user to 
/var/opt/rh/rh-postgresql10/lib/pgsql/data/pg_hba.conf preceding the line 
beginning local all all

 

hostovirt_engine_history grafana 0.0.0.0/0   md5

hostovirt_engine_history grafana ::0/0   md5

 

Reload postgres service

# systemctl reload rh-postgresql10-postgresql

 

2. Installing Grafana

 

You can install Grafana directly on the oVirt Engine machine (this is how it's 
done in oVirt 4.4) or on a separate machine. Following steps shows how you can 
install Grafana on a Oracle Linux 7 server. Note: Oracle provides Grafana in 
the OLCNE yum repository - you only need to install the repository definition 
package to pickup Grafana and it's dependencies.

 

# yum install oraclelinux-release-el7

# yum install oracle-olcne-release-el7

# yum-config-manager --enable ol7_optional_latest ol7_olcne11

# yum install grafana

# systemctl enable --now grafana-server

 

3. Adding oVirt DWH database as Data Source in Grafana

 

Login to Grafana (default port 3000) and navigate to Configuration -> 
DataSources and click on Add Data Source button.

 

Select PostgreSQL source and use the following settings (adjust the Host IP 
address to match your oVirt Engine IP but do not change the Name):

Name: oVirt DWH

Host: your-engine-ip-address:5432

user: grafana

pass: grafana

SSL mode: disable

 

4. Importing Dashboards from oVirt 4.4

 

Download Grafana Dashboards from oVirt 4.4 repository: 
https://github.com/oVirt/ovirt-dwh/tree/master/packaging/conf/grafana-dashboards

 

You can now import them in Grafana by navigating to Create -> Import and 
clicking on Upload .json file or by simply pasting JSON content.

 

I've tested this on my OLVM/oVirt 4.3 and works perfectly well.

 

Have fun!

Michal





Michał Gutowski

Principal Solutions Engineer, EMEA 

+48 665 222 979

 

Oracle Open Cloud Infrastructure Software - Linux & Virtualization





On 24 Nov 2020, at 11:53, Vrgotic, Marko mailto:m.vrgo...@activevideo.com> > wrote:

 

Dear oVirt folks,

 

Thank you all for suggestions.

 

I will give it a go and see how far I get.

 

-

kind regards/met vriendelijke groeten

 

Marko Vrgotic
Sr. System Engineer @ System Administration


ActiveVideo

o: +31 (35) 6774131

m: +31 (65) 5734174

e:   m.vrgo...@activevideo.com
w:  

 www.activevideo.com

 

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or 

[ovirt-users] Re: oVirt Monitoring Alerts via Grafana

2021-09-14 Thread Tommy Sway
I see. Thank you.

 

 

 

 

From: ybard...@redhat.com  On Behalf Of Yedidyah Bar David
Sent: Tuesday, September 14, 2021 2:20 PM
To: Tommy Sway 
Cc: Aviv Litman ; users ; Shirly Radco 

Subject: Re: [ovirt-users] Re: oVirt Monitoring Alerts via Grafana

 

On Tue, Sep 14, 2021 at 9:12 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Thanks for your article!

My Ovirt system does not show a monitoring portal. How do I integrate Grafana 
into my Ovirt portal?

The configuration doesn't seem to have the Grafana option even after the 
reinstallation:

 

[root@olvmm ~]# engine-setup --reconfigure-optional-components

[ INFO  ] Stage: Initializing

[ INFO  ] Stage: Environment setup

  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']

  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210914135829-rigduk.log

  Version: otopi-1.8.4 (otopi-1.8.4-1.el7)

 

It seems like you use 4.3, based on otopi version. Grafana integration was 
added in 4.4.

 

Best regards,

-- 

Didi

___
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/HQBUZF2WTHKTCJDG5EWDUXFRTKT36FRN/


[ovirt-users] Re: oVirt Monitoring Alerts via Grafana

2021-09-14 Thread Tommy Sway
Thanks for your article!

My Ovirt system does not show a monitoring portal. How do I integrate Grafana 
into my Ovirt portal?

The configuration doesn't seem to have the Grafana option even after the 
reinstallation:

 

[root@olvmm ~]# engine-setup --reconfigure-optional-components

[ INFO  ] Stage: Initializing

[ INFO  ] Stage: Environment setup

  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']

  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210914135829-rigduk.log

  Version: otopi-1.8.4 (otopi-1.8.4-1.el7)

[ INFO  ] Stage: Environment packages setup

[ INFO  ] Stage: Programs detection

[ INFO  ] Stage: Environment setup (late)

[ INFO  ] Stage: Environment customization

 

  --== PRODUCT OPTIONS ==--

 

[ INFO  ] ovirt-provider-ovn already installed, skipping.

 

  --== PACKAGES ==--

 

[ INFO  ] Checking for product updates...

[ INFO  ] No product updates found

 

  --== NETWORK CONFIGURATION ==--

 

[WARNING] Host name olvmm has no domain suffix

[WARNING] Failed to resolve olvmm using DNS, it can be resolved only locally

  Setup can automatically configure the firewall on this system.

  Note: automatic configuration of the firewall may overwrite current 
settings.

  NOTICE: iptables is deprecated and will be removed in future releases

  Do you want Setup to configure the firewall? (Yes, No) [Yes]:

[ INFO  ] firewalld will be configured as firewall manager.

[WARNING] Host name olvmm has no domain suffix

[WARNING] Host name olvmm has no domain suffix

[WARNING] Host name olvmm has no domain suffix

 

  --== DATABASE CONFIGURATION ==--

 

  The detected DWH database size is 199 MB.

  Setup can backup the existing database. The time and space required 
for the database backup depend on its size. This process takes time, and in 
some cases (for instance, when the size is few GBs) may take several hours to 
complete.

  If you choose to not back up the database, and Setup later fails for 
some reason, it will not be able to restore the database and all DWH data will 
be lost.

  Would you like to backup the existing database before upgrading it? 
(Yes, No) [Yes]: No

[WARNING] Are you sure you do not want to backup the DWH database?

  A positive reply makes sense only if you do not need the data in DWH, 
or have some other, external means to restore it to a working state.

  Are you sure you do not want to backup the DWH database?(Yes, No) 
[No]: No

  The DWH Database will be backed up prior to upgrade.

  Perform full vacuum on the oVirt engine history

  database ovirt_engine_history@localhost?

  This operation may take a while depending on this setup health and the

  configuration of the db vacuum process.

  See https://www.postgresql.org/docs/10/sql-vacuum.html

  (Yes, No) [No]:

 

  --== OVIRT ENGINE CONFIGURATION ==--

 

  Perform full vacuum on the engine database engine@localhost?

  This operation may take a while depending on this setup health and the

  configuration of the db vacuum process.

  See https://www.postgresql.org/docs/10/sql-vacuum.html

  (Yes, No) [No]:

 

  --== STORAGE CONFIGURATION ==--

 

 

  --== PKI CONFIGURATION ==--

 

 

  --== APACHE CONFIGURATION ==--

 

 

  --== SYSTEM CONFIGURATION ==--

 

 

  --== MISC CONFIGURATION ==--

 

 

  --== END OF CONFIGURATION ==--

 

[ INFO  ] Stage: Setup validation

  During execution engine service will be stopped (OK, Cancel) [OK]:

[WARNING] Less than 16384MB of memory is available

[ INFO  ] Cleaning stale zombie tasks and commands

 

  --== CONFIGURATION PREVIEW ==--

 

  Default SAN wipe after delete   : False

  Firewall manager: firewalld

  Update Firewall : True

  Host FQDN   : olvmm

  CinderLib database secured connection   : False

  CinderLib database user name: ovirt_cinderlib

  CinderLib database name : ovirt_cinderlib

  CinderLib database host : localhost

  CinderLib database port : 5432

  CinderLib database host name validation : False

  Set up Cinderlib integration: True

  Engine database secured connection  : False

  Engine database user name   : engine

  Engine database name: engine

  Engine database host: localhost

  Engine database port: 5432


[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-13 Thread Tommy Sway
Thank you very much!

I read the documentation and found out that you are one of the authors of this 
feature! I guess I asked the right person.

After installed the CinderLib as you mentioned in the second link, do I still 
need to run engine setup and integrate CinderLib to use Managed Block ?

 

 

[root@olvmm ~]#  engine-setup --reconfigure-optional-components

[ INFO  ] Stage: Initializing

[ INFO  ] Stage: Environment setup

  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']

  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210914130015-1qjhwx.log

  Version: otopi-1.8.4 (otopi-1.8.4-1.el7)

[ INFO  ] Stage: Environment packages setup

[ INFO  ] Stage: Programs detection

[ INFO  ] Stage: Environment setup (late)

[ INFO  ] Stage: Environment customization

 

 --== PRODUCT OPTIONS ==--

 

  Set up Cinderlib integration

  (Currently in tech preview)

  (Yes, No) [No]: Yes

[ INFO  ] ovirt-provider-ovn already installed, skipping.

 

 

 

 

From: Benny Zlotnik  
Sent: Monday, September 13, 2021 9:20 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

cinderlib (Managed Block Storage) does not use openstack at all, we have an 
example of how to add ceph in the feature page[1]

and docs have instructions on how to set it up[2]

 

 

[1] 
https://www.ovirt.org/develop/release-management/features/storage/cinderlib-integration.html

[2] 
https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/#Set_up_Cinderlib

 

On Mon, Sep 13, 2021 at 2:43 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

You mean to configure ceph in Cinder pages must be connected to real openstack?

Can ceph be connected to a Managed Block page by simply linking to cenderlib 
files without accessing the actual openstack?

 

I am very interested in this section, can you send some related guide documents?

Thank you very much!

 

 

 

 

From: Benny Zlotnik mailto:bzlot...@redhat.com> > 
Sent: Monday, September 13, 2021 7:27 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

cinder uses an actual openstack environment setup with cinder, cinderlib does 
not require it

 

On Mon, Sep 13, 2021 at 2:17 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

 

What's the difference between cender page and Managed Block page ?

If  have to connect them through cinderlib,why not put them all under cinder 
page ?

 

 

 

From: Benny Zlotnik mailto:bzlot...@redhat.com> > 
Sent: Monday, September 13, 2021 6:14 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

yes, we support ceph via cinderlib, so in theory any vendor with a storage 
driver for cinder can work, but we only test ceph

 

On Mon, Sep 13, 2021 at 1:06 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

On the create disk page, there is option to create disk that is from managed 
block, I want wo know what’s kind of it ?  Ceph block device ?

 

Thanks!

 

 



___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/RSQSTL5SR5TE6DKAJZLECVI52OW6ZLXZ/

___
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/GVP6IKVSQWE4PZRSYNYQ3EZEUZZF6DUW/


[ovirt-users] about the cloud-init options on the vm portal

2021-09-13 Thread Tommy Sway
It seems that the options for cloud-init in the VM portal interface are only
host name and SSH key, other options that can be seen in the administrator
interface are not visible.

Is there a solution to this problem?

 

Thanks!

 

 

___
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/U5TA52XNWFTHNEAYQOPOYWWAVKDTMCH7/


[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-13 Thread Tommy Sway
Great!

 

Thank you!

 

 

 

 

From: Benny Zlotnik  
Sent: Monday, September 13, 2021 9:20 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

cinderlib (Managed Block Storage) does not use openstack at all, we have an 
example of how to add ceph in the feature page[1]

and docs have instructions on how to set it up[2]

 

 

[1] 
https://www.ovirt.org/develop/release-management/features/storage/cinderlib-integration.html

[2] 
https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/#Set_up_Cinderlib

 

On Mon, Sep 13, 2021 at 2:43 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

You mean to configure ceph in Cinder pages must be connected to real openstack?

Can ceph be connected to a Managed Block page by simply linking to cenderlib 
files without accessing the actual openstack?

 

I am very interested in this section, can you send some related guide documents?

Thank you very much!

 

 

 

 

From: Benny Zlotnik mailto:bzlot...@redhat.com> > 
Sent: Monday, September 13, 2021 7:27 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

cinder uses an actual openstack environment setup with cinder, cinderlib does 
not require it

 

On Mon, Sep 13, 2021 at 2:17 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

 

What's the difference between cender page and Managed Block page ?

If  have to connect them through cinderlib,why not put them all under cinder 
page ?

 

 

 

From: Benny Zlotnik mailto:bzlot...@redhat.com> > 
Sent: Monday, September 13, 2021 6:14 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

yes, we support ceph via cinderlib, so in theory any vendor with a storage 
driver for cinder can work, but we only test ceph

 

On Mon, Sep 13, 2021 at 1:06 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

On the create disk page, there is option to create disk that is from managed 
block, I want wo know what’s kind of it ?  Ceph block device ?

 

Thanks!

 

 



___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/RSQSTL5SR5TE6DKAJZLECVI52OW6ZLXZ/

___
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/S3ANTWDGETVGS7CTWRBN2CZZPVSDJTSU/


[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-13 Thread Tommy Sway
You mean to configure ceph in Cinder pages must be connected to real openstack?

Can ceph be connected to a Managed Block page by simply linking to cenderlib 
files without accessing the actual openstack?

 

I am very interested in this section, can you send some related guide documents?

Thank you very much!

 

 

 

 

From: Benny Zlotnik  
Sent: Monday, September 13, 2021 7:27 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

cinder uses an actual openstack environment setup with cinder, cinderlib does 
not require it

 

On Mon, Sep 13, 2021 at 2:17 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

 

What's the difference between cender page and Managed Block page ?

If  have to connect them through cinderlib,why not put them all under cinder 
page ?

 

 

 

From: Benny Zlotnik mailto:bzlot...@redhat.com> > 
Sent: Monday, September 13, 2021 6:14 PM
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

yes, we support ceph via cinderlib, so in theory any vendor with a storage 
driver for cinder can work, but we only test ceph

 

On Mon, Sep 13, 2021 at 1:06 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

On the create disk page, there is option to create disk that is from managed 
block, I want wo know what’s kind of it ?  Ceph block device ?

 

Thanks!

 

 



___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/RSQSTL5SR5TE6DKAJZLECVI52OW6ZLXZ/

___
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/YJ3LXLAYWWT7S3FIXWNFWULS6SHVWZY5/


[ovirt-users] Re: what kind of managed block can oVirt manage ?

2021-09-13 Thread Tommy Sway
 

What's the difference between cender page and Managed Block page ?

If  have to connect them through cinderlib,why not put them all under cinder 
page ?

 

 

 

From: Benny Zlotnik  
Sent: Monday, September 13, 2021 6:14 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] what kind of managed block can oVirt manage ?

 

yes, we support ceph via cinderlib, so in theory any vendor with a storage 
driver for cinder can work, but we only test ceph

 

On Mon, Sep 13, 2021 at 1:06 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:

On the create disk page, there is option to create disk that is from managed 
block, I want wo know what’s kind of it ?  Ceph block device ?

 

Thanks!

 

 



___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/RSQSTL5SR5TE6DKAJZLECVI52OW6ZLXZ/

___
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/4UGHLX6YA3Z32HOM662PN33ZK5GY625M/


[ovirt-users] what kind of managed block can oVirt manage ?

2021-09-13 Thread Tommy Sway
On the create disk page, there is option to create disk that is from managed
block, I want wo know what's kind of it ?  Ceph block device ?

 

Thanks!

 

 



___
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/RSQSTL5SR5TE6DKAJZLECVI52OW6ZLXZ/


[ovirt-users] Is there a features comparison between oVirt and Opentack ?

2021-08-29 Thread Tommy Sway
It is best to use a table to list the functional differences in detail.

 

 

Thanks.

___
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/TQWRMCTRMYO5KDMROV2KXZVWCZSDZCOH/


[ovirt-users] Re: [External] : Re: about the hugepage setting of the KVM server

2021-08-26 Thread Tommy Sway
I use the ovirt-node, and I configured HUGEPAGE on the VM, and does not
configure the HUGEPAGE on the KVM host.

 

The THP I don't configure anything about it, and after configure the
HUGEPAGE on the vm, there is no report.

 

I don't know which method is the best.

 

 

 

 

 

From: Marcos Sungaila  
Sent: Thursday, August 26, 2021 9:13 PM
To: Tommy Sway ; users@ovirt.org
Subject: RE: [External] : [ovirt-users] Re: about the hugepage setting of
the KVM server

 

Hi Tommy,

 

I have no simple answer to your question since I did not need this before,
but some questions may help us understand how it is currently working.

1st- Are you using an ovirt-node or an OS+vdsm as a hypervisor?

2nd- Did you enabled huge pages on the VM OS?

3rd- Did you check on the hypervisor OS if transparent hugepages (THP) is
enabled? And if, after enabling/configuring hugepages in the VM, it is
reporting hugepages are in use in the host?

 

Marcos

 

From: Tommy Sway mailto:sz_cui...@163.com> > 
Sent: quinta-feira, 26 de agosto de 2021 04:49
To: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [External] : [ovirt-users] Re: about the hugepage setting of the
KVM server

 

Anyone can help me ?

 

From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>
mailto:users-boun...@ovirt.org> > On Behalf Of
Tommy Sway
Sent: Thursday, August 26, 2021 12:27 AM
To: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] about the hugepage setting of the KVM server

 

Hi:

 

I am running virtual machines on the KVM servers of oVirt env. The virtual
machine is running  database, which needs to set the memory huge page on the
OPERATING system of the virtual machine. 

If I need to set the huge page on the VIRTUAL machine, do I also need to set
huge page on the KVM physical machine? Or just on the virtual machine? 

 

What best practices do you recommend? 

 

Thank you very much!

___
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/UC22X63AAT5LFJNGQQ6KMVZ4RHHUAMZT/


[ovirt-users] Re: about the hugepage setting of the KVM server

2021-08-26 Thread Tommy Sway
Thank you for your reply!

 

In fact, large page memory is mainly used for the SGA area of Oracle database. 
As you mentioned, large page memory is not used for other places except SGA. 

Therefore, WHEN allocating virtual machine memory, I will consider using fixed 
large page memory and ordinary memory to allocate.

 

But it's worth revisiting my confusion:

First, if I need to allocate large page memory to my virtual machine, do I need 
to specify large page memory on the physical machine it is located on first ? 

Otherwise, if the physical machine is not suitable, just assign large page 
memory to the virtual machine, is that ok?

I see from your document, it is set to the physical machine first huge page 
memory, is through the kernel parameter way to set.

 

Second, whether it is a physical machine or a virtual machine, once the large 
page memory is set, does it mean that the memory is divided into two areas, 

one is the normal 4K size area, the other is the large page memory area, for 
the application that uses them can only choose one of the two, can not mix, 
right? 

If so, I need to make a strict distinction between these applications, evaluate 
which use large page memory and which use plain memory, 

and plan for capacity to prevent overflow of memory requirements.

 

 

 

 

From: Gianluca Cecchi  
Sent: Thursday, August 26, 2021 5:07 PM
To: Tommy Sway ; users 
Subject: Re: [ovirt-users] Re: about the hugepage setting of the KVM server

 

On Thu, Aug 26, 2021 at 9:50 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

 

Hi:

 

I am running virtual machines on the KVM servers of oVirt env. The virtual 
machine is running  database, which needs to set the memory huge page on the 
OPERATING system of the virtual machine. 

If I need to set the huge page on the VIRTUAL machine, do I also need to set 
huge page on the KVM physical machine? Or just on the virtual machine? 

 

What best practices do you recommend? 

 

Thank you very much!

 

I think that this is still the reference for 4.4

https://mpolednik.github.io/2017/06/26/hugepages-and-ovirt/

 

The downside, if I'm correct, is that you will allocate as huge pages all the 
memory of the virtual machine and not only what potentially needed.

Coming to your example of database VM: I want to allocate 32Gb as huge pages in 
a VM because that would be the memory assigned to the DB instance. But the VM 
for its work (user processes of the connections and other needs) will be 
configured as a 64Gb ram VM.

In that case you "waste" 32Gb of huge pages allocation on the host, that you 
would prefer to be instead as normal pages

 

Gianluca

___
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/3QDZLVOQMJGEB2AWPPSLEXL7OROXMTFQ/


[ovirt-users] Re: about the hugepage setting of the KVM server

2021-08-26 Thread Tommy Sway
Anyone can help me ?

 

From: users-boun...@ovirt.org  On Behalf Of Tommy
Sway
Sent: Thursday, August 26, 2021 12:27 AM
To: users@ovirt.org
Subject: [ovirt-users] about the hugepage setting of the KVM server

 

Hi:

 

I am running virtual machines on the KVM servers of oVirt env. The virtual
machine is running  database, which needs to set the memory huge page on the
OPERATING system of the virtual machine. 

If I need to set the huge page on the VIRTUAL machine, do I also need to set
huge page on the KVM physical machine? Or just on the virtual machine? 

 

What best practices do you recommend? 

 

Thank you very much!

___
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/BEME44FDS2RXRSEIZ2FGRD3QKCW46SZ4/


[ovirt-users] about the hugepage setting of the KVM server

2021-08-25 Thread Tommy Sway
Hi:

 

I am running virtual machines on the KVM servers of oVirt env. The virtual
machine is running  database, which needs to set the memory huge page on the
OPERATING system of the virtual machine. 

If I need to set the huge page on the VIRTUAL machine, do I also need to set
huge page on the KVM physical machine? Or just on the virtual machine? 

 

What best practices do you recommend? 

 

Thank you very much!

___
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/6HGGSGYAHAHEV44R43M4FLK6BULUX2HX/


[ovirt-users] Re: [External] : Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Tommy Sway
Ok,thanks!



-Original Message-
From: Marcos Sungaila  
Sent: Wednesday, August 25, 2021 1:39 AM
To: Tommy Sway ; 'Liran Rotenberg' 
Cc: users@ovirt.org
Subject: RE: [ovirt-users] Re: [External] : Re: what difference between the 
Cloud-Init Network Protocol options ?

Once the KVM host is part of an oVirt cluster, many interactions come from the 
VDSM service.
It would help if you used a different KVM host for this kind of procedure.

Marcos

-Original Message-
From: Tommy Sway 
Sent: terça-feira, 24 de agosto de 2021 14:10
To: Marcos Sungaila ; 'Liran Rotenberg' 

Cc: users@ovirt.org
Subject: [ovirt-users] Re: [External] : Re: what difference between the 
Cloud-Init Network Protocol options ?

If so, can I still run it on KVM Server fn the oVirt platform?
It seems that a lot of oVirt's configuration information is not stored in 
QUEMU's configuration file like ordinary KVM SERVER, but in the database. Does 
this still work?



-Original Message-
From: Marcos Sungaila 
Sent: Wednesday, August 25, 2021 12:55 AM
To: Liran Rotenberg ; Tommy Sway 
Cc: users@ovirt.org
Subject: RE: [External] : [ovirt-users] Re: what difference between the 
Cloud-Init Network Protocol options ?

One important thing, you run the virt-sysprep command on the KVM host 
indicating the VM name to seal, you do not run it inside a VM.
It is not like the sysprep command on a Windows machine.

Marcos

-Original Message-
From: Liran Rotenberg 
Sent: terça-feira, 24 de agosto de 2021 12:56
To: Tommy Sway 
Cc: users@oVirt.org
Subject: [External] : [ovirt-users] Re: what difference between the Cloud-Init 
Network Protocol options ?

On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the 
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing option. 
In the bottom line it will run virt-sysprep with the parameters we thought are 
right.
Note the documentation in the thread, for windows OS you will need to do it 
manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://urldefense.com/v3/__https://www.ovirt.org/develop/release-mana
> gement/features/virt/virt-sysprep.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6i
> sDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdze6OUMY$
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://urldefense.com/v3/__https://libguestfs.org/virt-sysprep.1.html
> __;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walS
> mLU6F8JySXdosCfIz8$
>
>
>
> As for windows:
>
> https://urldefense.com/v3/__https://docs.microsoft.com/en-us/windows-h
> ardware/manufacture/desktop/sysprep--generalize--a-windows-installatio
> n__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-wal
> SmLU6F8JySXdXvrseps$
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific 

[ovirt-users] Re: [External] : Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Tommy Sway
If so, can I still run it on KVM Server fn the oVirt platform?
It seems that a lot of oVirt's configuration information is not stored in 
QUEMU's configuration file like ordinary KVM SERVER, but in the database. Does 
this still work?



-Original Message-
From: Marcos Sungaila  
Sent: Wednesday, August 25, 2021 12:55 AM
To: Liran Rotenberg ; Tommy Sway 
Cc: users@ovirt.org
Subject: RE: [External] : [ovirt-users] Re: what difference between the 
Cloud-Init Network Protocol options ?

One important thing, you run the virt-sysprep command on the KVM host 
indicating the VM name to seal, you do not run it inside a VM.
It is not like the sysprep command on a Windows machine.

Marcos

-Original Message-
From: Liran Rotenberg 
Sent: terça-feira, 24 de agosto de 2021 12:56
To: Tommy Sway 
Cc: users@oVirt.org
Subject: [External] : [ovirt-users] Re: what difference between the Cloud-Init 
Network Protocol options ?

On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the 
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing option. 
In the bottom line it will run virt-sysprep with the parameters we thought are 
right.
Note the documentation in the thread, for windows OS you will need to do it 
manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://urldefense.com/v3/__https://www.ovirt.org/develop/release-mana
> gement/features/virt/virt-sysprep.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6i
> sDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdze6OUMY$
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://urldefense.com/v3/__https://libguestfs.org/virt-sysprep.1.html
> __;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walS
> mLU6F8JySXdosCfIz8$
>
>
>
> As for windows:
>
> https://urldefense.com/v3/__https://docs.microsoft.com/en-us/windows-h
> ardware/manufacture/desktop/sysprep--generalize--a-windows-installatio
> n__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-wal
> SmLU6F8JySXdXvrseps$
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific details.
> > You may find this link handy for sealing:
> > https://urldefense.com/v3/__https://access.redhat.com/documentation/
> > en-us/red_hat_virtualization/4.4/html/virtual_machine_management_gui
> > de/chap-templates__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLa
> > uWNhglwbS9fr0p-walSmLU6F8JySXdFW1of34$
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg 
> > > Sent: Sunday, August 22, 2021 10:46 PM
> > > To: Tommy Sway 
> > > Cc: Eitan Raviv ; users@ovirt.org
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > Network Protocol o

[ovirt-users] Re: [External] : about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Tommy Sway
Thank you!

But where to set in on oVirt Platform when I create the VM ?



-Original Message-
From: Marcos Sungaila  
Sent: Tuesday, August 24, 2021 9:10 PM
To: Tommy Sway ; users@ovirt.org
Subject: RE: [External] : [ovirt-users] about the network name rules on
CentOS/Redhat 8 and the cloud-init network interface name

The naming convention is called BiosDevName and was introduced in kernel
2.6.27. It is defined by the OS kernel you are using in the guest. It is not
related to oVirt itself or the KVM host.
In my case, I install my VMs passing "biosdevname=0 net.ifnames=0" during
the OS installation process, so all my VMs have ethX name style to make it
easier to use cloud-init and other scripts.

Marcos

From: Tommy Sway  
Sent: terça-feira, 24 de agosto de 2021 05:57
To: users@ovirt.org
Subject: [External] : [ovirt-users] about the network name rules on
CentOS/Redhat 8 and the cloud-init network interface name

Everybody is good!
As you all know, to use the client's network card name in cloud-init, you
must fill in the exact name of the network card interface. 
This was easy in version 7 and before, which usually started with EN0. 

After version 8, however, the naming conventions for network cards changed a
lot. In my own test environment, for example, I started with ENS3.
I'm not sure what naming convention it uses, which would make it impossible
to specify nic information using cloud-init. 

Could you help me explain how to deal with this problem?
Thank you very much!

___
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/AZZGRDFPJ77FMJA4HJCEXR6PPOWIMVDR/


[ovirt-users] Re: about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Tommy Sway
Great!

 

Thank you!

 

 

 

From: Ales Musil  
Sent: Tuesday, August 24, 2021 7:00 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] about the network name rules on CentOS/Redhat 8 and 
the cloud-init network interface name

 

 

 

On Tue, Aug 24, 2021 at 12:59 PM Ales Musil mailto:amu...@redhat.com> > wrote:

 

 

On Tue, Aug 24, 2021 at 11:17 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Everybody is good!

As you all know, to use the client's network card name in cloud-init, you must 
fill in the exact name of the network card interface. 

This was easy in version 7 and before, which usually started with EN0. 

 

After version 8, however, the naming conventions for network cards changed a 
lot. In my own test environment, for example, I started with ENS3.

I'm not sure what naming convention it uses, which would make it impossible to 
specify nic information using cloud-init. 

 

Could you help me explain how to deal with this problem?

Thank you very much!

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto: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/L6LPAKYOUYPMPH45D2PFJETNLXS6BMSJ/

 

 

Hi,

 

this is called Predictable Network Names and it is the default policy for net 
interface naming in el8. There are a couple tricks you can do to mitigate that,

you can disable it, or predict the name based on your configuration PCI slot 
etc [0]. There is a documentation for RHEL that explains it [1].

There is also another option and that's using a custom udev rule to assign 
whatever name you want based on some identifiers like MAC, PCI addr etc.

 

Hopefully this helps.

 

Best regards,

Ales

 

 

Forgot the links:

 

[0] 
https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html

[1] 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/consistent-network-interface-device-naming_configuring-and-managing-networking

 

-- 

Ales Musil 

Software Engineer - RHV Network 

 <https://www.redhat.com> Red Hat EMEA 

 <mailto:amu...@redhat.com> amu...@redhat.comIM: amusil 


 <https://red.ht/sig> 



-- 

Ales Musil 

Software Engineer - RHV Network 

 <https://www.redhat.com> Red Hat EMEA 

 <mailto:amu...@redhat.com> amu...@redhat.comIM: amusil 


 <https://red.ht/sig> 

 

___
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/UXCFKHVQE5FTS7GTSJDG6MGQEQOAGK3Q/


[ovirt-users] about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Tommy Sway
Everybody is good!

As you all know, to use the client's network card name in cloud-init, you
must fill in the exact name of the network card interface. 

This was easy in version 7 and before, which usually started with EN0. 

 

After version 8, however, the naming conventions for network cards changed a
lot. In my own test environment, for example, I started with ENS3.

I'm not sure what naming convention it uses, which would make it impossible
to specify nic information using cloud-init. 

 

Could you help me explain how to deal with this problem?

Thank you very much!

___
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/L6LPAKYOUYPMPH45D2PFJETNLXS6BMSJ/


[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-23 Thread Tommy Sway
Thank you very much! 

 

However, if you use virt-Sysprep, you need to use this tool to complete 
template creation inside the VM to be created. Using oVirt's own template 
encapsulation option, however, does not require you to log in to the VM to run 
similar commands. It's just that using the Virt-Sysprep tool gives you more 
autonomy and options to choose from, whereas oVirt's own template encapsulation 
options are fixed and you can't personalize more options.

 

Am I getting that right?

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Liran 
Rotenberg
Sent: Monday, August 23, 2021 5:23 PM
To: Tommy Sway 
Cc: users@ovirt.org
Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
Protocol options ?

 



On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:
>
> I have read the document you gave me, but can you list what specific 
> information was deleted by the sealing action?
Yes, it was more about how to do it.

Here are some more detailed links:
https://www.ovirt.org/develop/release-management/features/virt/virt-sysprep.html

 

Our linux sealing uses virt-sysprep:

https://libguestfs.org/virt-sysprep.1.html

 

As for windows:

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--generalize--a-windows-installation
>
>  
>
> Thanks!
>
>  
>
>  
>
>  
>
>  
>
>  
>
> From: Liran Rotenberg mailto:lrote...@redhat.com> >
> Sent: Sunday, August 22, 2021 11:33 PM
> To: Tommy Sway mailto:sz_cui...@163.com> >
> Cc: Eitan Raviv mailto:era...@redhat.com> >; 
> users@ovirt.org <mailto:users@ovirt.org> 
> Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>  
>
>
>
> On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  <mailto:sz_cui...@163.com> > wrote:
> >
> > I see. Can I just ask again, I've seen this option when you're referring to 
> > sealed Linux, but I don't understand what it means? What is a sealed Linux, 
> > and how is it different from a non-sealed Linux? Can you explain, thank you!
> >
> Usually you make a template sealed and create multiple VMs from it. The 
> sealing is clearing system specific details.
> You may find this link handy for sealing:
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/virtual_machine_management_guide/chap-templates
> >
> >
> > -Original Message-
> > From: Liran Rotenberg mailto:lrote...@redhat.com> >
> > Sent: Sunday, August 22, 2021 10:46 PM
> > To: Tommy Sway mailto:sz_cui...@163.com> >
> > Cc: Eitan Raviv mailto:era...@redhat.com> >; 
> > users@ovirt.org <mailto:users@ovirt.org> 
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> > On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  > <mailto:sz_cui...@163.com> > wrote:
> > >
> > > What I want to know is if I use openstack metadata, do I need to 
> > > configure any additional information related to openstack?  For example, 
> > > do I need to set up an openstack node as an external provider to use 
> > > cloud-init services based on it?
> > >
> > Not that I am aware of. It's just the protocol cloud-init will read the 
> > network information provided.
> > You can set it via API/UI. Or, to set it within the custom script.
> > Bottom line you need:
> > A VM with cloud-init installed, service is running and enabled.
> > Set the configuration you wish to set.
> > If it's a first boot (usually a sealed VM) you can run the VM as you wish.
> > If it's not the first boot, you will need to set the configuration within 
> > the Run-Once and run the VM as Run-Once.
> >
> > I hope it helps to your question,
> > Liran
> > >
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg mailto:lrote...@redhat.com> >
> > > Sent: Sunday, August 22, 2021 4:01 PM
> > > To: Tommy Sway mailto:sz_cui...@163.com> >; Eitan 
> > > Raviv mailto:era...@redhat.com> >
> > > Cc: users@ovirt.org <mailto:users@ovirt.org> 
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > Network Protocol options ?
> > >
> > > On Sun, Aug 22, 2021 at 9:35 AM Tommy Sway  > > <mailto:sz_cui...@163.com> > wrote:
> > > >
> > > > Any one can help me ?
> > > >
> > > Adding +Eitan Raviv
> > > The general information I can give is that older versions of cloud-init 
> > > support ENI protocol when 

[ovirt-users] Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?

2021-08-23 Thread Tommy Sway
Thank you!

 

 

From: Marcos Sungaila  
Sent: Monday, August 23, 2021 11:39 PM
To: Tommy Sway ; 'wodel youchi' 
Cc: 'users' 
Subject: RE: [ovirt-users] Re: [External] : Re: Is it possible to configure the 
wireless network card on the Linux host as the bridge to provide oVirt for use?

 

Tommy,

 

I remember I used the doc from Debian page as a starting point and adapted to 
Fedora.

I deactivated the NetworkManager on the WLAN interface and prepared many 
commands to add to rc.local.

I remember I had issues with routing when using NAT network (it was a KVM host 
only, not an oVirt instance) despite it woked fine with bridge connections.

 

I will look if I have a copy in my old backups. It was a long time ago.

 

Marcos

 

From: Tommy Sway mailto:sz_cui...@163.com> > 
Sent: segunda-feira, 23 de agosto de 2021 12:05
To: Marcos Sungaila mailto:marcos.sunga...@oracle.com> >; 'wodel youchi' mailto:wodel.you...@gmail.com> >
Cc: 'users' mailto:users@ovirt.org> >
Subject: [ovirt-users] Re: [External] : Re: Is it possible to configure the 
wireless network card on the Linux host as the bridge to provide oVirt for use?

 

Thank you!

 

Could you give me some guide doc ?

 

Moreover, my use environment is only for testing functions and does not involve 
security issues. I just want to make full use of physical resources.

 

 

 

 

From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
mailto:users-boun...@ovirt.org> > On Behalf Of Marcos 
Sungaila
Sent: Monday, August 23, 2021 9:13 PM
To: wodel youchi mailto:wodel.you...@gmail.com> >; 
Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: [ovirt-users] Re: [External] : Re: Is it possible to configure the 
wireless network card on the Linux host as the bridge to provide oVirt for use?

 

Hi Tommy,

 

Two comments for your appreciation:

 

1st: Technically, it is possible. You can configure your wireless network as a 
bridge and use it as you wish. I did it in my laptop a long time ago to test 
KVM instances.

2nd: Taking security in focus, it is not a recommendation to use wireless cards 
in servers. Wireless connections can be easily attacked since there is no need 
for someone to have logical access to your server.

 

Regards,

Marcos

 

From: wodel youchi mailto:wodel.you...@gmail.com> > 
Sent: domingo, 22 de agosto de 2021 07:13
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: [External] : [ovirt-users] Re: Is it possible to configure the 
wireless network card on the Linux host as the bridge to provide oVirt for use?

 

Hi,

In my little experience, no you can't, I tried that a while ago it didn't work, 
there is some old tutorial on Debian but it didn't work for me.

May be what you can do is share you wireless connexion with your wired 
connexion (where you can create your bridge). And play with the firewall to 
expose the ovirt webadmin-ui to your external network.

 

Regards.

 

Le dim. 22 août 2021 à 07:18, Tommy Sway mailto:sz_cui...@163.com> > a écrit :

Thanks!

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto:users-le...@ovirt.org> 
Privacy Statement: https://www.ovirt.org/privacy-policy.html 
<https://urldefense.com/v3/__https:/www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!YVAoniY35SfNqq1-z-lhFHl976QYO4PGRbIPL41gxucocXHJpKQ6R3d4ll_raNFHSKc$>
 
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ 
<https://urldefense.com/v3/__https:/www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!YVAoniY35SfNqq1-z-lhFHl976QYO4PGRbIPL41gxucocXHJpKQ6R3d4ll_r7BCf0K0$>
 
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FRZB5SQD4NOLU5CAFVEUYJWG74H7DHJD/
 
<https://urldefense.com/v3/__https:/lists.ovirt.org/archives/list/users@ovirt.org/message/FRZB5SQD4NOLU5CAFVEUYJWG74H7DHJD/__;!!ACWV5N9M2RV99hQ!YVAoniY35SfNqq1-z-lhFHl976QYO4PGRbIPL41gxucocXHJpKQ6R3d4ll_rVE46sq4$>
 

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


[ovirt-users] Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?

2021-08-23 Thread Tommy Sway
Thank you!

 

Could you give me some guide doc ?

 

Moreover, my use environment is only for testing functions and does not involve 
security issues. I just want to make full use of physical resources.

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Marcos 
Sungaila
Sent: Monday, August 23, 2021 9:13 PM
To: wodel youchi ; Tommy Sway 
Cc: users 
Subject: [ovirt-users] Re: [External] : Re: Is it possible to configure the 
wireless network card on the Linux host as the bridge to provide oVirt for use?

 

Hi Tommy,

 

Two comments for your appreciation:

 

1st: Technically, it is possible. You can configure your wireless network as a 
bridge and use it as you wish. I did it in my laptop a long time ago to test 
KVM instances.

2nd: Taking security in focus, it is not a recommendation to use wireless cards 
in servers. Wireless connections can be easily attacked since there is no need 
for someone to have logical access to your server.

 

Regards,

Marcos

 

From: wodel youchi mailto:wodel.you...@gmail.com> > 
Sent: domingo, 22 de agosto de 2021 07:13
To: Tommy Sway mailto:sz_cui...@163.com> >
Cc: users mailto:users@ovirt.org> >
Subject: [External] : [ovirt-users] Re: Is it possible to configure the 
wireless network card on the Linux host as the bridge to provide oVirt for use?

 

Hi,

In my little experience, no you can't, I tried that a while ago it didn't work, 
there is some old tutorial on Debian but it didn't work for me.

May be what you can do is share you wireless connexion with your wired 
connexion (where you can create your bridge). And play with the firewall to 
expose the ovirt webadmin-ui to your external network.

 

Regards.

 

Le dim. 22 août 2021 à 07:18, Tommy Sway mailto:sz_cui...@163.com> > a écrit :

Thanks!

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto:users-le...@ovirt.org> 
Privacy Statement: https://www.ovirt.org/privacy-policy.html 
<https://urldefense.com/v3/__https:/www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!YVAoniY35SfNqq1-z-lhFHl976QYO4PGRbIPL41gxucocXHJpKQ6R3d4ll_raNFHSKc$>
 
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ 
<https://urldefense.com/v3/__https:/www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!YVAoniY35SfNqq1-z-lhFHl976QYO4PGRbIPL41gxucocXHJpKQ6R3d4ll_r7BCf0K0$>
 
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FRZB5SQD4NOLU5CAFVEUYJWG74H7DHJD/
 
<https://urldefense.com/v3/__https:/lists.ovirt.org/archives/list/users@ovirt.org/message/FRZB5SQD4NOLU5CAFVEUYJWG74H7DHJD/__;!!ACWV5N9M2RV99hQ!YVAoniY35SfNqq1-z-lhFHl976QYO4PGRbIPL41gxucocXHJpKQ6R3d4ll_rVE46sq4$>
 

___
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/QUTXKFS7MOQ6A47OUNJY7EH5O2OVZXNE/


[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-22 Thread Tommy Sway
I have read the document you gave me, but can you list what specific 
information was deleted by the sealing action?

 

Thanks!

 

 

 

 

 

From: Liran Rotenberg  
Sent: Sunday, August 22, 2021 11:33 PM
To: Tommy Sway 
Cc: Eitan Raviv ; users@ovirt.org
Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network 
Protocol options ?

 



On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway mailto:sz_cui...@163.com> > wrote:
>
> I see. Can I just ask again, I've seen this option when you're referring to 
> sealed Linux, but I don't understand what it means? What is a sealed Linux, 
> and how is it different from a non-sealed Linux? Can you explain, thank you!
>
Usually you make a template sealed and create multiple VMs from it. The sealing 
is clearing system specific details.
You may find this link handy for sealing:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/virtual_machine_management_guide/chap-templates
>
>
> -Original Message-
> From: Liran Rotenberg mailto:lrote...@redhat.com> >
> Sent: Sunday, August 22, 2021 10:46 PM
> To: Tommy Sway mailto:sz_cui...@163.com> >
> Cc: Eitan Raviv mailto:era...@redhat.com> >; 
> users@ovirt.org <mailto:users@ovirt.org> 
> Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
> On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  <mailto:sz_cui...@163.com> > wrote:
> >
> > What I want to know is if I use openstack metadata, do I need to configure 
> > any additional information related to openstack?  For example, do I need to 
> > set up an openstack node as an external provider to use cloud-init services 
> > based on it?
> >
> Not that I am aware of. It's just the protocol cloud-init will read the 
> network information provided.
> You can set it via API/UI. Or, to set it within the custom script.
> Bottom line you need:
> A VM with cloud-init installed, service is running and enabled.
> Set the configuration you wish to set.
> If it's a first boot (usually a sealed VM) you can run the VM as you wish.
> If it's not the first boot, you will need to set the configuration within the 
> Run-Once and run the VM as Run-Once.
>
> I hope it helps to your question,
> Liran
> >
> >
> >
> > -Original Message-
> > From: Liran Rotenberg mailto:lrote...@redhat.com> >
> > Sent: Sunday, August 22, 2021 4:01 PM
> > To: Tommy Sway mailto:sz_cui...@163.com> >; Eitan Raviv 
> > mailto:era...@redhat.com> >
> > Cc: users@ovirt.org <mailto:users@ovirt.org> 
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> > On Sun, Aug 22, 2021 at 9:35 AM Tommy Sway  > <mailto:sz_cui...@163.com> > wrote:
> > >
> > > Any one can help me ?
> > >
> > Adding +Eitan Raviv
> > The general information I can give is that older versions of cloud-init 
> > support ENI protocol when network configuration provided while on newer 
> > versions (EL7+, Eitan please correct me if I'm wrong), support the 
> > openstack protocol.
> > The ENI option was added to support the back compatibility of older OSes 
> > and cloud-init versions.
> >
> > Regards,
> > Liran
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
> > > mailto:users-boun...@ovirt.org> > On Behalf Of
> > > Tommy Sway
> > > Sent: Saturday, August 14, 2021 6:18 PM
> > > To: users@ovirt.org <mailto:users@ovirt.org> 
> > > Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> > > Protocol options ?
> > >
> > >
> > >
> > > Any one can help to explain ?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>  
> > > mailto:users-boun...@ovirt.org> > On Behalf Of
> > > Tommy Sway
> > > Sent: Friday, August 13, 2021 12:55 PM
> > > To: users@ovirt.org <mailto:users@ovirt.org> 
> > > Subject: [ovirt-users] what difference between the Cloud-Init Network 
> > > Protocol options ?
> > >
> > >
> > >
> > > What is the difference between Openstack MateData and ENI in the 
> > > cloud-init Network Protocol option? Or what kind of scenarios do they 
> > > apply to?
> > >
> > > ___
> > > Users

[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-22 Thread Tommy Sway
I see. Can I just ask again, I've seen this option when you're referring to 
sealed Linux, but I don't understand what it means? What is a sealed Linux, and 
how is it different from a non-sealed Linux? Can you explain, thank you!



-Original Message-
From: Liran Rotenberg  
Sent: Sunday, August 22, 2021 10:46 PM
To: Tommy Sway 
Cc: Eitan Raviv ; users@ovirt.org
Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network 
Protocol options ?

On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  wrote:
>
> What I want to know is if I use openstack metadata, do I need to configure 
> any additional information related to openstack?  For example, do I need to 
> set up an openstack node as an external provider to use cloud-init services 
> based on it?
>
Not that I am aware of. It's just the protocol cloud-init will read the network 
information provided.
You can set it via API/UI. Or, to set it within the custom script.
Bottom line you need:
A VM with cloud-init installed, service is running and enabled.
Set the configuration you wish to set.
If it's a first boot (usually a sealed VM) you can run the VM as you wish.
If it's not the first boot, you will need to set the configuration within the 
Run-Once and run the VM as Run-Once.

I hope it helps to your question,
Liran
>
>
>
> -Original Message-
> From: Liran Rotenberg 
> Sent: Sunday, August 22, 2021 4:01 PM
> To: Tommy Sway ; Eitan Raviv 
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
> On Sun, Aug 22, 2021 at 9:35 AM Tommy Sway  wrote:
> >
> > Any one can help me ?
> >
> Adding +Eitan Raviv
> The general information I can give is that older versions of cloud-init 
> support ENI protocol when network configuration provided while on newer 
> versions (EL7+, Eitan please correct me if I'm wrong), support the openstack 
> protocol.
> The ENI option was added to support the back compatibility of older OSes and 
> cloud-init versions.
>
> Regards,
> Liran
> >
> >
> >
> >
> >
> >
> > From: users-boun...@ovirt.org  On Behalf Of 
> > Tommy Sway
> > Sent: Saturday, August 14, 2021 6:18 PM
> > To: users@ovirt.org
> > Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> > Protocol options ?
> >
> >
> >
> > Any one can help to explain ?
> >
> >
> >
> >
> >
> >
> >
> > From: users-boun...@ovirt.org  On Behalf Of 
> > Tommy Sway
> > Sent: Friday, August 13, 2021 12:55 PM
> > To: users@ovirt.org
> > Subject: [ovirt-users] what difference between the Cloud-Init Network 
> > Protocol options ?
> >
> >
> >
> > What is the difference between Openstack MateData and ENI in the cloud-init 
> > Network Protocol option? Or what kind of scenarios do they apply to?
> >
> > ___
> > 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/F7HIV5
> > EI
> > 4YCJ3XVIPMZCMPBTAPY5LLS6/
>
>

___
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/RRI3H4H4FWMA62Z7RFPEHUS7UIZ72LIH/


[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-22 Thread Tommy Sway
What I want to know is if I use openstack metadata, do I need to configure any 
additional information related to openstack?  For example, do I need to set up 
an openstack node as an external provider to use cloud-init services based on 
it?




-Original Message-
From: Liran Rotenberg  
Sent: Sunday, August 22, 2021 4:01 PM
To: Tommy Sway ; Eitan Raviv 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init Network 
Protocol options ?

On Sun, Aug 22, 2021 at 9:35 AM Tommy Sway  wrote:
>
> Any one can help me ?
>
Adding +Eitan Raviv
The general information I can give is that older versions of cloud-init support 
ENI protocol when network configuration provided while on newer versions (EL7+, 
Eitan please correct me if I'm wrong), support the openstack protocol.
The ENI option was added to support the back compatibility of older OSes and 
cloud-init versions.

Regards,
Liran
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Tommy Sway
> Sent: Saturday, August 14, 2021 6:18 PM
> To: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
> Any one can help to explain ?
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Tommy Sway
> Sent: Friday, August 13, 2021 12:55 PM
> To: users@ovirt.org
> Subject: [ovirt-users] what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
> What is the difference between Openstack MateData and ENI in the cloud-init 
> Network Protocol option? Or what kind of scenarios do they apply to?
>
> ___
> 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/F7HIV5EI
> 4YCJ3XVIPMZCMPBTAPY5LLS6/

___
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/5PV2TT2WAWFBWVRAG5QGXQSNOUBP7JP2/


[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-22 Thread Tommy Sway
Any one can help me ?

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Tommy
Sway
Sent: Saturday, August 14, 2021 6:18 PM
To: users@ovirt.org
Subject: [ovirt-users] Re: what difference between the Cloud-Init Network
Protocol options ?

 

Any one can help to explain ?

 

 

 

From: users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>
mailto:users-boun...@ovirt.org> > On Behalf Of
Tommy Sway
Sent: Friday, August 13, 2021 12:55 PM
To: users@ovirt.org <mailto:users@ovirt.org> 
Subject: [ovirt-users] what difference between the Cloud-Init Network
Protocol options ?

 

What is the difference between Openstack MateData and ENI in the cloud-init
Network Protocol option? Or what kind of scenarios do they apply to?

___
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/F7HIV5EI4YCJ3XVIPMZCMPBTAPY5LLS6/


[ovirt-users] Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?

2021-08-22 Thread Tommy Sway
Thanks!

___
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/FRZB5SQD4NOLU5CAFVEUYJWG74H7DHJD/


[ovirt-users] Re: about the clonetype of the vm disk when vm is cloned from template

2021-08-14 Thread Tommy Sway
Thank you!



-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Nir Soffer
Sent: Saturday, August 14, 2021 1:31 AM
To: Tommy Sway 
Cc: users 
Subject: [ovirt-users] Re: about the clonetype of the vm disk when vm is cloned 
from template

On Fri, Aug 13, 2021 at 8:06 AM Tommy Sway  wrote:
>
> There are some options for clone disk for other platform like oVirt.
> --clonetype [thin|full]
>
> A thin clone uses copy-on-write (COW) reflinked clone 
> meaning it is dependent on the base template, but enables rapid cloning.
> Full clone will make a full physical copy hence not 
> be dependent on the base template.
...

> I want to know which type is oVirt using when we clone vm from template ?

We support both.

When creating a vm you can select to optimize for Server or Desktop.

- For Server we default to creating the vm image by cloning the template to a 
new disk.
  The vm does not depend on the template disk.

- For Sesktop we default to creating a thin disk using the template disk as a 
backing file.
  This vm depends on the template.

To select different storage allocation you can open the "Resource Allocation" 
tab and select Clone or Thin from the "Storage allocation" section.

See the attached screenshots.

Nir

___
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/GEAOGN5OQJTR2OSQ46HNB2OI72ALQY2Y/


[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-14 Thread Tommy Sway
Any one can help to explain ?

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Tommy
Sway
Sent: Friday, August 13, 2021 12:55 PM
To: users@ovirt.org
Subject: [ovirt-users] what difference between the Cloud-Init Network
Protocol options ?

 

What is the difference between Openstack MateData and ENI in the cloud-init
Network Protocol option? Or what kind of scenarios do they apply to?

___
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/A52TZYI7B7AYV42VBYJDSZNHHHVBR24P/


[ovirt-users] about the clonetype of the vm disk when vm is cloned from template

2021-08-12 Thread Tommy Sway
There are some options for clone disk for other platform like oVirt.

 

--clonetype [thin|full]

A thin clone uses copy-on-write (COW) reflinked
clone meaning it is dependent on the base template, but enables rapid
cloning.

Full clone will make a full physical copy hence not
be dependent on the base template. 

Thin clone uses less space and will not be as performant as full clone,
especially under heavy write workloads.

By default a thin clone is created, great for
testing; should be avoided in production environments.

 

I want to know which type is oVirt using when we clone vm from template ?

 

 

___
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/F6A5QSGWKVOEPWG5WLZ5NHOHV26C7UU4/


[ovirt-users] what difference between the Cloud-Init Network Protocol options ?

2021-08-12 Thread Tommy Sway
What is the difference between Openstack MateData and ENI in the cloud-init
Network Protocol option? Or what kind of scenarios do they apply to?

___
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/4R7MFJQ2F7UPT7ODOQGKO6W2LH5AGQXJ/


[ovirt-users] Re: ISO Upload in in Paused by System Status

2021-08-05 Thread Tommy Sway
I've had this problem before, and it happened when the CA was configured 
correctly.  

 

Then try again, it worked. 

 

I don't know why until today.  

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Yedidyah 
Bar David
Sent: Thursday, August 5, 2021 1:40 PM
To: lou...@ameritech.net
Cc: users 
Subject: [ovirt-users] Re: ISO Upload in in Paused by System Status

 

On Thu, Aug 5, 2021 at 1:44 AM mailto:lou...@ameritech.net> > wrote:

I'm attempting to upload an ISO that is approximately 9GB in size.  I've 
succssfullly started th upload process via the oVirt Management Console/Disk.  
The upload started however, it now has a status of "Paused by System".  My 
storage type is set to NFS Data.  

Is something happing the back ground that contributing to the "Paused by 
System"?   I have mor the 84TB of space available so I don't think it is a 
space issue.  Is there something that I need to do?  At this time I'm going to 
wait and see if it moves forward on its own.  

Please provide me with any help or direction.

 

Do you use the internal CA or an external one?

If an external, did you strictly follow the procedure to replace the CA?

Did you import the CA cert to your browser?

 

Please search the list archives for similar issues. Thanks.

 

Good luck and best regards,

-- 

Didi

___
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/4THGWA5YXNKMMTVVF7O7G3SK3TNNO2HD/


[ovirt-users] Re: Question about cloud-init

2021-08-02 Thread Tommy Sway
Wouldn't the cloud-init information I configured in the initial run properties 
page of the virtual machine be unnecessary?  




-Original Message-
From: Liran Rotenberg  
Sent: Monday, August 2, 2021 4:33 PM
To: Tommy Sway 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Re: Question about cloud-init

On Mon, Aug 2, 2021 at 10:22 AM Tommy Sway  wrote:
>
> Please note that once the VM booted, the only way to provide the cloud-init 
> payload is by using Run-Once.
> For a VM that didn't boot, a regular run will work as well.
>
>
> Do you mean that you can use cloud-init for the first normal startup of a 
> virtual machine that has not yet been booted, and then you can't use 
> cloud-init for subsequent normal startup?

Yes. This is for safety from overriding a configuration on future boots.

> Is it possible to use cloud-init with the run-once boot option as long as the 
> virtual machine has already been started?
Yes, if you set it in run-once the payload will be included to the VM on boot, 
regardless if it booted already or not.
>
>
>
>
>
>
>
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Sunday, August 1, 2021 3:01 PM
> To: tommy 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: Question about cloud-init
>
> On Sat, Jul 31, 2021 at 7:09 AM tommy  wrote:
> >
> > Hello, I have a question about cloud-init:
> >
> > After installing vm, I installed cloud-init immediately, and enabled its 
> > four services, and then I can use cloud-init in the admin interface.
> >
> >
> >
> > However, I don't know how cloud-init knows where to get the relevant 
> > information (such as host name, SSH secret key, etc.) that I configured on 
> > the admin interface ?  For I haven't configured the data source for 
> > cloud-init.
>
> Hi,
> The relevant information comes as a payload to the VM, a CD-ROM containing 
> the data source.
> >
> > Why it can works ?
> >
> Cloud-init detects the data source and configures the OS.
> Please note that once the VM booted, the only way to provide the cloud-init 
> payload is by using Run-Once.
> For a VM that didn't boot, a regular run will work as well.
>
> Regards,
> Liran
> >
> >
> > Thanks!
> >
> > ___
> > 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/O5NKQO
> > 56
> > 42X3WYES3QQBSSDZUQN6N5XX/
> ___
> 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/NVP4IUIN
> 7NQDI5OVN6NRKJQYQBMJ7M77/
>
>
___
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/LARB4NFYCIJCU5JDAV6GGJYKXPQC3FIH/


[ovirt-users] CPU performance test results in three scenarios

2021-08-02 Thread Tommy Sway
Hello, I recently conducted a test to compare the CPU performance of a
physical machine, a high performance VM (pass-through CPU, PIN CPU), and a
common VM.  

Here are the results:  

 

1. Physical machine:

 

# sysbench  --test=cpu --cpu-max-prime=1 --threads=2 run

WARNING: the --test option is deprecated. You can pass a script name or path
on the command line without any options.

sysbench 1.0.17 (using system LuaJIT 2.0.4)

 

Running the test with following options:

Number of threads: 2

Initializing random number generator from current time

 

 

Prime numbers limit: 1

 

Initializing worker threads...

 

Threads started!

 

CPU speed:

events per second: 0.01

 

General statistics:

total time:  346.0588s

total number of events:  2

 

Latency (ms):

 min:   345943.52

 avg:   346001.09

 max:   346058.65

 95th percentile:   10.00

 sum:   692002.17

 

Threads fairness:

events (avg/stddev):   1./0.00

execution time (avg/stddev):   346.0011/0.06

 

 

2. High Performance VM:

 

# sysbench  --test=cpu --cpu-max-prime=1 --threads=2 run

WARNING: the --test option is deprecated. You can pass a script name or path
on the command line without any options.

sysbench 1.0.17 (using system LuaJIT 2.0.4)

 

Running the test with following options:

Number of threads: 2

Initializing random number generator from current time

 

 

Prime numbers limit: 1

 

Initializing worker threads...

 

Threads started!

 

CPU speed:

events per second: 0.01

 

General statistics:

total time:  351.8625s

total number of events:  2

 

Latency (ms):

 min:   351416.59

 avg:   351639.01

 max:   351861.43

 95th percentile:   10.00

 sum:   703278.02

 

Threads fairness:

events (avg/stddev):   1./0.00

execution time (avg/stddev):   351.6390/0.22

 

 

3. Common VM:

 

# sysbench  --test=cpu --cpu-max-prime=1 --threads=2 run

WARNING: the --test option is deprecated. You can pass a script name or path
on the command line without any options.

sysbench 1.0.17 (using system LuaJIT 2.0.4)

 

Running the test with following options:

Number of threads: 2

Initializing random number generator from current time

 

 

Prime numbers limit: 1

 

Initializing worker threads...

 

Threads started!

 

CPU speed:

events per second: 0.01

 

General statistics:

total time:  354.9108s

total number of events:  2

 

Latency (ms):

 min:   354761.26

 avg:   354835.99

 max:   354910.73

 95th percentile:   10.00

 sum:   709671.99

 

Threads fairness:

events (avg/stddev):   1./0.00

execution time (avg/stddev):   354.8360/0.07

 

 

Result:  

 

There is little difference in CPU performance between these three scenarios,
so why distinguish between high performance and regular virtual machines?  I
don't think it makes much sense.  

 

 

 

 

 

 

 

 

 

___
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/FDZRT4JGUAKHUOFUNTYRICSMIFHAFOTV/


[ovirt-users] Re: Question about cloud-init

2021-08-02 Thread Tommy Sway
Please note that once the VM booted, the only way to provide the cloud-init 
payload is by using Run-Once.
For a VM that didn't boot, a regular run will work as well.


Do you mean that you can use cloud-init for the first normal startup of a 
virtual machine that has not yet been booted, and then you can't use cloud-init 
for subsequent normal startup?  
Is it possible to use cloud-init with the run-once boot option as long as the 
virtual machine has already been started?  







-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Liran 
Rotenberg
Sent: Sunday, August 1, 2021 3:01 PM
To: tommy 
Cc: users@ovirt.org
Subject: [ovirt-users] Re: Question about cloud-init

On Sat, Jul 31, 2021 at 7:09 AM tommy  wrote:
>
> Hello, I have a question about cloud-init:
>
> After installing vm, I installed cloud-init immediately, and enabled its four 
> services, and then I can use cloud-init in the admin interface.
>
>
>
> However, I don't know how cloud-init knows where to get the relevant 
> information (such as host name, SSH secret key, etc.) that I configured on 
> the admin interface ?  For I haven't configured the data source for 
> cloud-init.

Hi,
The relevant information comes as a payload to the VM, a CD-ROM containing the 
data source.
>
> Why it can works ?
>
Cloud-init detects the data source and configures the OS.
Please note that once the VM booted, the only way to provide the cloud-init 
payload is by using Run-Once.
For a VM that didn't boot, a regular run will work as well.

Regards,
Liran
>
>
> Thanks!
>
> ___
> 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/O5NKQO56
> 42X3WYES3QQBSSDZUQN6N5XX/
___
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/NVP4IUIN7NQDI5OVN6NRKJQYQBMJ7M77/

___
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/BGXHBIODWWYIXKF3LOHO2QVVMDHDWGQF/