After changing the proxy port or mirror configuration of the management station in OS Management Hub, you must update the firewall rules and SE Linux settings. You can do this manually or use the station-setup.sh
script.
-
Log in to the instance as a user with sudo privileges
-
Configure the firewall and SELinux settings to permit traffic and access.
The management station uses the ports defined during setup for synchronizing the yum mirror and managing proxy traffic to OCI.
You can manually update the firewall rules and SELinux settings or use the station-setup.sh
script.
The station-setup.sh
script configures the firewall and SELinux settings to permit traffic on the ports that you have specified in the proxy configuration on the management station and the Apache HTTP web server to serve packages from the path in the mirror configuration. The script handles firewall and SELinux configuration for mirrors using the xfs, ext4, btrfs, or nfs file system.
Important
For your convenience, the station-setup.sh
script is available to configure the firewall and SELinux settings. Before running the script in your production environment, be sure to review the script and understand the changes that the script makes to your firewall and SELinux settings.
sudo /opt/oracle/mgmt_agent/plugins/osmh/stateDir/station-setup.sh
-
If you didn't run the
station-setup.sh
script, restart the Apache HTTP web server.
sudo systemctl restart httpd