[ovirt-users] Re: Slow first opening web portal when the ovirt-engine.service is restarted

2019-05-14 Thread aleksey . maksimov
Any thoughts on this? 

I found the systemd service example for a warm start:
https://github.com/geertj/ravstack/blob/master/share/ovirt-warmup.service

This is a good solution?


03.10.2016, 09:35, "aleksey.maksi...@it-kb.ru" :
> Hello oVirt guru`s !
>
> oVirt Engine Version: 4.0.4.4-1.el7.centos
>
> After restarting the ovirt-engine.service, the web login page is available 
> after a few seconds. That's good.
> But when trying the first login, the portal web page open for 2-3 minutes
>
> All subsequent logins are fast.
>
> The question is: Why is the delay in the opening pages of the first call?
>
> Do I understand correctly that this feature of JBoss web application?
> Need some warming up of the web application?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se

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


[ovirt-users] Re: Slow first opening web portal when the ovirt-engine.service is restarted

2019-05-14 Thread Sandro Bonazzola
On Mon, Oct 3, 2016 at 8:35 AM,  wrote:

> Hello oVirt guru`s !
>
> oVirt Engine Version: 4.0.4.4-1.el7.centos
>
> After restarting the ovirt-engine.service, the web login page is available
> after a few seconds. That's good.
> But when trying the first login, the portal web page open for 2-3 minutes
>

This looks like not enough entropy on the host / guest running ovirt-engine.
If you're on Hosted Engine I suggest to install haveged (in EPEL repo) and
run it to ensure enough entropy is available for the VM.
Adding Simone.



>
> All subsequent logins are fast.
>
> The question is: Why is the delay in the opening pages of the first call?
>
> Do I understand correctly that this feature of JBoss web application?
> Need some warming up of the web application?
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com


--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


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


[ovirt-users] Re: Slow first opening web portal when the ovirt-engine.service is restarted

2019-05-14 Thread Simone Tiraboschi
On Mon, Oct 3, 2016 at 12:17 PM,  wrote:

> Wow. I have installed and enabled the service on Hosted Engine VM:
>
> # yum -y install haveged
> # service haveged start
> # systemctl enable haveged.service
> # service haveged status
>
> Redirecting to /bin/systemctl status  haveged.service
> ● haveged.service - Entropy Daemon based on the HAVEGE algorithm
>Loaded: loaded (/usr/lib/systemd/system/haveged.service; enabled;
> vendor preset: disabled)
>Active: active (running) since Mon 2016-10-03 12:56:24 MSK; 2min 12s ago
>  Docs: man:haveged(8)
>http://www.issihosts.com/haveged/
>  Main PID: 5304 (haveged)
>CGroup: /system.slice/haveged.service
>└─5304 /usr/sbin/haveged -w 1024 -v 1 --Foreground
>
> Oct 03 12:56:24 KOM-AD01-OVIRT1 systemd[1]: Started Entropy Daemon based
> on the HAVEGE algorithm.
> Oct 03 12:56:24 KOM-AD01-OVIRT1 systemd[1]: Starting Entropy Daemon based
> on the HAVEGE algorithm...
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: ver: 1.9.1; arch:
> x86; vend: GenuineIntel; build: (gcc 4.8.2 ITV); collect: 128K
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: cpu: (L4 VC);
> data: 32K (L2 L4 V); inst: 32K (L2 L4 V); idx: 21/40; sz: 32709/60538
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: tot tests(BA8):
> A:1/1 B:1/1 continuous tests(B):  last entropy estimate 8.00013
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: fills: 0,
> generated: 0
>
>
> And now after restarting the ovirt-engine.service, first open the web
> portal pages is instantaneous!
> It works.
> Thank you.
>

Yes, the issue was the lack of entropy.
haveged on a VM works but the quality of its entropy is still debated.
A better solution is to use the paravirtualized VirtIO RNG device.

We already have it on the first boot; we are working to ensure it's always
there also after the engine imported the engine VM:
https://gerrit.ovirt.org/#/c/62334/


>
> But now the question arises, in what cases can be a helpful
> ovirt-warmup.service (https://github.com/geertj/
> ravstack/blob/master/share/ovirt-warmup.service) ?
>
> 03.10.2016, 12:32, "Sandro Bonazzola" :
> > This looks like not enough entropy on the host / guest running
> ovirt-engine.
> > If you're on Hosted Engine I suggest to install haveged (in EPEL repo)
> and run it to ensure enough entropy is available for the VM.
> > Adding Simone.
>

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


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


[ovirt-users] Re: Slow first opening web portal when the ovirt-engine.service is restarted

2019-05-14 Thread aleksey . maksimov
Thank you, Sandro

03.10.2016, 15:48, "Sandro Bonazzola" :

>> But now the question arises, in what cases can be a helpful 
>> ovirt-warmup.service 
>> (https://github.com/geertj/ravstack/blob/master/share/ovirt-warmup.service) ?
>
> No idea, I guess ravstack developer wanted to ensure ovirt-engine was 
> responding before continuing the boot sequence.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se

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


[ovirt-users] Re: Slow first opening web portal when the ovirt-engine.service is restarted

2019-05-14 Thread aleksey . maksimov
Wow. I have installed and enabled the service on Hosted Engine VM:

# yum -y install haveged
# service haveged start
# systemctl enable haveged.service
# service haveged status

Redirecting to /bin/systemctl status  haveged.service
● haveged.service - Entropy Daemon based on the HAVEGE algorithm
   Loaded: loaded (/usr/lib/systemd/system/haveged.service; enabled; vendor 
preset: disabled)
   Active: active (running) since Mon 2016-10-03 12:56:24 MSK; 2min 12s ago
 Docs: man:haveged(8)
   http://www.issihosts.com/haveged/
 Main PID: 5304 (haveged)
   CGroup: /system.slice/haveged.service
   └─5304 /usr/sbin/haveged -w 1024 -v 1 --Foreground

Oct 03 12:56:24 KOM-AD01-OVIRT1 systemd[1]: Started Entropy Daemon based on the 
HAVEGE algorithm.
Oct 03 12:56:24 KOM-AD01-OVIRT1 systemd[1]: Starting Entropy Daemon based on 
the HAVEGE algorithm...
Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: ver: 1.9.1; arch: x86; 
vend: GenuineIntel; build: (gcc 4.8.2 ITV); collect: 128K
Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: cpu: (L4 VC); data: 32K 
(L2 L4 V); inst: 32K (L2 L4 V); idx: 21/40; sz: 32709/60538
Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: tot tests(BA8): A:1/1 
B:1/1 continuous tests(B):  last entropy estimate 8.00013
Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: fills: 0, generated: 0


And now after restarting the ovirt-engine.service, first open the web portal 
pages is instantaneous!
It works.
Thank you.

But now the question arises, in what cases can be a helpful 
ovirt-warmup.service 
(https://github.com/geertj/ravstack/blob/master/share/ovirt-warmup.service) ?

03.10.2016, 12:32, "Sandro Bonazzola" :
> This looks like not enough entropy on the host / guest running ovirt-engine.
> If you're on Hosted Engine I suggest to install haveged (in EPEL repo) and 
> run it to ensure enough entropy is available for the VM.
> Adding Simone.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


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


[ovirt-users] Re: Slow first opening web portal when the ovirt-engine.service is restarted

2019-05-14 Thread Sandro Bonazzola
On Mon, Oct 3, 2016 at 12:17 PM,  wrote:

> Wow. I have installed and enabled the service on Hosted Engine VM:
>
> # yum -y install haveged
> # service haveged start
> # systemctl enable haveged.service
> # service haveged status
>
> Redirecting to /bin/systemctl status  haveged.service
> ● haveged.service - Entropy Daemon based on the HAVEGE algorithm
>Loaded: loaded (/usr/lib/systemd/system/haveged.service; enabled;
> vendor preset: disabled)
>Active: active (running) since Mon 2016-10-03 12:56:24 MSK; 2min 12s ago
>  Docs: man:haveged(8)
>http://www.issihosts.com/haveged/
>  Main PID: 5304 (haveged)
>CGroup: /system.slice/haveged.service
>└─5304 /usr/sbin/haveged -w 1024 -v 1 --Foreground
>
> Oct 03 12:56:24 KOM-AD01-OVIRT1 systemd[1]: Started Entropy Daemon based
> on the HAVEGE algorithm.
> Oct 03 12:56:24 KOM-AD01-OVIRT1 systemd[1]: Starting Entropy Daemon based
> on the HAVEGE algorithm...
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: ver: 1.9.1; arch:
> x86; vend: GenuineIntel; build: (gcc 4.8.2 ITV); collect: 128K
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: cpu: (L4 VC);
> data: 32K (L2 L4 V); inst: 32K (L2 L4 V); idx: 21/40; sz: 32709/60538
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: tot tests(BA8):
> A:1/1 B:1/1 continuous tests(B):  last entropy estimate 8.00013
> Oct 03 12:56:24 KOM-AD01-OVIRT1 haveged[5304]: haveged: fills: 0,
> generated: 0
>
>
> And now after restarting the ovirt-engine.service, first open the web
> portal pages is instantaneous!
> It works.
> Thank you.
>
> But now the question arises, in what cases can be a helpful
> ovirt-warmup.service (https://github.com/geertj/
> ravstack/blob/master/share/ovirt-warmup.service) ?
>

No idea, I guess ravstack developer wanted to ensure ovirt-engine was
responding before continuing the boot sequence.



>
> 03.10.2016, 12:32, "Sandro Bonazzola" :
> > This looks like not enough entropy on the host / guest running
> ovirt-engine.
> > If you're on Hosted Engine I suggest to install haveged (in EPEL repo)
> and run it to ensure enough entropy is available for the VM.
> > Adding Simone.
>



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com


--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2KA226T4PDC2OZFWE4V5CWRQIVPELYOL/