Вы находитесь на странице: 1из 4

)What is meant by DataSoruce? WebLogic JDBC data sources provide database access and database connection management.

Each data source contains a pool of database connections that are created when the data source is created and at server startup. 2)What is connectionpool ? Each JDBC data source has a pool of JDBC connections that are created when the data source is deployed or at server startup. Applications use a connection from the pool then return it when finished using the connection. Connection pooling enhances performance by eliminating the costly task of creating database connections for the application.

3)What is multi Datasource ? A multi data source can be thought of as a pool of data sources. Multi data sources are best used for failover or load balancing between nodes of a highly available database system, such as redundant databases or Oracle Real Application Clusters (RAC). 4)Explain the different types of algarithms in multi datasource? A)Failover : The Failover algorithm provides an ordered list of data sources to use to satisfy connection requests. Normally, every connection request to this kind of multi data source is served by the first data source in the list. If a database connection test fails and the connection cannot be replaced, or if the data source is suspended, a connection is sought sequentially from the next data source on the list B)Load Balancing :Connection requests to a load-balancing multi data source are served from any data source in the list. The multi data source selects data sources to use to satisfy connection requests using a round-robin scheme. When the multi data source provides a connection, it selects a connection from the data source listed just after the last data source that was used to provide a connection. Multi data sources that use the Load Balancing algorithm also fail over to the next data source in the list if a database connection test fails and the connection cannot be replaced, or if the data source is suspended.

5)What is in-active session timeout? The number of inactive seconds on a reserved connection before WebLogic Server reclaims the connection and releases it back into the connection pool. You can use the Inactive Connection Timeout feature to reclaim leaked connections - connections that were not explicitly closed by the application. Note that this feature is not intended to be used in place of properly closing connections 6)What is the significance of Test-connection-on-reserve property? Where we have to set it? The number of seconds after which a call to reserve a connection from the connection pool will timeout. From admin console->Data source->connection pool->advance->Test Connections On Reserve

7)What is the difference between X-A and non-X-A drivers? X-A driver is used for transactional data source and non XA datasource is used for non transactional datasource. 8)For example password for DB has changed then how can we change password for Data source ? Is there any need to delete existing Datasource and create new one? Directly we can change the password for datasource in connectionpool and bounce server.There is no need to re-create data source again.

9)What are the different types of clusters ? Horizontal and vertical clusters. In vertical cluster all servers in cluster belongs to one physical machine. In horizontal cluster, the servers are spread among the different physical machines. 10)What is meant by scalability in clusters? We can add more servers to existing cluster without any business impact. 11)For example there are 4 JVM's are there in cluster. If any one of those JVM's get down how the remaining three servers will know about that? Each server used to send heart beats to all remaining servers in lcuster for every 10 seconds.If the heart beats from any server missed 3 consecutive heart beats, then remaining servers can understand that particular server gone down. 12)What is unicast and multi cast messaging clusters? Method of communication between servers: Multicast Each server communicates with every member server in the cluster. Which means heartbeats are sent to every server. Unicast - For the member servers in the cluster, group leaders are chosen and only those group leaders communicate with the servers among the group and these leaders notify each other about the availability of all the other servers. For example: Suppose there are 6 servers in the cluster. 2 groups are made and there are 2 group leaders. Other 2 servers of the group will notify their leader that they are alive and the group leader will send this information to the leader of other group. The frequency of communication in unicast mode is similar to the frequency of sending messages on multicast port. 13)How can we find out server starting time from admin console? Click on JVM, goto Monitoring->Genaral->ivation Time: 14)What are the different types of garbage collectors ? Serial GC, Parallel GC, Mark and sweep Gc, Parallel mark and sweep GC. 15)How to take backup of domain config? 16)What are the different types of deployment modes ? Stage , no-stage,extern modes 17)What is side-by-side deployment? While we doing deployement in production there would be no application down time is allowed in some senarios.At that time we will go to side-by-side deployment.In this existing clients used to access old deployment and new clients will access the new deployment. 18)What are the differences between production mode and develapment mode? In devolapment mode auto-deployment is on where as in production auto-deployment is off. In devolapment mode aJDK is SUN hotspot where as in production JDK is JROCKIT In devolapment mode log file rotates for each server startup whaere as in production log file rotates after it reaches to 500KB. In devolapment mode Boot.Properties file automatically created where as in production it will prompt for username and password. In devolapment mode default connectionpool size is 15 where as in production default connectionpool size is 25. 19)What is the significance of Keystores in weblogic? Keystores ensure the secure storage and management of private keys and trusted certificate authorities (CAs). This page lets you view and define various keystore configurations. These settings help you to

manage the security of message transmissions. 20)What is WLST? The WebLogic Scripting Tool (WLST) is a command-line scripting environment that you can use to create, manage, and monitor WebLogic Server domains. It is based on the Java scripting interpreter, Jython. In addition to supporting standard Jython features such as local variables, conditional variables, and flow control statements, WLST provides a set of scripting functions (commands) that are specific to WebLogic Server. 21)what are different types of Node Managers? Java based and Script based. 22)What is the significance of work Manager? In previous versions of WebLogic Server, processing was performed in multiple execute queues. Different classes of work were executed in different queues, based on priority and ordering requirements, and to avoid deadlocks. WebLogic Server uses a single thread pool, in which all types of work are executed. WebLogic Server prioritizes work based on rules you define, and run-time metrics, including the actual time it takes to execute a request and the rate at which requests are entering and leaving the pool. 23)How can u increase JVM heap size? Soto Admin console,click on perticular JVM->server start->Arguments.Here we have to specify -Xmx and -Xms value. 24)Why we have to keep -Xms and -Xmx value same? If we give low value for -Xms and high value for -Xmx, while server is starting it will be allocated by Xms value.If any high requests come, then it will go upto -Xmx value.It will take some time and CPU utilization will increase and time it will take.So for performance safty we used to set same value for Xms and -Xmx. 25)While server trying to start, if it gone into "admin" mode,what would be the cause?How you will troubleshoot it? There may be deployment issues or there may be DB connectviy issue.Genarally it used to occur when DB connection fails.So we have to troubleshoot from Datasource side.Tehn we have to check for deployemnets. 26)What are the different types of WLST modes? WLST Online: we can use WLST to connect to a running Administration Server and manage the configuration of an active domain, view performance data about resources in the domain, or manage security data (such as adding or removing users). You can also use WLST to connect to Managed Servers, but you cannot modify configuration data from Managed Servers. WLST Offline : Without connecting to a running WebLogic Server instance, you can use WLST to create domain templates, create a new domain based on existing templates, or extend an existing, inactive domain. we cannot use WLST offline to view performance data about resources in a domain or modify security data (such as adding or removing users). 27)What is the command for check CPU utilization of process? The command "top" 28)What are the ways to copy a file from once server to other server? ftp(from unix box to unix box),scp(from unix box to unix box),winscp(unix to windows) 29)What is command for checking whether perticula port is used or not in unix? netstat -a 30)What is the command for checking virtual IP in unix? ifconfig -a

31)What is the command for displyaing last 10 lines in file? tail -10f file_name. 32)what is the command for going end of line in VI editor? Shift+a 33)What is default mode in VI editor? command mode. 34)How to check process ID of perticular peorcess? ps -ef |grep Perocess_name. 35)What is the syntax for scp command? scp test.tar username@destination_server_IP:/destination_path/ It copies the test.tar file from source place to destination server. 36)what is the limitaion of scp command? We can copy only files using this command.We can not copy folders 37)What is the significance of tar command? tar -cvf tar_file_name source_folder_name.

Вам также может понравиться