Previous Topic: Configure Machine Templates for WebLogic

Next Topic: Create WebLogic Service Template


Define the WebLogic Application

The initial step is to define the WebLogic application to be used in the service template and the actions that are required to execute the application.

Follow these steps:

  1. In the Staging directory in the CA Server Automation installation directory, create a folder for the WebLogic application.
  2. Copy all the application files to the folder.
  3. In the CA Server Automation user interface click Resources, and in the Explore tree, right-click OnDemand Services, and select New Application.

    The Define Application wizard opens in the Application Details panel.

  4. Specify the Name, Version, and Vendor for the application.
  5. Specify the location of the application files (absolute path or relative to the Staging folder).
  6. Click Next.

    The System Requirements panel opens.

  7. Set the following recommended values:
  8. Click Next.

    The Configure Installation Actions panel opens. You will define four installation actions: Install WebLogic, Create Files for Domain, Create Domain, and Start WebLogic Service.

  9. Click + to define the Install WebLogic action.
    1. On the Select Installation Action panel, select Execute Program from the Action drop-down list.
    2. Enter a description for the action.
    3. In the Program Name field, select the following executable file:
      server103_win32.exe
      
    4. Click Next.
    5. On the Define Installation Action Options panel, add the following three options:
      -mode=silent
      
      -silent_xml=C:\SA\Weblogic-10.3\silent.xml
      
      -log=C:\CA_SA_Weblogic_silent.log
      
    6. Click Finish.

      The action is saved.

  10. Click + to define the Create Files for Domain action.
    1. On the Select Installation Action panel, select Execute Program from the Action drop-down list.
    2. Enter a description for the action.
    3. In the Program Name field, input the batch file to execute:
      C:\SA\Weblogic-10.3\CreateWeblogicFile.bat
      
    4. Click Next.
    5. On the Define Installation Action Options panel, add the following option:
      -domianname CA_SA_Weblogic
      

      Make the option editable for end users.

    6. Click Finish.

      The action is saved.

  11. Click + to define the Create Domain action.
    1. On the Select Installation Action panel, select Execute Program from the Action drop-down list.
    2. Enter a description for the action.
    3. In the Program Name, input the batch file to execute:
      C:\bea\WLS_WLI_WLP_103_silent\wlserver_10.3\common\bin\wlst.cmd
      
    4. Click Next.
    5. On the Define Installation Action Options panel, add the following option:
      C:\SA\Weblogic-10.3\CreateDomain.py
      
    6. Click Finish.

      The action is saved.

  12. Click + to define the Start WebLogic Service action.
    1. On the Select Installation Action panel, select Execute Program from the Action drop-down list.
    2. Enter a description for the action.
    3. In the Program Name field, input the batch file to execute:
      C:\SA\Weblogic-10.3\InstallStartWeblogicSvc.bat
      
    4. Click Next.
    5. On the Define Installation Action Options panel, only check the preview and click Finish.

      The action is saved.

  13. Click Next, and then Finish.

    The WebLogic application is saved.