<?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: Has anyone automated a Metadata sync process between a PROD linux environment and a &amp;quot;cold&amp;quot; bcp linux environment on linux? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178666#M2320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unix versions of SAS Metadata command-line utilities, at least up to the 9.3, are coded using Java Spring framework (I have been told). Therefore on Linux/Unix, they require a graphic dummy adapter like Xvfb to run in an headless terminal (eg batch, cron, nohup).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a Red Hat Linux machine (RHEL 5), we use xvfb and this works fine. Install first the Xvfb package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a RHEL 6 server with a 9.3 metadata server, I did a few tests using xvfb-run command, which seemed to work also (as far as I can remember : it's been quite a while).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# test rMetadata batch import/export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Syntax : &amp;lt;script&amp;gt; &amp;lt;user&amp;gt; &amp;lt;pwd&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xvfb-run -a /tools/list/sas93/SASPlatformObjectFramework/9.3/ExportPackage -host xxxxxxx -port 8561 -user "$1" -password "$2" -domain ldap -package "/home/xxxxx/package_test.SPK" -objects "/p5/Libraries"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xvfb-run -a /tools/list/sas93/SASPlatformObjectFramework/9.3/ImportPackage -host xxxxxxxxx -port 8561 -user "$1" -password "$2" -domain ldap -package "/home/xxxxxx/package_test.SPK" -target "/" -noexecute&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 16:14:43 GMT</pubDate>
    <dc:creator>ronan</dc:creator>
    <dc:date>2014-08-28T16:14:43Z</dc:date>
    <item>
      <title>Has anyone automated a Metadata sync process between a PROD linux environment and a "cold" bcp linux environment on linux?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178665#M2319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; We have created a number of ExportPackage that run on our PROD server.&amp;nbsp; The packages are replicated to our BCP server, and we have created a number of ImportPackage.&amp;nbsp; These 2 servers are Linux servers.&amp;nbsp; We would like to use cron to schedule these processes on a weekly basis, but we are not having any luck with running the Import/Export Package in a true background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Example -&lt;/P&gt;&lt;P&gt;#!/bin/ksh &lt;/P&gt;&lt;P&gt;sasdir=/sas/share/SASPlatformObjectFramework/9.3&lt;BR /&gt;packdir=/users/apps/stg/superbid/metadata_migration&lt;BR /&gt;saslogdir=/users/apps/stg/superbid/metadata_migration&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$sasdir/ExportPackage -host xxxxxxx -port xxxx -user xxxxxxx -password xxxxxx -package $packdir/SASGrid1_ACT_export_package.spk -objects "/System/Security/Access Control Templates(Folder)" -subprop -log $saslogdir/SAS_BATCH_EXPORT_ACT.log -since "Month to date"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178665#M2319</guid>
      <dc:creator>mmajorza52</dc:creator>
      <dc:date>2014-08-28T14:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone automated a Metadata sync process between a PROD linux environment and a "cold" bcp linux environment on linux?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178666#M2320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unix versions of SAS Metadata command-line utilities, at least up to the 9.3, are coded using Java Spring framework (I have been told). Therefore on Linux/Unix, they require a graphic dummy adapter like Xvfb to run in an headless terminal (eg batch, cron, nohup).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a Red Hat Linux machine (RHEL 5), we use xvfb and this works fine. Install first the Xvfb package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a RHEL 6 server with a 9.3 metadata server, I did a few tests using xvfb-run command, which seemed to work also (as far as I can remember : it's been quite a while).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# test rMetadata batch import/export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Syntax : &amp;lt;script&amp;gt; &amp;lt;user&amp;gt; &amp;lt;pwd&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xvfb-run -a /tools/list/sas93/SASPlatformObjectFramework/9.3/ExportPackage -host xxxxxxx -port 8561 -user "$1" -password "$2" -domain ldap -package "/home/xxxxx/package_test.SPK" -objects "/p5/Libraries"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xvfb-run -a /tools/list/sas93/SASPlatformObjectFramework/9.3/ImportPackage -host xxxxxxxxx -port 8561 -user "$1" -password "$2" -domain ldap -package "/home/xxxxxx/package_test.SPK" -target "/" -noexecute&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 16:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178666#M2320</guid>
      <dc:creator>ronan</dc:creator>
      <dc:date>2014-08-28T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone automated a Metadata sync process between a PROD linux environment and a "cold" bcp linux environment on linux?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178667#M2321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are doing a complete metadata synch between identical SAS server environments then you can do a file copy of the metadata folders and avoid packaging entirely. We do this for our Windows servers so I see no reason why it would not work on Linux.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 20:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178667#M2321</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-08-31T20:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone automated a Metadata sync process between a PROD linux environment and a "cold" bcp linux environment on linux?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178668#M2322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a duplicate of &lt;A _jive_internal="true" href="https://communities.sas.com/thread/60719"&gt;https://communities.sas.com/thread/60719&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The question is hitting more high level IT processes often coming in by mandatory guidelines and not being solely just technical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCP and cold, that is a Disaster Recovery (DR) question. A DR implementation is a common requirement it can be solved in several ways.&lt;/P&gt;&lt;P&gt;DR Using VM:&lt;BR /&gt;I would suppose the virtualized machine could do that. &lt;A class="jive-link-external-small" href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1000936"&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1000936&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;When you are using data on a SAN this is less trivial as you need the data on the SAN.&amp;nbsp; A SAN should offering mirroring to an other one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DR Using mirrors/clones:&lt;BR /&gt;In this case you are having an exact copy of the machine (cold) that can be activated when needed. &lt;BR /&gt;As the machines are cold you cannot use anything that is needing running services. The contradiction you are wanting is a running service for importing metadata.&lt;BR /&gt;A full mirror of all data (business installation configuration using eg SAN features) is the way to go.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;There are several attention points:&lt;BR /&gt;- connections to other machines must be included. External connections to be faked an being sure not to connect them.&lt;BR /&gt;- Open datasets can possible get corrupted. There must be a plan to tackle that. &lt;BR /&gt;&amp;nbsp; The SAS metadataserver is an in-memory process not necessary having all updates done to dasd.&amp;nbsp; &lt;BR /&gt;&amp;nbsp; You need to solve the often confusing naming of sas,metadata backup. It is no backup as commonly used it is an offloaded consistent version. &lt;BR /&gt;&amp;nbsp; The web-content server is possible needing also attention on this. &lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/bisag/67481/HTML/default/viewer.htm#n1n8fnuni6kbjgn1805ilb6xn9vf.htm"&gt;http://support.sas.com/documentation/cdl/en/bisag/67481/HTML/default/viewer.htm#n1n8fnuni6kbjgn1805ilb6xn9vf.htm&lt;/A&gt;&lt;BR /&gt;For testing purposes you will need an isolated network segment. Bringing up the machine and verify it is working as should be. Than closing/archiving that as cold again.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DR Clustering (different locations):&lt;BR /&gt;Building a cold unused datacenter was usual but with all things getting into cloud possible getting outdated.&amp;nbsp; In a clustered approach the DR is included.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/bisag/67481/HTML/default/viewer.htm#n1w2q4quib18udn1h8oj0wxfmgx6.htm"&gt;http://support.sas.com/documentation/cdl/en/bisag/67481/HTML/default/viewer.htm#n1w2q4quib18udn1h8oj0wxfmgx6.htm&lt;/A&gt;&amp;nbsp; (Metdataservers clustered) Clustering is aside availability also done for performance reasons.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Backup &amp;amp; Recovery&lt;BR /&gt;This is not the same as DR although technical solutions can have some overlap. There can be confusing about it. &lt;BR /&gt;The issue:&lt;BR /&gt;- A well taken complete backup can be part of a DR plan. &lt;BR /&gt;&amp;nbsp; Restore the backup to a new location and get it running.&amp;nbsp; &lt;BR /&gt;- An DR implementation usually does not fulfill the Backup/Restore requirements&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; Getting a single or several objects back to a previous version in the operational environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Backup&amp;amp;Recovery you are needing the export of the metadata being capable to restore a dedicated parts to previous versions.&lt;BR /&gt;When there are just components going through a development life cycle there must be already something. Archiving and documenting those should be sufficient.&lt;BR /&gt;The metadata can be used for a lot more things. &lt;BR /&gt;Allowing/promoting on an adhoc way of EGuide projects PDF/Word documents is placing the SAS metadata at the same way as a Windows share.&lt;BR /&gt;Having backup&amp;amp;restore requirements defined as business governance there must be something beign stated on that.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 06:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178668#M2322</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-09-01T06:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone automated a Metadata sync process between a PROD linux environment and a "cold" bcp linux environment on linux?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178669#M2323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. This can work but this requires also that the &lt;STRONG&gt;same&lt;/STRONG&gt; server hostnames referenced in metadata are resolved &lt;EM&gt;distinctly&lt;/EM&gt; - using aliases (?) - inside each environment. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 15:39:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178669#M2323</guid>
      <dc:creator>ronan</dc:creator>
      <dc:date>2014-09-02T15:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone automated a Metadata sync process between a PROD linux environment and a "cold" bcp linux environment on linux?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178670#M2324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked as there was an isolated DR-environment just for testing the functionality of a DR machine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The whole concept of cold DR locations I evaluate as very old and possible outdated.&amp;nbsp; It was common practice when you only did have a mainframe and terminals in a building. The indicated DR location should be capable of doing all that. The case could a plane coming down or some big fire. or...&amp;nbsp; Today mostly there are several datacenters at about least 5km distance serving several office-building locations.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The network for that is an isolated one. Access with workstations or servers outside that area is impossible. You need to be physically connected to hat network.&lt;/P&gt;&lt;P&gt;Byt that you can use the hostnames ip-addresses as full copy.&amp;nbsp;&amp;nbsp; There is not connection. something like all home routers serving a 168.x.x.x ip address.&lt;/P&gt;&lt;P&gt;Testing is/was done yearly sometimes to be repeated as a finding of missing copied volume. Once upon the time a production mistake was found in D/R not having hit the error in prod already.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 16:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Has-anyone-automated-a-Metadata-sync-process-between-a-PROD/m-p/178670#M2324</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-09-02T16:16:34Z</dc:date>
    </item>
  </channel>
</rss>

