0% found this document useful (0 votes)
48 views

1) Not Able To Connect Database? (Ping Is Working Fine and Database Is Up and Running) What Would Be Reasons?

1) Possible reasons for not being able to connect to a database from an application server include: the database listener being down, incorrect configuration of the database port, or network connectivity issues between the application and database servers. 2) WebLogic cluster members communicate using IP sockets over unicast or multicast. Unicast communication uses a cluster master node while multicast does not require a master as each node communicates directly with others. 3) To configure LDAP authentication for WebLogic, create an LDAP authenticator and provider then configure the LDAP host, port, principal, and credentials.

Uploaded by

Sudhesh Pnair
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

1) Not Able To Connect Database? (Ping Is Working Fine and Database Is Up and Running) What Would Be Reasons?

1) Possible reasons for not being able to connect to a database from an application server include: the database listener being down, incorrect configuration of the database port, or network connectivity issues between the application and database servers. 2) WebLogic cluster members communicate using IP sockets over unicast or multicast. Unicast communication uses a cluster master node while multicast does not require a master as each node communicates directly with others. 3) To configure LDAP authentication for WebLogic, create an LDAP authenticator and provider then configure the LDAP host, port, principal, and credentials.

Uploaded by

Sudhesh Pnair
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

1) Not able to connect Database?

(ping is working fine and database is up and


running) what would be reasons?

If you have a client installed on ur application server, you can do a


tnsping to check db connectivity. Do a telnet on the port 1521 or whatever
port the DB is on and check the connectivity from app to db.DB Listener is
down

2) How can the cluster members will communicate weblogic

WebLogic Server clusters communicate using IP sockets and IP unicast or


multicast

Unicast:

Say you have three servers (MS-1,MS-2,MS-3) in a cluster now if they have
to communicate with each other they have to ping (i.e. heartbeats ) the
cluster master for informing him that he is alive.

If MS-1 is the master then MS-2 and MS-3 would send the ping to MS-1

Multicast:

Here there is no cluster master each server has to ping each other to
inform everyone that I am alive.

So MS-1 would send the ping to MS-2 & MS-3 same way MS-2 would send
the ping to MS-1 & MS-3 and MS-3 would ping MS-1 & MS-3.

Unicast uses TCP communications.Multicast uses UDP communication.

TCP is reliable protocol whereas multicast is non reliable because when a


packet is send you dont get ack whether package is received or not

By default, a Web server plug-in uses the DynamicServerList parameter to


receive information about cluster changes, such as new server instances
in a configured or dynamic cluster. Upon recognizing a cluster membership
change, the plug-in automatically updates its server list.

3) WebLogic Architecture briefly ?


External user DMZ FirewallBigIP(VIPS) Associated Pool of
OHS(mod_wl.so) FMW

Reaches the BIG-IP - Looks for the pool/rule - Forwards request to one of
the node in the pool

4) What is LDAP and how to configure LDAP server to weblogic server?

Light weight Directory Access Protocol

Weblogic support different LDAP authentication provider like


OID,AD,OVD,Open Ldap etc.First create a ldap authenticator and select
the authenticator used by the LDAP provider. Configure ldap provider and
provide values like ldap host, port,principal,credential

5) upgrade the weblogic version and explain the steps?

In latest WLS 12C version you can use the upgrade installer.

Shutdown the WLS process and backup the domain & product directory

Download and the run the upgrade installer java -jar


wls1036_upgrade_generic.jar and show the existing domain to upgrade

6) WLS password reset

WebLogic encryption algorithm is 3DES (Triple DES)

java weblogic.security.utils.AdminAccount weblogic <NewPassword> .

The above command will create DefaultAuthenticatorInit.ldift file with


new password on the same location

7 ) How to trace the user request.

whenever the request gets routed from any Load balancer or Web-server
to any application server, the routed request contains a header part which
includes information of the
server like Port, Listen address etc based on which it routes to its
appropriate server hosting application.

OHS config change

Debug ON
WLLogFile /tmp/weblogic.log
8) Two managed MS1, MS2 servers is there in a cluster. how can you
say that load is there on only one server?
go to deployment->your web application->Monitoring->workload- check the
session on each node

9) If two managed servers is there Same Domain is configured in both


servers, but one server is crashed then how can you create a domain
with the same configuration?

You can use pack/unpack commands provided by Oracle.


You can also manually create a domain template if you prefer using the
Domain Template Builder.

1) Login to admn console-select the managed server which was failed->


click on clone->Modify the Listen address to point to the new VM IP.

a. Use pack command to pack the wls domain with managed=true

Install WLS in destination server and unpack the domain

You might also like