1. Field of the Invention
The present invention relates to the field of data communications networks. More particularly, this invention relates to a method and apparatus for automatically detecting hardware and communication failures and accordingly adjusting the true count of users logged into a Max Session Server (MSS). The invention also has applicability to other forms of resource management within a data communications network.
2. The Background
A user, or subscriber, of a network system can remotely log into a data communications network and access resources, such as the Internet, provided by the server. Both businesses and individuals can be users or subscribers. The network systems are typically operated by Internet Service Providers (ISPs), telephone companies, or Online Service Providers (collectively referred to as ISPs). There are numerous transmission media available to connect to the ISPs, including dialing in over the telephone network (PSTN) or connecting in another conventional manner such as via DSL (digital subscriber line), cable, ISDN (integrated services digital network), etc. Via whichever selected form of transmission, users typically gain remote access through a network access server (NAS). The NAS then requires some type of unique identification to allow access, such as a user name and password.
Most ISPs provide large numbers of NASs to allow numerous users at various geographic regions to gain access to the system. However, it often becomes necessary to keep track of the total number of users or groups of users logged into the multiple NASs. For example, a company may purchase access for fifty of its employees at any given time from an ISP. Thus, the ISP needs to keep track of how many users from the particular company are logged into the system. Similarly, a single user may only pay for access to the system from one connection at any given time. However, a home user with multiple computers could attempt to log in from several computers. It is in the interest of the ISP to limit that user to only the one session that the user has purchased.
In order to keep track of the number of log ins, ISPs or Online Services may utilize a Max Sessions Server (MSS), which can either be a separate entity or integrated with an Authorization, Authentication and Accounting server (AAA) and is commercially available from vendors such as Cisco Systems, Inc. of San Jose, Calif. The MSS restricts a user or a group of users (collectively referred to as a group) to a maximum number of sessions across a complete administrative domain. It does this by maintaining a counter for each user or group of users. A single user may belong to multiple groups, where each group has its own session counter. For each logged in user added, the corresponding counter(s) is incremented by one. In the event that a user belongs to multiple groups, the counter for each associated group will be incremented. For example, a company may allocate 200 logins for the engineering group, which may be further subdivided into 50 logins for hardware engineering group, 50 logins for the systems engineering group, and 100 logins for the design engineering group. When a user belonging to the systems engineering group logs in, the counter for both the systems engineering group and the overall engineering group will be incremented by one. When the user logs out of the NAS, the NAS sends an accounting record to the AAA server with a conventional protocol such as RADIUS or TACACS+ indicating that the session has stopped. The AAA server notifies the MSS that the user at a particular NAS and port has logged off and the associated counter(s) for that user are decremented by one.
It is important to note that each MSS maintains a counter for a particularly designated user or group of users and only that MSS will maintain the count for that designated user or group of users. For example, a company may have a systems division that has 200 logins allotted and a hardware division that has 200 logins allotted. One MSS may maintain the counter for both of these groups or there may be two MSSs, where one handles the systems division and one handles the hardware division.
Consider what happens when a user (USERA10) belonging to a group at site A of a company travels to site B of the company. Referring to
When a hardware or communication failure occurs, a user or group of users may actually be logged out through disconnection (abnormally disconnected) and yet the MSS will not be notified. Therefore, the count of the number of sessions maintained by MSS for the user or group will be more than the actually existing number of sessions. The MSS may deny users access based on the inaccurate count, when the users should be granted access. This will result in the user or group receiving fewer connections than entitled, which is a condition known as “under-subscription.” ISPs do not want to create customer dissatisfaction; therefore, this result is highly undesirable.
What is needed is an addition to the present MSS that can automatically detect hardware and communications failures and adjust the session count accordingly. This would overcome the under-subscription problem by allowing the correct number of users authorized on the system to log in.
A failure detection system operates in conjunction with a Max Sessions Server. A first type of failure detection operates at the user level and is implemented every time a new user attempts to log into the system. Upon log in, the user is assigned to a particular NAS and port. The NAS sends a request to an AAA for authorization, which in turn queries the MSS to determine if the log in will violate the allotment for that particular user or group of users. The MSS will only allow a predetermined number of connections at a time for each user or group of users. A master list of unique identification values (UIVs) for all logged in users is maintained at the MSS. The UIV may be a concatenation of the NAS identification and port identification and should be unique to it. Since only one connection can be made on a given NAS at a given port, this number is unique at any given time. For each new AAA request, the MSS compares UIV of the new request with the UIVs already in use in the MSS master list. If the UIV is duplicated, then the system can correctly conclude that a hardware or communications failure occurred and the original user at that NAS/port has been disconnected. In this case, the system will decrement the appropriate MSS counter(s) by one and remove the UIV from the master list. The login request will then proceed as normal in an MSS request, where the AAA request will only be granted if there is space available in the allocated number of slots for the user or group of users.
A second type of failure detection operates at the NAS level. When a particular NAS has failed to communicate with the MSS for a given length of time, the system concludes that there is a communications or hardware failure on that NAS. All of the UIVs associated with that particular NAS are removed from the master list and the corresponding counter for the MSS is decreased by the total number of users that were previously logged into the failed NAS. Furthermore, since multiple MSS systems may be associated with a given NAS, a message is broadcast to all previously interested MSSs to remove the associated UIVs and decrement their counters. This broadcast is performed by sending data packets to the interested remote MSSs over the net encapsulated in TCP (Transmission Control Protocol).
Those of ordinary skill in the art will realize that the following description of the present invention is illustrative only and not in any way limiting. Other embodiments of the invention will readily suggest themselves to such skilled persons having the benefit of this disclosure.
In accordance with a presently preferred embodiment of the present invention, the components, processes and/or data structures may be implemented using C++ programs running on high performance computers (such as an Enterprise 2000™ server running Sun Solaris™ as its operating system). The Enterprise 2000™ server and Sun Solaris™ operating system are products available from Sun Microsystems, Inc. of Mountain View, Calif. Different implementations may be used and may include other types of operating systems, computing platforms, computer programs, firmware and/or general purpose machines. In addition, those of ordinary skill in the art will readily recognize that devices of a less general purpose nature, such as hardwired devices, devices relying on FPGA (field programmable gate array) or ASIC (Application Specific Integrated Circuit) technology, or the like, may also be used without departing from the scope and spirit of the inventive concepts disclosed herein.
This invention teaches two levels of automatic failure detection and correction. The first level of detection operates to detect user-level failures. The second level of detection operates to detect NAS-level failures. In order to implement both levels of detection, the MSS must maintain a master list of UIVs for each user log in. To create the UIV, the MSS creates a concatenation of a unique NAS identifier (either its IP address or “name”) and the port identifier of the port of the NAS through which the user is connected. Since only one user can be logged into a particular port on a particular NAS, this number is unique to the connection. Furthermore, all UIVs associated with a given NAS are readily identifiable.
As an example, assume the NAS IP address is 10.1.1.10 and the NAS name is MYNAS and assume the user logs into the NAS at port TTY2. Either the NAS IP address or name can be used in the concatenation. Thus, the UIV could be either 10.1.1.10#TTY2 or MYNAS#TTY2 or another suitable UIV formed in this general way. However, one protocol would be selected and followed consistently. In other words, the MSS would not sometimes use the NAS IP address and sometimes use the NAS name. Similarly, the order of the concatenation does not matter (either NAS first or Port first); however, whichever convention is selected would always be used for consistency.
Referring to
If however, when the MSS compares the UIV of the current log in request to the master list, the number is found on the list, then the MSS concludes that a communication or hardware failure occurred. Since it is impossible for two different users to log in with the same UIV (based on NAS and port number), then the older connection must have been lost due to a hardware or communications failure allowing a second user to connect to the NAS and port number of the prior user's connection. In this case, the MSS takes several steps. The MSS removes the UIV from the master list (block 28) and decrements the corresponding counters by one (block 26). At this point, the over-estimation has been corrected and the system will proceed with the authorization request. Then, the MSS will consult the corresponding counter to see if the maximum number of users would be exceeded if the AAA request is granted. If so, then the request is denied; if not, then the user is authorized. Once authorized, the MSS will add the newly logged in UIV to the master list and increment the corresponding counter(s) by one. Thus, no connection has been denied based on an inaccurate log in count from user level failures. Note that NAS-AAA-MSS communications may be carried out in any suitable fashion, such as by use of the well-known RADIUS or TACACS+ protocols.
The second level of failure detection is a NAS-level failure and is diagrammed at
According to the present invention, the MSS will automatically correct for the lost connections from a NAS-level failure. Referring to
Additionally, there can be multiple MSSs associated with users on the failed NAS. Recall the scenario of
When a NAS failure is detected, the MSS will identify any remote MSS that has previously shown an interest in a connection on the failed NAS and will broadcast the information. Thus, all counts and master lists on other MSSs will also accurately reflect the result of a failed NAS.
In an extension of the present invention, a more generic Resource Control Server (RCS) could operate in the same basic way as the MSS described above to control the allocation of resources other than sessions. Such resource could include any type of limited resource within the data communications network, such as, for example, call gateways, VPNs (virtual private networks), B-channels (used with ISDN connections), and the like. Members of groups would subscribe for minimum service levels of the resource and when the minimum service level is provided, no further service need be provided. The same problem of under-subscription still exists and can be corrected with the present invention.
A MSS or RCS 40 includes a database 42 storing the master list 44 which stores UIVs and associated group identifications. The MSS/RCS 40 also stores and maintains counters for each group ID 46. A checker 48 compares each new log in request directed to MSS 40 with the contents of master list 44 to determine if the UIV of the new log in request matches an existing UIV in the master list 44 of database 42. A clearer 50 clears existing information in master list 44 associated with a UIV if the UIV is determined by the checker 48 to be the same as that of the new log in request. An incrementer 52 increments a counter 46 for each new log in by a member of a corresponding group of users. For the RCS version, this occurs when a user initiates use of the controlled resource. A decrementer 54 decrements a counter 46 when the user logs out or gives up the resource. A log in rejector 56 rejects a user's attempt to log in (MSS version) or gain access to a resource (RCS version) if doing so would cause the corresponding counter to exceed its authorized maximum. A NAS checker 58 periodically checks one or more associated NASs to determine if it/they have become non-operational. Note that this function may be implemented in the MSS/RCS or in another portion of the data communication network such as a AAA server or a network operations center (NOC) with the results of the check or a failure notification sent to the MSS/RCS. A broken NAS clearer 60 responsive clears existing data in the master list associated with a broken or non-operational NAS. A transmitter 62 transmits a communication to another MSS on the data communications network to inform it of the non-operational status of a NAS. A receiver 64 receives communications from a transmitter of another MSS or another source informing of the non-operational status of a NAS. Such information may be passed to broken NAS clearer 60 for action.
An AAA 66 couples the NASs 68, 70, 72 with the MSS 40 via a suitable protocol such as RADIUS or TACACS+.
While embodiments and applications of the invention have been shown and described, it would be apparent to those of ordinary skill in the art having the benefit of this disclosure that many more modifications than mentioned above are possible without departing from the inventive concepts herein. A more generic Resource Control Server (RCS) could operate in the same basic way as the MSS described above to control the allocation of resources other than sessions. Such resource could include any type of limited resource within the data communications network, such as, for example, call gateways, VPNs (virtual private networks), B-channels (used with ISDN connections), and the like. Members of groups would subscribe for minimum service levels of the resource and when the minimum service level is provided, no further service need be provided. The same problem of under-subscription still exists and can be corrected with the present invention. The invention, therefore, is not to be restricted except in the spirit of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
4694487 | Chang et al. | Sep 1987 | A |
5276801 | Heyen et al. | Jan 1994 | A |
5283783 | Nguyen et al. | Feb 1994 | A |
5287103 | Kasprzyk et al. | Feb 1994 | A |
5361250 | Nguyen et al. | Nov 1994 | A |
5542047 | Armstrong | Jul 1996 | A |
5555244 | Gupta et al. | Sep 1996 | A |
5581478 | Cruse et al. | Dec 1996 | A |
5592538 | Kosowsky et al. | Jan 1997 | A |
5610910 | Focsaneanu et al. | Mar 1997 | A |
5671354 | Ito et al. | Sep 1997 | A |
5673265 | Gupta et al. | Sep 1997 | A |
5678006 | Valizadeh et al. | Oct 1997 | A |
5715394 | Jabs | Feb 1998 | A |
5717604 | Wiggins | Feb 1998 | A |
5729546 | Gupta et al. | Mar 1998 | A |
5740176 | Gupta et al. | Apr 1998 | A |
5764756 | Onweller | Jun 1998 | A |
5787253 | McCreery et al. | Jul 1998 | A |
5787427 | Benantar et al. | Jul 1998 | A |
5799017 | Gupta et al. | Aug 1998 | A |
5812529 | Czarnik et al. | Sep 1998 | A |
5838682 | Dekelbaum et al. | Nov 1998 | A |
5838683 | Corley et al. | Nov 1998 | A |
5862480 | Wild et al. | Jan 1999 | A |
5867495 | Elliott et al. | Feb 1999 | A |
5889774 | Mirashrafi et al. | Mar 1999 | A |
5922051 | Sidey | Jul 1999 | A |
5987232 | Tabuki et al. | Nov 1999 | A |
5991810 | Shapiro et al. | Nov 1999 | A |
5991828 | Horie et al. | Nov 1999 | A |
6006258 | Kalajan | Dec 1999 | A |
6009103 | Woundy | Dec 1999 | A |
6011910 | Chau et al. | Jan 2000 | A |
6018619 | Allard et al. | Jan 2000 | A |
6023724 | Bhatia et al. | Feb 2000 | A |
6026087 | Mirashrafi et al. | Feb 2000 | A |
6026440 | Shrader et al. | Feb 2000 | A |
6026441 | Ronen | Feb 2000 | A |
6047376 | Hosoe | Apr 2000 | A |
6049820 | Murphy et al. | Apr 2000 | A |
6061740 | Ferguson et al. | May 2000 | A |
6088728 | Bellemore et al. | Jul 2000 | A |
6091951 | Sturniolo et al. | Jul 2000 | A |
6108306 | Kalkunte et al. | Aug 2000 | A |
6119160 | Zhang et al. | Sep 2000 | A |
6128601 | Van Horne et al. | Oct 2000 | A |
6144959 | Anderson et al. | Nov 2000 | A |
6151688 | Wipfel et al. | Nov 2000 | A |
6178505 | Schneider et al. | Jan 2001 | B1 |
6185288 | Wong | Feb 2001 | B1 |
6192405 | Bunnell | Feb 2001 | B1 |
6233604 | Van Horne et al. | May 2001 | B1 |
6243716 | Waldo et al. | Jun 2001 | B1 |
6252878 | Locklear et al. | Jun 2001 | B1 |
6253236 | Troxel et al. | Jun 2001 | B1 |
6259705 | Takahashi et al. | Jul 2001 | B1 |
6262984 | Rochberger | Jul 2001 | B1 |
6279054 | Boyle | Aug 2001 | B1 |
6292657 | Laursen et al. | Sep 2001 | B1 |
6295527 | McCormack et al. | Sep 2001 | B1 |
6295536 | Sanne | Sep 2001 | B1 |
6314408 | Salas et al. | Nov 2001 | B1 |
6324264 | Wiener et al. | Nov 2001 | B1 |
6360263 | Kurtzberg et al. | Mar 2002 | B1 |
6363065 | Thornton et al. | Mar 2002 | B1 |
6370151 | Bojanic | Apr 2002 | B1 |
6377982 | Rai et al. | Apr 2002 | B1 |
6408336 | Schneider et al. | Jun 2002 | B1 |
6412007 | Bui et al. | Jun 2002 | B1 |
6442608 | Knight et al. | Aug 2002 | B1 |
6490344 | Murai et al. | Dec 2002 | B1 |
6513060 | Nixon et al. | Jan 2003 | B1 |
6529955 | Sitaraman et al. | Mar 2003 | B1 |
6556659 | Bowman-Amuah | Apr 2003 | B1 |
6584093 | Salama et al. | Jun 2003 | B1 |
6584529 | Thomas | Jun 2003 | B1 |
6615264 | Stoltz et al. | Sep 2003 | B1 |
6625645 | Van Horne et al. | Sep 2003 | B1 |
6625651 | Swartz et al. | Sep 2003 | B1 |
6628671 | Dynarski et al. | Sep 2003 | B1 |
6654366 | Ketcham | Nov 2003 | B1 |
6714515 | Marchand | Mar 2004 | B1 |
6765903 | Allen, Jr. et al. | Jul 2004 | B1 |
6795888 | Apacible et al. | Sep 2004 | B1 |
6798771 | Low et al. | Sep 2004 | B1 |
6856676 | Pirot et al. | Feb 2005 | B1 |
6857019 | Sitaraman et al. | Feb 2005 | B1 |
6862626 | Ryu | Mar 2005 | B1 |
6877036 | Smith et al. | Apr 2005 | B1 |
6879593 | Kunze et al. | Apr 2005 | B1 |
6883033 | Maruyama et al. | Apr 2005 | B2 |
6909711 | Noguchi | Jun 2005 | B1 |
6961857 | Floryanzia | Nov 2005 | B1 |
6980515 | Schunk et al. | Dec 2005 | B1 |
7075922 | Mussman et al. | Jul 2006 | B2 |
7111321 | Watts et al. | Sep 2006 | B1 |
20010047333 | Kim et al. | Nov 2001 | A1 |
20020075844 | Hagen | Jun 2002 | A1 |
20020078119 | Brenner et al. | Jun 2002 | A1 |
20020085569 | Inoue | Jul 2002 | A1 |
20020089985 | Wahl et al. | Jul 2002 | A1 |
20020102999 | Maggenti et al. | Aug 2002 | A1 |
20020103895 | Chiang | Aug 2002 | A1 |
20020107952 | Mancusi et al. | Aug 2002 | A1 |
20020122417 | Miller et al. | Sep 2002 | A1 |
20020160811 | Jannette et al. | Oct 2002 | A1 |
20030002476 | Chung et al. | Jan 2003 | A1 |
20030051195 | Bosa et al. | Mar 2003 | A1 |
20030065741 | Vo | Apr 2003 | A1 |
20030074576 | Kelly | Apr 2003 | A1 |
20040030752 | Selgas et al. | Feb 2004 | A1 |
Number | Date | Country |
---|---|---|
0 888 029 | Dec 1998 | EP |
9713382 | Apr 1997 | WO |
9953408 | Oct 1999 | WO |