Hi,

I’m trying to build a tool/library that could detect if CloudStack’s port 8250 
is unresponsive, this port is used for unauthenticated mgmt server and systemvm 
(agents) communication. The protocol used here is not transparent either, it a 
low level TCP based one which uses custom headers, gzip compression of json 
serialisation of objects. Is there a documentation I can follow?

The issue is that sometimes, CloudStack API layer (port 8096, 8080) may work 
and give valid results but the agent communication may overwhelm port 8250. If 
there is a way to detect this, a loadbalancer can shift loads on port 8250 to 
some other mgmt server.

Apart from StartupCmd and two otherAgentControlCommands (both related to 
console proxy), there is no way to get information about mgmt server. Is there 
a way that I missed by which a dummy agent can get version or any other 
information about the management server? I wrote a dummy agent shell that 
simply connects to localhost:8250 (the local mgmt server) (would be great if we 
can document the communication protocol so one could write monitoring tools in 
something other than Java) DummyAgent; 
https://github.com/shapeblue/cloudstack/commit/7b5c34a35d3bed756e6458646c916897e3944910

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to