Configuring application servers to automatically start when the QWAS8 subsystem starts

WebSphere® Application Server runs in its own subsystem, called QWAS8, which is installed with the product. Use these steps to configure application servers to start automatically when the QWAS8 subsystem starts.

Procedure

  1. Give your user profile authority to the QWAS8/QWASJOBD job description and QWAS8/QWAS8 subsystem description. For each profile:
    1. Create a duplicate of the job description used by WebSphere Application Server profiles. For example, issue the following command on the CL command line:
      CRTDUPOBJ OBJ(QWASJOBD) FROMLIB(QWAS8) OBJTYPE(*JOBD) TOLIB(mywasjobd) 
           NEWOBJ(myserv)
    2. Change the user of the duplicate job description (jobd) from *RQD to QEJBSVR to avoid multiple job descriptions with the same user. For example, issue the following command on the CL command line:
      CHGJOBD JOBD(mywasjobd/myserv) USER(QEJBSVR)
    3. Use the CHGJOBD command to change the newly created job description such that the Request data or command (RQSDTA) field starts the new server. For example, to start the default profile for the application server (server1) when the subsystem is started, set the RQSDTA field as follows:
      'QSYS/CALL PGM(product_library/QWASSTRSVR) PARM(''-profilePath'' 
             ''user_data_root/profiles/default'' 
             ''-server'' ''server1'')'
  2. Add an autostart job entry to the QWAS8/QWAS8 subsystem. Enter the following command from the CL command line:
    ADDAJE SBSD(QWAS8/QWAS8) JOB(myserv) JOBD(mywasjobd/myserv)
  3. Optional: Configure the system such that the QWAS8 subsystem starts during system startup. To enable automatic startup, add the following line to the system startup program:
    STRSBS QWAS8/QWAS8
    Notes:
    • The system startup program is defined by the QSTRUPPGM system value.
    • TCP/IP must be active before the product subsystem can start. Ensure that the STRTCP command runs before the STRSBS QWAS8/QWAS8 command in your startup program or in your autostart job.
    • For more information about the QSTRUPPGM system value, see the Work Management Guide, SC41-5306, which is available at:
      http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3ALG03/CCONTENTS



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 5:16:49 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=trun_ssenv_autostart
File name: trun_ssenv_autostart.html