1. Technical Field
The present disclosure relates to computer networking.
2. Description of the Related Art
Next generation network devices may be designed with multiple technologies embedded into a single device. For example, a device may designed with storage, Ethernet switching, and Ethernet routing. There may also be multiple protocols supported within each device technology. For example, multiple Ethernet protocols may be supported by the single device. Even though all of these technologies are hosted in one device, they participate in completely independent networks.
In one embodiment, an indication of a fault condition is received relating to a first service running on a physical device in a computer network. The first service is associated with a first virtual device context defined on the physical device. Then, the first service is disabled without affecting operation of a second service on the physical device. The second service is associated with a second virtual device context defined on the physical device.
In another embodiment, a first virtual device context is created on a physical device in a computer network. Then, a second virtual device context is created on the physical device. The first virtual device context may then be managed independently of the second virtual device context such that resources assigned to a virtual device context are managed without affecting management of another virtual device context.
In this application, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be obvious, however, to one skilled in the art, that the present invention may be practiced without some or all of these specific details. In other instances, well known process steps have not been described in detail in order to not obscure the present invention.
As devices such as data center devices, which incorporate numerous different technologies into individual devices, progress towards a more service oriented network environment, it may be beneficial to utilize network devices as a resource that can be partitioned based on service requirements. Even though different services co-exist on a physical device, each service can often have different requirements for fault isolation, management isolation, as well as resource isolation and allocation.
In hosted environments when multiple administrators are managing a single physical device, co-ordination must occur between all of the administrators before changing any configuration. A misconfiguration by one administrator could bring down the entire device, affecting resources outside of the control and/or purview of the administrator.
Furthermore, network switches and routers are traditionally designed to provide high availability by having redundant hardware components and running software services in a hot standby mode. This redundancy model attempts to immediately switch to standby hardware/software in case of a fault. A kernel crash, file system corruption, or other software crash in one of the software components causes all of the services on the physical device to be passed to the standby hardware/software. In the case where no standby is available, however, the entire physical switch is reset, which interrupts the processing of all of the services on the physical switch.
A redundant supervisor model may allow a physical switch to remain operational in the event of a failure in one of its services. In this model, multiple supervisor processes run on a single physical device. One of the supervisors is active, and controls the various services available on the device. If a failure should occur, the supervisor may go down, and then the standby supervisor is activated. This allows services to remain active even though they reside on the same physical switch as a service that has gone down. However, in the case where the failure occurs do to an external issue, such as a fault caused by an external device or based on corrupted network topology, the standby supervisor will suffer the same failure as the original supervisor.
Therefore, virtualization may be provided to allow for the logical partitioning of a physical device into multiple partitions. This can be used in lieu of a redundant supervisor model and provides protection even in the case of a failure caused by an external issue. The logical partitioning also addresses another issue. Some of the services available on the device are applied to all the interfaces (unless particular interfaces are specified). One such example is Spanning Tree Protocol (STP) where STP either can be running on a per VLAN Rapid Spanning Tree (PVRST) or on Multiple Spanning Tree (MST) mode for the entire switch. If the network topology is such that one partition (part?) of the network can run PVRST because of a small number of VLANs and another part of the network needs to run MST due to scalability, it becomes possible to do so in a single device by utilizing logical partitioning.
A virtual device context (VDC) is a way to partition a single physical device into multiple logical devices to provide fault isolation, management isolation, address allocation isolation, service differentiation domains, adaptive resource management, and other service isolation. VDCs allow each instance within a physical device to be managed independently from each other. Each VDC may be carved out with certain resources allocated to it by a supervisor-user. Once the resources are assigned, in some implementations they may be managed by administrators of that VDC only.
A fault in one of the services of VDC 102a would not affect the operation of VDC 102b (and vice-versa). Likewise, an administrator could upgrade VDC 102a without affecting the operation of VDC 102b (and vice-versa).
For purposes of this document, when a VDC is said to be “defined on” or “created on” a physical device, this shall be interpreted to mean that the VDC is set up to operate on the physical device as a logical component of the device. While in many embodiments this may involve the storage of VDC configuration information in memory on the physical device, embodiments are also possible wherein the configuration or other “definition” information for the VDC are stored elsewhere than the physical device. The terms “defined on” and “created on” shall be interpreted to encompass all of these different embodiments.
At 504, the first virtual device context may be utilized on the physical device. Several alternative embodiments are possible is this step. In one embodiment, an Active-Active high availability redundancy model may be configured using the first virtual device context and the second virtual device context by defining both the first virtual device context and the second virtual device contexts as active redundant supervisors. In another embodiment, the first virtual device context is configured to act as an active supervisor while the second virtual device context may be configured to act as a backup supervisor. In another embodiment, the second virtual device context may be assigned to another physical device without affecting operation of the first virtual device context. In another embodiment, the physical device may be operated according to the process described in
Embodiments are also envisioned wherein the router or switch comprises one or more line cards, wherein each line card may contain the architecture of the switch or router in
VDCs allow software fault isolation across different logical instances. A fault in one logical instance does not affect any other logical instance. Therefore, the effects of a fault are contained within a single logical instance. This fault could be any kind of software service crash, kernal crash, misconfiguration, security attack, or contamination of resource such as file system corruption. VDCs can greatly improve the stability of the physical device.
Since each VDC may run a different instance of an image, it is also possible to upgrade or patch an individual service or an entire image for the VDC without taking other services offline. This also allows administrators to fix certain software bugs, for example, topology-related bugs, as each VDC could be a part of a different network topology. Since two VDCs are independent of one another, each VDC can run a different software version, thus providing flexibility for customers to test new versions of software on the same hardware device without affecting their production network.
The independent nature of each VDC also allows a new high availability redundancy model of Active-Active for control processes. Usually a high availability model uses one hot standby supervisor to run software services in standby mode. The standby supervisor takes over the function of the active supervisor in case of software failure based on predefined policies. By using VDCs, both the supervisor and the backup can actually be in active mode at the same time and the user can even selectively fail over a VDC to different hardware if desired. This allows a much more flexible high availability model. It also allows users to utilize all the hardware resources on a device. Even in the case of a single supervisor it is possible to have an active-standby model where a VDC could be acting as a standby of the same supervisor.
Furthermore, a supervisor-user of the physical device can assign resources to a VDC. Resources could be any physical resource such as interfaces, cpu, memory, TCAM space, L2 VLANs, routing information learnt, etc. Once resources are assigned to VDC, it may be managed only through the VDC context.
Additionally, each VDC may have its own configuration and authentication domain which could be independent and different from the physical device. All the management and system messages may also be localized to the VDC. This provides isolation in hosted environments where a user may want to hide configuration from other users who are co-hosted on the same physical device. This allows for greater flexibility in hosted environments where multiple administrators are co-hosted on one physical device.
VDCs also provide service differentiation across logical instances. VDCs allow a user to run service instances on a per-VDC basis and thus enables the user to run different services in each logical instance independent of each other. This also improves reliability of the network across logical instances where, for example, a loop caused by STP in one logical instance would not bring down the entire network.
Although illustrative embodiments and applications of this invention are shown and described herein, many variations and modifications are possible which remain within the concept, scope, and spirit of the invention, and these variations would become clear to those of ordinary skill in the art after perusal of this application. Accordingly, the embodiments described are to be considered as illustrative and not restrictive, and the invention is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims.
This application is a divisional application and claims priority from U.S. patent application Ser. No. 11/697,612, entitled “LOGICAL PARTITIONING OF A PHYSICAL DEVICE,” by Ronak Desai et al, filed on Apr. 6, 2007, which is incorporated herein by reference for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
7185223 | Hsu et al. | Feb 2007 | B2 |
7342874 | Pegrum et al. | Mar 2008 | B2 |
7424710 | Nelson et al. | Sep 2008 | B1 |
7577959 | Nguyen et al. | Aug 2009 | B2 |
8018841 | Holness et al. | Sep 2011 | B2 |
8024732 | Sheehan et al. | Sep 2011 | B2 |
8028071 | Mahalingam et al. | Sep 2011 | B1 |
8320389 | Zhang et al. | Nov 2012 | B2 |
20020013802 | Mori et al. | Jan 2002 | A1 |
20030051048 | Watson et al. | Mar 2003 | A1 |
20030120713 | Fenchel | Jun 2003 | A1 |
20030198182 | Pegrum et al. | Oct 2003 | A1 |
20050108593 | Purushothaman et al. | May 2005 | A1 |
20050125557 | Vasudevan et al. | Jun 2005 | A1 |
20060195556 | Shamia et al. | Aug 2006 | A1 |
20080189700 | Schmidt et al. | Aug 2008 | A1 |
20080215910 | Gabriel et al. | Sep 2008 | A1 |
20080250260 | Tomita | Oct 2008 | A1 |
20080263410 | Mittal et al. | Oct 2008 | A1 |
20090094610 | Sukirya | Apr 2009 | A1 |
20090241108 | Edwards et al. | Sep 2009 | A1 |
20090249115 | Bycroft et al. | Oct 2009 | A1 |
20090290591 | Zhang et al. | Nov 2009 | A1 |
20110075662 | Rathunde et al. | Mar 2011 | A1 |
20120224584 | Zhang et al. | Sep 2012 | A1 |
20140140221 | Manam et al. | May 2014 | A1 |
20140189125 | Amies et al. | Jul 2014 | A1 |
20140215467 | Niesser et al. | Jul 2014 | A1 |
Entry |
---|
802.1D IEEE Standard for Local and metropolitan area networks, Media Access Control (MAC) Bridges, IEEE Computer Society, 2004. |
International Search Report and the Written Opinion of the International Searching Authority, or the Declaration for PCT Application No. PCT/US08/59436 mailed Jun. 27, 2008. |
U.S. Non-Final Office Action dated Dec. 15, 2009 from U.S. Appl. No. 11/697,612. |
U.S. Final Office Action dated Jun. 25, 2010 from U.S. Appl. No. 11/697,612. |
U.S. Non-Final Office Action dated Nov. 29, 2010 from U.S. Appl. No. 11/697,612. |
U.S. Final Office Action dated May 26, 2011 from U.S. Appl. No. 11/697,612. |
U.S. Non-Final Office Action dated Oct. 14, 2011 from U.S. Appl. No. 11/697,612. |
U.S. Notice of Allowance dated Mar. 13, 2012 from U.S. Appl. No. 11/697,612. |
Number | Date | Country | |
---|---|---|---|
20120278458 A1 | Nov 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11697612 | Apr 2007 | US |
Child | 13543671 | US |