DE102015212354A1 - A method for improved load balancing with respect to the provision of a network service in a computer network, system for improved load distribution with respect to the provision of a network service in a computer network, program and computer program product - Google Patents
A method for improved load balancing with respect to the provision of a network service in a computer network, system for improved load distribution with respect to the provision of a network service in a computer network, program and computer program product Download PDFInfo
- Publication number
- DE102015212354A1 DE102015212354A1 DE102015212354.5A DE102015212354A DE102015212354A1 DE 102015212354 A1 DE102015212354 A1 DE 102015212354A1 DE 102015212354 A DE102015212354 A DE 102015212354A DE 102015212354 A1 DE102015212354 A1 DE 102015212354A1
- Authority
- DE
- Germany
- Prior art keywords
- server
- client device
- network service
- service
- servers
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Abstract
Die Erfindung betrifft ein Verfahren zur verbesserten Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes in einem Computernetzwerk, wobei das Computernetzwerk mehrere Server zur Bereitstellung des Netzwerkdienstes an ein Client-Gerät umfasst, wobei die mehreren Server mehrere Primärserver umfassen, wobei die mehreren Server wenigstens einen Sekundärserver zur Ausfallsicherung umfassen, wobei das Computernetzwerk einen Domain Name System (DNS) Server zur Bereitstellung von Service Resource Record (SRV) Datensätzen aufweist, wobei die Service Resource Record (SRV) Datensätze Lastverteilungsdaten und Priorisierungsdaten aufweisen, wobei das Client-Gerät mit dem Computernetzwerk zur Verwendung des Netzwerkdienstes verbunden ist, wobei das Verfahren folgende Schritte umfasst: – Ermitteln, durch das Client-Gerät, eines ersten Servers, wobei der erste Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus den mehreren Primärservern selektiert wird, – Bereitstellen – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – des Netzwerkdienstes an das Client-Gerät durch den ersten Server, sowie – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – Ermitteln, durch das Client-Gerät, eines zweiten Servers aus dem wenigstens einen Sekundärserver, wobei der zweite Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus dem wenigstens einen Sekundärserver ermittelt wird, wobei – falls der zweite Server für eine Dienstnutzung durch das Client-Gerät verfügbar ist – der Netzwerkdienst dem Client-Gerät durch den zweiten Server bereitgestellt wird.The invention relates to a method of improved load sharing for providing a network service in a computer network, the computer network comprising a plurality of servers for providing the network service to a client device, the plurality of servers comprising a plurality of primary servers, the plurality of servers including at least one secondary server for failover wherein the computer network comprises a Domain Name System (DNS) server for providing Service Resource Record (SRV) records, the Service Resource Record (SRV) records having load distribution data and prioritization data, the client device communicating with the computer network to use the Network Service, the method comprising the steps of: - determining, by the client device, a first server, wherein the first server, depending on the load distribution data of the Service Resource Record (SRV) records from the plurality of Prim Providing - in the case where the first server is available to provide the network service to the client device - the network service to the client device through the first server, and - in the event that the first server fails to provide the network service to the client device and another server of the plurality of primary servers is available to provide the network service to the client device - determining, by the client device, a second server from the at least one secondary server, wherein the second server is determined in dependence on the load distribution data of the Service Resource Record (SRV) records from the at least one secondary server, wherein - if the second server for a service use by the client device is available - the network service provided to the client device by the second server becomes.
Description
STAND DER TECHNIKSTATE OF THE ART
Die vorliegende Erfindung betrifft ein Verfahren zur verbesserten Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes in einem Computernetzwerk, wobei das Computernetzwerk mehrere Server zur Bereitstellung des Netzwerkdienstes an ein Client-Gerät umfasst, wobei die mehreren Server mehrere Primärserver umfassen, wobei die mehreren Server wenigstens einen Sekundärserver zur Ausfallsicherung umfassen.The present invention relates to a method for improved load sharing in providing a network service in a computer network, the computer network comprising a plurality of servers for providing the network service to a client device, the plurality of servers comprising a plurality of primary servers, the plurality of servers including at least one secondary server Include failover.
Weiterhin betrifft die vorliegende Erfindung ein System zur verbesserten Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes in einem Computernetzwerk, wobei das System das Computernetzwerk und ein Client-Gerät umfasst, wobei das Computernetzwerk mehrere Server zur Bereitstellung des Netzwerkdienstes an ein Client-Gerät umfasst, wobei die mehreren Server mehrere Primärserver umfassen, wobei die mehreren Server wenigstens einen Sekundärserver zur Ausfallsicherung umfassen.Furthermore, the present invention relates to an improved load sharing system for providing a network service in a computer network, the system comprising the computer network and a client device, the computer network comprising a plurality of servers for providing the network service to a client device, the plurality of network servers Server comprises a plurality of primary servers, wherein the plurality of servers comprise at least one secondary server for failover.
Ferner betrifft die vorliegende Erfindung ein Computerprogramm und ein Computerprogrammprodukt.Furthermore, the present invention relates to a computer program and a computer program product.
Das Domain Name System (DNS) Protokoll stellt eine Möglichkeit bereit, in einem Internet Protokoll (IP) basierten Computernetzwerk eine Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes und eine Ausfallsicherung zu realisieren. Das Domain Name System (DNS) stellt Service Resource Record (SRV) Datensätze zum Zwecke der Lastverteilung und Ausfallsicherung bereit. Die Service Resource Record (SRV) Datensätze enthalten mehrere Einträge, wobei jeder Eintrag zu einem (angefragten) Netzwerkdienst – neben verschiedenen weiteren Datenfeldern (beispielsweise die Netzwerkadresse oder der Hostname des den angefragten Netzwerkdienst bereitstellenden Servers) – einen Priorisierungswert (welcher auch als „Priorität“ bezeichnet wird) und einen Lastverteilungswert (welcher auch als „Gewicht“ bezeichnet wird) umfasst. Durch die Service Resource Record (SRV) Datensätze kann mit Hilfe dieser Informationen in einem Domain Name System (DNS) eine Lastverteilung und Ausfallsicherung (durch Implementierung redundanter Server) realisiert werden.The Domain Name System (DNS) protocol provides a means of realizing load distribution in a network protocol (IP) based computer network in terms of network service provisioning and failover. The Domain Name System (DNS) provides Service Resource Record (SRV) records for load balancing and failover. The Service Resource Record (SRV) records contain a plurality of entries, each entry to a (requested) network service, including a number of other data fields (for example, the network address or host name of the server providing the requested network service), a prioritization value (which is also referred to as "priority"). and a load distribution value (also referred to as "weight"). The Service Resource Record (SRV) records can use this information in a Domain Name System (DNS) to provide load balancing and failover (by implementing redundant servers).
Nachteilig bei solchermaßen implementierten Verfahren zur Lastverteilung ist das mögliche Auftreten einer Überlastungssituation eines Servers, wenn es sich um den vorletzten verfügbaren Server einer Gruppe von einen bestimmten Netzwerkdienst bereitstellenden Servern mit demselben Priorisierungswert handelt – d.h. wenn beispielsweise alle anderen Server dieser Gruppe ausgefallen sind, sodass eine Verschlechterung der Dienstgüte des Netzwerkdienstes herbeigeführt wird und/oder der überlastete Server ebenfalls ausfällt.A disadvantage of load distribution methods implemented in such a way is the possible occurrence of a congestion situation of a server, if it is the penultimate available server of a group of servers providing a specific network service with the same prioritization value - i. E. if, for example, all the other servers in this group have failed, causing a deterioration in the quality of service of the network service and / or the congested server also fails.
OFFENBARUNG DER ERFINDUNGDISCLOSURE OF THE INVENTION
Eine Aufgabe der vorliegenden Erfindung ist das Bereitstellen eines Verfahrens zur verbesserten Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes in einem Computernetzwerk, durch das eine Verschlechterung der Dienstgüte und/oder der Ausfall eines Servers einer Gruppe von Servern mit demselben Priorisierungswert – insbesondere bei einem zugleich vergleichsweise geringen Konfigurationsaufwand – vermieden wird.It is an object of the present invention to provide a method for improved load sharing with respect to the provision of a network service in a computer network, by degrading the quality of service and / or the failure of a server of a group of servers having the same prioritization value - especially at the same time a relatively low configuration effort - is avoided.
Die Aufgabe der vorliegenden Erfindung wird durch ein Verfahren zur verbesserten Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes in einem Computernetzwerk gelöst, wobei das Computernetzwerk mehrere Server zur Bereitstellung des Netzwerkdienstes an ein Client-Gerät umfasst, wobei die mehreren Server mehrere Primärserver umfassen, wobei die mehreren Server wenigstens einen Sekundärserver zur Ausfallsicherung umfassen, wobei das Computernetzwerk einen Domain Name System (DNS) Server zur Bereitstellung von Service Resource Record (SRV) Datensätzen aufweist, wobei die Service Resource Record (SRV) Datensätze Lastverteilungsdaten und Priorisierungsdaten aufweisen, wobei das Client-Gerät mit dem Computernetzwerk zur Verwendung des Netzwerkdienstes verbunden ist, wobei das Verfahren folgende Schritte umfasst:
- – Ermitteln, durch das Client-Gerät, eines ersten Servers, wobei der erste Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus den mehreren Primärservern selektiert wird,
- – Bereitstellen – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – des Netzwerkdienstes an das Client-Gerät durch den ersten Server, sowie – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – Ermitteln, durch das Client-Gerät, eines zweiten Servers aus dem wenigstens einen Sekundärserver, wobei der zweite Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus dem wenigstens einen Sekundärserver ermittelt wird, wobei – falls der zweite Server für eine Dienstnutzung durch das Client-Gerät verfügbar ist – der Netzwerkdienst dem Client-Gerät durch den zweiten Server bereitgestellt wird.
- Determining, by the client device, a first server, wherein the first server is selected from the plurality of primary servers in dependence on the load distribution data of the service resource record (SRV),
- Providing, in the case where the first server is available to provide the network service to the client device, the network service to the client device through the first server; and in the event that the first server for providing the network service Network service to the client device fails and another server of the multiple primary servers for the provision of the network service to the client device is available - determining, by the client device, a second server from the at least one secondary server, the second server depending the load distribution data of the Service Resource Record (SRV) records from the at least one secondary server is determined, wherein - if the second server for service use by the client device is available - the network service is provided to the client device by the second server.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass eine Verschlechterung der Dienstgüte und/oder der weitere Ausfall eines (weiteren) Servers einer Gruppe von Servern mit demselben Priorisierungswert (insbesondere nachdem bereits ein erster Server dieser Gruppe von Servern mit demselben Priorisierungswert ausgefallen ist) dadurch vermieden wird, dass der zweite Server aus dem wenigstens einen Sekundärserver ermittelt wird. Die mehreren Server sind dabei zur Bereitstellung des Netzwerkdienstes an das Client-Gerät konfiguriert und umfassen neben den mehreren Primärservern darüber hinaus den wenigstens einen Sekundärserver zur Ausfallsicherung. Somit wird – für den Fall, dass der erste Server (ein Primärserver) für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Primärserver für die Bereitstellung des Netzwerkdienstes verfügbar ist – der zweite Server (d.h. ein Sekundärserver) in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus dem wenigstens einen Sekundärserver ermittelt. Das bedeutet insbesondere, dass ein Ausfallsicherungsserver des wenigstens einen Sekundärservers (d.h. insbesondere der zweite Server) nicht erst dann zur Auswahl als Ersatzserver (für den ausgefallenen ersten Server) zur Verfügung steht, wenn alle Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausgefallen sind, sondern bereits dann zur Auswahl als Ersatzserver für den ausgefallenen Primärserver zur Verfügung steht, wenn noch wenigstens ein anderer Primärserver der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar sind. As a result, according to the present invention, it is advantageously possible that a deterioration of the quality of service and / or further failure of a (further) server of a group of servers with the same prioritization value (in particular after a first server of this group of servers with the same prioritization value has already failed is) avoided by the second server is determined from the at least one secondary server. The multiple servers are configured to provide the network service to the client device and, in addition to the multiple primary servers, also includes the at least one secondary server for failover. Thus, in the event that the first server (a primary server) fails to deploy the network service to the client device and another primary server is available to provide the network service, the second server (ie a secondary server) becomes dependent on the load distribution data the Service Resource Record (SRV) determines records from the at least one secondary server. This means, in particular, that a failover server of the at least one secondary server (ie in particular the second server) is not available for selection as a replacement server (for the failed first server) only when all the primary servers have failed to provide the network service to the client device but is already available for selection as a replacement server for the failed primary server if at least one other primary server of the multiple primary servers is still available to provide the network service to the client device.
Gemäß der vorliegenden Erfindung ist es insbesondere vorgesehen, dass die übrigen Server der mehreren Server – aus denen ein Ersatzserver (für den ausgefallenen ersten Server) in Abhängigkeit von Ausfallpriorisierungsdaten der Service Resource Record (SRV) Datensätze ermittelt wird – die mehreren Primärserver – zumindest mit Ausnahme des für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausgefallenen ersten Servers – und den wenigstens einen Sekundärserver und insbesondere weitere Ausfallsicherungsserver umfassen.According to the present invention, it is provided in particular that the remaining servers of the multiple servers - from which a replacement server (for the failed first server) is determined as a function of failure prioritization data of the Service Resource Record (SRV) records - the plurality of primary servers - at least with the exception of the failed for the provision of the network service to the client device first server - and the at least one secondary server and in particular further failover servers.
Gemäß der vorliegenden Erfindung ist es insbesondere vorgesehen, dass eine Ermittlung eines Servers durch das Client-Gerät ein Zugreifen auf die (in dem Client-Gerät gespeicherten) Service Resource Record (SRV) Datensätze umfasst. In particular, in accordance with the present invention, provision of a server by the client device includes accessing the Service Resource Record (SRV) records (stored in the client device).
Gemäß der vorliegenden Erfindung ist es insbesondere vorgesehen, dass das eine Client-Gerät zugleich auch wenigstens ein Client-Gerät ist – d.h. genau ein Client-Gerät oder mehrere Client-Geräte umfasst. Insbesondere für den Fall, dass es sich um mehrere Client-Geräte handelt, geben die Verfahrensschritte gemäß dem Verfahren der vorliegenden Erfindung die logische Abfolge der Verfahrensschritte für genau ein Client-Gerät der mehreren Client-Geräte vor, wobei die zeitliche Abfolge der Verfahrensschritte unterschiedlicher Client-Geräte auch unterschiedlich sein kann. Insbesondere erfolgt die Ermittlung eines Servers, um den durch den ermittelten Server bereitgestellten Netzwerkdienst durch das Client-Gerät zu verwenden. In particular, according to the present invention, it is contemplated that the one client device is also at least one client device at the same time - i. exactly one client device or multiple client devices. In particular, in the case of a plurality of client devices, the method steps according to the method of the present invention provide the logical sequence of the method steps for exactly one client device of the plurality of client devices, wherein the temporal sequence of the method steps different client Devices can also be different. In particular, a server is determined to use the network service provided by the determined server by the client device.
Gemäß der vorliegenden Erfindung ist es insbesondere vorgesehen, dass „für den Fall, dass ein Server für die Bereitstellung des Netzwerkdienstes an das wenigstens eine Client-Gerät ausfällt“ bedeutet, dass der Server für die Bereitstellung des Netzwerkdienstes an das wenigstens eine Client-Gerät unverfügbar ist – d.h. beispielsweise, dass ein existierender Server ausfällt oder ein Zielserver (gemäß dem Datenfeld „target“) in den Service Resource Record (SRV) Datensätzen (welche in dem Client-Gerät gespeichert sind) nicht oder nicht mehr existiert oder fehlerhaft bezeichnet ist.In particular, in accordance with the present invention, "in the event that a server fails to provide the network service to the at least one client device" means that the server is unavailable to provide the network service to the at least one client device is - ie For example, an existing server will fail or a destination server (according to the data field "target") in the Service Resource Record (SRV) records (which are stored in the client device) will not or no longer exist or will be labeled incorrectly.
Gemäß der vorliegenden Erfindung ist es insbesondere vorgesehen, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – das Verfahren ferner folgende Schritte umfasst:
- – Ermitteln, durch das Client-Gerät, eines weiteren ersten Servers, wobei der weitere erste Server in Abhängigkeit der (auf die Primärserver bezogenen) Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus den mehreren Primärservern selektiert wird,
- – Bereitstellen – für den Fall, dass der weitere erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – des Netzwerkdienstes an das Client-Gerät durch den weiteren ersten Server, sowie – für den Fall, dass der weitere erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt – Ermitteln, durch das Client-Gerät, eines weiteren zweiten Servers, wobei der weitere zweite Server in Abhängigkeit der Priorisierungsdaten der Service Resource Record (SRV) Datensätze aus den übrigen Servern der mehreren Server – d.h. insbesondere aus den mehreren Servern mit Ausnahme des weiteren ersten Servers – ermittelt wird, wobei – falls der weitere zweite Server für eine Dienstnutzung durch das Client-Gerät verfügbar ist – der Netzwerkdienst dem Client-Gerät durch den weiteren zweiten Server bereitgestellt wird.
- Determining, by the client device, a further first server, wherein the further first server is selected as a function of the (on the primary server related) load distribution data of the Service Resource Record (SRV) records from the plurality of primary servers,
- Providing, in the event that the further first server is available for the provision of the network service to the client device, the network service to the client device through the further first server, and - in the event that the further first server for the provisioning of the network service to the client device fails - determining, by the client device, another second server, wherein the further second server depending on the prioritization data of the service resource record (SRV) records from the remaining servers of the multiple servers - ie in particular from the multiple servers except the further first server - is determined, wherein - if the other second server for a service use by the client device is available - the network service is provided to the client device by the further second server.
Gemäß der vorliegenden Erfindung ist es insbesondere vorgesehen, dass der zweite Server bzw. der weitere zweite Server – für den Fall, dass der erste bzw. der weitere erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt – in Abhängigkeit eines auf den ersten Server bzw. weiteren ersten Server bezogenen Ausfallpriorisierungswertes, in Abhängigkeit der auf die Primärserver bezogenen Lastverteilungsdaten und in Abhängigkeit der auf den wenigstens einen Sekundärserver bezogenen Lastverteilungsdaten und Priorisierungsdaten der Service Resource Record (SRV) Datensätze ermittelt wird, sodass insbesondere der auf den ersten Server bzw. weiteren ersten Server bezogene Ausfallpriorisierungswert mit dem auf den zweiten Server bezogenen Priorisierungswert gleichrangig ist.According to the present invention, it is provided in particular that the second server or the second server - in the event that the first or the other first server for the provision of the network service to the client device fails - depending on the first server or other first server related failure prioritization value, depending on the primary server related load distribution data and depending on the at least one secondary server related load distribution data and prioritization data of the Service Resource Record (SRV) records is determined so that in particular the related to the first server or other first server default priority value with the second server related prioritization value is equal ,
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass der wenigstens eine Sekundärserver aus den mehreren Servern in Abhängigkeit eines Ausfallpriorisierungswertes der Service Resource Record (SRV) Datensätze bestimmt wird.According to a preferred embodiment of the present invention, it is provided that the at least one secondary server is determined from the plurality of servers as a function of a service prioritization value of the service resource record (SRV) records.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass – insbesondere zum Ermitteln des zweiten Servers in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus dem wenigstens einen Sekundärserver – der wenigstens eine Sekundärserver aus den mehreren Servern in Abhängigkeit eines Ausfallpriorisierungswertes der Service Resource Record (SRV) Datensätze bestimmt wird. Dadurch wird insbesondere vorrangig (d.h. vorrangig vor den Primärservern, insbesondere auch dann, wenn noch wenigstens ein weiterer Primärserver verfügbar ist) ein Sekundärserver gewählt und erst nachrangig (d.h. erst dann, wenn alle Sekundärserver für die Bereitstellung des Netzwerkdienstes ausfallen) ein Primärserver gewählt. As a result, according to the present invention, it is possible in an advantageous manner for the service resource record (SRV) data sets from the at least one secondary server to be determined, in particular for determining the second server, the at least one secondary server from the plurality of servers as a function of a default priority value the Service Resource Record (SRV) records is determined. As a result, in particular, a secondary server is selected as a priority (i.e., prior to the primary servers, in particular even if at least one other primary server is still available) and only a junior server is selected (that is, only when all secondary servers fail to provide the network service).
Gemäß einer weiteren bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – ausschließlich ein Server des wenigstens einen Sekundärservers zur Ausfallsicherung für den ersten Server selektiert wird.According to a further preferred embodiment of the present invention, it is provided that - in the event that the first server fails to provide the network service to the client device and another server of the plurality of primary servers for the provision of the network service to the client device is available - only a server of at least one secondary server for failover for the first server is selected.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass sichergestellt wird, dass der zweite Server (oder Ersatzserver für den ausgefallenen Primärserver) ein Ausfallsicherungsserver ist, sodass es durch den für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausgefallenen ersten (Primär-)Server nicht zu einer erhöhten Belastung der anderen verfügbaren Primärserver kommt. Somit wird in vorteilhafter Weise eine verbesserte Lastverteilung gegenüber dem Stand der Technik dadurch erreicht, dass als zweiter Server ein Ersatzserver aus der Gruppe der (sekundären) Ausfallsicherungsserver ermittelt wird.As a result, according to the present invention, it is advantageously possible to ensure that the second server (or spare server for the failed primary server) is a failover server, such that it is compromised by the first (primary) failed to provide the network service to the client device -) server does not come to an increased load of the other available primary server. Thus, an improved load distribution over the prior art is advantageously achieved in that as the second server, a replacement server from the group of (secondary) failsafe server is determined.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass der wenigstens eine Sekundärserver einen ersten Sekundärserver und einen zweiten Sekundärserver umfasst, wobei – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – der erste Sekundärserver als der zweite Server aus dem wenigstens einen Sekundärserver in Abhängigkeit der auf die Sekundärserver bezogenen Lastverteilungsdaten der Service Resource Record (SRV) Datensätze ermittelt wird.According to a preferred embodiment of the present invention, it is provided that the at least one secondary server comprises a first secondary server and a second secondary server, wherein - in the event that the first server for the provision of the network service to the client device fails and another server the multiple primary server is available for providing the network service to the client device - the first secondary server is determined as the second server from the at least one secondary server in response to the load distribution data of the Service Resource Record (SRV) records related to the secondary servers.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass die ursprünglich auf den ausgefallenen ersten Server verteilten Anfragen nach dem Netzwerkdienst auf mehrere Sekundärserver aufgeteilt werden, sodass der zweite Server gegenüber dem ausgefallenen ersten Server eine geringere Netzwerklast verarbeiten muss. Dadurch können Serverressourcen eingespart werden und dennoch eine vergleichsweise hohe Verfügbarkeit realisiert werden.As a result, according to the present invention, it is advantageously possible for the requests for the network service initially distributed to the failed first server to be divided among several secondary servers, so that the second server has to process a lower network load compared with the failed first server. This server resources can be saved and still a comparatively high availability can be realized.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass der erste Server aus den mehreren Primärservern in Abhängigkeit der auf die mehreren Primärserver bezogenen Lastverteilungsdaten der Service Resource Record (SRV) Datensätze ermittelt wird, wobei – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist und der zweite Server für eine Dienstnutzung durch das Client-Gerät verfügbar ist – der Netzwerkdienst dem Client-Gerät durch den zweiten Server derart bereitgestellt wird, dass ein Anteil von Netzwerkdienstanfragen des Client-Geräts durch den zweiten Server verarbeitet wird, wobei der Anteil in Abhängigkeit eines auf den ersten Server bezogenen Lastverteilungswert bestimmt wird, wobei der Anteil insbesondere in Abhängigkeit einer Multiplikation des auf den ersten Server bezogenen Lastverteilungswertes mit einem auf den zweiten Server bezogenen Lastverteilungswert bestimmt wird.According to a preferred embodiment of the present invention, it is provided that the first server is determined from the plurality of primary servers in dependence on the load distribution data of the Service Resource Record (SRV) data records relating to the plurality of primary servers, wherein - in the event that the first server for the provisioning of the network service to the client device fails and another server of the plurality of primary servers is available to provide the network service to the client device and the second server is available for service use by the client device - the network service to the client device is provided by the second server such that a portion of network service requests of the client device is processed by the second server, the proportion being determined in dependence on a load distribution value related to the first server, the proportion depending in particular on a multiplication n of the load distribution value related to the first server is determined with a load distribution value related to the second server.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass bereits dann, wenn nur der erste Server ausfällt – aber insbesondere noch wenigstens ein weiterer Primärserver verfügbar ist – nur die ursprünglich an den ausgefallenen Primärserver gerichteten Anfragen auf die Sekundärserver bzw. Ausfallsicherungsserver gemäß den Lastverteilungsdaten umverteilt werden, die den Sekundärservern zugeordnet sind. Dadurch werden in vorteilhafterweise alle Server mit weniger als 100% der Anfragen belastet, solange wenigstens zwei Server zur Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar sind.Thus, according to the present invention, it is advantageously possible that even if only the first server fails - but in particular still at least one other primary server is available - only the originally addressed to the failed primary server requests to the secondary server or fail-safe server according to the Redistribute load distribution data associated with the secondary servers. This advantageously loads all servers with less than 100% of the requests as long as at least two servers are available to provide the network service to the client device.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass die Service Resource Record (SRV) Datensätze Priorisierungsdaten, Lastverteilungsdaten und Ausfallpriorisierungsdaten umfassen, wobei jeweils ein Eintrag der Service Resource Record (SRV) Datensätze einem Server der mehreren Server zugeordnet sind, wobei jeder Eintrag jeweils einen Priorisierungswert der Priorisierungsdaten, einen Lastverteilungswert der Lastverteilungsdaten und einen Ausfallpriorisierungswert der Ausfallpriorisierungsdaten umfassen, wobei der erste Server in Abhängigkeit eines ersten Priorisierungswertes und eines ersten Lastverteilungswertes eines dem ersten Server zugeordneten ersten Eintrags ermittelt wird und – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – der zweite Server in Abhängigkeit eines ersten Ausfallpriorisierungswertes des ersten Eintrags ermittelt wird. According to a preferred embodiment of the present invention, it is provided that the Service Resource Record (SRV) records comprise prioritization data, load distribution data, and outage prioritization data, wherein one entry of each of the Service Resource Record (SRV) records is associated with a server of the plurality of servers, each entry wherein the first server is determined as a function of a first prioritization value and a first load distribution value of a first entry associated with the first server, and - in the event that the first server for the provisioning of the network service to the client device fails and another server of the multiple primary servers is available to provide the network service to the client device - the second one Server is determined in response to a first failure prioritization value of the first entry.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass der Konfigurationsaufwand vergleichsweise gering gehalten werden kann, der erforderlich ist, um eine Verschlechterung der Dienstgüte und/oder der Ausfall eines Servers der Gruppe von Servern mit demselben Priorisierungswert vermieden wird.As a result, according to the present invention, it is advantageously possible to minimize the configuration effort required to avoid deterioration of the quality of service and / or the failure of a server of the group of servers with the same prioritization value.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – als zweiter Server ein Server ermittelt wird, dem in einem zweiten Eintrag der Service Resource Record (SRV) Datensätze ein zweiter Priorisierungswert zugeordnet ist, der einem dem ersten Server zugeordneten ersten Ausfallpriorisierungswert der Service Resource Record (SRV) Datensätze gleichrangig ist.According to a preferred embodiment of the present invention, it is provided that - in the event that the first server fails to provide the network service to the client device and another server of the multiple primary servers for the provision of the network service to the client device available in that a server is determined as the second server to which a second prioritization value assigned in a second entry of the Service Resource Record (SRV) records has the same priority as a first service prioritization value of the Service Resource Record (SRV) records assigned to the first server.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass der Konfigurationsaufwand vergleichsweise gering gehalten werden kann, der erforderlich ist, um eine Verschlechterung der Dienstgüte und/oder der Ausfall eines Servers der Gruppe von Servern mit demselben Priorisierungswert vermieden wird, wobei die erfindungsgemäß verbesserte Lastverteilung insbesondere mit vergleichsweise geringem Konfigurationsaufwand erreicht wird, indem das Domain Name System (DNS) Protokoll um ein zusätzliches Datenfeld pro Eintrag erweitert wird. Das zusätzliche Datenfeld wird insbesondere als Ausfallpriorisierungswert und die Gesamtheit der Ausfallpriorisierungswerte aller Einträge der Service Resource Record (SRV) Datensätze auch als Ausfallpriorisierungsdaten bezeichnet.As a result, according to the present invention, it is advantageously possible to minimize the configuration effort required to avoid deterioration of the quality of service and / or failure of a server of the group of servers with the same prioritization value, according to the invention improved load distribution is achieved in particular with relatively little configuration effort by the Domain Name System (DNS) protocol is extended by an additional data field per entry. In particular, the additional data field is referred to as the outage prioritization value and the entirety of the outage prioritization values of all entries of the Service Resource Record (SRV) data records are also referred to as outage prioritization data.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und alle Sekundärserver – denen in den Service Resource Record Datensätzen insbesondere ein Priorisierungswert zugeordnet ist, der zu dem ersten Ausfallpriorisierungswert des ersten Servers gleichrangig ist – für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfallen – zur Ausfallsicherung für den ausgefallenen ersten Server ein weiterer erster Server aus den mehreren Primärservern ermittelt wird, dessen Priorisierungswert insbesondere mit dem ersten Priorisierungswert des ersten Servers gleichrangig ist.According to a preferred embodiment of the present invention, it is provided that - in the event that the first server for the provision of the network service to the client device fails and all secondary servers - which in the service resource record records, in particular, a prioritization value is assigned is equal to the first failure prioritization value of the first server - failing to provide the network service to the client device - failover for the failed first server another first server is determined from the multiple primary servers, whose prioritization value in particular with the first prioritization value of the first server is equal.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass als Ersatzserver für den ausgefallenen ersten Server vorrangig Sekundärserver (d.h. Server mit einem Priorisierungswert, der mit dem Ausfallpriorisierungswert des ausgefallenen ersten Servers gleichrangig ist) und erst nachrangig – d.h. für den Fall, dass alle Sekundärserver für die Bereitstellung des Netzwerkdienstes ausgefallen sind – ein anderer noch verfügbarer Primärserver verwendet wird. Dadurch wird eine gegenüber dem Stand der Technik verbesserte Lastverteilung erreicht.As a result, according to the present invention, it is advantageously possible for secondary servers (i.e., servers having a prioritization value equal to the failed first server default priority value) to be a substitute server for the failed first server, and firstly subordinate - i.e. in the event that all secondary servers have failed to deploy the network service - another primary server still available is used. As a result, an improved load distribution over the prior art is achieved.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und alle Sekundärserver – insbesondere mit einem zu dem ersten Ausfallpriorisierungswert des ersten Servers gleichrangigen Priorisierungswert – für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfallen und alle weiteren Primärserver – insbesondere mit einem zu dem ersten Priorisierungswert des ersten Servers gleichrangigen Priorisierungswert – für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfallen – zur Ausfallsicherung für den ausgefallenen ersten Server ein Tertiärserver der mehreren Server ermittelt wird, dessen Priorisierungswert insbesondere gegenüber dem ersten Ausfallpriorisierungswert des ersten Servers nachrangig istAccording to a preferred embodiment of the present invention, it is provided that - in the event that the first server for the provision of the network service to the client device fails and all secondary servers - especially with an equal to the first default prioritization value of the first server prioritization value - for the provisioning of the network service to the client device fails and all further primary servers - in particular with a prioritization value equal to the first prioritization value of the first server - fail to provide the network service to the client device - failover for the failed first server a tertiary server of a plurality of servers is determined whose priority value is subordinate to the first default priority value of the first server in particular
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass neben einer verbesserten Lastverteilung auch eine verbesserte Ausfallsicherung erreicht werden kann, indem die Tertiärserver erst dann eingesetzt werden, wenn alle Primärserver und Sekundärserver ausgefallen sind.As a result, according to the present invention, it is advantageously possible that, in addition to improved load distribution, an improved failover can also be achieved by using the tertiary servers only when all primary servers and secondary servers have failed.
Weiterhin betrifft die vorliegende Erfindung ein System zur verbesserten Lastverteilung bezüglich der Bereitstellung eines Netzwerkdienstes in einem Computernetzwerk, wobei das System das Computernetzwerk und ein Client-Gerät umfasst, wobei das Computernetzwerk mehrere Server zur Bereitstellung des Netzwerkdienstes an das Client-Gerät umfasst, wobei die mehreren Server mehrere Primärserver umfassen, wobei die mehreren Server wenigstens einen Sekundärserver zur Ausfallsicherung umfassen, wobei das Computernetzwerk einen Domain Name System (DNS) Server zur Bereitstellung von Service Resource Record (SRV) Datensätzen aufweist, wobei die Service Resource Record (SRV) Datensätze Lastverteilungsdaten und Priorisierungsdaten aufweisen, wobei das Client-Gerät mit dem Computernetzwerk zur Verwendung des Netzwerkdienstes verbunden ist, wobei das Client-Gerät zum Ermitteln eines ersten Servers konfiguriert ist, wobei das Client-Gerät konfiguriert ist, den ersten Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus den mehreren Primärservern zu selektieren, wobei das System derart konfiguriert ist, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – der Netzwerkdienst an das Client-Gerät durch den ersten Server bereitgestellt wird, sowie – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – durch das Client-Gerät ein zweiter Server aus dem wenigstens einen Sekundärserver ermittelt wird, wobei das Client-Gerät derart konfiguriert ist, dass der zweite Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus dem wenigstens einen Sekundärserver ermittelt wird, wobei das System derart konfiguriert ist, dass – für den Fall, dass der zweite Server für eine Dienstnutzung durch das Client-Gerät verfügbar ist – der Netzwerkdienst dem Client-Gerät durch den zweiten Server bereitgestellt wird.Furthermore, the present invention relates to a system for improved load distribution relating to the provision of a network service in a computer network, the system comprising the computer network and a client device, the computer network comprising a plurality of servers for providing the network service to the client device, the plurality of servers comprising a plurality of primary servers, the plurality of servers at least a secondary server for failover, the computer network having a Domain Name System (DNS) server for providing Service Resource Record (SRV) records, the Service Resource Record (SRV) records having load distribution data and prioritization data, the client device having the Computer network is connected to use the network service, wherein the client device is configured to determine a first server, wherein the client device is configured, the first server depending on the load distribution data of the Service Resource Record (SRV) records from the plurality To select primary servers, wherein the system is configured to provide the network service to the client device through the first server in case the first server is available to provide the network service to the client device; in the event that the first server fails to provide the network service to the client device and another server of the multiple primary servers is available to provide the network service to the client device - by the client device a second server from the at least one a secondary server is determined, wherein the client device is configured such that the second server is determined in dependence on the load distribution data of the Service Resource Record (SRV) records from the at least one secondary server, the system being configured such that - in the case in that the second server is for service use by the client device t is available - the network service is provided to the client device by the second server.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass ein System mit einem Computernetzwerk und einem Clientgerät bereitgestellt wird, welches derart konfiguriert ist, dass eine Verschlechterung der Dienstgüte und/oder ein Ausfall eines Servers einer Gruppe von Servern mit demselben Priorisierungswert dadurch vermieden wird, dass der zweite Server aus dem wenigstens einen Sekundärserver ermittelt wird. Die mehreren Server sind dabei zur Bereitstellung des Netzwerkdienstes an das Client-Gerät konfiguriert und umfassen neben den mehreren Primärservern darüber hinaus den wenigstens einen Sekundärserver zur Ausfallsicherung. Somit wird – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – der zweite Server in Abhängigkeit der Lastverteilungsdaten der Service Resource Record (SRV) Datensätze aus dem wenigstens einen Sekundärserver ermittelt. Das bedeutet insbesondere, dass das System derart konfiguriert ist, dass ein Ausfallsicherungsserver des wenigstens einen Sekundärservers (d.h. insbesondere der Sekundärserver) nicht erst dann zur Auswahl als Ersatzserver zur Verfügung steht, wenn alle Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausgefallen sind, sondern bereits dann zur Auswahl als Ersatzserver für den ausgefallenen Primärserver zur Verfügung steht, wenn noch wenigstens ein anderer Primärserver der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar sind.Thereby, according to the present invention, it is advantageously possible to provide a system with a computer network and a client device configured such that a deterioration of the quality of service and / or a failure of a server of a group of servers with the same prioritization value thereby avoided is that the second server is determined from the at least one secondary server. The multiple servers are configured to provide the network service to the client device and, in addition to the multiple primary servers, also includes the at least one secondary server for failover. Thus, in the event that the first server fails to provide the network service to the client device and another server of the multiple primary servers is available to provide the network service to the client device, the second server becomes the second server depending on the load distribution data Service Resource Record (SRV) records from the at least one secondary server determined. In particular, this means that the system is configured such that a failover server of the at least one secondary server (that is, in particular the secondary server) is not available for selection as a replacement server until all primary servers for providing the network service to the client device have failed but is already available for selection as a replacement server for the failed primary server if at least one other primary server of the multiple primary servers for the provision of the network service to the client device are available.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass das System derart konfiguriert ist, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – ausschließlich ein Server des wenigstens einen Sekundärservers zur Ausfallsicherung für den ersten Server selektiert wird.According to a preferred embodiment of the present invention, it is provided that the system is configured such that, in the event that the first server for providing the network service to the client device fails and another server of the plurality of primary servers for the provision of Network service to the client device is available - only one server of at least one secondary server for failover for the first server is selected.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass durch das erfindungsgemäße System sichergestellt wird, dass der zweite Server (oder Ersatzserver für den ausgefallenen Primärserver) ein Ausfallsicherungsserver ist, sodass ein Ausfall des für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ursprünglich vorgesehenen ersten (Primär-)Servers nicht zu einer erhöhten Belastung der anderen verfügbaren Primärserver führt. Somit wird in vorteilhafter Weise eine verbesserte Lastverteilung in dem System gegenüber dem Stand der Technik dadurch erreicht, dass als zweiter Server ein Ersatzserver aus der Gruppe der Ausfallsicherungsserver ermittelt wird.As a result, according to the present invention, it is advantageously possible for the system according to the invention to ensure that the second server (or spare server for the failed primary server) is a fail-safe server, thus causing a failure of the server to provide the network service to the client device originally intended primary (primary) server does not result in increased load on the other available primary server. Thus, an improved load distribution in the system over the prior art is advantageously achieved in that the second server, a replacement server from the group of fail-safe servers is determined.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass der wenigstens eine Sekundärserver einen ersten Sekundärserver und einen zweiten Sekundärserver umfasst, wobei das Client-Gerät derart konfiguriert ist, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist – der erste Sekundärserver als der zweite Server aus dem wenigstens einen Sekundärserver in Abhängigkeit der auf die Sekundärserver bezogenen Lastverteilungsdaten der Service Resource Record (SRV) Datensätze ermittelt wird.According to a preferred embodiment of the present invention, it is provided that the at least one secondary server comprises a first secondary server and a second secondary server, wherein the client device is configured such that - in the event that the first server for the provision of the network service the client device fails and another server of the multiple primary servers is available to provide the network service to the client device - the first secondary server as the second server from the at least one secondary server depending on the secondary server related load distribution data the service resource record ( SRV) records is determined.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, ein System bereitzustellen, bei dem die ursprünglich auf den ausgefallenen ersten Server verteilten Anfragen des Client-Geräts auf mehrere Ausfallsicherungsserver aufgeteilt werden, sodass der zweite Server gegenüber dem ausgefallenen ersten Server eine geringere Netzwerklast zu verarbeiten hat. Dadurch können Serverressourcen eingespart werden und dennoch eine vergleichsweise hohe Verfügbarkeit realisiert werden. Thereby, according to the present invention, it is advantageously possible to provide a system in which the client device's requests originally distributed to the failed first server are shared among multiple failover servers, so that the second server has less network load against the failed first server has to process. This server resources can be saved and still a comparatively high availability can be realized.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung ist es vorgesehen, dass das Client-Gerät derart konfiguriert ist, dass der erste Server aus den mehreren Primärservern in Abhängigkeit der auf die mehreren Primärserver bezogenen Lastverteilungsdaten der Service Resource Record (SRV) Datensätze ermittelt wird, wobei das Client-Gerät derart konfiguriert ist, dass – für den Fall, dass der erste Server für die Bereitstellung des Netzwerkdienstes an das Client-Gerät ausfällt und ein weiterer Server der mehreren Primärserver für die Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar ist und der zweite Server für eine Dienstnutzung durch das Client-Gerät verfügbar ist – der Netzwerkdienst dem Client-Gerät durch den zweiten Server derart bereitgestellt wird, dass ein Anteil von Netzwerkdienstanfragen des Client-Geräts durch den zweiten Server verarbeitet wird, wobei der Anteil in Abhängigkeit eines auf den ersten Server bezogenen Lastverteilungswert bestimmt wird, wobei der Anteil insbesondere in Abhängigkeit einer Multiplikation des auf den ersten Server bezogenen Lastverteilungswertes mit einem auf den zweiten Server bezogenen Lastverteilungswert bestimmt wird.According to a preferred embodiment of the present invention, it is provided that the client device is configured such that the first server is determined from the plurality of primary servers in dependence on the load distribution data of the service resource record (SRV) data records relating to the plurality of primary servers Client device is configured such that - in the event that the first server fails to provide the network service to the client device and another server of the multiple primary server for the provision of the network service to the client device is available and the second Server is available for service use by the client device - the network service is provided to the client device by the second server such that a share of network service requests of the client device is processed by the second server, the proportion depending on the first server related Lastv the share is determined in particular as a function of a multiplication of the load distribution value related to the first server with a load distribution value related to the second server.
Dadurch ist es gemäß der vorliegenden Erfindung in vorteilhafter Weise möglich, dass das System derart konfiguriert ist, dass bereits dann, wenn nur der erste Server ausfällt – aber insbesondere noch wenigstens ein weiterer Primärserver verfügbar ist – nur die ursprünglich an den ausgefallenen Primärserver gerichteten Anfragen auf die Sekundärserver bzw. Ausfallsicherungsserver gemäß den Lastverteilungsdaten umverteilt werden, die den Sekundärservern zugeordnet sind. Dadurch werden in vorteilhafterweise alle Server mit weniger als 100% der Anfragen belastet, solange wenigstens zwei Server zur Bereitstellung des Netzwerkdienstes an das Client-Gerät verfügbar sind.As a result, according to the present invention, it is advantageously possible for the system to be configured such that even if only the first server fails, but in particular still at least one other primary server is available, only the requests originally addressed to the failed primary server the secondary servers or failover servers are redistributed according to the load distribution data associated with the secondary servers. This advantageously loads all servers with less than 100% of the requests as long as at least two servers are available to provide the network service to the client device.
Ferner betrifft die vorliegende Erfindung ein Computerprogramm mit einem computerlesbaren Programmcode, mit dessen Hilfe das erfindungsgemäße Verfahren durchführbar ist, wenn der computerlesbare Programmcode auf einer programmierbaren Einrichtung ausgeführt wird.Furthermore, the present invention relates to a computer program with computer-readable program code, by means of which the inventive method is feasible when the computer-readable program code is executed on a programmable device.
Ferner betrifft die vorliegende Erfindung ein Computerprogrammprodukt mit einem auf einem Speichermedium gespeicherten erfindungsgemäßen Computerprogramm, mit dessen Hilfe ein erfindungsgemäßes Verfahren durchführbar ist, wenn der computerlesbare Programmcode auf einer programmierbaren Einrichtung ausgeführt wird.Furthermore, the present invention relates to a computer program product with a computer program stored on a storage medium according to the invention, with the aid of which a method according to the invention can be carried out if the computer-readable program code is executed on a programmable device.
Diese und weitere Eigenschaften, Merkmale und Vorteile der vorliegenden Erfindung werden aus der folgenden detaillierten Beschreibung, in Verbindung mit den beigefügten Zeichnungen, welche beispielhaft die Grundlagen der Erfindung veranschaulichen, offensichtlich. Die Beschreibung dient lediglich als Beispiel, ohne Einschränkung des Umfangs der Erfindung. Die unten zitierten Bezugszeichen beziehen sich auf die angehängten Zeichnungen.These and other features, features, and advantages of the present invention will become apparent from the following detailed description when taken in conjunction with the accompanying drawings which illustrate, by way of example, the principles of the invention. The description is by way of example only, without limiting the scope of the invention. The references cited below refer to the attached drawings.
KURZE BESCHREIBUNG DER ZEICHNUNGENBRIEF DESCRIPTION OF THE DRAWINGS
AUSFÜHRUNGSFORM(EN) DER ERFINDUNGEMBODIMENT (S) OF THE INVENTION
In
Das Computernetzwerk
Ferner umfasst das Computernetzwerk
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung umfassen die Service Resource Record (SRV) Datensätze mehrere Einträge, wobei ein Eintrag der Service Resource Record (SRV) Datensätze insbesondere den folgenden Aufbau besitzt:
„_service._proto.name. TTL class SRV priority weight port target.“. According to a preferred embodiment of the present invention, the service resource record (SRV) records comprise a plurality of entries, wherein an entry of the service resource record (SRV) records has in particular the following structure:
"_Service._proto.name. TTL class SRV priority weight port target. ".
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung umfasst jeder Eintrag der Service Resource Record (SRV) Datensätze jeweils wenigstens die folgenden Datenfelder:
- – service: Der symbolische Name des (angefragten) Netzwerkdienstes,
- – proto: Das Transportprotokoll des (angefragten) Netzwerkdienstes, wobei beispielsweise das Transportprotokoll entweder das Transmission Control Protocol (TCP) oder das User Datagram Protocol (UDP) Netzwerkprotokoll ist,
- – name: Der Domainname für den der Eintrag gültig ist,
- – TTL: Die Gültigkeitsdauer (die insbesondere vorgibt, wie lange der Eintrag in einem Domain Name System (DNS) Cache des Client-
Geräts 40 gehalten werden darf), - – class: Das Klassenfeld, wobei insbesondere „IN“ für Internet steht,
- – priority: Der Priorisierungswert (bzw. „Priorität“), welcher einem im Datenfeld „target“ bezeichneten Server (oder Host) – welcher auch als Zielserver bezeichnet wird – zugeordnet ist,
- – weight: Der Lastverteilungswert (bzw. „Gewicht“), der gemäß der vorliegenden Erfindung insbesondere ein relatives (Wahrscheinlichkeits-)Gewicht für Einträge mit derselben Priorität spezifiziert, wobei insbesondere Lastverteilungswerte mit höherem Zahlenwert insbesondere eine proportional höhere Wahrscheinlichkeit gegeben werden soll, durch das Client-
Gerät 40 ausgewählt zu werden, - – port: Der TCP oder UDP Port (des Zielservers), an dem der Netzwerkdienst bereitgestellt wird,
- – target: Der Server (Zielserver), welcher den Netzwerkdienst (welcher im Datenfeld „sevice“ bezeichnet ist)
im Computernetzwerk 100 bereitstellt bzw. anbietet, wobei es sich bei dem Datenfeld „target“ insbesondere um den kanonischen Hostname des Geräts handelt, welches denNetzwerkdienst im Computernetzwerk 100 bereitstellt.
- - service: The symbolic name of the (requested) network service,
- Proto: The transport protocol of the (requested) network service, where, for example, the transport protocol is either the Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP) network protocol,
- - name: the domain name for which the entry is valid,
- - TTL: The period of validity (which in particular dictates how long the entry in a Domain Name System (DNS) cache of the
client device 40 may be held), - - class: the class field, whereby in particular "IN" stands for Internet,
- Priority: The prioritization value (or "priority") associated with a server (or host) designated in the data field "target" - which is also referred to as the destination server.
- Weight: The load distribution value (or "weight") which, according to the present invention, specifies in particular a relative (probability) weight for entries having the same priority, in particular load distribution values with a higher numerical value, in particular a proportionally higher probability, being given by
client device 40 to be selected - - port: The TCP or UDP port (of the destination server) where the network service is deployed,
- Target: The server (destination server) that hosts the network service (which is denoted in the sevice data field) on the
computer network 100 In particular, the data field "target" is the canonical host name of the device that hosts the network service on thecomputer network 100 provides.
Gemäß der vorliegenden Erfindung ist das Client-Gerät
In
_sip._tcp.example.com. 3600 IN SRV 0 20 5060 server11.example.com
_sip._tcp.example.com. 3600 IN SRV 0 80 5060 server12.example.com
_sip._tcp.example.com. 3600 IN SRV 1 50 5060 server21.example.com
_sip._tcp.example.com. 3600 IN SRV 1 50 5060 server22.example.comIn
_sip._tcp.example.com. 3600 IN SRV 0 20 5060 server11.example.com
_sip._tcp.example.com. 3600 IN SRV 0 80 5060 server12.example.com
_sip._tcp.example.com. 3600 IN
_sip._tcp.example.com. 3600 IN
Durch die Service Resource Record (SRV) Datensätze wird dem Client-Gerät
In
Insbesondere wenn in dem zuletzt beschriebenen Fall nur noch ein einziger Primärserver
Gemäß der vorliegenden Erfindung wird hingegen der Ersatzserver aus den übrigen Servern
In
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung haben die Einträge der Service Resource Record (SRV) Datensätze jeweils im Wesentlichen die folgende Form:
„_service._proto.name. TTL class SRV priority weight failure_priority port target.“.According to a preferred embodiment of the present invention, the entries of the Service Resource Record (SRV) data records each essentially have the following form:
"_Service._proto.name. TTL class SRV priority weight failure_priority port target. ".
Als Position des zusätzlichen Datenfeldes – welches hier als „failure_priority“ bezeichnet ist – kann alternativ insbesondere auch eine andere Position innerhalb des Eintrags gewählt werden.As a position of the additional data field - which is referred to here as "failure_priority" - may alternatively be selected in particular another position within the entry.
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung wird durch den Ausfallpriorisierungswert (bzw. das Datenfeld „failure_priority“) – für den Fall, dass der Zielserver gemäß dem Datenfeld „target“ (für die Bereitstellung des Netzwerkdienstes gemäß dem Datenfeld „_service“ an das Client-Gerät
Gemäß einer beispielhaften Ausführungsform gemäß
_sip._tcp.example.com. 3600 IN SRV 0 80 1 5060 server11.example.com
_sip._tcp.example.com. 3600 IN SRV 0 20 1 5060 server12.example.com
_sip._tcp.example.com. 3600 IN SRV 1 50 1 5060 server21.example.com
_sip._tcp.example.com. 3600 IN SRV 1 50 1 5060 server22.example.com.According to an exemplary embodiment according to
_sip._tcp.example.com. 3600 IN SRV 0 80 1 5060 server11.example.com
_sip._tcp.example.com. 3600 IN SRV 0 20 1 5060 server12.example.com
_sip._tcp.example.com. 3600 IN
_sip._tcp.example.com. 3600 IN
Hier wird – für den Fall, dass als erster Server einer der beiden Primärserver
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung werden – für den Fall, dass der erste Server
In
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung umfasst das Computernetzwerk
Gemäß einer beispielhaften Ausführungsform der vorliegenden Erfindung enthalten die Service Resource Record (SRV) Datensätze – für denselben Netzwerkdienst – einen dem ersten Primärserver
Gemäß einer beispielhaften Ausführungsform der vorliegenden Erfindung weisen der erste und der zweite Priorisierungswert denselben Wert (beispielsweise den Wert „0“) auf. Weiterhin weisen der dritte und der vierte Priorisierungswert denselben Wert (beispielsweise den Wert „1“) auf, welcher gegenüber dem ersten und zweiten Priorisierungswert nachrangig (hier also höher) ist. Ferner ist der fünfte Priorisierungswert gegenüber dem ersten, zweiten, dritten und vierten Priorisierungswert nachrangig (d.h. beispielsweise beträgt der fünfte Priorisierungswert „2“). Der erste Lastverteilungswert beträgt in dieser beispielhaften Ausführungsform 80, der zweite Lastverteilungswert beträgt 20, der dritte Lastverteilungswert beträgt 50, der vierte Lastverteilungswert beträgt 50 und insbesondere beträgt der fünfte Lastverteilungswert den Wert 100. Weiterhin beträgt hier der erste bis vierte Ausfallpriorisierungswert jeweils einen Wert, der gleich dem dritten und vierten Priorisierungswert ist – in dieser beispielhaften Ausführungsform ist dies der Wert „1“.According to an exemplary embodiment of the present invention, the first and second prioritization values have the same value (for example, the value "0"). Furthermore, the third and the fourth prioritization value have the same value (for example the value "1"), which is subordinate to the first and second prioritization value (in this case, higher here). Further, the fifth prioritization value is subordinate to the first, second, third, and fourth prioritization values (i.e., the fifth prioritization value is "2", for example). The first load distribution value in this exemplary embodiment is 80, the second load distribution value is 20, the third load distribution value is 50, the fourth load distribution value is 50, and more specifically, the fifth load distribution value is 100. Further, here, the first to fourth failure prioritization values each have a value is equal to the third and fourth prioritization values - in this exemplary embodiment this is the value "1".
Gemäß einer beispielhaften Ausführungsform der vorliegenden Erfindung werden – für den Fall, dass der erste und zweite Primärserver
In
Gemäß einer bevorzugten Ausführungsform der vorliegenden Erfindung (welche in
- – der erste Primärserver
11 für die Bereitstellung des Netzwerkdienstes an das Client-Gerät 40 ausfällt, und - – alle übrigen
Server 21 ,22 mit einem zu dem ersten Ausfallpriorisierungswert des erstenServers 11 gleichrangigen (dritten bzw. vierten) Priorisierungswert für die Bereitstellung des Netzwerkdienstes an das Client-Gerät 40 ausfallen (hier der erste und zweite Sekundärserver21 ,22 ), und darüber hinaus - – alle übrigen
Server 12 mit einem zu dem ersten Priorisierungswert des erstenServers 11 gleichrangigen Priorisierungswert für die Bereitstellung des Netzwerkdienstes an das Client-Gerät 40 ausfallen (hier der zweite Primärserver12 ), durch das Client-Gerät als Ersatzserver ausden mehreren Server 11 ,12 ,21 ,22 ein Server selektiert, dessen Priorisierungswert gegenüber dem ersten Ausfallpriorisierungswert des erstenServers 11 nachrangig ist. Das bedeutet hier, dass der Tertiärserver selektiert wird, bei welchem der fünfte Priorisierungswert (hier der Wert „2“) gegenüber dem ersten Ausfallpriorisierungswert (mit dem Wert „1“) nachrangig ist (d.h. hier ist der fünfte Priorisierungswert „2“ größer als der erste Ausfallpriorisierungswert „1“).
- - the first
primary server 11 to provide the network service to theclient device 40 fails, and - - all
other servers 21 .22 with a to the first failure prioritization value of thefirst server 11 Equal (third or fourth) prioritization value for the delivery of the network service to theclient device 40 fail (here the first and secondsecondary server 21 .22 ), and beyond - - all
other servers 12 with a to the first prioritization value of thefirst server 11 Equal prioritization value for the delivery of the network service to theclient device 40 fail (here the second primary server12 ), by the client device as a spare server from themultiple servers 11 .12 .21 .22 a server selects its prioritization value against the first outage priority value of thefirst server 11 is subordinate. This means that the tertiary server is selected in which the fifth prioritization value (here the value "2") is subordinate to the first default prioritization value (with the value "1") (ie, the fifth prioritization value "2" is greater than that first failure prioritization value "1").
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102015212354.5A DE102015212354A1 (en) | 2015-07-01 | 2015-07-01 | A method for improved load balancing with respect to the provision of a network service in a computer network, system for improved load distribution with respect to the provision of a network service in a computer network, program and computer program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102015212354.5A DE102015212354A1 (en) | 2015-07-01 | 2015-07-01 | A method for improved load balancing with respect to the provision of a network service in a computer network, system for improved load distribution with respect to the provision of a network service in a computer network, program and computer program product |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102015212354A1 true DE102015212354A1 (en) | 2017-01-05 |
Family
ID=57582814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102015212354.5A Withdrawn DE102015212354A1 (en) | 2015-07-01 | 2015-07-01 | A method for improved load balancing with respect to the provision of a network service in a computer network, system for improved load distribution with respect to the provision of a network service in a computer network, program and computer program product |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102015212354A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020069279A1 (en) * | 2000-12-29 | 2002-06-06 | Romero Francisco J. | Apparatus and method for routing a transaction based on a requested level of service |
US20100235409A1 (en) * | 2009-03-10 | 2010-09-16 | Global Relay Communications Inc. | System and method for managing data stored in a data network |
-
2015
- 2015-07-01 DE DE102015212354.5A patent/DE102015212354A1/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020069279A1 (en) * | 2000-12-29 | 2002-06-06 | Romero Francisco J. | Apparatus and method for routing a transaction based on a requested level of service |
US20100235409A1 (en) * | 2009-03-10 | 2010-09-16 | Global Relay Communications Inc. | System and method for managing data stored in a data network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE60302876T2 (en) | MASTER NODE SELECTION IN CHECUTED NODE CONFIGURATIONS | |
DE69935138T2 (en) | System and method for optimizing the performance and availability of a DHCP service | |
DE602005001063T2 (en) | Method and arrangement for restricting the reuse of DNS responses | |
DE202016009029U1 (en) | Rules-based network threat detection | |
DE112010004772T5 (en) | A method and system for managing system management agent configurations in a distributed environment | |
DE112005001995B4 (en) | A computer arrangement and method for offering services to users over a network | |
DE112010003675T5 (en) | Address Server | |
DE102011018878B3 (en) | Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node | |
EP3023896A1 (en) | Method for transmitting medical data sets | |
DE102016219854A1 (en) | Computer system and method for dynamically customizing a software-defined network | |
DE102011017299A1 (en) | Phase-based prioritization of IMS signaling messages for overload throttling | |
WO2005073852A1 (en) | Method for operating an arrangement of several computers in case of a computer failure | |
EP3113449B1 (en) | Method for improved load distribution relating to the provision of a network service in a computer network, system for improved load distribution relating to the provision of a network service in a computer network, program and computer program product | |
DE102015212354A1 (en) | A method for improved load balancing with respect to the provision of a network service in a computer network, system for improved load distribution with respect to the provision of a network service in a computer network, program and computer program product | |
EP3054654B1 (en) | Network system and method for name resolution in a network system | |
DE102015101915A1 (en) | Method and device for processing post-script files | |
EP3475819B1 (en) | Method for automatically and dynamically assigning the responsibility for tasks to the available computing components in a highly distributed data-processing system | |
EP3396919A1 (en) | Method for transferring data from one device to a data processing means, transmission unit, device and system | |
DE102013108306A1 (en) | Method and system for the synchronization of data | |
DE102007053916A1 (en) | Method for managing network components in a network and network component | |
AT518910B1 (en) | Method for checking the availability and integrity of a distributed data object | |
EP2645630A1 (en) | Adaptive remote service protocol | |
WO2009030363A1 (en) | Redundant, distributed computer system having server functionalities | |
EP1757999B1 (en) | Provision of services in a network | |
WO2024068460A1 (en) | Backup method for network devices connected to a network, and network device designed for this purpose |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R163 | Identified publications notified | ||
R119 | Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee |