[AIX HP-UX Linux Solaris Windows]This topic applies only on the IBM i operating system.

Managing profiles using commands

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

Before you begin

This task assumes a basic familiarity with the 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 used by your server, and open the administrative console for your server.

[AIX Solaris HP-UX Linux Windows] This example deals with the profile environment of a standalone application server.

Procedure

  1. Create the server profile from the original installation:
    • [Windows] app_server_root\bin\manageprofiles.bat
    • [Linux] [HP-UX] [Solaris] [AIX] app_server_root/bin/manageprofiles.sh
    Assume that you create the profile by using the defaults. The following script is an example for creating an application server profile:
    • [Windows] app_server_root\bin\manageprofiles.bat -create -templatePath app_server_root\profileTemplates\default
    • [Linux] [HP-UX] [Solaris] [AIX] app_server_root/bin/manageprofiles.sh -create -templatePath app_server_root/profileTemplates/default
    The following script is an example for creating an application server profile that is enabled for the Feature Pack for CEA:
    • [Windows] app_server_root\bin\manageprofiles.bat -create -templatePath app_server_root\profileTemplates\CEA\default.ceafep
    • [Linux] [HP-UX] [Solaris] [AIX] app_server_root/bin/manageprofiles.sh -create -templatePath app_server_root/profileTemplates/CEA/default.ceafep
  2. Change directories to the profile_root/bin directory of the new server profile.
  3. Start the server.

    Issue the startServer command.

    [Windows]
    startServer.bat server1 -profileName profile_name
    [Linux] [HP-UX] [Solaris] [AIX]
    startServer.sh server1 -profileName profile_name
    Note: The -profileName argument is not necessary if you have already changed to the profile_root/bin directory of the target profile.
  4. Display the ports.

    These are the ports assigned during profile creation.

    [Windows] Open the portdef.props file in the profile_root\properties directory.

    [Linux] [HP-UX] [Solaris] [AIX] Open the portdef.props file in the profile_root/properties directory.

  5. Open the administrative console.

    The server1 administrative console is defined on the WC_adminhost setting for the non-secure administrative console port or the WC_adminhost_secure setting for the secure administrative console port.

    If the value of the WC_adminhost port for your server is 20003, for example, specify the following Web address in your browser:
    http://host_name_or_IP_address:20003/ibm/console/
    If the value of the WC_adminhost_secure port for your server is 9061, for example, specify the following Web address in your browser:
    https://host_name_or_IP_address:9061/ibm/console/

Results

You created an application server profile, augmented the profile with the feature pack, started an application server, and accessed the administrative console using your browser.

What to do next

Deploy an application.
Restriction: When you federate or unfederate an application server that is enabled for CEA, the Enable communications service attribute is reset. After federating or unfederating an application server that is enabled for CEA, you must re-enable this attribute before running CEA applications on the application server.
  1. In the administrative console, click Servers > Server Types > WebSphere application servers > server_name > Communications Enabled Applications (CEA).
  2. Check the Enable communications service checkbox.
  3. Click OK to save the changes to the local configuration.
  4. Click Save to save the changes to the master configuration.
  5. Stop and restart the application server.



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

Last updatedLast updated: Jun 11, 2013 12:23:29 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700cea&product=was-nd-mp&topic=tpro_setup
File name: tpro_setup.html