Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Session control and management
Topic Summary: Daemon or script for clean shutdown of inactive client sessions
Created On: 14-Mar-2007 08:37
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 14-Mar-2007 08:37
User is offline View Users Profile Print this message


Aitor Illarramendi

Posts: 38
Joined: 20-Feb-2006

Hello: I'm a DOORS admin, manager and all of many databases and projects inside them. This is a big department with many people working on the server. Some of them working from more or less separated physical offices. And many of them drag on the same problem year after year: the analysts and other kind of workers (developers that work with TAU over DOORS and all) DON'T SHUTDOWN their computers after the working day or when they have to be several hours outside the work station. This is more corageus when the DON'T EVEN CLOSE THE CLIENT SESSION. Has anyone work in any kind of solution of developing and having a daemon in the server side looking for inactive sessions in order to shutdown them properly and closing or at least freezing the client session? I'm noticing that some people has sessions opened since weeks... The best and kindest way is to make a corporative warning about the problems this could generate and create some kind of working guides and conventions. But I'm afraid and I have the experience that this does not work with people... The problem is that I make back-ups all nights, but day after day the number of locked modules and opened porcesses increases and I've to sometimes make a controlled shutdown and be chasing the people... So, what I'm asking for is about if anyone has practiced in this kind of scripts or daemons because I'm thinking on developing one for us. I would like at least to make an open discussion about this issues. Many thanks in advance. Best regards.
Report this to a Moderator Report this to a Moderator
 29-Mar-2007 01:12
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Don't know about a Flex resolution.

You can eliviate some of the issues by insisting all clients use READ_ONLY as the default open mode, both when they double click on a module and when they follow a link indicator. If so, folks will have lots of modules open for R but won't be locking anyone out for hours.

The configure utility will let folks do that to their clients. Its tough to enforce since its contolled at the client level.

DefOpenMode READ_ONLY
DefOpenLinkMode READ_ONLY

Backups usually prefer nobody is in the database. Your auto-backup utility that runs at 1am could realistically shut down the DOORS service, do backups, and restart the service. Tough luck to anyone logged in at 1am.

If its interests you, you CAN get a list of folks still logged in (with their Client names) by running the DBADMIN.exe script from a DOS *.bat file. It would look something like attached. You could then write some VB script to read the report and do something nasty to the users or the clients.

- Louie
Report this to a Moderator Report this to a Moderator
 29-Mar-2007 10:07
User is offline View Users Profile Print this message


Aitor Illarramendi

Posts: 38
Joined: 20-Feb-2006

Thank you very much Louie

Very interesting advices.

Bets regards.
Report this to a Moderator Report this to a Moderator
 22-May-2007 15:03
User is offline View Users Profile Print this message


Ken McNair

Posts: 47
Joined: 12-Sep-2003

If users access DOORS via Citrix, you can define properties for the user sessions such as:
- End a disconnected session: x
- Active session limit: x
- Idle session limit: x
etc., where x can be specified in minutes, hours or days.

Ken McNair.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.