|
According to: http://publib.boulder.ibm.com/pvc/wp/502/smbi/en/InfoCenter/wpf/inst_startstop.html to stop and start a server I can do it through the webadmin client or via qshell. I'd like to do it via qshell scripts in order to put it in backup procedures, etc. So, I am thinking I need to create a qshell script like the following: # Stop the Websphere portal instances cd /QIBM/ProdData/WebAS5/PME/bin stopServer -instance WAS5Portal WAS5Portal -user MyUser -password MyPwd stopServer -instance default server1 -user MyUser -password MyPwd # end of file Then I can run it with something like: STRQSH CMD('/Operations/DownServers.sh') Next I'll have to start figuring out how to handle: - The "Press Enter to end terminal emulation" screen. - Exception handling. - Logging Pretty simple, or do I need a book on QSHELL scripting? Will some freebie infocenter link do it, or do you recommend one of the books at http://store.midrange.com like "QSHELL for iSeries" Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.