<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing Remote Printer Host in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714118#M61327</link>
    <description>James,&lt;BR /&gt;&lt;BR /&gt;I'm a little confused where you say "instead of pointing to server 'A' they will point to sever 'B'".  I usually think of the Print Server "pointing" to a printer instead of the other way around.  But that's probably just semantics.&lt;BR /&gt;&lt;BR /&gt;Let's say you have a printer, "ptr_a_1" configured on a NT print server, "srvr_a".  Your HP-UX lp system knows it as "ptr_a_1 on srvr_a".  For failover, you could configure the same printer on a second NT print server, "srvr_b".  Then, on your HP-UX lp system, you configure that printer as "ptr_b_1 on srvr_b".  Put both ptr_a_1 and ptr_b_1 in the same printer class.  Simply leave ptr_b_1 in a disabled state.  And have your print jobs going to the "class" instead of a specific printer.&lt;BR /&gt;&lt;BR /&gt;When whatever event occurs that causes you to need to failover, execute a script that disables ptr_a_1, and enables ptr_b_1.  Now, your HP-UX server is sending print jobs to srvr_b instead of srvr_a.&lt;BR /&gt;&lt;BR /&gt;The scritp is easy:&lt;BR /&gt;&lt;BR /&gt;disable ptr_a_1&lt;BR /&gt;enable ptr_b_1&lt;BR /&gt;&lt;BR /&gt;The real work will be in analyzing and configuring your printer classes.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
    <pubDate>Tue, 30 Apr 2002 13:02:46 GMT</pubDate>
    <dc:creator>Tom Dawson</dc:creator>
    <dc:date>2002-04-30T13:02:46Z</dc:date>
    <item>
      <title>Changing Remote Printer Host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714113#M61322</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;     I have several remote printers that are running on an NT sever.  I am trying to find a way to write a script that will switch all of those printers so that instead of pointing to server 'A' they will point to sever 'B'.  We need this for failover.  I though I could use the lpadmin command but the command runs but it does not make the changes.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help..</description>
      <pubDate>Tue, 30 Apr 2002 12:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714113#M61322</guid>
      <dc:creator>James D. Bennett</dc:creator>
      <dc:date>2002-04-30T12:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Remote Printer Host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714114#M61323</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;From lpadmin man&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      Assuming a printer lp on a remote system system2, the command:&lt;BR /&gt;&lt;BR /&gt;           /usr/sbin/lpadmin -plp3 -v/dev/null -mrmodel -ocmrcmodel&lt;BR /&gt;           -osmrsmodel -ob3 -ormsystem2 -orplp -v/dev/null&lt;BR /&gt;&lt;BR /&gt;      causes the spool system to use the local line printer lp3 and the&lt;BR /&gt;      model rmodel.  The spool system also uses the model rcmodel to cancel&lt;BR /&gt;      remote requests and rsmodel to get status from system2.  In addition,&lt;BR /&gt;      the three-digit sequence numbers, the remote system name system2 and&lt;BR /&gt;      the remote printer lp are used.&lt;BR /&gt;&lt;BR /&gt;If you want to move a printer for fallover either make 2 printers.&lt;BR /&gt;1 on each machine and look at class &lt;BR /&gt;&lt;BR /&gt;members of class belgo161:&lt;BR /&gt;        belgo046&lt;BR /&gt;&lt;BR /&gt;Disable and reject the printer you do not want&lt;BR /&gt;and all requests with lp -dclass go to the available one.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or make a script to remove the printer s and remake on the other machine.&lt;BR /&gt;&lt;BR /&gt;You cannot alter the host on an existing printer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Apr 2002 12:54:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714114#M61323</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-04-30T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Remote Printer Host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714115#M61324</link>
      <description>Hi James&lt;BR /&gt;First you have to remove printer then you can configure to server B.&lt;BR /&gt;There can't be one printer point to two server.&lt;BR /&gt;&lt;BR /&gt;Attached is the script that I uses to remove and add printers. &lt;BR /&gt;&lt;BR /&gt;#./printer -remove printername&lt;BR /&gt;#./printer -add server_name printername_on_server local_name&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Tue, 30 Apr 2002 12:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714115#M61324</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-30T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Remote Printer Host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714116#M61325</link>
      <description>Hi James&lt;BR /&gt;First you have to remove printer then you can configure to server B.&lt;BR /&gt;There can't be one printer point to two server.&lt;BR /&gt;&lt;BR /&gt;Attached is the script that I uses to remove and add printers. &lt;BR /&gt;&lt;BR /&gt;#./printer -remove printername&lt;BR /&gt;#./printer -add server_name printername_on_server local_name&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Tue, 30 Apr 2002 12:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714116#M61325</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-30T12:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Remote Printer Host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714117#M61326</link>
      <description>Hi James&lt;BR /&gt;&lt;BR /&gt;You can use a mock move of printers using sam , this will genrate files under /var/sam/lp&lt;BR /&gt;which be compressed and kept in the otehr system , once the failover takes place you can just reinstall these printers using sam after uncompressing the moverd files .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 30 Apr 2002 13:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714117#M61326</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-30T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Remote Printer Host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714118#M61327</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;I'm a little confused where you say "instead of pointing to server 'A' they will point to sever 'B'".  I usually think of the Print Server "pointing" to a printer instead of the other way around.  But that's probably just semantics.&lt;BR /&gt;&lt;BR /&gt;Let's say you have a printer, "ptr_a_1" configured on a NT print server, "srvr_a".  Your HP-UX lp system knows it as "ptr_a_1 on srvr_a".  For failover, you could configure the same printer on a second NT print server, "srvr_b".  Then, on your HP-UX lp system, you configure that printer as "ptr_b_1 on srvr_b".  Put both ptr_a_1 and ptr_b_1 in the same printer class.  Simply leave ptr_b_1 in a disabled state.  And have your print jobs going to the "class" instead of a specific printer.&lt;BR /&gt;&lt;BR /&gt;When whatever event occurs that causes you to need to failover, execute a script that disables ptr_a_1, and enables ptr_b_1.  Now, your HP-UX server is sending print jobs to srvr_b instead of srvr_a.&lt;BR /&gt;&lt;BR /&gt;The scritp is easy:&lt;BR /&gt;&lt;BR /&gt;disable ptr_a_1&lt;BR /&gt;enable ptr_b_1&lt;BR /&gt;&lt;BR /&gt;The real work will be in analyzing and configuring your printer classes.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Apr 2002 13:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-remote-printer-host/m-p/2714118#M61327</guid>
      <dc:creator>Tom Dawson</dc:creator>
      <dc:date>2002-04-30T13:02:46Z</dc:date>
    </item>
  </channel>
</rss>

