이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 5. Troubleshooting remote host configuration issues
System logs are a useful source of information when troubleshooting a remote host configuration issue. In addition, it is helpful to be aware of any known issues.
5.1. TCP ports and destinations 링크 복사링크가 클립보드에 복사되었습니다!
The complete remote host configuration solution currently relies on existing clients; your system will be communicating with Red Hat in different ways.
5.1.1. Subscription manager 링크 복사링크가 클립보드에 복사되었습니다!
For subscription-manager, the system must be able to reach the following destination and TCP ports:
- subscription.rhn.redhat.com:443 (https)
- subscription.rhsm.redhat.com:443 (https)
- cdn.redhat.com:443 (https)
- *.akamaiedge.net:443 (https)
- *.akamaitechnologies.com:443 (https)
5.1.2. Insights client 링크 복사링크가 클립보드에 복사되었습니다!
For Red Hat Insights for Red Hat Enterprise Linux data collection to work correctly, the system must be able to reach the following destination and TCP ports:
- api.access.redhat.com:443 (https)
- cert-api.access.redhat.com:443 (https)
5.1.3. RHC client daemon 링크 복사링크가 클립보드에 복사되었습니다!
For the rhc daemon, rhcd
, to communicate with the MQTT message broker, the system must be able to reach the following:
- connect.cloud.redhat.com:443 (https)
5.1.4. Adding a proxy for RHC to use for the connection 링크 복사링크가 클립보드에 복사되었습니다!
Use the following commands to add a proxy for rhc
to use to connect to Red Hat.
5.2. RHC client communication 링크 복사링크가 클립보드에 복사되었습니다!
The communication technology behind the rhc daemon, rhcd
, is MQTT. The client establishes a connection to the Red Hat message broker and waits for new messages. The new messages are then read and converted into playbook execution. While the messages are consumed almost instantaneously, the communication is always established by the client. There is no communication initiated from the Red Hat services to your environment.
5.3. Consulting and interpreting log files 링크 복사링크가 클립보드에 복사되었습니다!
Troubleshooting an issue often starts by looking at the logs to see what happened during a given event.
- Use the following command to consult logs:
journalctl -u rhcd
# journalctl -u rhcd
-
Use
-f
,--follow
, to show only the most recent journal entries, and continuously print new entries as they are appended to the journal:
journalctl -u rhcd -f
# journalctl -u rhcd -f