[AIX HP-UX Linux Solaris Windows]This topic applies only on the i5/OS operating system.

Setting up and using the profile environment through commands

Use commands to create a profile, start the server of the profile, display the profile ports, and open the administrative console.

Before you begin

This task assumes a basic familiarity with the manageprofiles command, other application server commands, and system commands.

Before you can create and use a profile, you must install the product.

About this task

Perform the following steps to create a profile, start the server of the profile, display ports for your profile, and open the administrative console for your server.

Procedure

  1. Create the server profile from the original installation:

    [Linux] [HP-UX] [Solaris] [AIX] app_server_root/bin/manageprofiles.sh

    [Windows] app_server_root\bin\manageprofiles.bat

    [iSeries] app_server_root/bin/manageprofiles

    Assume that you create the profile by using the defaults.

    [Windows] The following script is an example for creating an application server profile on the Windows platform:
    "C:\Program Files\IBM\WebSphere\AppServer\bin\manageprofiles" -create 
    -templatePath "C:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default"			
    (The script is displayed on multiple lines for printing purposes.)
    [Windows] New or updated for this feature pack The following script is for the Windows platform and is an example for creating an application server profile that is augmented for the Feature Pack for Web Services:
    "C:\Program Files\IBM\WebSphere\AppServer\bin\manageprofiles" -create 
    -templatePath "C:\Program Files\IBM\WebSphere\AppServer\profileTemplates\WEBSERVICES\default.wsfep"	
    			
    (The script is displayed on multiple lines for printing purposes.)
  2. [Windows] Change directories to the bin directory of the new server profile.
    For example, issue the following command:
    cd "C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\bin"
  3. Start the server.

    [Windows] Change directories to the app_server_root\bin directory of the original installation.

    [AIX HP-UX Linux Solaris Windows] Issue the startServer command.
    startServer server1 -profileName AppSrv01
    [iSeries] The server name is the same name as the profile, which, in this case, is AppSrv01. Issue the startServer command.
    startServer -profileName AppSrv01
  4. Display the ports.

    [AIX HP-UX Linux Solaris Windows] These are the ports assigned during profile creation.

    [Windows] Open the portdef.props file in the app_server_root\profiles\AppSrv01\properties directory.

    [iSeries] Use the dspwasinst QShell script to display the ports for your new profile:
    app_server_root/bin/dspwasinst -profileName profileName
    The WC_adminhost port listed from Other Ports is the administrative console port.
  5. Open the administrative console.
    [AIX HP-UX Linux Solaris Windows] The port for the server1 administrative console is defined on the HTTP_TRANSPORT_ADMIN setting. If the value of the setting is 20003, then specify the following Web address in your browser:
    http://hostname_or_IP_address:20003/ibm/console/
    [iSeries] For example, if the value of the WC_adminhost port is 9061 for your server, then specify the following Web address in your browser:
    http://host
    name or IP address:9061/ibm/console

Results

You created an application server profile, started an application server, and accessed the administrative console through commands.

What to do next

Deploy an application.



In this information ...


Related reference

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 and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 1:23:07 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=tpro_setup
File name: tpro_setup.html