[p4] Moving users between servers - any good tricks?
Ivey, William
william_ivey at bmc.com
Fri Jun 29 11:40:43 PDT 2007
Darn, wish I'd checked that since we're planning to upgrade this weekend
too.
There's still the matter of encouraging payments to come out of the
right
budget :-)
We do have a third server that can benefit from the reviews fix,
though.
(It's an image server, so it will be nice if people can get an email
when an
image is updated.)
-Wm
________________________________
From: Shawn Hladky [mailto:p4shawn at gmail.com]
Sent: Friday, June 29, 2007 1:35 PM
To: Ivey, William
Cc: dlewis78731 at gmail.com; perforce-user at perforce.com
Subject: Re: [p4] Moving users between servers - any good tricks?
Reviews work with P4AUTH in 2006.2 and newer. From p4 help undoc:
P4AUTH is set in the outer server's environment to the address
of the central server. It may also be passed to the outer server
with the -a flag. Both servers must be 2002.2 or greater.
The outer server must be 2006.2 or greater for 'p4 review' and
'p4 reviews'.
There are a number of limitations: setting P4AUTH immediately
masks any local user/group information (unsetting it unmasks it);
'p4 review' and 'p4 reviews' require remote depot access enabled for
the 'remote' user on the central server; and protections carried
out in the central server based on the client IP address for
forwarded commands must be granted using the IP address prefixed by
the string 'proxy-' to distinguish them from trusted, non-forwarded
clients. Protections for non-forwarded commands are enforced by
the outer server and use the plain client IP address, even if they
come from the central server.
On 6/28/07, Ivey, William < william_ivey at bmc.com
<mailto:william_ivey at bmc.com> > wrote:
The server has its own protect table, but you're
right about groups - must make a note of that...
P4AUTH is cool, but it doesn't allow you to run
reviews on the outside server (it can't see the
reviews section of the user form). Also, giving
them their own license encourages them to pay
for their slots from their own budget :-)
-Wm
-----Original Message-----
From: Dave Lewis [mailto:dlewis78731 at gmail.com ]
Sent: Thursday, June 28, 2007 12:01 PM
To: Ivey, William
Cc: perforce-user at perforce.com
Subject: Re: [p4] Moving users between servers - any good tricks?
oh, I see... you could dump all the user forms to files and then read
them back in with p4 user -i, that should be pretty easy.
oh, probably the p4 protect table too...
and groups... ok, this one might be a pain.
why turn off p4auth though? is it a performance hit?
dave
On 6/28/07, Ivey, William <william_ivey at bmc.com> wrote:
> No, everything except the users is already there. It's
> already an independent server except that it gets its
> user information/authentication from our main server.
>
> It looks as though all I have to do is shut it down,
> remove P4AUTH, install the license then create each
> of the user accounts. From what I can tell when it
> comes back up it won't know the difference (except
> that user passwords will be reset).
>
> The alternative appears to be checkpoint surgery,
> moving the user information from the main server
> checkpoint to the other server's checkpoint.
>
> -Wm
>
>
> -----Original Message-----
> From: Dave Lewis [mailto: dlewis78731 at gmail.com
<mailto:dlewis78731 at gmail.com> ]
> Sent: Thursday, June 28, 2007 9:50 AM
> To: Ivey, William
> Cc: perforce-user at perforce.com
> Subject: Re: [p4] Moving users between servers - any good tricks?
>
> it doesn't sound like anything needs to be done!
>
> so perhaps you want to move their source base and clients, open files
> and etc to the other server?
>
> dave
>
> On 6/27/07, Ivey, William <william_ivey at bmc.com> wrote:
> > I need to split a server's user population into two,
> > moving about 20% of the users from one to the other.
> >
> > Currently the "other" server uses P4AUTH to
> > authenticate from the primary server so these will be
> > "new" users only in the sense that they are local to
> > the server now. (These are also the only users who
> > ever used the other server, so there shouldn't be any
> > mismatch between file-related metadata and users.)
> >
> > I've never tried to do this before. Anyone have any
> > tips?
> >
> > -Wm
> >
> > _______________________________________________
> > perforce-user mailing list - perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
>
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list