 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Script to bring down multiple SBS on multiple LPAR&#8217;s</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/script-to-bring-down-multiple-sbs-on-multiple-lpars/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/script-to-bring-down-multiple-sbs-on-multiple-lpars/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/script-to-bring-down-multiple-sbs-on-multiple-lpars/#comment-108621</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 20 Jun 2012 01:45:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-108621</guid>
		<description><![CDATA[&lt;i&gt;Client is aware of the JDE application coming down.&lt;/i&gt;

Using JDE as a base example, my comments weren&#039;t about making the application unavailable. They were about correctly bringing down servers that may be in use by an application.

If the *DATABASE host server has been serving connections into the JDE database, using ENDSBS to end host server connections can (and eventually probably will) cause damage to the database. Most often it can be corrected with RCLSTG *DBXREF because only the system catalog synchronization is disturbed.

One difficulty can be that you won&#039;t know that it all must be resynchronized until days or weeks later. In the meantime, odd inexplicable errors get signaled that seem to go away simply by logging off and back on or by rerunning jobs or other weird actions.

But every once in a while, actual object damage is caused to tables in the database. Recovery from that can be painful.

So, instead of ENDSBS used to force jobs to shutdown, the proper sequence depends on what&#039;s going on in the subsystem. For QUSRWRK, for example, it should include ENDHOSTSVR  *DATABASE  ENDACTCNN(*DATABASE) to cause connections to be ended before the server jobs are ended.

Then, before ENDSBS QUSRWRK is done, the jobs in the subsystem should be tested to see if they&#039;re gone. If they aren&#039;t, then ENDSBS should not be run yet.

The *DATABASE server is only one of many server functions. And QUSRWRK is only one example subsystem. And each LPAR may be configured to break work into different subsystems or to have different kinds of work.

But all of that is just warning that there are meaningful risks. It&#039;s separate from your question.

What kind of “script” are you looking for? And What programming background will you be working from? (I.e., what languages have you worked with?) If &#039;scripts&#039; are provided, is there a language that&#039;d you&#039;d be more comfortable with?

Because this involves system control functions, CL is most appropriate. If you understand that CL is a compiled language rather than a &#039;script&#039;, it won&#039;t be a problem.

Also, if you&#039;re already going through steps manually, those steps might easily be converted into the exact &#039;script&#039; that you want. If you simply listed the steps, we could probably turn them around quickly.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>Client is aware of the JDE application coming down.</i></p>
<p>Using JDE as a base example, my comments weren&#8217;t about making the application unavailable. They were about correctly bringing down servers that may be in use by an application.</p>
<p>If the *DATABASE host server has been serving connections into the JDE database, using ENDSBS to end host server connections can (and eventually probably will) cause damage to the database. Most often it can be corrected with RCLSTG *DBXREF because only the system catalog synchronization is disturbed.</p>
<p>One difficulty can be that you won&#8217;t know that it all must be resynchronized until days or weeks later. In the meantime, odd inexplicable errors get signaled that seem to go away simply by logging off and back on or by rerunning jobs or other weird actions.</p>
<p>But every once in a while, actual object damage is caused to tables in the database. Recovery from that can be painful.</p>
<p>So, instead of ENDSBS used to force jobs to shutdown, the proper sequence depends on what&#8217;s going on in the subsystem. For QUSRWRK, for example, it should include ENDHOSTSVR  *DATABASE  ENDACTCNN(*DATABASE) to cause connections to be ended before the server jobs are ended.</p>
<p>Then, before ENDSBS QUSRWRK is done, the jobs in the subsystem should be tested to see if they&#8217;re gone. If they aren&#8217;t, then ENDSBS should not be run yet.</p>
<p>The *DATABASE server is only one of many server functions. And QUSRWRK is only one example subsystem. And each LPAR may be configured to break work into different subsystems or to have different kinds of work.</p>
<p>But all of that is just warning that there are meaningful risks. It&#8217;s separate from your question.</p>
<p>What kind of “script” are you looking for? And What programming background will you be working from? (I.e., what languages have you worked with?) If &#8216;scripts&#8217; are provided, is there a language that&#8217;d you&#8217;d be more comfortable with?</p>
<p>Because this involves system control functions, CL is most appropriate. If you understand that CL is a compiled language rather than a &#8216;script&#8217;, it won&#8217;t be a problem.</p>
<p>Also, if you&#8217;re already going through steps manually, those steps might easily be converted into the exact &#8216;script&#8217; that you want. If you simply listed the steps, we could probably turn them around quickly.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mlegarde</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/script-to-bring-down-multiple-sbs-on-multiple-lpars/#comment-108613</link>
		<dc:creator>mlegarde</dc:creator>
		<pubDate>Tue, 19 Jun 2012 16:57:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-108613</guid>
		<description><![CDATA[This is a normal recycle of an application I do on weekends. Client is aware of the JDE application coming down. This was going on before I arrived to the company. I&#039;m just looking to make my life a little easier where I&#039;m not manually running it. 

I&#039;m looking to automate the recycle of this application. I will using STRPDM.]]></description>
		<content:encoded><![CDATA[<p>This is a normal recycle of an application I do on weekends. Client is aware of the JDE application coming down. This was going on before I arrived to the company. I&#8217;m just looking to make my life a little easier where I&#8217;m not manually running it. </p>
<p>I&#8217;m looking to automate the recycle of this application. I will using STRPDM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/script-to-bring-down-multiple-sbs-on-multiple-lpars/#comment-108590</link>
		<dc:creator>splat</dc:creator>
		<pubDate>Mon, 18 Jun 2012 19:16:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-108590</guid>
		<description><![CDATA[Don&#039;t know if this is quite what you&#039;re asking, but we use the QWCRSVAL and QWCRSSTS APIs to retrieve the system serial  number, system name, and partition identifier.   That information is used to determine the processes for starting and stopping the various partitions and/or systems.]]></description>
		<content:encoded><![CDATA[<p>Don&#8217;t know if this is quite what you&#8217;re asking, but we use the QWCRSVAL and QWCRSSTS APIs to retrieve the system serial  number, system name, and partition identifier.   That information is used to determine the processes for starting and stopping the various partitions and/or systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/script-to-bring-down-multiple-sbs-on-multiple-lpars/#comment-108536</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 16 Jun 2012 05:58:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-108536</guid>
		<description><![CDATA[What kind of &quot;script&quot; are you looking for? AIX? REXX? Qshell? Something else? Although some discussions refer to CL programming as &#039;scripting&#039;, it is definitely very different.

This isn&#039;t as simple as it might seem. Bringing subsystems down shouldn&#039;t be done in a production environment without preparation. Ending the subsystems is easy, but handling all of the possible active work going on within a subsystem can be difficult.

Asking a question for an example &#039;script&#039; indicates some uncertainty about system management software. A multi-LPAR system with a JDE environment, ROBOT products and others indicates a reasonably sophisticated production environment that shouldn&#039;t be shut down without care. Simply coordinating management of multiple system images brings challenges of its own without consideration for applications that might be active.

What programming background will you be working from?

Tom]]></description>
		<content:encoded><![CDATA[<p>What kind of &#8220;script&#8221; are you looking for? AIX? REXX? Qshell? Something else? Although some discussions refer to CL programming as &#8216;scripting&#8217;, it is definitely very different.</p>
<p>This isn&#8217;t as simple as it might seem. Bringing subsystems down shouldn&#8217;t be done in a production environment without preparation. Ending the subsystems is easy, but handling all of the possible active work going on within a subsystem can be difficult.</p>
<p>Asking a question for an example &#8216;script&#8217; indicates some uncertainty about system management software. A multi-LPAR system with a JDE environment, ROBOT products and others indicates a reasonably sophisticated production environment that shouldn&#8217;t be shut down without care. Simply coordinating management of multiple system images brings challenges of its own without consideration for applications that might be active.</p>
<p>What programming background will you be working from?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 310/313 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 09:09:36 -->