DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
This topic has been marked "Resolved."
Author Message
ffsw13



Group memberships:
Premium Members

Joined: 01 Feb 2016
Posts: 14
Location: USA
Points: 149

Post Posted: Thu Feb 02, 2017 2:10 pm Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
Additional info: What happens when ISD 11.3 applications are undeployed?
Ok so I've scrubbed the IBM docs before coming here to ask, in my opinion some form of this should be documented, if it is please point me there. Here goes:

I get it when ISD applications are deployed, The services are generated along with additional artifacts, depending on the binding that was selected. and picked up by WAS to run. What I am wonder is what happens when the applications UNdeployed? are the services simply run down? and when the the app is re-deployed, does it just update the services that were there already and re-start them?

On a related note, since the docs don't really give you a good idea on how to wind everything down and spin it back up in terms of the sequencing, I'll take a stab at it and please course correct me as required:

Shutdown sequence for a given app:

1. disable the information providers (in this case DataStage jobs) for a given app you are about to undeploy (which if it's DataStage the always running jobs should stop running verifiable in Director).

2. undeploy the application


Startup sequence for a given app:

1. deploy the application (if new services created they get deployed)

2. enable the information providers for the given app you just (re)deployed (which if it's DataStage the always running jobs should now be running verifiable in Director).

DataStage Engine re-cycle:
1. disable the information providers (jobs) so the jobs stop running

2. DataStage engine is shutdown and re-started

3. enable the information providers (jobs) so the jobs start running


Information Server recycle:

1. disable the information providers (jobs) so the jobs stop running

2. re-start information server via the standard shutdown sequence which is DSEngine first, ASB agents next, WAS third, and the Repo tier if required. Restart, sequence is reverse of what I just described.

3. ISD and it's apps and services should all be running automatically after the IS restart, no need to manually enable information providers?

TIA,

ff

_________________
The UNIVERSE is vast and expansive
I never Metadata I didn't like
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 2500
Location: USA
Points: 18027

Post Posted: Fri Feb 03, 2017 7:36 am Reply with quote    Back to top    

I don't know about the details going on under the covers.

I'm not sure what is meant by "disable the information providers" then undeploy. I think undeploy is the only step. When you undeploy the ISD applications, then ISD automatically stops the associated DataStage jobs. You can confirm that in DataStage Director. Every now and then if something unusual went wrong, I have seen where the ISD undeploy step leaves jobs up and running. In that case manually stop the jobs or kill their processes.

Already-deployed ISD applications do automatically restart themselves after restarting Information Server or after rebooting the server. The drawback to the ISD applications automatically starting is that the previously running instances have a status of "crashed" and after several server restarts, the status view in DataStage Director becomes cluttered with all the crashed instances, but it all functions OK.

Since I don't like the default behavior and want it to be cleaner, I had scripted ISD stop and start commands that we call from our overall Information Server stop and start scripts. Order-wise, stop ISD apps first before stopping the DataStage engine. Please see my post of a sample script with ISD deploy / undeploy commands:

http://www.dsxchange.com/viewtopic.php?t=144561

_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
Rate this response:  
Not yet rated
eostic

Premium Poster



Group memberships:
Premium Members

Joined: 17 Oct 2005
Posts: 3639

Points: 28934

Post Posted: Sat Feb 04, 2017 12:05 pm Reply with quote    Back to top    

Hi all. I don't recall the "exact" internals, but when you "deploy/undeploy" you are starting the generation of a formal WebSphere Application Server (WAS) EAR file. Without crawling into the de ...

_________________
Ernie Ostic

blogit!
Open IGC is Here!
Rate this response:  
Not yet rated
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 2500
Location: USA
Points: 18027

Post Posted: Mon Feb 06, 2017 2:07 pm Reply with quote    Back to top    

The console has buttons and tasks labeled Deploy and Undeploy but not enable or disable. How would one achieve the enabled or disabled state?

_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
Rate this response:  
eostic

Premium Poster



Group memberships:
Premium Members

Joined: 17 Oct 2005
Posts: 3639

Points: 28934

Post Posted: Tue Feb 07, 2017 6:12 am Reply with quote    Back to top    

In the Deployed Applications Workspace, click edit (lower right) after highlighting the Application at the upper left....then the enable/disable button "appears".

Ernie

_________________
Ernie Ostic

blogit!
Open IGC is Here!
Rate this response:  
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 2500
Location: USA
Points: 18027

Post Posted: Tue Feb 07, 2017 7:43 am Reply with quote    Back to top    

Thanks for the tip. I've been using ISD since 2012 and never knew that feature existed!

_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
Rate this response:  
eostic

Premium Poster



Group memberships:
Premium Members

Joined: 17 Oct 2005
Posts: 3639

Points: 28934

Post Posted: Tue Feb 07, 2017 8:29 pm Reply with quote    Back to top    

Glad you found it. Unfortunately it isnt intuitive. In the old RTI it was more prominent, maybe even a right click option....but that was 10+ years ago. ; )

Ernie

_________________
Ernie Ostic

blogit!
Open IGC is Here!
Rate this response:  
ffsw13



Group memberships:
Premium Members

Joined: 01 Feb 2016
Posts: 14
Location: USA
Points: 149

Post Posted: Tue Feb 28, 2017 2:11 pm Reply with quote    Back to top    

Thanks everyone, just what I was looking for, much appreciated. I will mark this topic as resolved and just say in closing that it is easy to grab the WSDLs once an application is deployed, the XSD's where a little harder to find, I ultimately found them in / installRoot /IBM/WebSphere/AppServer/profiles/InfoSphere/installedApps/ HostName Node01Cell/ISD_QSStan.ear.ear/QSStan_SOAPOVERHTTP.war/WEB-INF/wsdl/

_________________
The UNIVERSE is vast and expansive
I never Metadata I didn't like
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours