Is there a way to keep users from logging into ServiceNow while instance is being upgraded?

Vasavi Kotha1
Giga Contributor

We are upgrading SN from Helsinki to Jakarta, we completed all the testing in sub production instances and everything worked well. But while upgrading our prod instance we would like to keep users from logging in as we have a few groups using service now 24X7 creating tickets, which we do not what to happen during upgrade for obvious reasons.

14 REPLIES 14

Alright, I think the session timeout is controlled by a property glide.ui.session_timeout. By default it is set to 30min. So if the user is no longer than 30min then he is prompted with the login page again, this should work during your upgrade period as well.



Please hit correct based on impact of response.



Thanks


Vasavi,



That's correct. If a user is logged in, you will have to force them out.



There are a few ways you could achieve this goal:


-   You could set the system property glide.ui.session_timeout to 1, which means the users will be required to re-authenticate if they are inactive for 1 minute or more. However, this may be overridden by your SSO settings.



- You can try kicking users out by going to the all active transactions module, find the users session to terminate and select 'kill'


Screen Shot 2018-02-08 at 8.29.00 AM.png



- You could try getting Mark Strangers script working (see link near bottom of this thread)



- You could call service-now support and request to have all your application nodes cycled (restarted). This is the surefire way to ensure everyone is kicked out.


Sabrina10
Kilo Guru

Another option would be to run a background script to lock out all users that do not have the admin role prior to the upgrade.


Is it safe to run that script?   Do you have any lock out script and how to allow everyone to log back in after upgrade?


vinothkumar
Tera Guru

Hi,



Hope the below thread will be helpful.



Prevent All Users from Logging on except for administrators