Restarting SAS Web Apps with SAS Environment Manager

Have you ever wanted to restart a single SAS® web application without having to wait for the entire stack of SAS Web Application Servers to restart? Well, SAS Environment Manager provides the ability to do this, and I think that’s fantastic. I needed to restart the SAS Logon Manager several times the other day, and by using SAS Environment Manager I was able to save at least an hour of my time in repeatedly restarting the individual app rather than the entire app server. This post shows the steps involved in restarting a single web app with SAS Environment Manager. I’m saving these steps because each time I’ve needed to do it, it has taken me a while to find the right place (because there’s so much to see in SAS Environment Manager!).

In my case, I needed to allow a Metacoda web application to use SAS Logon Manager and this required a change to metadata and a restart of the SAS Logon Manager web app (as described in SAS Problem Note 56451: The error “The Application is not authorized to use SAS Logon Manager” occurs …).

I used the SAS Management Console Configuration Manager plug-in to add the ServiceUrl.Allowed advanced parameter to SAS Application Infrastructure. The next step was to restart SAS Logon Manager to pick up the change. After logging into SAS Environment Manager, I knew that the SAS Logon Manager web app was in the SAS Web App Server instance named SASServer1_1, so I searched for that by typing in sasserver1_1 and selecting Servers from the drop down:

SAS Environment Manager: Finding a SAS Web App Server instance

That returned a single sas94m3 tc Runtime SASServer1_1 instance which I clicked on:

SAS Environment Manager: Selecting a SAS Web App Server instance

When looking at the sas94m3 tc Runtime SASServer1_1 instance, clicking on the Views link reveals the Application Management link:

SAS Environment Manager: Managing Applications in a SAS Web App Server instance

Clicking on the Application Management link shows a list of SAS web apps running in that instance, with buttons at the bottom of the page to manage those apps:

SAS Environment Manager: Restarting SAS Login Manager

It was then simply a matter of checking the box next to /SASLogon and then clicking the Reload button. The SAS Logon Manager app restarted quickly and very nicely avoided the need to wait for the entire SAS Web App Server to restart.

9 thoughts on “Restarting SAS Web Apps with SAS Environment Manager”

  1. I had similar issue(content server backup was failing because the service could not login !) with the same hot fix included in the instalaltion though now sas has released a new hot fix to fix the issue caused by hot fix ( !) . I am sure Environment manager going to be one shop stop for SAS admin going forward .

    Your blog is very informative.

  2. Very helpful, this. Worked on the SAS Visual Analytics 7.3 Viewer, so I didn’t have to restart the whole SAS Web Application Server just for minor tweaks on how our SAS reports look like.

    Thanks a lot, Paul! ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.