RedDwarf Server (原SUN的Project Darkstar) 多节点配置

http://sourceforge.net/apps/trac/reddwarf/

      1   这里面有对RedDwarf Server的所有介绍   我现在的重点是要配置多节点

CChapter 5: Administration and Configuration

Server VM Options -- How to modify the options used to start RedDwarf Server.

Server Properties -- The Javadoc page listing the configurable RedDwarf server properties.

Enabling Java BDB -- How to switch from the C implementation of BerkeleyDB to the Java implementation.

Flash Policy Files


C

       2    这里面就讲到服务器端管理和配置 选择server properties   
进入页面之后
   For example configuration files of the different node types, see the  single-node.properties core-server.properties , and  app-node.properties  files.

Configuring a Single Node System

A single node systems consists of a Darkstar Server running in a single Java Virtual Machine. This is the default server type for RedDwarf. Note that the  Required Properties will also need to be specified.

Configuring a Multi-Node System

可以看到对单节点系统描述相当简单,多节点系统描述较多
The RedDwarf Server can be run on multiple nodes configured to work together in a cluster. This multi-node configuration requires a special core server node to run critical RedDwarf operations, with the remaining nodes, the application nodes, cooperating to run the application. Application nodes can be dynamically added or removed from the cluster.

The core server node must be running before starting the application nodes.

自己翻译的:
RedDwarf Server 能运行在一个集群的多个节点中,多节点配置需要一个特殊的核心节点来运行重要的RedDwarf操作
其他的节点是应用程序节点,合作运行的应用程序,应用程序节点单能够动态的在集群中添加和删除。
核心服务节点必须在应用程序之前启动
在上面可以看到这些文字
里面列出了必须配置的属性和可选的属性
core-server.properties
# Multi-node core server properties

# NOTE The core server node must be started before any application nodes.

# Required properties.
# --------------------

# Start a core server node
com.sun.sgs.node.type = coreServerNode

# Application name.  This must be the same on each node.
#com.sun.sgs.app.name = Foo

# File system root.  This is file system space available for
# Project Darkstar use, and must be a valid directory name.
#com.sun.sgs.app.root = /var/tmp/fooFiles


# Optional properties.
# --------------------

# The TCP port of the data service's shared network server
#com.sun.sgs.impl.service.data.store.net.server.port = 44530

# The TCP port of the watchdog service's shared network server
#com.sun.sgs.impl.service.watchdog.server.port = 44533

# The TCP port of the node mapping service's shared network server
#com.sun.sgs.impl.service.nodemap.server.port = 44535

com.sun.sgs.node.type = coreServerNode   定值
com.sun.sgs.app.name = Foo     每个节点的应用程序名称必须一样
com.sun.sgs.app.root   存放数据的路径



app-node.properties
# Multi-node application node properties

# NOTE The core server node must be started before any application nodes.

# Required properties.
# --------------------

# Start an application node
com.sun.sgs.node.type = appNode

# The host name of the machine the core server was started on.
#com.sun.sgs.server.host = core-server-name

# Application name.  This must be the same on each node.
#com.sun.sgs.app.name = Foo

# File system root.  This is file system space available for
# Project Darkstar use, and must be a valid directory name.
#com.sun.sgs.app.root = /var/tmp/fooFiles

# Application listener.  Specify the fully qualified class name of
# the listener.
#com.sun.sgs.app.listener = com.app.pkg.FooAppListener

# Application port.  The TCP port on which to listen for
# client connections for the default protocol and transport.
#com.sun.sgs.impl.transport.tcp.listen.port = port-number


# Optional properties.
# --------------------

# The TCP port of the data service's shared network server
#com.sun.sgs.impl.service.data.store.net.server.port = 44530

# The TCP port of the watchdog service's shared network server
#com.sun.sgs.impl.service.watchdog.server.port = 44533

# The TCP port of the node mapping service's shared network server
#com.sun.sgs.impl.service.nodemap.server.port = 44535

com.sun.sgs.node.type = appNode   定值
com.sun.sgs.server.host = core-server-name

这个地方就是电脑名称

其他的都一样。







1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看rEADME.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看rEADME.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值