glassfish配置,服务器,实例和群集之间有什么区别? [英] what is difference between glassfish configuration, server, instance and cluster?

查看:96
本文介绍了glassfish配置,服务器,实例和群集之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是Glassfish 3.1.2.2管理指南中的一段

following is a paragraph from glassfish 3.1.2.2 administration guide

您可以使用rotate-log子命令手动旋转日志文件 在远程模式下.该子命令的默认目标是DAS. (可选)您可以定位配置,服务器,实例或 集群.您可以使用Rotate-log手动旋转日志文件 远程模式下的子命令.该子命令的默认目标是 DAS. (可选)您可以定位配置,服务器,实例, 或群集.

You can rotate log files manually by using the rotate-log subcommand in remote mode. The default target of this subcommand is the DAS. Optionally, you can target a configuration, server, instance, or cluster.You can rotate log files manually by using the rotate-log subcommand in remote mode. The default target of this subcommand is the DAS. Optionally, you can target a configuration, server, instance, or cluster.

配置,服务器,实例和群集之间有什么区别?我了解群集是实例的集合.但是服务器和实例以及配置之间有什么区别?

what is the difference between configuration, server, instance and cluster ? i understand cluster is a collection of instances. but what is difference between server and instance and configuration ?

推荐答案

来自Glassfish管理指南:

From the Glassfish admin guide:

这两个子命令的默认目标是DAS.但是你 可以选择指定以下目标之一:

The default target for these two subcommands is the DAS. However, you can optionally specify one of the following targets:

配置:以共享特定配置名称的所有实例或群集为目标.
服务器:仅定位到特定服务器.
实例:仅定位到特定实例.
集群:仅定位到特定集群.

Configuration: to target all instances or clusters that share a specific configuration name.
Server: to target only a specific server.
Instance: to target only a specific instance.
Cluster: to target only a specific cluster.


GlassFish Server实例是Java的单个虚拟机 平台上的单个节点上的平台(Java虚拟机或JVM机器) 正在运行哪个GlassFish Server.节点定义主机所在的主机 GlassFish Server实例驻留.

A GlassFish Server instance is a single Virtual Machine for the Java platform (Java Virtual Machine or JVM machine) on a single node in which GlassFish Server is running. A node defines the host where the GlassFish Server instance resides.

通常在一个服务器上创建一个服务器实例就足够了 计算机,因为GlassFish Server和随附的JVM都是设计的 扩展到多个处理器.但是,这可能对 在一台机器上创建多个实例以隔离应用程序,并 滚动升级.

It is usually sufficient to create a single server instance on a machine, since GlassFish Server and accompanying JVM are both designed to scale to multiple processors. However, it can be beneficial to create multiple instances on one machine for application isolation and rolling upgrades.

这意味着您可以在单个服务器上运行多个 instances 的glassfish,并且可以定位单个实例或整个服务器.

This means you can have multiple instances of glassfish running on a single server, and you can either target a single instance or the whole server.

这篇关于glassfish配置,服务器,实例和群集之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆