<?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 yppush command syntax question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539331#M369102</link>
    <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I recently merged two NIS domains into one, and even though I ran the ypmake on the master server, and ypinit on the slave servers, I discovered that not all the maps were propogated from the master to the slaves.&lt;BR /&gt;&lt;BR /&gt;I was going to use the yppush command to synchronize the maps between the master and the slaves, but I wanted to know what would be the correct syntax to use to ensure that all maps were progogated correctly. Thanks.</description>
    <pubDate>Tue, 24 Nov 2009 18:32:13 GMT</pubDate>
    <dc:creator>Andrew Kaplan</dc:creator>
    <dc:date>2009-11-24T18:32:13Z</dc:date>
    <item>
      <title>yppush command syntax question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539331#M369102</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I recently merged two NIS domains into one, and even though I ran the ypmake on the master server, and ypinit on the slave servers, I discovered that not all the maps were propogated from the master to the slaves.&lt;BR /&gt;&lt;BR /&gt;I was going to use the yppush command to synchronize the maps between the master and the slaves, but I wanted to know what would be the correct syntax to use to ensure that all maps were progogated correctly. Thanks.</description>
      <pubDate>Tue, 24 Nov 2009 18:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539331#M369102</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-11-24T18:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: yppush command syntax question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539332#M369103</link>
      <description>This is a followup to my previous posting. I ran the yppush command using the syntax shown below on the master NIS server, and the output I received is shown below:&lt;BR /&gt;&lt;BR /&gt;# yppush -v netgroup&lt;BR /&gt;Finding NIS servers:Map ypslaves.space unknown NIS client error code -- using ypservers&lt;BR /&gt; nptc-rtp1 rtp51 rtp37 cosmos1 cosmos2&lt;BR /&gt;cosmos2 has been called.&lt;BR /&gt;cosmos1 has been called.&lt;BR /&gt;nis server not registered at rtp37.&lt;BR /&gt;rtp51 has been called.&lt;BR /&gt;Status received from ypxfr on rtp51:&lt;BR /&gt;        Transfer not done:  master's version isn't newer.&lt;BR /&gt;nptc-rtp1 has been called.&lt;BR /&gt;Status received from ypxfr on nptc-rtp1:&lt;BR /&gt;        Transfer not done:  master's version isn't newer.&lt;BR /&gt;Status received from ypxfr on cosmos1:&lt;BR /&gt;        Transfer not done:  master's version isn't newer.&lt;BR /&gt;Status received from ypxfr on cosmos2:&lt;BR /&gt;        Transfer not done:  master's version isn't newer.&lt;BR /&gt;&lt;BR /&gt;Since the servers in question have newer versions of the NIS map, is there a command syntax that I can use to force the servers to accept the version coming from the master, or should I delete the netgroup file on the slave servers and rerun the push?</description>
      <pubDate>Tue, 24 Nov 2009 19:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539332#M369103</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-11-24T19:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: yppush command syntax question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539333#M369104</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] is there a command syntax [...]&lt;BR /&gt;&lt;BR /&gt;      man yppush&lt;BR /&gt;&lt;BR /&gt;I see none.  Have you tried "touch" on the&lt;BR /&gt;master map source file(s), and then a fresh&lt;BR /&gt;ypmake and/or yppush?&lt;BR /&gt;&lt;BR /&gt;Knowing nothing about which of these systems&lt;BR /&gt;is which, and who's a server, and so on, it's&lt;BR /&gt;a bit tough to interpret these messages.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  This is a followup to my previous posting.&lt;BR /&gt;&lt;BR /&gt;URL?  Pertinent details?&lt;BR /&gt;&lt;BR /&gt;There's something to be said in favor of&lt;BR /&gt;"ypinit [ -m | -s ]" on every server,&lt;BR /&gt;followed by yppush on the master.</description>
      <pubDate>Tue, 24 Nov 2009 19:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539333#M369104</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-24T19:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: yppush command syntax question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539334#M369105</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I did some further checking, and here is the procedure that, hopefully, will solve this problem:&lt;BR /&gt;&lt;BR /&gt;1. Run ypinit -m on the master server. &lt;BR /&gt;2. Run ypinit -s on the slave servers.&lt;BR /&gt;3. Run yppush  on the master server. &lt;BR /&gt;&lt;BR /&gt;The only question I have is, do I need to run yppush multiple times on the master server, or is there a way to push all maps in a single command? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Nov 2009 19:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539334#M369105</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-11-24T19:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: yppush command syntax question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539335#M369106</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The only question I have [...]&lt;BR /&gt;&lt;BR /&gt;I thought that a bare "yppush" would do them&lt;BR /&gt;all, but I'll admit that if "man yppush" says&lt;BR /&gt;that, then I don't see it.&lt;BR /&gt;&lt;BR /&gt;Apparently ("man yppmake"), ypmake will push&lt;BR /&gt;everything (unless you stop it.)&lt;BR /&gt;&lt;BR /&gt;Only one way to find out.</description>
      <pubDate>Tue, 24 Nov 2009 19:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539335#M369106</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-24T19:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: yppush command syntax question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539336#M369107</link>
      <description>In order for yppush on the master server to start pushing a map, there has to already be a copy of that map on the slave server.&lt;BR /&gt;&lt;BR /&gt;You can use FTP / SCP to "seed" the slaves with the master's .dir and .pag files, after which the yppush will work as expected.&lt;BR /&gt;&lt;BR /&gt;Or, you could run "ypxfr -f -h masterserver" for each map on each slave server - the "-f" is "force" which causes the slave to ignore the timestamps, and the "-h" option tells it which host to use in the absence of a YP_MASTER_SERVER key in a local copy of the map.&lt;BR /&gt;&lt;BR /&gt;The "newer" question is answered by the YP_LAST_MODIFIED key/value pair in the map file.  If you brought in map databases from two different domains, it's possible that the timestamps don't match up as you expect.&lt;BR /&gt;&lt;BR /&gt;You should also make sure that the master and slave servers' clocks are reasonably synchronized.</description>
      <pubDate>Wed, 25 Nov 2009 14:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/yppush-command-syntax-question/m-p/4539336#M369107</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2009-11-25T14:48:47Z</dc:date>
    </item>
  </channel>
</rss>

