이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 5. Using the Management CLI with a Managed Domain


You can use the management CLI to configure and manage both standalone servers and managed domains. The JBoss EAP documentation usually shows examples of management CLI commands for a standalone server configuration. If you are running a managed domain instead, you often need to adjust the command. The following sections describe how to change standalone server management CLI commands for a managed domain configuration.

Specify the Profile for Subsystem Configuration

The management CLI commands for standalone server subsystem configuration begin with /subsystem=SUBSYSTEM_NAME. For managed domain subsystem configuration, you must specify which profile’s subsystem to configure by starting the command with /profile=PROFILE_NAME/subsystem=SUBSYSTEM_NAME.

Example: Read the Logging Subsystem Configuration (Standalone Server)

/subsystem=logging:read-resource
Copy to Clipboard Toggle word wrap

This example shows how to read the configuration of the logging subsystem for a standalone server.

Example: Read the Logging Subsystem Configuration (Managed Domain)

/profile=default/subsystem=logging:read-resource
Copy to Clipboard Toggle word wrap

This example shows how to read the configuration of the logging subsystem for a the default profile in a managed domain.

Specify the Host for Core Management and Runtime Commands

Some core management and runtime commands for a managed domain require you to specify the host that the command applies to by starting the command with /host=HOST_NAME.

Example: Enable Audit Logging (Standalone Server)

/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)
Copy to Clipboard Toggle word wrap

This example shows how to enable audit logging for a standalone server.

Example: Enable Audit Logging (Managed Domain)

/host=master/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)
Copy to Clipboard Toggle word wrap

This example shows how to enable audit logging for the master host in a managed domain.

Note

Some commands require the host as an argument, for example, reload --host=HOST_NAME. If you do not specify a host for these commands, an error message notifies you that the --host argument is required.

Specify the Server for Core Management and Runtime Commands

Some core management and runtime commands for a managed domain require you to specify the host and server that the command applies to by starting the command with /host=HOST_NAME/server=SERVER_NAME.

Example: Display Runtime Metrics for a Deployment (Standalone Server)

/deployment=test-application.war/subsystem=undertow:read-attribute(name=active-sessions)
Copy to Clipboard Toggle word wrap

This example shows how to display runtime metrics for a standalone server deployment.

Example: Display Runtime Metrics for a Deployment (Managed Domain)

/host=master/server=server-one/deployment=test-application.war/subsystem=undertow:read-attribute(name=active-sessions)
Copy to Clipboard Toggle word wrap

This example shows how to display runtime metrics for a managed domain deployment that is deployed to the server-one server on the master host.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat