A highly available WebLogic cluster in UNIX is configured fo

题目
单选题
A highly available WebLogic cluster in UNIX is configured for automatic server migration. Node Managed is configured on both machines to start managed servers. How should you simulate a managed server failure to test whether automatic server migration is working?()
A

Shut down the managed server from the WebLogic console.

B

Shut down the managed server using the WLST command through Node Manager.

C

Run kill -9 once to kill the managed server process.

D

Run kill -9 to kill the managed server process, and run kill -9 one more time if the managed  server is restarting.

参考答案和解析
正确答案: B
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

An enterprise has three nodes: -Node ’A’ is a production database, -Node ’B’ is a production  Application server, and -Node ’C’ is a test and development node. Node ’C’ is used by six programmers to develop and the production application as business critical and would like to make it highly available with HACMP. Application development and testing is not business critical.  Which of the following describes the best solution?()  

  • A、 There is not an adequate solution because HACMP should not be configured in this environment without a dedicated standby node.
  • B、 Nodes ’A’ and ’B’ should be configured in a cluster with mutual fallover of two cascading resource groups to provide both nodes will deliver acceptable response time with both resource groups.
  • C、 Nodes ’A’ and ’C’ should be configured in one cluster, and Nodes ’B’ and ’C’ in another cluster to prevent both the database and application server from falling over to Node ’C’ at the same time.
  • D、 Nodes ’A’, ’B’, and ’C’ should be configured in a cluster with Node ’C’ the hot standby for both the database and application server resource groups. Workload Manager (WLM) must be configured on database and application developers from over utilizing the CPU resources.

正确答案:B

第2题:

A customer needs to implement a Highly Available solution for JMS that has a primary data center  and a backup. Which three steps would you perform when designing your solution?()

  • A、Store Transaction Logs in a database and use Database stores for JMS to make replication  between sites easier.
  • B、Use file based Transaction Logs and JMS stores and implement a separate replication solution  for files in addition to database in case database replication fails.
  • C、Implement Oracle RAC at each site to provide a highly available solution within each datacenter.
  • D、Configure Whole Server Migration to migrate WebLogic Managed Servers from the primary to the secondary site.
  • E、Configure Automatic Service Migration for JMS high availability within a datacenter.

正确答案:A,C,E

第3题:

用java能实现对weblogic的监控吗?

我已经用JMS实现了对weblogic的server Name,Listen Port,webApp的名称、domain名称。现在想实现对weblogic的执行线程(executeQueue)、集群(cluster)、堆(heap)等,不知道应该怎么实现?


能,用jmx ,google一下这方面知识,由于从weblogic8升级到weblogic9发生了比较大的变化,以前对于weblogic8比较熟悉的人,也许到了weblogic9就不一定熟悉了,还需要了解才行,特别是监控方面差别比较大,由于9采用的jdk版本是1.5,监控8实现的java方式就不能用于9了。

就目前我得测试结论是:java实现weblogic的自定义监控对于9和10都是适用的,但是对于11却没有测试,还不知道方式是否相同,实际上从文档里面也可以看出,8系列是采用的许多管理的MBean接口在9中已经不推荐使用,标明是过时的了。

我这次通过java编程来实现weblogic9的自定义监控就发现,很多地方完全地不同了。

从界面上来看,已经完全不同于8,命令行监控方式也有一些大的变化。

这是我取得监控接口封装的类:

package lht.monitor.weblogic.main9;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Hashtable;

import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;

public class SetEnvironment {
 protected static MBeanServerConnection connection;  
 private static JMXConnector connector;  
 private static final ObjectName service;  
 // Initializing the object name for DomainRuntimeServiceMBean  
 // so it can be used throughout the class.  
 static {     
  try {       
    service = new ObjectName( "com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
   }catch (MalformedObjectNameException e) {
    throw new AssertionError(e.getMessage());
   } 
  } 
 /*
  * Initialize connection to the Domain Runtime MBean Server
  */ 
 public static void initConnection(String hostname, String portString,String username, String password) throws IOException,  MalformedURLException {      
  String protocol = "t3";     
  Integer portInteger = Integer.valueOf(portString);     
  int port = portInteger.intValue();     
  String jndiroot = "/jndi/";     
  String mserver = "weblogic.management.mbeanservers.domainruntime";
  JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
  Hashtable hash = new Hashtable();     
  hash.put(Context.SECURITY_PRINCIPAL, username);
  hash.put(Context.SECURITY_CREDENTIALS, password);
  hash.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,"weblogic.management.remote");
  connector = JMXConnectorFactory.connect(serviceURL,hash);
  connection = connector.getMBeanServerConnection();
 }
  /*     
   *  This MBean is the root of the runtime MBean hierarchy, and 
   *  each server in the domain hosts its own instance.  
   */
 public static ObjectName[] getServerRuntimes(String servername,String hostname, String portString,String username, String password) throws Exception{   
  ObjectName[] bj = (ObjectName[])connection.getAttribute(service,servername);
  return obj;
 }
}

第4题:

In Real Operations Automation, we have Domain Template and WebLogic Scripting Tool for provisioning and configuration respectively.  Which are the other two elements ?()

  • A、 Weblogic Cluster 
  • B、 Weblogic Cache
  • C、 Weblogic Grid
  • D、 Weblogic Deployment 

正确答案:A,D

第5题:

How can an Oracle WebLogic cluster’s capacity be increased ?()

  • A、 by adding server instances to the cluster on an existing machine
  • B、 by adding machines to host server for more clustered instances
  • C、 by adding machines to the cluster to host the incremental server instances
  • D、 by adding node managers to an existing machine

正确答案:A,C

第6题:

Active Cache is the integration of Coherence and WebLogic Server. Which component is NOT part of this integration?()

  • A、Coherence*Web
  • B、Coherence*Extend
  • C、TopLink Grid with Coherence
  • D、Coherence cluster lifecycle management in WebLogic Server
  • E、Named cache dependency Injection

正确答案:B

第7题:

Which two statements are true regarding the WebLogic domain?()

  • A、A WebLogic domain can have more than one Administration server.
  • B、A WebLogic domain has at least one WebLogic server.
  • C、A WebLogic domain can have at the most one cluster.  
  • D、A WebLogic domain can cross multiple physical machines.  
  • E、Each WebLogic domain is associated with a different Node Manager.

正确答案:B,D

第8题:

Which of the following statements is true about IPAT via IP replacement?()  

  • A、 Configuration of Hardware Address Takeover is supported.
  • B、 Fewer physical network interface cards are required in the cluster.
  • C、 It is the default for keeping a service IP labels highly available.
  • D、 None-service ip labels must use different subnets than service IP labels.

正确答案:A

第9题:

In the absence of shared storage between cluster nodes, which two actions can you take to configure a High Availability architecture?()

  • A、Move domain logs to a highly available database.
  • B、Move server logs to a highly available database.
  • C、Move transaction logs to a highly available database. 
  • D、Move JMS persistent stores to a highly available database.
  • E、Move error logs to a highly available database.

正确答案:C,D

第10题:

Which two outcomes result when a domain is created in development mode?()

  • A、WebLogic server starts automatically upon the restarting of the machine
  • B、each new cluster will automatically be created with two managed servers
  • C、boot.properties file automatically stored  
  • D、creation of an auto deploy folder used for the application to deploy automatically
  • E、Node Manager will be automatically configured

正确答案:C,D

更多相关问题