Link to home
Start Free TrialLog in
Avatar of Satish Sahu
Satish Sahu

asked on

Script to enable and disable auto startup for deployed application,

Team,
Now I have an new request from client,as below.

In websphere,by clicking application, and then click on application ( war or ear) file,then go to target modules,there are 2 options, one is enable startup and disable startup.

Enable star up:- if it is enabled,then when JVM will start by the time ear also up
And
Disable startup:- if it is enabled,then when JVM will start by the time ear will not start,we need to do it manually.

For both the cases,we need to restart JVM post update.

Now requirements is that,we need create a script either Python or shell script to update the startups by selecting option when required ,not from console.

Step1:- option to select JVM
Step2:- option to see status of JVM is up and running or not
Step3:- option to select enable autostart , disable autostart up, status,...Here to select one and check the status.

Step4:- final verification post doing auto startup enabled or disabled

Can you look and send me script.

PMR raised,IBM said it can be automated.
Avatar of Louis LIETAER
Louis LIETAER
Flag of France image

Do you still help on this topic ?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.