Search

What the Quote?

"Hold on, my head's itchy."

Steven Rodgers

"Okay, now, see, that noise... that's not me."

Julian Robichaux

"That was bad, but I laughed, so your sin is done now."

Steven Rodgers

« enough | Main| Oooh, it's all shiny »

Nexus: replica ID management utility

Category domino replication
imageI was contacted last week about a comment I had left on Bruce's site stating that I had code for assigning a database a new replica ID. The comment in question was an allusion to some code I'd originally found on the Breaking Par site that uses some Notes API calls to overwrite a database's replica ID. Last night I threw together a utility that makes use of this technique to provide two quick operations:
  • Link Replicas: select a source (the database whose replica ID you want to retain) and a target (the database that you want to change to be a replica of the source) and click "Establish Link". The target database will be made a replica of the source database (and any additional replicas of the source).
  • Unlink Replica: select a target database that you no longer want to be a replica and click "Unlink Replica". The target database will be assigned a new replica ID, effectively making it a copy of any databases it was previously a replica of.
Since the theme to all of this is replication, I called this utility Nexus, and you can download it here. You might notice the interface has a hint of an LCARS feel to it... the Sci Fi channel was running a TNG marathon yesterday, so Laura and I chose to relax (I got home at 3 AM Saturday morning from a business trip, we went to a family reunion in Gumlog, GA Saturday night, and spent part of Sunday and Monday at various state parks, so we were both a bit wiped) by sitting on the couch for six hours straight watching Star Trek. And then I wrote some code. So yeah, I'm a pretty content little geek.

Comments

Gravatar Image1 - I normally use Antrid for this.

{ Link }

Gravatar Image2 - I tried using Antrid and had major problems, in the end it just didn't work. Tried using Nexus, worked first time! Thanks Tim.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Contact Me

Elsewhere

Assorted Linkage


Locations of visitors to this page