Hi again !
I have been thinking about the resyncronization of both servers after
failuers in the following scenario:
Initial stage (both serves are started at once):
pollux : primary /dev/nb0 = /home
castor: secondary /dev/nb0 not mounted
Second stage (pollux server is powered down):
pollux : powered down
castor : primary /dev/nb0 = /home
Third stage (pollux server is powered up):
pollux : primary /dev/nb0 = /home (but the contents are the existing at
initial stage, not the modified at second stage)
castor: secondary /dev/nb0 not mounted
I think that a good approach for solving this situation is detecting if
there are any primary node at pollux startup, and, if a primary node
exists, syncronize the contents before becoming primary node. I don't know
if heartbeat will accept this (I suppose heartbeat will set the other
machine as secondary), so I suppose that the heartbeat service must be
stoped in the primary machine (pollux) during the syncronization.
What do you think about this ?
Best regards,
Antonio Navarro Navarro
BemarNet Management
http://www.bemarnet.es
hostmaster@example.com
Tlf. +34-96-1656644
Fax. +34-96-1656514
I have been thinking about the resyncronization of both servers after
failuers in the following scenario:
Initial stage (both serves are started at once):
pollux : primary /dev/nb0 = /home
castor: secondary /dev/nb0 not mounted
Second stage (pollux server is powered down):
pollux : powered down
castor : primary /dev/nb0 = /home
Third stage (pollux server is powered up):
pollux : primary /dev/nb0 = /home (but the contents are the existing at
initial stage, not the modified at second stage)
castor: secondary /dev/nb0 not mounted
I think that a good approach for solving this situation is detecting if
there are any primary node at pollux startup, and, if a primary node
exists, syncronize the contents before becoming primary node. I don't know
if heartbeat will accept this (I suppose heartbeat will set the other
machine as secondary), so I suppose that the heartbeat service must be
stoped in the primary machine (pollux) during the syncronization.
What do you think about this ?
Best regards,
Antonio Navarro Navarro
BemarNet Management
http://www.bemarnet.es
hostmaster@example.com
Tlf. +34-96-1656644
Fax. +34-96-1656514