BookmarkSubscribeRSS Feed
infmja
Obsidian | Level 7

Hello everyone

 

We configured a DNS (something.something.loc) which then resolves to the serverhostname.

If we access SAS with the DNS (e.g. http://something.something.loc/SASVisualAnalyticsHub), the URL changes back to the serverhostname (http://serverhostname/SASVisualAnalyticsHub).

 

I ran the Update Hostname Utility replacing the serverhostname with our DNS something.something.loc, which, obviously, caused a lot of problems afterwards, because something.something.loc is not the server's hostname. But the URL didn't change back to serverhostname now.

I ran the Update Hostname Utility again to change something.something.loc back to the serverhostname so everything works again.

 

So, where exactly do I have to replace the serverhostname with our DNS (something.something.loc) in order to keep the URL at something.something.loc instead of the serverhostname?

 

(In both cases, accessing SAS worked without any problems)

 

 

Kind regards

Martin

4 REPLIES 4
JuanS_OCS
Amethyst | Level 16

Hello @infmja,

 

you have several options to achieve this change.

 

  1. From the SAS point of view, the Update Hostnames should work for most of your SAS deployment, if you change the fqdn and the short name (both) to new ones. Once finished, I generally pass a grep utility over configuration (xml, cfg, config, etc..) files to ensure all of them are changed (newer SAS maintenances include additional locations and requirement for grep change is minimized). Also, if you have SSO, or SSL, put special attention: you will need to apply the additional changes (SSO, register SPN, SSL, new certificate).
  2. Also from SAS and ICT point of view: Also an option, you can create a Reverse Proxy configuration. You can keep the same host, and create an additional HTTP server and point this DNS alias to that one. http://documentation.sas.com/?docsetId=bimtag&docsetTarget=p0sxhuco18v167n13dsmnrfqv7yy.htm&docsetVe...
  3. From an ICT point of view (but not always allowed): Several DNS servers allow to create a rewrite and forward rule, on the way that every URL request will change always your hostname to the dns alias towards the client. Quite a neat feature.

Once you do this change, and depending ont he change you do, you might need to update some additional configurations, specially scripts, re-schedule data queries, etc.

 

Hope it helps. Please let us know how it goes.

Kind regards,

Juan

infmja
Obsidian | Level 7

So, I tried changing the FQDN only this time.
Everything was still working fine, but the DNS changed always back to the hostname when accessing SAS with the DNS (e.g. http://something.something.loc/SASVisualAnalyticsHub).

 

If I type the DNS only, without "SASVisualAnalyticsHub" behind the last slash, it opens up the "Congratulations! You have successfully set up SAS Web Server" page and keeps the DNS in the URL (which would be the correct behaviour).

 

Do you have any ideas how I can change the configuration so it always keeps the DNS?

JuanS_OCS
Amethyst | Level 16

Hello @infmja,

 

this is happening because the SAS Metadata and some config files (xml files) are responsible of managing the re-directions.

The link I posted above should solve your problem, but focusing even more:

 

http://documentation.sas.com/?docsetId=bimtag&docsetTarget=n1s9ty2ykoxyr5n1ikt28hcjwuuz.htm&docsetVe...

http://documentation.sas.com/?docsetId=bimtag&docsetTarget=n1uh9f02c7lsnzn1cu57z20h95m8.htm&docsetVe...

 

If you still have trouble, I strongly recommend to get assistance from an experience SAS installation consultant to get the problem solved for you.

 

 

infmja
Obsidian | Level 7

I applied the configuration from your links.

Now I can access /SASVisualAnalyticsHub and the DNS stays, but as soon as I want to access something like the Report Viewer, there is the following error message: HTTP401 Ticket does not match the supplied service

 

What is causing the error message? How can I fix it?

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1746 views
  • 1 like
  • 2 in conversation