Creating WSRR profiles using the manageprofiles command

You can create WSRR profiles in two different ways, using the profile management tool, and from the command line using the manageprofiles command and a response file. This topic guides you through the steps involved in the creation of profiles, using the manageprofiles command.

Before you begin

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

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

  • You have read the full list of prerequisites for creating or augmenting a profile at Prerequisites for creating or augmenting profiles.
  • You have verified that you are not already running the manageprofiles command. If an error message is displayed, determine if there is another profile creation or augmentation action in progress. If so, wait until it completes.

About this task

You can create a profile silently by running a script that calls the manageprofiles command with a response file. The response file provides all the parameters required to create the profile. WSRR provides a number of sample response files for various database types. The sample response files are located in WAS_install/WSRR/install/profile-responsefiles.

Note: When creating a profile that uses a remote database, you must create the database by running database creation scripts on the remote system. You can do this before profile creation, by following the procedure described in Creating the WSRR database from scripts you have created, or using scripts generated by profile creation as described in Creating the database and tables after stand-alone profile creation or augmentation.

Procedure

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

  1. Select a sample response file on which to base your response file, and copy it to a temporary directory.
  2. Edit the response file to supply the parameters required for the creation of your profile. You can use the default values in the sample response files for most of the parameters, but you typically have to edit path names to point to your WSRR installation, and to the database that your profile will use, as well as supplying user ID and password details for the user who is running the creation task. See the topic on response files for guidance.
  3. Run the manageprofiles command with the -response argument, specifying the path to your response file. For example:
    • For Linux operating systemFor Unix operating system manageprofiles.sh -response /temp/create-oracle-standalone-singledb.txt
    • For Windows operating system manageprofiles.bat -response c:\temp\create-oracle-standalone-singledb.txt
    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

After you have created a profile, complete the following tasks:
Check the logs
You can see that your profile creation completed successfully if you receive the message "INSTCONFSUCCESS: Profile creation succeeded.", and you can check the following log file:
  • For Linux operating systemFor Unix operating system On Linux and UNIX platforms: install_root/logs/manageprofiles/profile_name_create.log
  • For Windows operating system On Windows platforms: install_root\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 Linux operating systemFor Unix operating system On Linux and UNIX platforms: profile_root/bin/wsrr_ivt.sh server_name
  • For Windows operating system On Windows platforms: profile_root\bin\wsrr_ivt.bat server_name
Start the server
Check the server operation by selecting Start the server from the First steps console. An output window opens. If you see a message like the following one, your server is operating properly:
ADMU3000I: Server server1 open for e-business; process id is 3348
You can also check server operation by running the Installation Verification Test (IVT) from the First steps console or running the ivt command. This test verifies that your deployment manager or stand-alone server installation is operating properly. For a stand-alone server profile, it also runs a System Health check and generates a report.
Load and activate a WSRR configuration profile
To make use of WSRR, you must load and activate a WSRR configuration profile. located in the <WAS_INSTALL_ROOT>/WSRR/config directory. After your server is started, load and activate a profile; see Loading a configuration profile and Activating a configuration profile for details.