<?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: help undeploying redeploying on horizontal cluster in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199874#M2795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All is documented by the SAS installation and/or fixes. It is not your own application as part of the WEB-server they are build and owned by SAS-institute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 21:28:11 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2015-06-04T21:28:11Z</dc:date>
    <item>
      <title>help undeploying redeploying on horizontal cluster</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199873#M2794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 slave nodes that i need to redeploy web applications on and the issue I am having is what are the applications called? I have a staging area on that masternode that i have coppied all the contes from to the slaves so I have a list of web applications is that the list I use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appsrvconfig.cmd -e run undeploy application sas.workflow9.4.ear&amp;nbsp;&amp;nbsp; SASServer1_1&lt;/P&gt;&lt;P&gt;appsrvconfig.cmd -e run deploy application sas.workflow9.4.ear&amp;nbsp;&amp;nbsp; SASServer1_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 24.0pt; font-family: 'Arial',sans-serif;"&gt;Additional Steps for Horizontal Clusters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: black;"&gt;To redeploy web applications on additional machines in a horizontal cluster, follow these steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Stop the SAS Web Application Server instances on the additional machines.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;OL start="2"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Copy the updated application EAR and WAR files from the primary machine to the staging directory on the additional machines. &lt;BR /&gt; The staging directory is typically &lt;EM&gt;SAS-config-dir\Levn\Web\Staging&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;OL start="3"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Use the &lt;EM&gt;appsrvconfig&lt;/EM&gt; command on each additional machine to undeploy and redeploy the web applications: &lt;BR /&gt; &lt;BR /&gt; &lt;EM&gt;appsrvconfig.cmd -e run undeploy application application-name server SASServer1&lt;/EM&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;EM&gt;appsrvconfig.cmd -e run deploy application application-name server SASServer1&lt;/EM&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 14:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199873#M2794</guid>
      <dc:creator>robm</dc:creator>
      <dc:date>2015-06-04T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: help undeploying redeploying on horizontal cluster</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199874#M2795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All is documented by the SAS installation and/or fixes. It is not your own application as part of the WEB-server they are build and owned by SAS-institute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 21:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199874#M2795</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-06-04T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: help undeploying redeploying on horizontal cluster</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199875#M2796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks ..shust hard to figure out the naming convention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:28:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199875#M2796</guid>
      <dc:creator>robm</dc:creator>
      <dc:date>2015-06-17T21:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: help undeploying redeploying on horizontal cluster</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199876#M2797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi robm. I've not worked extensively with the undeploy and redeploy commands, but I know a little about the middle tier deployment that may help you understand the doc a bit better. First in the doc you reference if you go to the topic&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#p0zmlylpg3ejydn1vg8x4tai4uxh.htm" title="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#p0zmlylpg3ejydn1vg8x4tai4uxh.htm"&gt;Scripting Tool for SAS Web Application Server&lt;/A&gt; you will see that it references a file called appserver.properties and that this file, which is located on your master under Lev&amp;lt;n&amp;gt;/Web/Scripts/AppServer/props, is referenced when you run the commands you mention. In here you will find the names of all the applications you have deployed in the environment and the name of the application server instance that was configured to manage an application. For example on one of my systems in this file I have the following entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;application.15.name=SASThemes9.4&lt;/P&gt;&lt;P&gt;application.15.serverName=SASServer1&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;application.20.name=SASVisualAnalyticsServices6.3&lt;/P&gt;&lt;P&gt;application.20.serverName=SASServer12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These properties tell me that SASThemes9.4 is the "application-name" of the application I want to undeploy and that SASServer1 is the "server". If I wanted to undeploy only this application the command syntax would look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;appsrvconfig.cmd -e run undeploy application &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SASThemes9.4 &lt;/SPAN&gt; &lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;server &lt;/EM&gt;SASServer1&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&amp;nbsp; &amp;lt;- This is for Windows. Use appsrvconfig.sh for Unix. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If I wanted to undeploy everything that is managed under SASServer1 I could specify "all" for the application-name instead:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;appsrvconfig.cmd -e run undeploy application &lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;all &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;server &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SASServer1&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;For &lt;SPAN style="font-size: 13.3333330154419px;"&gt;SASVisualAnalyticsServices6.3 I would use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;appsrvconfig.cmd -e run undeploy application &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SASVisualAnalyticsServices6.3 &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;server &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SASServer12&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;And for everything under SASServer12 I would use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;appsrvconfig.cmd -e run undeploy application &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333330154419px; background-color: #ffffff;"&gt;all &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: Arial, sans-serif; background-color: #ffffff;"&gt;server &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SASServer12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So once you have the syntax down the easiest way to retrieve specific applications names for apps that are defined in your environment would be too look for the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;application.&amp;lt;xy&amp;gt;.name in the properties file. Then you could use the technique described in the &lt;STRONG&gt;Executing a Batch Script&lt;/STRONG&gt; section to capture all these commands in a script so you don't have to run them individually on each horizontal cluster. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 18:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199876#M2797</guid>
      <dc:creator>jag_SAS</dc:creator>
      <dc:date>2015-06-18T18:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: help undeploying redeploying on horizontal cluster</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199877#M2798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks&lt;/P&gt;&lt;P&gt;all good now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:05:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/help-undeploying-redeploying-on-horizontal-cluster/m-p/199877#M2798</guid>
      <dc:creator>robm</dc:creator>
      <dc:date>2015-08-27T21:05:18Z</dc:date>
    </item>
  </channel>
</rss>

