网络要求
本节详细说明 SUSE Manager 的网络和端口要求。
- 完全限定的域名 (FQDN)
-
SUSE Manager 服务器必须正确解析其 FQDN。如果无法解析 FQDN,可能会导致许多不同的组件出现严重问题。
- 主机名和 IP 地址
-
为确保 SUSE Manager 域名可由其客户端解析,服务器和客户端计算机都必须连接到一台正常工作的 DNS 服务器。还需要确保正确配置反向查找。
有关设置 DNS 服务器的详细信息,请参见 https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-dns.html。
- 从 SUSE Linux Enterprise 媒体安装时使用代理
-
如果您在内部网络中操作并且无法访问 SUSE Customer Center,可以在安装期间设置并使用一个代理。
有关在 SUSE Linux Enterprise 安装期间配置用于访问 SUSE Customer Center 的代理的详细信息,请参见 https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-boot-parameters.html#sec-boot-parameters-advanced-proxy。
SUSE Manager 的主机名不得包含大写字母,否则可能导致 jabberd 失败。请慎重选择 SUSE Manager 服务器的主机名。尽管可以并且也支持更改服务器名称,但在更改之前必须事先经过规划。更改服务器的主机名时,挂接到该服务器的所有客户端必须知道发生了这种更改。 |
在生产环境中,SUSE Manager Server 和客户端始终应使用防火墙。有关所需端口的完整列表,请参见 所需的网络端口。
有关断开连接的设置和端口配置的详细信息,请参见 断开连接的设置。
1. 在 HTTP 或 HTTPS OSI 七层代理后部署
Some environment enforce internet access through a HTTP or HTTPS proxy. This could be a Squid server or similar. To allow the SUSE Manager Server internet access in such configuration, you need to configure the following.
-
要进行操作系统互联网访问配置,请根据需求修改
/etc/sysconfig/proxy
:PROXY_ENABLED="no" HTTP_PROXY="" HTTPS_PROXY="" NO_PROXY="localhost, 127.0.0.1"
-
For Java application internet access, modify
/etc/rhn/rhn.conf
according to your needs. For example, set:# 使用代理 FQDN 或 FQDN:端口 server.satellite.http_proxy = server.satellite.http_proxy_username = server.satellite.http_proxy_password = # no_proxy 为逗号分隔的列表 server.satellite.no_proxy =
-
Restart spacewalk services to enforce the new configuration:
spacewalk-services restart