Archived

This forum has been archived. Please start a new discussion on GitHub.

replication and automatic restarting

A small question concerning the replication mechanism in ice 3.2.1:

- Lets take an example of an server application running over icegrid with activation="always" as parameter. Now if I kill the server process, Icegrid will restart it automatically.

- Now lets take an example of a replicated server running over icegrid. The first server running in one computer and the replicated server not started over a second computer. Now the first computer goes down (power out, network cable out, ...). Is there any possible configuration to make Icegrid automatically start the replicated server on the second machine?

I am not talking about the fact that the replicated server will start automatically in case a client try to connect to him or use a service from him. But the replicated server would start automatically once Icegrid has detected that the first computer is down without any client intervention?

It would work a bit like the activation="always" parameter, but in a replicated way.

Comments

  • benoit
    benoit Rennes, France
    Hi Vivien,

    No, there's currently no way to activate server on host B only if host A is unreachable.

    You can use the ordered load balancing policy to ensure that clients will always use the server on host A in priority and then the server on host B if A is unreachable but this doesn't give you any guarantees on the activation status of the servers.

    Cheers,
    Benoit.