On Fri, Mar 7, 2008 at 2:09 PM, {Darkavich} <[EMAIL PROTECTED]> wrote:
> Hey folks,
>         A friend of mine has accidently run a utreplica -u on his primary
>  and needs to bring it back up. He can not re-run utreplica -p -a
>  "hosts" because it says that they are already replicated to a server.

A "friend".  Suuuure :-)

I'd try one of:

  - temporarily disable the /opt/SUNWut/lib/utrcmd client (by
    renaming it) so that the primary can not interrogate the
    secondaries and get confused by the fact that they report a
    different primary hostname (the CNAME) than the primary's
    actual hostname.  If you do this, be very careful to not damage
    the ownership and permissions on the utrcmd program.
    'utreplica' will gripe about not being able to contact the
    secondaries but it should configure for replication anyway.
    Or

  - temporarily rename the primary ('/usr/bin/hostname
    hostname1-primary') so that its hostname matches the
    CNAME that the secondaries are using.

Then run your 'utreplica -p -a <secondaries>' command, then
undo the temporary change.

The actual Data Store content should be fine.  utreplica doesn't
modify it, it only plays with the primary/secondary replication
configuration.  But now might be a good time to take a snapshot
of all of the configuration settings, just in case you end up
having to rebuild the whole thing from scratch.

It's probably a bug that utreplica doesn't realise that the
secondaries are already targeting this primary machine.

OttoM.
__
ottomeister

Disclaimer: These are my opinions.  I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to