이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 9. Data Grid Server Reference
9.1. Data Grid Server 링크 복사링크가 클립보드에 복사되었습니다!
Data Grid server provides fast, reliable, and secure access to your data. This release of the server improves on previous versions and offers:
- Small code-base with minimal duplication of existing functionality (e.g. configuration).
- Embeddable: the server should allow for easy testability in both single and clustered configurations.
- RESTful administration capabilities.
- Logging with Apache Log4j 2.
- Security with WildFly Elytron SPIs.
9.1.1. Directory Structure 링크 복사링크가 클립보드에 복사되었습니다!
Server distributions have the following directory structure:
-
/bin: scripts to start the server and create/modify users. -
/boot:JARfiles to boot the server. -
/docs: examples and component licenses. -
/lib: serverJARfiles. /server: default server instance folder.-
/server/conf: configuration files. -
/server/data: data files organized by container name. -
/server/lib: extensionJARfiles for custom filters, listeners, and so on. -
/server/log: server log files.
-
9.1.2. Server Paths 링크 복사링크가 클립보드에 복사되었습니다!
Servers use the following paths:
-
infinispan.server.homedefaults to the directory that contains the server distribution. infinispan.server.rootcontains configuration and data for Data Grid servers and defaults to theserverdirectory underinfinispan.server.home.
Multiple roots can exist in the same or different directories. To start multiple server instances you can specify the path toinfinispan.server.rootwith a command line argument.NoteWhen the server starts it locks
infinispan.server.rootto avoid concurrent use by multiple server instances.-
infinispan.server.configurationdefaults toinfinispan.xml, which resides in theconffolder underinfinispan.server.root.
9.1.3. Command Arguments 링크 복사링크가 클립보드에 복사되었습니다!
The server.sh|bat startup script includes arguments that you can use to get information and configure the server runtime environment.
To view the available command arguments, include the --help or -h option as follows:
bin/server.sh -h
$ bin/server.sh -h
9.1.4. Logging Configuration 링크 복사링크가 클립보드에 복사되었습니다!
You configure logging with log4j2.xml in the server/conf directory.
9.1.5. Configuration 링크 복사링크가 클립보드에 복사되었습니다!
The server configuration extends the standard Data Grid configuration with the following server-specific elements:
-
securityconfigures the available security realms for the endpoints. -
cache-containermultiple containers may be configured, distinguished by name. -
endpointslists the enabled endpoint connectors (hotrod, rest, and so on). -
socket-bindingslists the socket bindings.
The following is an example server configuration:
9.1.6. Additional Details 링크 복사링크가 클립보드에 복사되었습니다!
The following is a list of additional details about the server, in no particular order:
- All containers handled by the same server share the same thread pools and transport.