Replicating Users across clusters

Moderator: NorbertKrupa

mesunderlin
Newbie
Newbie
Posts: 5
Joined: Wed Mar 26, 2014 9:12 pm

Replicating Users across clusters

Post by mesunderlin » Tue Jan 13, 2015 7:36 pm

We have two Vertica clusters, a primary and a secondary. We would like to have some sort of automation, or even semi-automated way to ensure that any users added to the primary also get added to the secondary.

Even something that would run an SQL on v_catalog.users and then generate SQL to run on the secondary ....

Hoping this is not a unique use case to my company and that this is "solved and moved on" for someone else!!!
--
Mark E. Sunderlin
Data Architect // AOL Platforms
P: 703-265-6935 // C: 540-327-6222 // 22000 AOL Way, Dulles, VA 20166
AIM: MESunderlin

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Replicating Users across clusters

Post by id10t » Wed Jan 14, 2015 11:10 am

Hi!

[DELETED]
Last edited by id10t on Mon May 04, 2015 9:05 pm, edited 1 time in total.

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Replicating Users across clusters

Post by id10t » Wed Jan 14, 2015 12:01 pm

Hi!

[DELETED]
Last edited by id10t on Mon May 04, 2015 9:04 pm, edited 1 time in total.

scutter
Master
Master
Posts: 302
Joined: Tue Aug 07, 2012 2:15 am

Re: Replicating Users across clusters

Post by scutter » Wed Jan 14, 2015 4:06 pm

If he’s using LDAP authentication, then the stored password issue isn’t an issue.

—Sharon
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC

mesunderlin
Newbie
Newbie
Posts: 5
Joined: Wed Mar 26, 2014 9:12 pm

Re: Replicating Users across clusters

Post by mesunderlin » Wed Jan 14, 2015 4:21 pm

>>If he’s using LDAP authentication, then the stored password issue isn’t an issue.

Right, we are using LDAP, so password replications is not an issue.

>>Or do you want a final solution? Do you want a script that generates restore-able dumps of users?

Well, that would be nice. ;)

But if you could maybe just expand on this, we could likely finish it off:

>>main server::[EXEC] dump users meta data to file(FORMAT: sql statements)

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Replicating Users across clusters

Post by id10t » Wed Jan 14, 2015 4:33 pm

Hi!

[DELETED]
Last edited by id10t on Mon May 04, 2015 9:02 pm, edited 1 time in total.

mesunderlin
Newbie
Newbie
Posts: 5
Joined: Wed Mar 26, 2014 9:12 pm

Re: Replicating Users across clusters

Post by mesunderlin » Wed Jan 14, 2015 4:43 pm

id10t wrote:Hi!
mesunderlin wrote:But if you could maybe just expand on this, we could likely finish it off:
No problem, pay me and you will get :)

PS
I have to say - for company like AOL its a boorishness to ask a free solution:)
May be some nice developer, who do not appreciate it own time (time is money, right?) will provide to you a solution.
To be fair, I was hoping someone else already had this done as it seems like a common enough use case. However, if no one has this lying around already done, then there is no need for anyone to write it for us.

Post Reply

Return to “Vertica Database Administration”