Operating System - HP-UX
1836959 Members
2504 Online
110112 Solutions
New Discussion

users and printers replication

 
Bruno DESQUESNE
Advisor

users and printers replication

Hello,

I am building a Service Guard cluster with 3 K580 servers running HPUX 10.20 (named A, B and C).
A is hosting users from three european countries.
B is hosting users from three other european countries.
C will act as a fail-over machine for either A or B.

Even if I do not plan to have C hosting A and B users at the same time, I need to replicate on a daily basis users from A and B. Some users are defined with the same logon and UID on both A and B.

I also have to replicate printer definitions as well.

Does somebody have a solution without NIS+ ?

TIA

Bruno
3 REPLIES 3
Rainer von Bongartz
Honored Contributor

Re: users and printers replication

Replicating printers is best done with
/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
then copy /var/sam/lp to the remote node and there run

/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp

Reagrds
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Roger Baptiste
Honored Contributor

Re: users and printers replication


If this are trusted systems, i wouldn't suggest NIS+, since both do not coexist easily.
Even if it is only NIS+, i wouldn't suggest
it considering the pain of maintaining on
top of a cluster environment.

For user changes, you can easily set up
scripts to monitor the changes to the password
files on a regular basis and keep the systems
updated accordingly. Same applies for
printer.

-raj
Take it easy.
Bruno DESQUESNE
Advisor

Re: users and printers replication

Thanks for your contributions.

I forgot to tell that I am using "Trusted system". This is one of the reason for which I do not want to use NIS+.

Sure, with this option, users replication from two servers to a third one is not obvious. I let this topic open

Best regards

Bruno