WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


Creating profiles using the manageprofiles command

Learn about creating a profile from the command line using the manageprofiles command and a property file.

Before you begin

To find out more about the manageprofiles command, see manageprofiles command.

Before you run the manageprofiles command ensure that you have completed the following tasks:

Security role required for this task: See Granting write permission of files and directories to non-root users for profile creation.
For i5/OS operating system Note: On i5/OS® platforms: You must have operating system permissions to read, write, and run commands in the user_data_root/profiles directory.

To use the manageprofiles command to create a profile, perform the following steps.

Procedure
  1. Determine the kind of profile you want to create, which in turn determines the template to use for your new profile (using the -templatePath option). The following templates are available:
    • default.esbserver: for a WebSphere Enterprise Service Bus stand-alone server profile, which defines a stand-alone server.
    • dmgr.esbserver: for a WebSphere Enterprise Service Bus deployment manager profile, which defines a deployment manager.
    • managed.esbserver: for a WebSphere Enterprise Service Bus custom profile, which, when federated to a deployment manager, defines a managed node. Do not federate a node unless the deployment manager you are federating to is at a release level the same or higher than that of the custom profile you are creating. WebSphere Enterprise Service Bus profiles can use a WebSphere Enterprise Service Bus or WebSphere Process Server deployment manager.

    Templates for each profile are located in the install_root/profileTemplates directory.

  2. Determine which parameters are required for your type of profile by reviewing the example profile creation commands in or Example: Creating profiles with manageprofiles command and Oracle databaseCreating profiles with manageprofiles command with Derby or DB2 databases – examples orExample: Creating profiles with manageprofiles command and Oracle database.
  3. Determine the values that you want to supply for the profile by reviewing the default values in the manageprofiles command parameters topic to see if they are what you need for your profile.
  4. Run the file from the command line. Here are some simple examples. For more complex examples, see Creating profiles with manageprofiles command with Derby or DB2 databases – examples or Example: Creating profiles with manageprofiles command and Oracle database.
    • For i5/OS operating system manageprofiles -create -templatePath install_root/profileTemplates/default.esbserver
    • For Linux operating systemFor UNIX operating system manageprofiles.sh -create -templatePath install_root/profileTemplates/default.esbserver
    • For Windows operating system manageprofiles.bat -create -templatePath install_root\profileTemplates\default.esbserver

    If you have created a response file, use the -response parameter: -response myResponseFile

    The following example shows a response file for a create operation:
    create
    profileName=testResponseFileCreate
    profilePath=profile_root
    templatePath=install_root/profileTemplates/default.esbserver
    nodeName=myNodeName
    cellName=myCellName
    hostName=myHostName
    omitAction=myOptionalAction1, myOptionalAction2
    The command displays status as it runs. Wait for it to finish. Normal syntax checking on the response file applies as the file is parsed like any other response file. Individual values in the response file are treated as command-line parameters.

What to do next

You can see that your profile creation completed successfully if you receive a INSTCONFSUCCESS: Profile creation succeeded. message, and you can check the following log file:
  • For Linux operating systemFor UNIX operating system install_root/logs/manageprofiles/profile_name_create.log
  • For Windows operating system install_root\logs\manageprofiles\profile_name_create.log
  • For i5/OS operating system user_data_root/profileRegistry/logs/manageprofiles/profile_name_create.log
Run the Installation Verification Test (IVT) tool to verify that the profile was created successfully. To do this, run the following command:
  • For i5/OS operating system On i5/OS platforms: profile_root/bin/wbi_ivt
  • For Linux operating systemFor UNIX operating system On Linux® and UNIX® platforms: profile_root/bin/wbi_ivt.sh
  • For Windows operating system On Windows® platforms: profile_root\bin\wbi_ivt.bat

task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/tins_manageprofiles_create.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).