下集群配置覆盖

2021-08-24 淮安装修公司

Weblogic域是一个服务器服务器/集群的管理组,用户可以通过某个中央位置来管理、监控整个服务器服务器域,这个中心就是管理服务器服务器,相对的,受控服务器服务器或者叫被管服务器服务器是指域中除了管理服务器服务器以外的所有的服务器服务器。

文某完全可以预见醉酒驾驶摩托车下班的危险性 ? Weblogic集群是一个weblogic Server组,在一个集群中的服务器服务器可以获得集群范围的命名服务、负载平衡以及容错等功能。

? 所以,一个weblogic域可以同时管理多个集群以及多个服务器服务器实例。

? 另外,还有一个节点管理器的概念,节点管理器是指在物理的机器上运行的一个守护进程,通过它,管理服务器服务器可以获得诸如在控制台中强制重启远程机器上的server等功能(没有节点管理器的情况下也是可以强制关闭远程服务器服务器的,但是不能重启)。

? 除此之外,据说节点管理器还可以自动检查自己机器上的server实例(健康检查),当发现某个实例出现故障的时候,可以自动进行重启,这个没试过。

注意事项

1.???????? 本文的weblogic均配置在linux环境下

2.???????? 集群中管理服务器服务器和被管服务器服务器之间有用到ip组播UDP,所以这些服务器服务器之间必须是UDP可以到达的。

3.???????? 好像动态ip的机器不能用于集群当中

4.???????? 最佳实践说:请不要把管理服务器服务器设置在集群当中

5.???????? 本文所配置的集群只是实现了web层次上的负载平衡和容错,也就是servlet和jsp,其他的j2ee组件如ejb,jdbc,jms等都可以集群化。

本例测试域的规划 Ip/port

?server?????????????????????????????????? 注释

10.21.18.40:7001??adminServer??管理服务器

10.21.18.40:7003??mServer1??? ? 被管服务器服务器1

10.21.18.41:7001??mServer2???? ?被管服务器2

10.21.18.40:7004??proxyServer? ?代理服务器服务器

?

配置过程

建立管理服务器服务器

启动linux下的配置向导

进入bea目录下的weblogic81/common/bin目录输入./,这里使用的终端登陆,所以没有图形环境,程序会以控制台模式启动

第一步:选择建立新的域:

启动配置向导后,系统提示如下:

------- BEA WebLogic Configuration Wizard----------

Create or Extend a Configuration:

---------------------------------

Choose between creating and extending a configuration. Based on your selection, the Configuration Wizard guides you through

the steps to generate a new or extend an existing configuration.

-1|Create a new WebLogic configuration

? |??? Start here to create a WebLogic configuration in your projects directory.

2|Extend an existing WebLogic configuration

? |??? Start here to extend an existing WebLogic configuration.? Use this option to add applications and services,

? |including Database access (JDBC) and Messaging (JMS). This option also enables you to extend functionality by enabling

? |WebLogic Workshop.

Enter index number to select OR [Exit][Next]? 1

录入1回车,建立一个新的域。

第二步:选择模版

系统提示选择一个建立域的模版,资料上讲配置向导的配置过程可以另存为模版,以便下次配置的时候使用,没试过下次回去试试。

-------- BEA WebLogic Configuration Wizard --------

Select a Domain Template:

-------------------------

Please select a template from the list or select another directory of templates.

? * [/usr/local/bea/weblogic81/common/templates/domains]

-1|Basic WebLogic Server Domain 8.1.4.0

? |? BEA Systems, Inc.

? |? Create a basic WebLogic Server domain without installing sample applications.

2|WebLogic Server Examples Domain 8.1.4.0

? |? BEA Systems, Inc.

? |? Create the WebLogic Server Examples domain in a directory outside of the installed kit.? The Examples domain contains???? |a collection of examples to show best practices for coding individual J2EE APIs.

3|Avitek Medical Records Sample Domain 8.1.4.0

? |? BEA Systems, Inc.

? |? Create the Avitek Medical Records domain in a directory outside of the installed kit.? The Avitek Medical Records is

? |a WebLogic Server sample application suite that concisely demonstrates all aspects of the J2EE platform.

4|Select another directory location

Enter index number to select OR [Exit][Previous][Next] 1

这里我们选择1,使用基础的模版

朝阳治疗白癜风哪家医院好
成都白癜风医院地址
四川较好的肝病医院
为你推荐