@Ghalied Majiet
Thank you for posting this in Microsoft Q&A.
Once you uninstall the Provisioning agent, below is the expected behavior,
- If you shut down a connector (or uninstall the agent), the traffic immediately gets load-balanced to the other healthy connectors in the same connector group.
- After 1 hour, a connector becomes "inactive" in the UI. It still shows up in the UI, but with status=inactive.
- After 10 days, a connector becomes "soft deleted" in the system. At this point, we don't even load the data for that connector from our SQL DB. The data is still in the DB, we just don't load it. The agent is not displayed at the UI anymore.
- A connector can still go back to fully active status, even after it is soft-deleted. The agent is only ever gone for good after its agent certificate expires. Then requests to Bootstrap service and all other HIS services get denied, the connector can't interact with our systems anymore, and the only solution is to reinstall the agent.
Other that this there are some interesting points to know:
- When an agent bootstraps successfully, we update the last bootstrap timestamp for that agent in our SQL database.
- Agents can still process requests even if they can't bootstrap, even if they are inactive in the UI. This could happen if the firewall is wrongly configured to deny traffic to Bootstrap service but allow traffic to Proxy service.
- As long as the agent is not rebooted, it holds the configuration of the last successful bootstrap request, and it continues to work and process transactions even if the last bootstrap was days or weeks ago.
- After an agent is rebooted, it needs at least 1 successful bootstrap to get the configuration it needs to start working.
- Besides certificate expiration, connectors are designed to disconnect from Service Bus if they can't bootstrap for more than 90 days.
Let us know if you have any further questions.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.