[OpenAFS] Re: Speed up pts actions
Assarsson, Emil
Emil.Assarsson@sonyericsson.com
Thu, 18 Nov 2010 17:01:15 +0100
Hi Andrew,
Thank you very much for your swift answers.
This was my fears and hopes ;-)
I have created a python script that synchronizes groups in an AD LDAP datab=
ase to match groups and users in pts. It uses pts interactive and this spee=
ds it up a little bit but not that much. The reads from the database goes r=
eally fast so there is no problem with the comparing. Only changes takes ti=
me. We have right now 22 groups and about 2650 users. A sync with a few upd=
ates takes around 2 minutes and I think that is ok. I'm thinking about usin=
g the timestamp on the group object to see if it has changed since the last=
sync too to make it even faster.
I don't think that it is very important to make the change actions faster i=
n pts even if it would be nice. I can imagine that there are other stuff th=
at are way more interesting... maybe an LDAP based PTS/VLDB ;-)
--
Emil
-----Original Message-----
From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org=
] On Behalf Of Andrew Deason
Sent: torsdag den 18 november 2010 16:37
To: openafs-info@openafs.org
Subject: [OpenAFS] Re: Speed up pts actions
On Thu, 18 Nov 2010 15:10:08 +0100
"Assarsson, Emil" <Emil.Assarsson@sonyericsson.com> wrote:
> Are there any ways to speed up pts interactions like createuser etc?
Oh, also, if you're not already using 'pts interactive' or 'pts source',
using those may alleviate some overhead for bulk operations. But they
still will commit the db for every change.
--=20
Andrew Deason
adeason@sinenomine.net
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info