Zend Server Subsystem after IPL

Zend Server Subsystem after IPL

Postby eaburk on Mon Feb 01, 2010 8:20 pm

Somehow the zend server subsystem is being started automatically after an IPL. How is the accomplished and can the startup/shutdown process be controlled by a program instead?
eaburk
 
Posts: 52
Joined: Mon Jan 04, 2010 3:42 pm

Re: Zend Server Subsystem after IPL

Postby zend_i5 on Tue Feb 02, 2010 9:20 am

QSYSWRK subsystem includes an autostart entry (ZSVRIPLD jobd)for the Zend Server subsystem start. Here are the steps In order to control the Zend Server process:
1. Remove Zend Server autostart entry from the QSYSWRK subsystem description
2. Create a CL program to start Zend Server processes. Here is a sample code which will start all Zend Server processes
Code: Select all
ADDLIBLE LIB(ZENDSVR)
STRSBS SBSD(ZENDSVR) /*Starts Zend Server PHP Toolkit daemons in ZENDSVR subsystem */
STRTCPSVR SERVER(*HTTP) HTTPSVR(ZENDSVR) /* Starts Apache processes in QHTTPSVR subsystem*/
zend_i5
 
Posts: 140
Joined: Mon Mar 23, 2009 5:22 pm

Re: Zend Server Subsystem after IPL

Postby eaburk on Tue Feb 02, 2010 1:49 pm

What would it take to shudown the server via CL program control? If i simply end the zendsvr subsystem (*cntrld) it doesn't come down all the way but if i use *immed it will bring it down - although i dont think very cleanly. Two processes keep running - I5_COMD and PHPJOB - under that subsystem when i use *cntrld.
eaburk
 
Posts: 52
Joined: Mon Jan 04, 2010 3:42 pm

Re: Zend Server Subsystem after IPL

Postby zend_i5 on Tue Feb 02, 2010 2:32 pm

If you do not want to use *immed options then before ending subsystem you can run following command which stops i5_COMD: ZCCENDEACD.
zend_i5
 
Posts: 140
Joined: Mon Mar 23, 2009 5:22 pm


Return to Zend Server for IBM i

Who is online

Users browsing this forum: No registered users and 3 guests