Red Hat JBoss Enterprise Application Platform 7.0 ... Red Hat JBoss Enterprise Application Platform

  • View
    251

  • Download
    0

Embed Size (px)

Text of Red Hat JBoss Enterprise Application Platform 7.0 ... Red Hat JBoss Enterprise Application Platform

  • Red Hat JBoss Enterprise Application Platform 7.0

    Configuration Guide

    For Use with Red Hat JBoss Enterprise Application Platform 7.0

    Last Updated: 2018-02-08

  • Red Hat JBoss Enterprise Application Platform 7.0 Configuration Guide

    For Use with Red Hat JBoss Enterprise Application Platform 7.0

  • Legal Notice

    Copyright © 2018 Red Hat, Inc.

    The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.

    Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.

    Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.

    Linux ® is the registered trademark of Linus Torvalds in the United States and other countries.

    Java ® is a registered trademark of Oracle and/or its affiliates.

    XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.

    MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries.

    Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.

    The OpenStack ® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.

    All other trademarks are the property of their respective owners.

    Abstract

    This document provides a practical guide for administrators to configure Red Hat JBoss Enterprise Application Platform 7.0.

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Table of Contents

    CHAPTER 1. OVERVIEW

    CHAPTER 2. STARTING AND STOPPING JBOSS EAP 2.1. STARTING JBOSS EAP

    Start JBoss EAP as a Standalone Server Start JBoss EAP in a Managed Domain

    2.2. STOPPING JBOSS EAP Stop an Interactive Instance of JBoss EAP Stop a Background Instance of JBoss EAP

    2.3. RUNNING JBOSS EAP IN ADMIN-ONLY MODE Start JBoss EAP in Admin-Only Mode Check If JBoss EAP is Running in Admin-Only Mode Restart in a Different Mode from the Management CLI

    2.4. SUSPEND AND SHUT DOWN JBOSS EAP GRACEFULLY 2.4.1. Suspend Servers

    Check the Server Suspend State Suspend Resume

    2.4.2. Shut Down Servers Gracefully 2.5. STARTING AND STOPPING JBOSS EAP (RPM INSTALLATION)

    2.5.1. Starting JBoss EAP (RPM Installation) Start JBoss EAP as a Standalone Server (RPM Installation) Start JBoss EAP in a Managed Domain (RPM Installation) Configure RPM Service Properties

    2.5.2. Stopping JBoss EAP (RPM Installation) Stop JBoss EAP as a Standalone Server (RPM Installation) Stop JBoss EAP in a Managed Domain (RPM Installation)

    2.6. POWERSHELL SCRIPTS (WINDOWS SERVER)

    CHAPTER 3. JBOSS EAP MANAGEMENT 3.1. ABOUT SUBSYSTEMS, EXTENSIONS, AND PROFILES

    Using the Management Console or the Management CLI 3.2. MANAGEMENT USERS

    3.2.1. Adding a Management User 3.2.2. Running the Add-User Utility Non-Interactively

    Create a User Belonging to Multiple Groups Specify an Alternative Properties File

    3.2.3. Setting Add-User Utility Password Restrictions 3.3. MANAGEMENT INTERFACES

    3.3.1. Management CLI Launch the Management CLI Connect to a Running Server Display Help Quit the Management CLI View System Settings Update System Settings Start Servers

    3.3.2. Management Console 3.3.2.1. Enable/Disable Management Console 3.3.2.2. Change the Language of the Management Console

    To Change the Language of the Management Console 3.4. MANAGEMENT APIS

    17

    18 18 18 18 19 19 19 19 19 19

    20 20 21 21 22 22 22 23 23 23 23 23 25 25 25 25

    27 27 27 27 28 28 28 29 29 30 30 30 30 30 30 30 31 31 31 32 32 32 33

    Table of Contents

    1

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4.1. HTTP API Read Resources Update Resources

    3.4.2. Native API 3.5. CONFIGURATION DATA

    3.5.1. Standalone Server Configuration Files 3.5.2. Managed Domain Configuration Files 3.5.3. Backing Up Configuration Data 3.5.4. Configuration File Snapshots

    Take a Snapshot List Snapshots Delete a Snapshot Start the Server with a Snapshot

    3.5.5. View Configuration Changes 3.5.6. Property Replacement

    Nested Expressions Descriptor-Based Property Replacement

    3.6. FILE SYSTEM PATHS 3.6.1. Override a Standard Path

    Overriding a Managed Domain’s Standard Paths 3.6.2. Add a Custom Path 3.6.3. Directory Grouping

    Directory Grouping by Server Directory Grouping by Type

    3.7. SYSTEM PROPERTIES Passing a System Property to the Startup Script Setting a System Property Using the Management CLI Setting a System Property Using the Management Console Setting a System Property Using JAVA_OPTS

    3.8. MANAGEMENT AUDIT LOGGING Standalone Server Audit Logging Managed Domain Audit Logging 3.8.1. Enable Management Audit Logging

    Enable Standalone Server Audit Logging Enable Managed Domain Audit Logging

    3.8.2. Send Management Audit Logging to a Syslog Server 3.8.3. Read Audit Log Entries

    CHAPTER 4. NETWORK AND PORT CONFIGURATION 4.1. INTERFACES

    4.1.1. Default Interface Configurations 4.1.2. Configuring Interfaces

    Add an Interface with a NIC Value Add an Interface with Several Conditional Values Update an Interface Attribute Add an Interface to a Server in a Managed Domain

    4.2. SOCKET BINDINGS 4.2.1. Management Ports 4.2.2. Default Socket Bindings

    Standalone Server Managed Domain

    4.2.3. Configuring Socket Bindings 4.2.4. Port Offsets

    33 33 34 34 35 35 36 36 37 37 37 38 38 38 40 40 41 42 43 43 44 44 45 45 46 46 46 47 47 48 48 48 49 49 49 50 51

    53 53 53 53 54 54 54 54 55 55 55 55 56 57 58

    Red Hat JBoss Enterprise Application Platform 7.0 Configuration Guide

    2

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .