Is there a way to keep users from logging into ServiceNow while instance is being upgraded?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 09:17 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 08:21 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 08:31 AM
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'
- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 09:24 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 09:32 AM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 10:14 AM
Hi,
Hope the below thread will be helpful.
Prevent All Users from Logging on except for administrators