You can run multiple Managed Servers in each domain to host your applications. WebLogic Managed Servers are captured 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 8 environment.
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.
If you plan to create a cluster, you need to create the Managed Servers that belong to that cluster before you create the cluster.
Before you can create a WebLogic Managed Server, the following criteria must be met.
A domain to contain the Managed Server must exist.
For more information, see How to Create a WebLogic 8 Domain and Administration Server.
The domain's AdminServer must be running.
To manually start an AdminServer, run the startAdminServer component procedure from the AdminServer component Details page.
The WebLogic software must be installed on the host on which you plan to install a Managed Server.
You must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
In the Common Tasks section in the browser interface, click WebLogic 8.
Click the Application Server Management: Create link.
The plan's Details page displays.
Click Run.
The Run page displays.
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 8 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.
Required. A name for the new variable set you create
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.weblogic8#AdminServerHS.
Required. The new Managed Server's name. This name is used in the targetRefName variable to create the Managed Server virtual host.
Required. The name of the Managed Server's startup script.
The default location of the startup script is /usr/local/bea/user_projects/servers/ domainName/targetName. This location can be changed by setting the altServerRoot component variable.
Required if not using SSL. The default value for this variable is 7010. If this port is not available, the Managed Server does not start and an error message displays. After you free the port, you can start the Managed Server by running the Start component procedure on the Managed Server's component Details page.
Required if using SSL. The default value for this variable is 7020. This port must be available, otherwise the Managed Server does not start and an error message displays. After you free the port, you can start the Managed Server by running the Start component procedure on the Managed Server's component Details page.
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.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in N1 Grid Service Provisioning System 5.0 Operation and Provisioning Guide.
Select the target host or target host set.
The Managed Server resides on the Remote Agent that you target.
The target host must be a member of the com.sun.weblogic#AdminServer host set.
Deselect the Target Host Set checkbox.
If you are capturing an existing WebLogic Managed Server within the provisioning system, select the markOnly option.
Click Run Plan (Includes Preflight).