SDP-198

Adam Morriss
Closed
DOC: SDP Guide needs more detail on SDP-controlled replica setup.

Following the SDP Guide to set up an SDP-controlled replica. On page 20 of 36 it explains how you seed the replica's database from checkpoint, then log in the service user to create a tickets file. The latter might need additional clarification.

Recovering from checkpoint does not recreate the tickets file. This is created when the user runs 'p4 login', or you create the tickets file manually.

The commands I found to work are not quite as written; I used:
export P4TICKETS=/p4/1/.p4tickets
p4 -u svc_replica1 -p svrmaster:1667 login

Restoring the checkpoint, the 'p4d -jr' command, creates the database that your replica server instance will use.
Before you start this server instance, your service user needs a valid ticket. You create the ticket using 'p4 login' and make sure it's in the P4TICKETS file - this is the 'export/p4 login' commands.

Technically, these are independent events - you can create the database first then the ticket, or the other way around - but both need to be completed on the replica server before you attempt to start the server instance.

Please consider updating the docs to provide this additional clarity!
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
amo
Reported Date
Modified By
robert_cowham
Modified Date
Owned By
amo
Dev Notes
Job re-opened to address mkrep.sh specifically.
Component
doc
Type
Bug