cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harikrishna Patnala <harikrishna.patn...@citrix.com>
Subject Re: [Proposal] Virtual Router service failure alerting
Date Mon, 17 Feb 2014 09:57:14 GMT
Hi Sheng,
Thank you for the corrections and suggestions. My comments inline.

On 14-Feb-2014, at 1:53 am, Sheng Yang <sheng@yasker.org<mailto:sheng@yasker.org>>
wrote:

Hi Hari,

+1. Getting log from VR is a long awaited feature.

One correction: VR does have mgmt network nic, but it doesn't have direct
communcation with mgmt server(in the most case except VMware). So polling
is still needed.
[Hari] I did not see the management nic on virtual router in case of Xenserver. Anyway we
need polling :)


And another comment: you can reuse CheckRouterTask() for the purpose. It
already has been used for s2s vpn connection status update and redundant
router checking, and "router.check.interval" would be used as interval for
checking. You can improve and reuse that rather than introduce another
polling thread for VR.
[Hari] Initially I thought of same to piggyback in the existing requests to VR, but I proposed
this just not to change the semantic of checkRouterTask by including alerts getting request
to VR.
If this is fine I’ll reuse the CheckRouterTask.


How can you define "new alart"? Did the file would be deleted/archived
after poll? Or you simply just looking after a certain point? I guess a
diff works better than search for timestamp. More details in implementation
would be helpful.
[Hari] Yes Sheng, I agree that diff would be better, but there is a case where after taking
diff, reply from router to MS may fail because of network failure or some other reasons. In
this case we cannot get the diff back and there is a need of timestamp over here. So would
it be better to use both diff and timestamp. If diff falls to retrieve alerts we also check
using timestamp.
I will update the FS with some implementation details (using both timestamps and diff) CWIKI
is down now.


--Sheng


On Thu, Feb 13, 2014 at 1:56 AM, Harikrishna Patnala <
harikrishna.patnala@citrix.com<mailto:harikrishna.patnala@citrix.com>> wrote:

Hi,

Currently in CS we can monitor the running services on Virtual Router and
ensure they are running through the lifetime of VR. Upon failure of any
service in VR, monitoring service logs the alerts in VR logs.
These alerts need to be pushed to management server to notify admin.

For this I'd like to introduce the feature Virtual Router service failure
alerting.

[1] https://issues.apache.org/jira/browse/CLOUDSTACK-6090
[2]
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Virtual+Router+Service+Failure+Alerting


Comments/feedback are welcome

Thank you,
Harikrishna



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message