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

Creating Managed Servers

You can run multiple Managed Servers in each domain to host your applications. WebLogic Managed Servers are installed and represented in the provisioning system by Server components. Throughout this book, Server refers to the provisioning system component, while Managed Server refers to the installed instance of the Managed Server running in the WebLogic 9 environment.

You can also enable your Managed Servers to use the WebLogic Node Manager process to remotely manage your systems. To enable your Managed Servers to use Node Manager, you must create a WebLogic machine on the Managed Server.

ProcedureHow to Create a WebLogic Managed Server

You can use this procedure to create a new Managed Server or you can use this procedure to register an existing Managed Server within the provisioning system by selecting the markOnly option.

Before You Begin

Before you can create a WebLogic Managed Server, the following criteria must be met.

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

  2. Click the Application Server Management: Create link.

    The plan's Details page displays.

  3. Click Run.

    The Run page displays.

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

    The Server component represents the Managed Server instance within the WebLogic 9 environment.

    • 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 ManagedServer component.

        variable set name

        Required. A name for the new variable set you create

        adminServerHostName

        Required. Name of the AdminServer virtual host that hosts the new Managed Server. This value will be in the format remoteAgentName_weblogic_admin_domainName.

        You can find the virtual host on the Hosts page. The virtual host will be of type com.sun.weblogic9#AdminServerHS.

        targetName

        Required. The new Managed Server's name. This name is used in the targetRefName variable to create the Managed Server virtual host.

        startupScriptName

        Required. The name of the Managed Server's startup script.

        serverPort

        Required. The default value for this variable is 7010. If this port is not available, the plan fails with a warning.

        serverSslPort

        Required. The default value for this variable is 7020.If this port is not available, the plan fails with a warning.

        listenAddress

        Required. The IP address the Managed Server uses to listen.

        useNodeManager

        Required. Specifies whether to use a WebLogic machine to remotely manage a Managed server (true/false). The default value is false. If you are using a WebLogic machine to remotely manage your managed server, set this value to true.

        adminPortOverRide

        Specifies the TCP port that this server will use for communications with the Administration Server.

        If the Managed Server is running on the same system as the Administration Server, change the default value for this variable to avoid a conflict with the port that the Administration Server is using for the administration port.

        If you change the value for this variable, this port will be used for all connections, overriding the value as specified by the administrationPort variable for the Administration Server. The default value is 9002.

        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. The default value for this variable is taken from the WebLogic software installation component.

        production

        Required. This variable determines whether the managed server is run in production mode. The default value of production is false. This variable can be set to true or false.

        serverRoot

        Required. The directory used for the Managed Server.

        If you are using a WebLogic machine to manage your Managed Server, set this value to :[wlHomeDir]:[/]common:[/]nodemanager:[/]:[domainName]:[/]servers:[/]:[targetName] to point to the Node Manager server root directory.

      • If you want to use another component's variable settings, click Import Set From Component.

        The Import Variable Settings window displays.

        1. If necessary, navigate to the Folder that contains the component with the variable settings you want to import.

        2. Select the component version.


          Note –

          Variable settings can vary between component versions. Ensure that the current components and the component from which you want to import variable settings share common variables. If the component from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable settings are not imported.


        3. Click Import Variable Settings.

          The variables settings are imported, and are displayed in the table.

        4. On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.

      • If you want to use component variable settings that are stored in a file, follow these steps.

        1. In the Import Sets from File text field, enter the path to the variable settings file that you want to use.

          To browse through the file system to find the appropriate file, click the Browse button.

        2. Click Import.

          The variables settings are imported, and are displayed in the table.


          Note –

          If the file from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable set is not imported.


        3. On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.

  5. Select the target host or target host set.

    The Managed Server resides on the Remote Agent that you target.

    Target the virtual host that was created when you installed the WebLogic software. See How to Install the WebLogic Software procedure.


    Note –

    The target host must be a member of the com.sun.weblogic9#InstallHS host set.


  6. If you are modelling an existing WebLogic Managed Server within the provisioning system, select the markOnly option.

    Ensure that the variables you specified for the component match the values for the existing managed server.

  7. Click Run Plan (Includes Preflight).