Operating System - HP-UX
1846058 Members
2376 Online
110253 Solutions
New Discussion

Distributing LP config to many servers

 
Paul Thomson_2
Super Advisor

Distributing LP config to many servers

Hi

Currently I have three systems which need the same LP spooler configuration.

In the past I have made changes on one server and then tarred up /var/sam/lp and moved to the other servers where I have untarred and restored in SAM

However, more servers are due to be added. I was hoping to do this under rdist and wondered if anyone had done this before ?

My main confusion is....

1) What directories etc to include in an rdist

2)If i rdist /var/sam/lp, whats the command to restore the config as you would do through SAM ?

Any help would be appreciated.
Argh ye land lovers !
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: Distributing LP config to many servers

http://www.cfengine.org/

live free or die
harry d brown jr
Live Free or Die
Paul Thomson_2
Super Advisor

Re: Distributing LP config to many servers

Ok, I found a way to rdist the /var/sam/lp from one server to all the others and then issue the command

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

This updates any printers added.

Argh ye land lovers !