Managed Server is an instance of your WebLogic server that is running on JVM and has its own configuration. In a Managed server, we will deploy the java components i.e Web Applications, EJB Applications, JMS Applications and Web services. There will always be Zero to N Managed Server per domain. Managed Server is Independent of other servers unless they are in the cluster. An admin Server stores master configuration of the domain including Managed Servers configuration. Each Managed Server stores a local copy of the config. For the first time Managed Server startup, Admin Server should be running. On subsequent Managed Server startup, it connects to Admin Server to synchronize configuration. If Admin Server is not available at start-up, Managed Server boots with its local copy.
Let’s see how to add a managed server to an existing domain,
Start the admin server if not,
[oracle@srv1 bin]$ pwd
/u01/app/oracle/Middleware/web/user_projects/domains/test_domain/bin
[oracle@srv1 bin]$ ./startWebLogic.sh
Login to the admin server console and follow below steps,
Expand the environment tab as below,
Execute below command to start the managed server,
[oracle@srv1 bin]$ ./startManagedWebLogic.sh ms1 t3://srv1.localhost:7001
Refresh the page using as below,
To avoid inserting username and password for consecutive starts do the following,
[oracle@srv1 ms1]$ pwd
/u01/app/oracle/Middleware/web/user_projects/domains/test_domain/servers/ms1
[oracle@srv1 ms1]$ mkdir security
[oracle@srv1 ms1]$ cd security/
[oracle@srv1 security]$ vi boot.properties
Insert the username and password on above boot.properties file as below,
0 Comments
Post a Comment