Hello Juri, Keith,
thank you for your responses.
The internal services communicate on the privileged ports, for backwards compatibility and firewall simplicity reasons. We can not just assume all nodes in the cluster are at the latest level.
Running two services at the same port on different IP addresses could be an option to consider for co-existance of the GUI and another service on the same node.
However we have not set up, tested nor documented such a configuration as of today.
Currently the GUI service manages the iptables redirect bring up and tear down.
If this would be managed externally it would be possible to bind services to specific ports based on specific IPs.
In order to create custom redirect rules based on IP address it is necessary to instruct the GUI to
- not check for already used ports when the GUI service tries to start up
- don't create/destroy port forwarding rules during GUI service start and stop.
This GUI behavior can be configured using the internal flag UPDATE_IPTABLES in the service configuration with the 5.0.1.2 GUI code level.
The service configuration is not stored in the cluster configuration and may be overwritten during code upgrades, so these settings may have to be added again after an upgrade.
See this KC link:
https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.1/com.ibm.spectrum.scale.v5r01.doc/bl1adv_firewallforgui.htm
Mit freundlichen Grüßen / Kind regards
Dr. Markus Rohwedder
Spectrum Scale GUI Development
| Phone: | +49 7034 6430190 | IBM Deutschland Research & Development | |
| E-Mail: | rohwedder@de.ibm.com | Am Weiher 24 | |
| 65451 Kelsterbach | |||
| Germany | |||
| Dr Daniel Kidger IBM Technical Sales Specialist Software Defined Solution Sales +44-(0)7818 522 266 daniel.kidger@uk.ibm.com |
Hello Keith,
it is not so easy.
The GUI receives events from other scale components using the currently defined ports.
Changing the GUI ports will cause breakage in the GUI stack at several places (internal watchdog functions, interlock with health events, interlock with CES).
Therefore at this point there is no procedure to change this behaviour across all components.
Because the GUI service does not run as root. the GUI server does not serve the privileged ports 80 and 443 directly but rather 47443 and 47080.
Tweaking the ports in the server.xml file will only change the native ports that the GUI uses.
The GUI manages IPTABLES rules to forward ports 443 and 80 to 47443 and 47080.
If these ports are already used by another service, the GUI will not start up.
Making the GUI ports freely configurable is therefore not a strightforward change, and currently no on our roadmap.
If you want to emphasize your case as future development item, please let me know.
I would also be interested in:
> Scale version you are running
> Do you need port 80 or 443 as well?
> Would it work for you if the xCAT service was bound to a single IP address?
Mit freundlichen Grüßen / Kind regards
Dr. Markus Rohwedder
Spectrum Scale GUI Development
| Phone: | +49 7034 6430190 | IBM Deutschland Research & Development | |
| E-Mail: | rohwedder@de.ibm.com | Am Weiher 24 | |
| 65451 Kelsterbach | |||
| Germany | |||