Sun N1 Service Provisioning System User's Guide for BEA WebLogic 9 Plug-in 1.0

ProcedureHow to Install the WebLogic Software

You need to install the WebLogic software before you create WebLogic domains, Administration Servers, or Managed Servers. When you install the WebLogic software, a virtual host that represents the software installation is created. You use this virtual host later as the target host for WebLogic Administration Servers, WebLogic machines, and Managed Servers.

Managed Servers and Administration Servers use the same Install component, which installs the WebLogic 9 software on the Remote Agent. After you have installed the Install component on a Remote Agent, you do not have to reinstall that component again.

You can use this procedure to install the WebLogic software or you can use this procedure to register existing software within the provisioning system by selecting the markOnly option.

Before You Begin

Review the Process Overview.

Steps
  1. Prepare all hosts.

    The WebLogic 9 plug-in contains a new system service that must be distributed to all hosts in the provisioning system. See Preparing a Physical Host in Sun N1 Service Provisioning System 5.2 System Administration Guide.

  2. In the Common Tasks section in the browser interface, click WebLogic 9.

  3. Click the WebLogic Software Installation: Install link.

    The plan's Details page displays.

  4. Click Run.

    The Run page displays.

  5. In the Plan Parameters area, select the variable settings for the Install component that you plan to deploy.

    • If the variable settings have been established for this component, select the appropriate settings from the menu.

    • If the settings are not available from the menu, click Select From List.

      The Select Variable Settings From List window displays.

      • To create a new set of variable settings, select Create Set.

        The following list provides commonly updated variables for the Install component.

        variable set name

        Required. A name for the new variable set you create

        beaHome

        Required. The WebLogic BEAHOME directory. The default value for beaHome is /usr/local/bea. You need to update this value if you plan to have multiple installations of the WebLogic software on one machine.


        Note –

        This directory or link must exist or be able to be created by the weblogicUser. If the directory or link exists, the weblogicUser must have write access to the directory.


        sourceImage

        Required for all non-markOnly installations. The absolute path to the WebLogic binary package installer or JAR file.

        sdkJavaHome

        Required for installation with an installer JAR file. Specifies the JAVA_HOME variable value for SDK version 1.5.0_04, or compatible version.

        If you are using a binary installer, leave this value blank.

        altTempDir

        Optional. An alternative directory to expand the install image. The default value is the /var/tmp directory. If the /var/tmp/ directory does not contain 1 Gbyte of available space, set altTempDir to another directory.

        wlHomeDir

        Optional. Location of the WebLogic software installation. The default value is the weblogic91 subdirectory of the WebLogic BEAHOME directory. Specify a value for this variable if you plan to run multiple instances of the WebLogic software.

        webLogicUser

        Required. The UNIX user to run the WebLogic installation. This user must exist on the host to be installed and must have write permission on the beaHome directory. You can change the default value from weblogic to this to root if you do not want to create a new user.

        targetRefName

        Required. The unique virtual hostname for this installation. This value is used as the target host during domain and Managed Server creation. You need to provide a unique value for this variable for each installation of WebLogic.


        Note –

        If you install the WebLogic software multiple times on the same host, you need to change this variable to a new value. beaHome must also be different for each installation.


        installNodeManagerService

        Optional. Enables the WebLogic Node Manager service on the target host. The Node Manager service enables the target host to remotely control the start and stop operations on Managed Servers. The default value is no.

        installPath

        Required. Specifies the location where the WebLogic software is to be installed. The default value is the value of the beaHome variable.

        componentPaths

        Optional. Sets the WebLogic components to be installed. The WebLogic 9 Plug-In only supports the installation and configuration of WebLogic Server.

        By default, the software required to run WebLogic domains and application servers is installed. If additional components are selected, more space (beyond the 350 Mbytes) is required.

        weblogicTmpDir

        Required. Specifies the location for temporary install files on the target host. The default value is the weblogic9 subdirectory of the target host's temporary directory, such as tmp or Temp.

        installName

        Optional. Enables you to specify the type of installation you want to perform, either silent or interactive. The default value is the silent.xml file, enabling a silent installation.

        installHostName

        Specifies the name of the target host on which you want to install the WebLogic software.

        1. In the text field at the top of the table, type the name of the new variable settings set.

        2. To change the path to where you plan to install WebLogic, select the installPath row and type the correct path.

          The installPath variable, beaHome variable, and the WebLogic BEAHome of installation plan variable must contain the same value .

          The default value for these three variables is /usr/local/bea.


          Note –

          The value for the installPath variable is treated as a relative path to the default Remote Agent directory, unless you specify an absolute path, such as /opt. For example, for a Solaris Remote Agent, if you set the installPath variable to opt and deploy the file to an Agent with a default home directory of /opt/SUNWn1sps/agent, the file is deployed to /opt/SUNWn1sps/agent/opt/.


        3. To change the location of the WebLogic installer, select the sourceImage row and type the new location.

        4. To include additional WebLogic components in this installation, select the componentPaths row and type the additional components.

          Additional components can be specified in a pipe-separated list. For example, WebLogic Server|WebLogic Workshop|WebLogic Integration|WebLogic Portal.

        5. Click Save.

          The new variable settings display in the table.

        6. Click Select.

    • To use variable components from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  6. Select the target host.

    Install the WebLogic software on the Remote Agent that you plan to use as an Administration Server or a Managed Server.

  7. If you are capturing an existing WebLogic domain within the provisioning system, select the markOnly option.

    Ensure that the installPath, weblogicUser and sdkJavaHomevariable values match those of the existing domain.

  8. Click Run Plan (Includes Preflight).