Fail-over in cloud services
A cloud extension agent can be provided on a customer premise for interfacing, via an outbound secure connection, cloud based services.
1. A method comprising:
connecting a cloud extension agent to a remote network management platform;
wherein the cloud extension agent runs locally in a network as an active cloud extension agent;
wherein connecting the cloud extension agent to the network management platform comprises initiating an outbound connection from the cloud extension agent to the network management platform through a firewall of the network;
monitoring a status of the active cloud extension agent by the network management platform;
determining that the active cloud extension agent is no longer appropriate; and
initiating a handover to a first passive cloud extension agent of a plurality of cloud extension agents, wherein the determining is based on the status of the active cloud extension agent, and wherein the active cloud extension agent uploads status information to the remote network management platform via the outbound connection and the first passive cloud extension agent does not upload the status information to the remote network management platform, while both the active cloud extension agent and the first passive cloud extension agent connect to the remote network management platform at regular intervals, the status information comprising at least status of pending actions of the active cloud extension agent and changes in settings to the active cloud extension agent, and wherein determining that the active cloud extension agent is no longer appropriate and indicating the handover are based on the status information.
2. The method of claim 1 , wherein the determining that the active cloud extension agent is no longer appropriate is performed by a second passive cloud extension agent.
3. The method of claim 2 , wherein the first and second passive cloud extension agents comprise the same passive cloud extension agents.
4. The method of claim 2 , wherein the first and second passive cloud extension agents comprise different passive cloud extension agents.
5. The method of claim 1 , further comprising pushing any policy changes initiated by the network management platform to both the active and the first passive cloud extension agents of the plurality of cloud extension agents.
6. The method of claim 1 , wherein determining that the active cloud extension agent is no longer appropriate comprises:
determining that there is a communication error associated with the active cloud extension agent.
7. The method of claim 6 , wherein the communication error is determined based on the active cloud extension agent crashing, being incapacitated, or being breached.
8. The method of claim 1 , wherein initiating the handover to the first passive cloud extension agent comprises:
transmitting an activate message to the first passive cloud extension agent; and
transmitting the status of the active cloud extension agent to the first passive cloud extension agent.
9. A system comprising:
a memory; and
a processing device operatively coupled to the memory, the processing device to:
connect a cloud extension agent to a remote network management platform;
wherein the cloud extension agent runs locally in a network as an active cloud extension agent;
wherein to connect the cloud extension agent to the network management platform the processing device is to initiate an outbound connection from the cloud extension agent to the network management platform through a firewall of the network;
monitor a status of the active cloud extension agent by the network management platform;
determine that the active cloud extension agent is no longer appropriate; and
initiate a handover to a first passive cloud extension agent of a plurality of cloud extension agents, wherein the determining is based on the status of the active cloud extension agent, and wherein the active cloud extension agent uploads status information to the remote network management platform via the outbound connection and the first passive cloud extension agent does not upload the status information to the remote network management platform, while both the active cloud extension agent and the first passive cloud extension agent connect to the remote network management platform at regular intervals, the status information comprising at least status of pending actions of the active cloud extension agent and changes in settings to the active cloud extension agent, and wherein determining that the active cloud extension agent is no longer appropriate and indicating the handover are based on the status information.
10. The system of claim 9 , wherein determining that the active cloud extension agent is no longer appropriate is performed by a second passive cloud extension agent.
11. The system of claim 10 , wherein the first and second passive cloud extension agents comprise the same passive cloud extension agents.
12. The system of claim 10 , wherein the first and second passive cloud extension agents comprise different passive cloud extension agents.
13. The system of claim 9 , wherein the processing device is further to:
push any policy changes initiated by the network management platform to both the active and the first passive cloud extension agents of the plurality of cloud extension agents.
14. The system of claim 9 , wherein to determine that the active cloud extension agent is no longer appropriate the processing device is further to:
determine that there is a communication error associated with the active cloud extension agent.
15. The system of claim 14 , wherein the processing device determines the communication error based on the active cloud extension agent crashing, being incapacitated, or being breached.
16. The system of claim 9 , wherein to initiate the handover to the first passive cloud extension agent the processing device is to:
transmit an activate message to the first passive cloud extension agent; and
transmit the status of the active cloud extension agent to the first passive cloud extension agent.
17. A non-transitory computer readable storage medium, having instructions stored thereon which, when executed by a processing device, cause the processing device to:
connect a cloud extension agent to a remote network management platform;
wherein the cloud extension agent runs locally in a network as an active cloud extension agent;
wherein to connect the cloud extension agent to the network management platform the processing device is to initiate an outbound connection from the cloud extension agent to the network management platform through a firewall of the network;
monitor a status of the active cloud extension agent by the network management platform;
determine that the active cloud extension agent is no longer appropriate; and
initiate a handover to a first passive cloud extension agent of a plurality of cloud extension agents, wherein the determining is based on the status of the active cloud extension agent, and wherein the active cloud extension agent uploads status information to the remote network management platform via the outbound connection and the first passive cloud extension agent does not upload the status information to the remote network management platform, while both the active cloud extension agent and the first passive cloud extension agent connect to the remote network management platform at regular intervals, the status information comprising at least status of pending actions of the active cloud extension agent and changes in settings to the active cloud extension agent, and wherein determining that the active cloud extension agent is no longer appropriate and indicating the handover are based on the status information.
18. The non-transitory computer readable storage medium of claim 17 , wherein determining that the active cloud extension agent is no longer appropriate is performed by a second passive cloud extension agent.
19. The non-transitory computer readable storage medium of claim 18 , wherein the first and second passive cloud extension agents comprise the same passive cloud extension agents.
20. The non-transitory computer readable storage medium of claim 18 , wherein the first and second passive cloud extension agents comprise different passive cloud extension agents.
21. The non-transitory computer readable storage medium of claim 17 , wherein the processing device is further to:
push any policy changes initiated by the network management platform to both the active and the first passive cloud extension agents of the plurality of cloud extension agents.
22. The non-transitory computer readable storage medium of claim 17 , wherein to determine that the active cloud extension agent is no longer appropriate the processing device is further to:
determine that there is a communication error associated with the active cloud extension agent.
23. The non-transitory computer readable storage medium of claim 22 , wherein the processing device determines the communication error based on the active cloud extension agent crashing, being incapacitated, or being breached.
24. The non-transitory computer readable storage medium of claim 17 , wherein to initiate the handover to the first passive cloud extension agent the processing device is to:
transmit an activate message to the first passive cloud extension agent; and
transmit the status of the active cloud extension agent to the first passive cloud extension agent.