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

19.12. Editing a Profile's Configuration Files


Overview

The container's in a fabric can be dynamically updated with new configuration information by altering configuration settings in one or more of the configuration files the container uses. All of the configuration files are monitored by the OSGi Admin Service. When a change is pushed to a container, the OSGi Admin service loads the changes and updates the container and its services with the new information.
Using the Config Files tab you can:
  • view all of the config files in the profile
  • add config files to the profile
  • edit config files in the profile
  • remove config files from the profile

Adding a config file

Warning
Adding a config file to a profile will deploy the configuration change to any container that is currently using the selected profile.
Important
New config files are initially empty and shouldn't have any effect on a running container. The exception to this rule is when the new config file replaces a config file in a parent profile. The new file will occlude any file with same name in the parent profile.
To add a config file:
  1. Select the profile to which you want to add config files.
    The Profiles page for the selected profile opens.
  2. Select the Config Files tab.
    The Config Files tab will be shown on the bottom of the Profiles page.
  3. In the Add new config file field, enter the name of the configuration file to be added to the profile.
  4. Click Add.
    The new config file will appear in the list and be deployed into any containers using the profile.

Editing a config file

Warning
Any changes that you make to a config file update the configuration settings on any container that is currently using the selected profile.
To edit a config file:
  1. Select the profile from which you want to edit config files.
    The Profiles page for the selected profile opens.
  2. Locate the config file to be edited in the list of config files.
  3. Click the config file's name.
    A text editor with the configuration file opens.
  4. Edit the config file to contain the new settings.
  5. Click Save.
    The editor will close and all of the containers using the profile will have their configuration updated with the new settings.

Deleting a config file

Warning
Deleting a config file from a profile will revert the configuration settings to their defaults on any container that is currently using the selected profile.
To delete a config file:
  1. Select the profile from which you want to delete config files.
    The Profiles page for the selected profile opens.
  2. Locate the config file to be deleted in the list of config files.
  3. Click the X to the right of the file.
    A confirmation dialog opens.
  4. Click Yes.
    The config file is removed from the list and the configuration setting in the file are reverted to defaults on all containers using the profile.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

© 2024 Red Hat, Inc.