Create a new instance

To create a new instance, run the crtwasinst script from Qshell the command line. This script creates all new server directories and sets up the correct authorities. To run this script, your iSeries user profile must have *ALLOBJ authority.

  1. On the OS/400 command line, enter the STRQSH (Start Qshell) command.

  2. On the Qshell command line, use the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebAS5/edition/bin

    where edition is Base for WebSphere Application Server and ND for WebSphere Application Server Network Deployment.

  3. Run the crtwasinst script:

    crtwasinst -instance instance -portblock portblock

    where instance is the name of the instance that is created and portblock is the first of a block of ports. For more information on the crtwasinst script and additional parameters, see The crtwasinst script.

  4. After you create an instance, see Start and stop application servers for instructions on starting the instance.

Example

In this example, the script creates an instance named devinst.

crtwasinst -instance devinst -portblock 10320