16

What is the difference between a managed server and admin server in Weblogic parlance? What is the responsibility of both in a standard production environment?

P.S: As I understood from the docs the Admin servers' responsibility is to manage the resources in a domain(a logical grouping of a few managed servers and one Admin server) but what I am not clear about are a few examples of what kind of resources it is responsible for managing?

varun113
  • 451
  • 3
  • 11
Geek
  • 26,489
  • 43
  • 149
  • 227

3 Answers3

28

Weblogic defines the roles of Admin/Managed server as follows:

  • Admin Server
    • can be only one for a Domain, which works like a Central Configuration/Monitoring controller for the entire domain
    • runs the console, where you can create new managed servers, define DataSources (DB connections), JMS queues, deploy apps to Managed Servers, etc.
  • Managed Server
    • additional WebLogic Server instances
    • you deploy Web applications, EJBs, and other resources onto the Managed Servers and use the Administration Server for configuration and management purposes only. This is where you run your apps.
    • Managed Servers can be grouped to clusters.
    • one of the examples of a Managed Server is a server running SOA applications, like OSB or BPEL.

See e.g. Understanding WebLogic Server Domains.

Aleš
  • 8,896
  • 8
  • 62
  • 107
  • 1
    Admin Server and Managed servers run on the same JVM ? – Geek Jul 11 '13 at 04:02
  • 2
    No, each is running in its own VM, their startup scripts are different. But they can share the hardware. – Aleš Jul 11 '13 at 04:04
  • I have added some examples for each server. – Aleš Jul 11 '13 at 04:13
  • J when you say "deploy apps" in Admin Server , what kind of apps you mean? you deploy apps in admin servers or managed servers ? – Geek Jul 11 '13 at 14:43
  • You deploy apps through the admin server. Usually you use AdminServer to deploy apps to the Managed servers. – Aleš Jul 11 '13 at 16:05
  • My understanding is, if we fire a request to WLS, it will got to respective manage server and not Admin server. Is this correct understanding? – Tushar Banne Jan 22 '16 at 10:18
  • `can be only one for a Domain`, that means each domain can have one admin server? – Sam YC Jan 25 '19 at 01:39
  • that was true back then. I am not sure if it still applies. I think so. – Aleš Jan 25 '19 at 05:09
1

WebLogic Server Instance is a run time JVM and it is part of WebLogic Domain. First Server Instance is called as Administration Server and it is used for Administering the domain. Other Server Instances in a domain are called Managed Servers and they are used for hosting the deployed applications.

0

Admin Server is for managing the administration options for the Weblogic instance hosted. All sorts of configurations which are central are all put up in the Admin Server. The start/stop script of Admin server is separate. You can start/stop Managed Server from the Admin Server console also.

Managed Server is used for deploying/starting/maintain Web Applications. The start/stop script of Managed Server is separate.

Both can run on the same hardware.