gpt4 book ai didi

glassfish-3 - glassfish 配置、服务器、实例和集群之间有什么区别?

转载 作者:行者123 更新时间:2023-12-02 22:11:33 25 4
gpt4 key购买 nike

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

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.

配置、服务器、实例和集群之间有什么区别?我知道集群是实例的集合。但是服务器和实例以及配置之间有什么区别?

最佳答案

来自 Glassfish 管理指南:

The default target for these two subcommands is the DAS. However, youcan 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.


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

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

这意味着您可以在单个服务器上运行多个实例的glassfish,并且您可以将单个实例或整个服务器作为目标。

关于glassfish-3 - glassfish 配置、服务器、实例和集群之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15203565/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com