You can start a server from the i5/OS
command line by using the startServer Qshell command
or the Submit Job (SBMJOB) CL command.
Before you begin
Before you start a managed server, ensure that the following
conditions are true:
- The deployment manager and node agent are running.
- All resources required by applications deployed to the server
are available.
- All necessary subsystems are running.
- The server is not currently running.
About this task
To start a managed server from the i5/OS command line, perform
one of the following steps.
Procedure
- Use the startServer Qshell command.
- Use the Submit Job (SBMJOB) CL command.
SBMJOB CMD(CALL PGM(QWBI61/QWASSTRSVR) PARM('-profilePath'
'profile_root' '-server' 'server_name')) JOB(server_name)
JOBD(QWAS61/QWASJOBD) JOBQ(QWAS61/QWASJOBQ) USER(QEJBSVR)
LANGID(*USRPRF)
CNTRYID(*USRPRF) CCSID(*USRPRF) OUTQ(QWAS61/QWASOUTQ) ALWMLTTHD(*YES)
In
the command, server_name is the name of the server
and profile_root is the profile directory for the
server.
What to do next
After you start the server you can start and manage the applications
that run on the server.