Oh, without a doubt, and we considered it. However, the agency where I work makes it rather difficult to register new DNS names, and they actively discourage standing up new websites. But yes, I agree that is the simplest solution, and we may be forced to attempt it and wade through the red tape.
Thank you for your response. Jonathan ________________________________________ From: [email protected] <[email protected]> on behalf of Jon Diprose <[email protected]> Sent: Tuesday, February 9, 2021 4:13 AM To: gpfsug main discussion list Subject: [EXTERNAL] Re: [gpfsug-discuss] [gpfs][gui] Change document root in server.xml Might it be easier to add gpfs1.<fqdn> and gpfs2.<fqdn> as CNAMEs to your web proxy / firewall <fqdn>, and then configure the web proxy to select the backend on the basis of the requested hostname? https://gpfs1.<fqdn>/ redirects to https://gpfs1.<fqdn>/gui/ and there's no mucking about with gpfs stuff required at all. Jon -- Dr. Jonathan Diprose <[email protected]> Tel: 01865 287837 Research Computing Manager Henry Wellcome Building for Genomic Medicine Roosevelt Drive, Headington, Oxford OX3 7BN -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Mills, Jonathan B. (GSFC-606.2)[InuTeq, LLC] Sent: 08 February 2021 16:00 To: gpfsug main discussion list <[email protected]> Subject: [gpfsug-discuss] [gpfs][gui] Change document root in server.xml Dear Community, We have multiple GPFS clusters within our internal networks. We want to expose more than one GPFS GUI interface, from behind a shared web proxy / firewall setup, which has SAML2 integration with our organization's IDP. (The SAML2 is not part of the question, it's just a rationale for doing it this way.) Essentially, we're trying to do something like https://<fqdn>/gpfs/gui1 and https://<fqdn>/gpfs/gui2 The websphere config in the GPFS GUI packages basically assume a document root of "/". This poses additional problems when it forms relative URLs...for example, immediately after login, it tries to redirect from "/" to "/gui". Through our web proxy, this ends up being https://<fqdn>/gui which is a 404. While problems might be addressable with some complex mod_rewrite in our web proxy, I've been looking for a more straightforward solution. In /opt/ibm/wlp/usr/servers/gpfsgui/server.xml, it's possible to change the document root in line 34: <webApplication id="GSS_GUI" location="ROOT.war" name="/" /> Changing the document root would allow me to mod_proxy from https://<fqdn>/gpfs/gui1 to https://<internal_rfc1918>/gpfs/gui1, and in theory that makes it easy to support many GPFS GUIs, and should fix the relative URL / redirect issue. However, while it seems like this ought to simplify matters, in fact it just breaks other parts of the GPFS GUI, because it calls URLs that aren't part of "ROOT.war" and those also assume a document root of "/". So, my basic question for the community is this: Has anyone out there successfully mucked with the GPFS GUI document root? Or am I just barking up the wrong tree? Thanks in advance, Jonathan -- Jonathan Mills / [email protected] NASA GSFC / NCCS HPC (606.2) Bldg 28, Rm. S230 / c. 252-412-5710 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=04%7C01%7Cjonathan.b.mills%40nasa.gov%7Cb4b847626cd347c347f408d8ccdb21f2%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637484588838656778%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=d9r02MnZDlXpfiMTY5dxNIR0FGBORNKMiHUh8MS5NRs%3D&reserved=0 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=04%7C01%7Cjonathan.b.mills%40nasa.gov%7Cb4b847626cd347c347f408d8ccdb21f2%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637484588838656778%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=d9r02MnZDlXpfiMTY5dxNIR0FGBORNKMiHUh8MS5NRs%3D&reserved=0 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
