Written by

Senior Software Developer at MSC Technology India
Question Ashok S · Nov 29, 2017

How to identify business services in ensemble production needs update?

I have list of business services in my ensemble production.

Often, my business services which are in green color turns to red color and asking for update and restart the services.

I would like to know, how to identify which business services are turned to red color.

Help me restart the service individually by code.

Thanks,

Ashok

Comments

Eduard Lebedyuk · Nov 29, 2017

You can addEns.ProductionMonitorService service to your production, which would provides a monitor service for the production status The default behavior of this service is to call UpdateProduction once it notices the production is not up-to-date. Users can override the OnProcessInput method to customize the behavior.

It would be enough to automatically restart relevant items and keep production up to date.

Generally to access/manipulate info about Ensemble and it's hosts use Ens.Director class.

0