Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
wjefferson Absent Member.
Absent Member.
493 views

eDir 8.8.8 Replica ring has lost it's master.

Hello,

We have a test environment with 4 servers in a replica ring. At least they were. We had restored a backup to a vm and it took over as master without us realizing it. Now we cannot get the original master, 01 in this case, back into the replica ring.
Server 01 thinks that 02 and 03 are part of its ring but cannot talk to them. Server 02 and 03 think they are in their own ring with no master. We have wiped out server 04 and tried to join it back to 01 and everything is fine till we try to add 04 into the replica ring and they cannot talk. here is the error:

Error-626)The object could not be found. It is possible that the object exists, but the server could not communicate with the server holding a copy of the object.

Would anyone have a suggestion on how we can get everyone talking again? Any help, suggestions, ideas would be greatly appreciated.

Thanks,
Wayne Jefferson
Labels (1)
0 Likes
3 Replies
Knowledge Partner
Knowledge Partner

Re: eDir 8.8.8 Replica ring has lost it's master.

While restoring a system with eDirectory from backup is not impossible, it
does require special care because of the nature of the replication
involved within eDirectory. It sounds like the system restored was done
so without any steps for eDirectory specifically, so we may be required to
rebuild things a bit now.

First, do you have a backup of a system that has eDirectory in a state
where you want it? The system you restored may even be a candidate for
this, but otherwise any backup of a system, or eDirectory on its own
(taken with ndsrc.pl or whatever) may suffice. The idea is that perhaps
we can clean out this tree (XK2 the boxes), restore one box (preferably
with Master replicas, but if not at least holding a real replica of all
partitions), then add the other boxes' replicas back.

Other alternatives, without a new restore to some point in time of a box
that has the whole tree, may be to XK2 everything other than one box
holding the Masters now, but that may require that the box remaining knows
about all of the other boxes. Since you are reporting communication
problems in general, I am not sure this is an option. Have your systems'
IP addresses changed ever, or recently?

Before we get too far into this more details about your tree's servers'
purposes may be useful. For example, are they "just" eDirectory boxes?
Do any run IDM? Are you powering other services' authentication from this
tree? How do you usually do backup/restore things and are there any
currently tested and known to work from an eDirectory standpoint?

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Highlighted
wjefferson Absent Member.
Absent Member.

Re: eDir 8.8.8 Replica ring has lost it's master.

We were able to get this back up and running. Basically had to remove any reference to 02,03,04 from the master and wipe out the instances from server 02, 03, 04. We then added those servers back into the existing tree. Re-added the indexes and 1 driverset.
so far so good. Thanks for your help.

Wayne
0 Likes
Knowledge Partner
Knowledge Partner

Re: eDir 8.8.8 Replica ring has lost it's master.

Glad to hear it; restoring eDirectory can be really easy, and it can also
be really hard. For that reason full machine/system backups NEED to be
done with eDirectory stopped and disabled so, when restored, it doesn't do
anything you do not want it to do until you are ready, usually wiping the
DIB clean of replicas and cleaning the partition on other systems. There
are exceptions, but they are rare, particularly in environments that
matter or are non-trivial (production in particular).


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.