<?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: copying queue database between systems in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5686581#M102744</link>
    <description>I came across another thread on the subject form JESS&lt;BR /&gt;he had written a nifty little command file to create a command file to run on the migrated node - works perfectly thanks JESS</description>
    <pubDate>Mon, 11 Jun 2012 11:40:45 GMT</pubDate>
    <dc:creator>robert70</dc:creator>
    <dc:date>2012-06-11T11:40:45Z</dc:date>
    <item>
      <title>copying queue database between systems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5686551#M102743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;About to go LIVE with a new system (Integrity Server running VMS8.4, Node Name - CHAS)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking to Migrate the Queue Database across from the current system (Alpha DS20 VMS 8.3, also Node Name CHAS)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I simply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Alpha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ stop/queue/manager/cluster&lt;/P&gt;&lt;P&gt;$ set def systemdisk:[sys0.syscommon.sysexe]&lt;/P&gt;&lt;P&gt;$ copy SYS$QUEUE_MANAGER.QMAN$JOURNAL to INTEGRITY&lt;/P&gt;&lt;P&gt;$ copy SYS$QUEUE_MANAGER.QMAN$QUEUES to INTEGRITY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Integrity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$start/queue/manager&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since node names are identical presume queues will be identical and start with no problems?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 10:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5686551#M102743</guid>
      <dc:creator>robert70</dc:creator>
      <dc:date>2012-06-11T10:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: copying queue database between systems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5686581#M102744</link>
      <description>I came across another thread on the subject form JESS&lt;BR /&gt;he had written a nifty little command file to create a command file to run on the migrated node - works perfectly thanks JESS</description>
      <pubDate>Mon, 11 Jun 2012 11:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5686581#M102744</guid>
      <dc:creator>robert70</dc:creator>
      <dc:date>2012-06-11T11:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: copying queue database between systems</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5687183#M102745</link>
      <description>&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Answering your question, no I wouldn't expect the queues to&amp;nbsp;&amp;nbsp;start with no problems. It &lt;STRONG&gt;&lt;EM&gt;might&lt;/EM&gt;&lt;/STRONG&gt; workbut only under a very restrictive set of circumstances.&amp;nbsp;Queue entries refer to files by FID, so unless you have image copies of all disks, entries will break. There are possibly other entities&amp;nbsp;within the queue manager data base using physical (resolved), rather than logical references, like identifiers. The queue manager is a notoriously intractable file for backing up and restoring even on the same system. I certainly wouldn't trust it on a different system, no matter how closely you think you've cloned the old one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It's relatively easy to convert the output of SHOW QUEUE/FULL into SUBMIT commands to regenerate jobs. I'd guess that's what Jess's procedure does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; More generally, if you have a system with some set of jobs that are expected to be regularly scheduled, please make sure you have a procedure that can check everything is present and correct. That way your problem becomes moot. You just execute the checker when the system starts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My procedures all have a self submit branch which knows when, where and how the procedure should execute, invoked with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$&amp;nbsp;@&amp;lt;prodcedure&amp;gt; #SUBMIT [&amp;lt;after&amp;gt;] [&amp;lt;queue&amp;gt;] [&amp;lt;logfile&amp;gt;] [&amp;lt;params&amp;gt;...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using common code, so everything behaves the same way.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 21:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copying-queue-database-between-systems/m-p/5687183#M102745</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2012-06-11T21:56:23Z</dc:date>
    </item>
  </channel>
</rss>

