JP4677482B2 - Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program - Google Patents
Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program Download PDFInfo
- Publication number
- JP4677482B2 JP4677482B2 JP2008314712A JP2008314712A JP4677482B2 JP 4677482 B2 JP4677482 B2 JP 4677482B2 JP 2008314712 A JP2008314712 A JP 2008314712A JP 2008314712 A JP2008314712 A JP 2008314712A JP 4677482 B2 JP4677482 B2 JP 4677482B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual server
- server
- cpu
- virtual
- access
- 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.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Description
本発明は、アクセス振分システム、サーバ装置、共通管理装置、アクセス振分装置、アクセス振分方法、及び、コンピュータプログラムに関する。 The present invention relates to an access distribution system, a server device, a common management device, an access distribution device, an access distribution method, and a computer program.
従来、サーバが、ネットワークを介してアクセスされる複数の端末へアプリケーションを提供する場合、そのアクセス予想に基づいてアプリケーション毎にサーバを準備していた。しかし、これでは、実際のアクセスがアクセス予想と乖離する場合や、突発的な需要が発生した場合は、サーバに負荷がかかってしまい、端末からの要求に対応できないことがあった。また近年、複数のCPUリソースを持った物理サーバが登場してきた。そこで、1台の物理サーバを仮想的な複数台のサーバとしてとして使用可能な仮想サーバ技術によりアプリケーションを提供することが考えられる。仮想サーバでは、負荷の状況に応じてリソースをダイナミックに割り当てるため、リソースの効率化が可能であり、近年、このような仮想サーバ技術を実現する製品が普及してきている。 Conventionally, when a server provides an application to a plurality of terminals accessed via a network, the server is prepared for each application based on the access expectation. However, in this case, when the actual access deviates from the access prediction, or when sudden demand occurs, the server is overloaded and may not be able to respond to the request from the terminal. In recent years, physical servers having a plurality of CPU resources have appeared. Therefore, it is conceivable to provide an application using virtual server technology that allows one physical server to be used as a plurality of virtual servers. Since virtual servers dynamically allocate resources according to load conditions, it is possible to improve resource efficiency. In recent years, products that realize such virtual server technology have become widespread.
図10は、仮想サーバ技術によるCPUリソースの割り当てを示す図である。例えば図10(a)に示す当初の状態から、図10(b)に示すように仮想サーバ#1のアクセスが増加し、仮想サーバ#1のCPUリソースが不足した場合、仮想サーバ#2及び#3が使用していたCPUリソースの一部を仮想サーバ#1へ割り当て、処理能力を高める。
FIG. 10 is a diagram illustrating allocation of CPU resources by the virtual server technology. For example, from the initial state shown in FIG. 10A, when the access of the
一方、特許文献1には、負荷分散装置とコントロールサーバによって、ウェブサーバへのリクエスト数に応じてダイナミックに処理の分配先を変える負荷分散方法が記載されている。また、特許文献2には、異なるネットワークに属するサーバ間の負荷分散を実現する広域負荷分散装置について記載されている。また、特許文献3には、配信サーバ側に複数のネットワークに接続されたルータを用意し、クライアント側に設置されるルータと、上記ネットワークのコスト値を測定し、コスト値の低いルータを使用して、配信サーバがクライアントと通信する負荷分散方法が記載されている。
例えば、仮想サーバの提供するアプリケーションがファイルダウンロードであることを想定すると、エンドユーザ端末へ大きなサイズのファイル(例えば、200メガバイト程度)を送信する場合には、CPUの負荷は小さいが、ネットワークインタフェースの負荷は大きくなり、小さなサイズのファイル(例えば、1キロバイト程度)を送信する場合は、CPUの負荷は大きいが、ネットワークインタフェースの負荷は小さくなる。そのため、同じファイルダウンロードサイトを提供する仮想サーバが複数あった場合、各仮想サーバのCPUの状態と、ネットワークインタフェースの状態とを併せて、どの仮想サーバへエンドユーザ端末からのアクセスを振り分けるか判断する必要がある。しかし、従来の技術では、個々の仮想サーバにおいて利用するリソースがダイナミックに変更される一方、運用者は物理サーバ単位でしかシステム状態を監視できない。そこで、各物理サーバ内の仮想サーバ単位にその負荷状況をリアルタイムで把握することが望まれていた。
また、上述した特許文献1の技術では、複数設置されるウェブサーバの前に負荷分散装置を設定する必要があるため、この負荷分散装置のパフォーマンスがボトルネックになって適切に負荷分散できない場合がある。同様に、特許文献2の技術では、ネットワーク間に設置された広域負荷分散装置にトラヒックが集中してしまい、この広域負荷分散装置のパフォーマンスがボトルネックになってしまう。特許文献3の技術では、各ネットワークのコストを監視する必要があり、運用の負荷が非常に高くなってしまう。
For example, assuming that the application provided by the virtual server is file download, when transmitting a large file (for example, about 200 megabytes) to the end user terminal, the load on the CPU is small, but the network interface When a small file (for example, about 1 kilobyte) is transmitted, the load on the CPU is large, but the load on the network interface is small. Therefore, when there are multiple virtual servers that provide the same file download site, the virtual server CPU status and network interface status are combined to determine which virtual server the access from the end user terminal is distributed to. There is a need. However, in the conventional technology, resources used in individual virtual servers are dynamically changed, while an operator can monitor the system state only in units of physical servers. Therefore, it has been desired to grasp the load status in real time for each virtual server in each physical server.
Further, in the technique of
本発明は、上記問題を解決すべくなされたもので、その目的は、エンドユーザ端末からのアクセスを受ける仮想サーバ以外の装置の処理能力がボトルネックになることなく、ネットワークや運用にかかる負荷を抑えながら、適切に仮想サーバ間の負荷分散を行うことができるアクセス振分システム、サーバ装置、アクセス振分装置、共通管理装置、アクセス振分方法、及び、コンピュータプログラムを提供することにある。 The present invention has been made to solve the above-mentioned problems, and its purpose is to reduce the load on the network and operation without the processing capability of a device other than the virtual server receiving access from the end user terminal becoming a bottleneck. An object of the present invention is to provide an access distribution system, a server device, an access distribution device, a common management device, an access distribution method, and a computer program that can appropriately distribute loads among virtual servers while suppressing the load.
上述した課題を解決するために、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備えるサーバ装置と、エンドユーザ端末のアクセスの振分先となる仮想サーバを特定し、当該仮想サーバのIPアドレスを通知するアクセス振分装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムであって、前記サーバ装置は、当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部とを備え、前記アクセス振分装置は、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部と、前記サーバ装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、当該仮想サーバへの振分けが可である情報を前記記憶部に書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込む更新部と、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知する通知部とを備え、前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするアクセス振分システムである。 In order to solve the above-described problems, the present invention operates as a plurality of virtual servers and includes a server device provided with a communication unit for each virtual server that performs communication with the end user terminal , and the access of the end user terminal . Using the access distribution device that identifies the virtual server that is the distribution destination and notifies the IP address of the virtual server, and the IP address of the virtual server that is the distribution destination notified from the access distribution device, the virtual server An access distribution system in which an end user terminal that accesses a server is connected via a network, wherein the server device includes a status of a CPU assigned to a virtual server operating in the server device, and Obtained by the resource state monitoring unit for obtaining the state of the communication means of the virtual server, and for each virtual server by the resource state monitoring unit Further, for each of the state of the CPU allocated to the virtual server and the state of the communication means of the virtual server, it is determined whether or not a predetermined condition for determining that a load is applied, and the determination result is referred to as the access A status notification unit that notifies the distribution device, and the access distribution device stores a information that associates the domain name, the IP address of the virtual server, and whether or not distribution to the virtual server is possible, and When the determination result is received from the server device, and the determination result indicates that the CPU assigned to the virtual server and the communication means of the virtual server are not under load, Information that can be distributed to the virtual server is written in the storage unit, and the determination result is the CPU assigned to the virtual server, or the If it indicates that the communication means of the virtual server is under load, the update unit that writes information that cannot be distributed to the virtual server to the storage unit, and the access destination of the end user terminal receiving information of a domain name, corresponding to the domain name, and a notification unit which distribution notifies reads the IP address of the virtual server is allowed from the storage unit, the status notification unit, the virtual When a CPU to be used exclusively by the server is allocated, the CPU determines whether the load is applied based on the usage status of the CPU occupied by the virtual server, and the virtual server assigns the CPU to another virtual server. When sharing with the server, the CPU status indicating whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU It is an access distribution system characterized by judging .
また、本発明は、上述するアクセス振分システムであって、前記更新部は、前記仮想サーバがCPUを他の仮想サーバと共有しており、前記判断結果が、CPUに負荷がかかっていることを示している場合、当該仮想サーバが属する前記サーバ装置において動作する全ての仮想サーバへの振分けが不可である情報を前記記憶部に書き込むことを特徴とする。 Further, the present invention is the access distribution system described above, wherein the update unit is such that the virtual server shares a CPU with another virtual server, and the determination result is a load on the CPU. Indicates that information that cannot be distributed to all virtual servers operating in the server device to which the virtual server belongs is written in the storage unit.
また、本発明は、上述するアクセス振分システムであって、前記状態通知部は、前記仮想サーバが起動しているか否か、あるいは、前記仮想サーバの通信手段が起動しているか否かの判断結果を前記アクセス振分装置に通知するともに、前記仮想サーバが起動していないと判断した場合は、警告の受信に応じて動作状態が正常でないことを保守者に通知する保守監視装置に対して、警告を送信することを特徴とする。 Further, the present invention is the access distribution system described above, wherein the status notification unit determines whether the virtual server is activated or whether the communication unit of the virtual server is activated. Notifying the access distribution device of the result, and if it is determined that the virtual server is not started , the maintenance monitoring device notifying the maintenance person that the operation state is not normal in response to receiving the warning. , Sending a warning .
また、本発明は、上述するアクセス振分システムであって、前記状態通知部は、前記判断結果を、前記仮想サーバに共通して使用されるコードにより通知することを特徴とする。 Moreover, the present invention is the above-described access distribution system, wherein the state notification unit notifies the determination result by a code commonly used for the virtual server.
また、本発明は、上述するアクセス振分システムであって、前記更新部は、定期的に前記サーバ装置へ仮想サーバの状態問合せを送信し、前記状態通知部は、前記アクセス振分装置から仮想サーバの状態問合せを受信して、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態を前記リソース状態監視部から取得し、前記判断結果を返送する、ことを特徴とする。 Further, the present invention is the access distribution system described above, wherein the update unit periodically transmits a virtual server status inquiry to the server device, and the status notification unit receives a virtual request from the access distribution device. Receiving a server status inquiry, acquiring the status of the CPU assigned to the virtual server and the status of the communication means of the virtual server from the resource status monitoring unit, and returning the determination result .
また、本発明は、上述するアクセス振分システムであって、前記サーバ装置は、前記ネットワークを介して接続されウェブサービスとしてエンドユーザ端末に提供されるファイルのマスタデータを記憶するマスタサーバから、前記ファイルを受信し、受信したファイルを共通管理領域の記憶手段に記憶し、当該ファイルを仮想サーバへ読み込むためのコマンドが入力された場合に、前記共通管理領域の記憶手段に記憶されている前記ファイルを当該仮想サーバに割り当てられた記憶手段に記憶する読込み部と、前記仮想サーバへアクセスしてきたエンドユーザ端末に、当該仮想サーバに割り当てられた記憶手段に記憶している前記ファイルを配信する配信部とを備える、ことを特徴とする。 Further, the present invention discloses an access sorting system described above, the server apparatus, from the master server that stores the master data file to be provided to the end user terminal as connected to the web service via the network, receiving the file, and stores the received file in the storage means of the common management area, if the command to read the file to the virtual server is input, it is stored in the storage means of the common management area The file stored in the storage means assigned to the virtual server is distributed to the reading unit that stores the file in the storage means assigned to the virtual server and the end user terminal that has accessed the virtual server. And a distribution unit.
また、本発明は、上述するアクセス振分システムであって、前記サーバ装置は、当該サーバ装置において動作している仮想サーバへのアクセスログを前記ネットワークを介して接続されるログサーバへ通知するログ通知部を備えることを特徴とする。 Further, the present invention is the access distribution system described above, wherein the server device notifies a log server connected via the network of an access log to a virtual server operating in the server device. A notification unit is provided.
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備える複数のサーバ装置と、エンドユーザ端末のアクセスの振分先となる仮想サーバを特定し、当該仮想サーバのIPアドレスを通知するアクセス振分装置と、前記複数のサーバ装置の状態を管理する共通管理装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムであって、前記共通管理装置は、前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部とを備え、前記アクセス振分装置は、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部と、前記共通管理装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、当該仮想サーバへの振分けが可である情報を前記記憶部に書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込む更新部と、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知する通知部とを備え、前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするアクセス振分システムである。 In addition, the present invention operates as a plurality of virtual servers and serves as a distribution destination of a plurality of server devices each provided with a communication unit that communicates with end user terminals for each virtual server. An access distribution device that identifies a virtual server and notifies the IP address of the virtual server, a common management device that manages the states of the plurality of server devices, and a virtual of the distribution destination notified from the access distribution device An access distribution system in which an end user terminal that accesses the virtual server is connected via a network using an IP address of a server, wherein the common management device operates in the plurality of server devices A resource state monitoring unit that acquires a state of a CPU assigned to each virtual server and a state of communication means of the virtual server, and the virtual server For each server, a predetermined condition acquired by the resource state monitoring unit for each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server is determined to be loaded. A status notification unit that determines whether or not they match, and notifies the access distribution device of the determination result, and the access distribution device includes a domain name, an IP address of a virtual server, and whether or not distribution to the virtual server is possible And a storage unit that stores information associated with the CPU, the determination result is received from the common management device, and the determination result is a load on the CPU assigned to the virtual server and the communication unit of the virtual server. If it indicates that it is not in the state, the information that can be distributed to the virtual server is written in the storage unit, and the determination result is Update that writes information that cannot be allocated to the virtual server to the storage unit when the CPU allocated to the virtual server or the communication means of the virtual server is in a load state And a notification unit that receives information on the domain name of the access destination of the end user terminal, reads the IP address of the virtual server corresponding to the domain name and that can be distributed, and notifies the storage unit And when the CPU to be used exclusively is allocated to the virtual server, the status notification unit determines the CPU status as to whether a load is applied based on the usage status of the CPU occupied by the virtual server. When the virtual server uses the CPU in common with other virtual servers, the usage status of the CPU by all the virtual servers sharing the CPU An access distribution system that determines a state of a CPU as to whether a load is applied based on a situation .
また、本発明は、上述するアクセス振分システムであって、前記共通管理装置は、前記複数のサーバ装置において動作している仮想サーバの負荷状態から、当該仮想サーバへのアクセスの優先度を決定して前記アクセス振分装置へ通知する優先度通知手段をさらに有し、前記アクセス振分装置の通知部は、前記ドメイン名に対応し、かつ、振分けが可である仮想サーバのうち、優先順位が高い仮想サーバのIPアドレスを前記記憶部から読み出して通知する、ことを特徴とする。 The present invention is the access distribution system described above, wherein the common management device determines a priority of access to the virtual server from a load state of the virtual server operating in the plurality of server devices. And a priority notification means for notifying to the access distribution device, wherein the notification unit of the access distribution device is a priority order among virtual servers corresponding to the domain name and capable of distribution. An IP address of a virtual server having a high value is read from the storage unit and notified.
また、本発明は、上述するアクセス振分システムであって、前記エンドユーザ端末と他のネットワークを介して接続されるドメインネームシステムサーバをさらに備え、前記アクセス振分装置は、前記記憶部から読み出した、振分の可否の情報が変更された前記仮想サーバに対応したドメイン名と、当該ドメイン名に対応した仮想サーバのIPアドレスと、振分の可否の変更内容とを設定した更新情報を前記ドメインネームシステムサーバに通知する更新通知部をさらに備え、前記ドメインネームシステムは、ドメイン名と、振分可である仮想サーバのIPアドレスとを対応付けた情報を記憶するドメインネームシステム記憶部と、前記アクセス振分装置から前記更新情報を受信し、当該更新情報に設定されているドメイン名に対応付けて前記ドメインネームシステム記憶部に記憶されている振分可である仮想サーバのIPアドレスの情報を、当該更新情報に設定されている振分の可否の変更内容に基づいて更新するドメインネームシステム更新部と、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応した仮想サーバのIPアドレスを前記ドメインネームシステム記憶部から読み出して通知するアドレス解決部とを備える、ことを特徴とする。 The present invention is the above-described access distribution system, further comprising a domain name system server connected to the end user terminal via another network, and the access distribution device reads from the storage unit In addition, the update information in which the domain name corresponding to the virtual server whose allocation availability information has been changed, the IP address of the virtual server corresponding to the domain name, and the content of the allocation allocation change is set as the update information. An update notification unit for notifying a domain name system server, wherein the domain name system stores a domain name and information that associates an IP address of a virtual server that can be allocated; The update information is received from the access distribution device, and is associated with the domain name set in the update information. A domain name system update unit that updates the IP address information of a virtual server that can be distributed, which is stored in the domain name system storage unit, on the basis of a change in whether or not the distribution is set in the update information; An address resolution unit that receives information on a domain name of an access destination of the end user terminal, reads an IP address of a virtual server corresponding to the domain name from the domain name system storage unit, and notifies the information. And
また、本発明は、上述するアクセス振分システムであって、前記アクセス振分装置の更新通知部は、前記記憶部から読み出した、振分の可否の情報が変更された前記仮想サーバに対応したドメイン名と、当該ドメイン名に対応した振分可である全ての前記仮想サーバのIPアドレスとを設定した更新情報を前記ドメインネームシステムサーバに通知し、前記ドメインネームシステムのドメインネームシステム更新部は、受信した前記更新情報に設定されているドメイン名に対応付けて前記ドメインネームシステム記憶部に記憶されているIPアドレスの情報を、当該更新情報に設定されているIPアドレスの情報に書き換える、ことを特徴とする。 Further, the present invention is the access distribution system described above, wherein the update notification unit of the access distribution device corresponds to the virtual server that has been read from the storage unit and whose distribution availability information has been changed. The domain name system update unit of the domain name system notifies the domain name system server of update information in which a domain name and IP addresses of all the virtual servers that can be allocated corresponding to the domain name are set. Rewriting the IP address information stored in the domain name system storage unit in association with the domain name set in the received update information to the IP address information set in the update information; It is characterized by.
また、本発明は、上述するアクセス振分システムであって、前記アクセス振分装置の更新通知部は、前記記憶部から読み出した、振分の可否の情報が更新された前記仮想サーバに対応したドメイン名と、当該ドメイン名に対応した全ての前記仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否を示す情報とを設定した更新情報を前記ドメインネームシステムサーバに通知する更新通知部をさらに備え、前記ドメインネームシステムにおいて、前記ドメインネームシステム記憶部は、ドメイン名と、当該ドメイン名を用いる全ての仮想サーバのIPアドレスとを対応付けた情報を記憶し、前記ドメインネームシステム更新部は、前記アクセス振分装置から受信した前記更新情報を前記ドメインネームシステム記憶部に書き込み、前記アドレス解決部は、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、前記ドメインネームシステム記憶部から、当該ドメイン名に対応し、かつ、前記更新情報により振分けが可であることが示される仮想サーバのIPアドレスを読み出して通知する、ことを特徴とする。 Further, the present invention is the access distribution system described above, wherein the update notification unit of the access distribution device corresponds to the virtual server that has been read from the storage unit and that has been updated with information about whether distribution is possible. An update notification unit for notifying the domain name system server of update information in which a domain name and IP addresses of all the virtual servers corresponding to the domain name and information indicating whether or not the virtual server can be distributed are set; The domain name system storage unit stores information associating domain names with IP addresses of all virtual servers using the domain name, and the domain name system update unit includes: Write the update information received from the access distribution device to the domain name system storage unit, The address resolution unit receives the information of the domain name of the access destination of the end user terminal, indicates that it corresponds to the domain name from the domain name system storage unit and can be distributed by the update information. The IP address of the virtual server to be read is read and notified.
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備えるサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムにおける前記サーバ装置であって、当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部と、を備え、前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするサーバ装置である。 Further, the present invention distributes access from an end user terminal to the virtual server, and a server device that operates as a plurality of virtual servers and includes communication means for communicating with the end user terminal for each virtual server. Access distribution formed by connecting an access distribution device and an end user terminal that accesses the virtual server using the IP address of the virtual server of the distribution destination notified from the access distribution device via a network A resource status monitoring unit that acquires a status of a CPU assigned to a virtual server operating in the server device and a status of a communication unit of the virtual server, the server device in the system; The CPU status assigned to the virtual server and the virtual server acquired by the resource status monitoring unit. For each state of the communication means of bus, to determine matches the predetermined condition is judged that the load is applied, includes a state notification portion for notifying the determination result to the access sorting device, the said When a CPU to be used exclusively by the virtual server is allocated, the state notification unit determines a state of the CPU as to whether a load is applied based on a usage state of the CPU occupied by the virtual server, and When the server uses the CPU in common with other virtual servers, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. it is a server device that.
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備える複数のサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記複数のサーバ装置の状態を管理する共通管理装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムにおける前記共通管理装置であって、前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部と、を備え、前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とする共通管理装置である。 In addition, the present invention provides a plurality of server devices that operate as a plurality of virtual servers and have communication means for communicating with end user terminals for each virtual server, and access from the end user terminals to the virtual servers. Access to the virtual server using the IP address of the allocation destination virtual server notified from the access allocation device, the common management device that manages the status of the plurality of server devices, and the access allocation device A common management device in an access distribution system in which an end user terminal is connected via a network, the state of a CPU assigned to each virtual server operating in the plurality of server devices, and The resource status monitoring unit for acquiring the status of the communication means of the virtual server, and the resource status monitoring unit for each virtual server. For each of the acquired CPU state assigned to the virtual server and the communication means state of the virtual server, it is determined whether or not a predetermined condition for determining that a load is applied, and the determination result is A status notification unit for notifying the access distribution device, and when the CPU to be used exclusively by the virtual server is allocated, the status notification unit is based on the usage status of the CPU occupied by the virtual server. When the virtual server uses the CPU in common with other virtual servers, the CPU status is determined based on the usage status of the CPU by all the virtual servers sharing the CPU. It is a common management apparatus characterized by determining a state of a CPU as to whether a load is applied .
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備えるサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムにおける前記アクセス振分装置であって、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部と、前記サーバ装置、または、複数の前記サーバ装置の状態を管理する、前記ネットワークに接続される共通管理装置から、前記サーバ装置において動作している仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいた判断結果であり、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいた判断結果であって、負荷がかかっていると判断される所定の条件と合致するかの判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、当該仮想サーバへの振分けが可である情報を前記記憶部に書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込む更新部と、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知する通知部と、を備えることを特徴とするアクセス振分装置である。 Further, the present invention distributes access from an end user terminal to the virtual server, and a server device that operates as a plurality of virtual servers and includes communication means for communicating with the end user terminal for each virtual server. Access distribution formed by connecting an access distribution device and an end user terminal that accesses the virtual server using the IP address of the virtual server of the distribution destination notified from the access distribution device via a network A storage unit that stores information in which a domain name is associated with an IP address of a virtual server and whether or not distribution to the virtual server is possible; and the server device, Operates in the server device from a common management device connected to the network for managing the state of the server device That for each of the states of the state and the communication means of the virtual server's CPU allocated to the virtual server, when said CPU used to occupy the virtual server is assigned, use of the CPU the virtual server occupies This is a determination result based on the situation. When the virtual server uses the CPU in common with another virtual server, the determination result is based on the usage situation of the CPU by all virtual servers sharing the CPU. A determination result as to whether or not a predetermined condition for determining that the load is applied is received, and the determination result is a load on both the CPU assigned to the virtual server and the communication means of the virtual server. If it indicates that it is not applied, information that can be distributed to the virtual server is written in the storage unit, and the determination result is Indicates that the CPU allocated to the virtual server or the communication means of the virtual server is in a state of being loaded, information that cannot be distributed to the virtual server is stored in the storage unit. The update unit to be written in and information on the domain name of the access destination of the end user terminal are received, and the IP address of the virtual server corresponding to the domain name and available for distribution is read from the storage unit and notified. An access distribution device comprising: a notification unit.
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備えるサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムに用いられるアクセス振分方法であって、前記サーバ装置において、リソース状態監視部が、当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得し、状態通知部が、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知し、前記アクセス振分装置において、更新部が、前記サーバ装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部に、当該仮想サーバへの振分けが可である情報を書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込み、通知部が、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知し、前記状態通知部が、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするアクセス振分方法である。 Further, the present invention distributes access from an end user terminal to the virtual server, and a server device that operates as a plurality of virtual servers and includes communication means for communicating with the end user terminal for each virtual server. Access distribution formed by connecting an access distribution device and an end user terminal that accesses the virtual server using the IP address of the virtual server of the distribution destination notified from the access distribution device via a network An access distribution method used in a system, wherein in the server device, a resource state monitoring unit assigns a state of a CPU assigned to a virtual server operating in the server device, and a state of communication means of the virtual server And the status notification unit acquires the virtual server acquired by the resource status monitoring unit for each virtual server. For each of the state of the CPU assigned to the state of the virtual server and the state of the communication means of the virtual server, it is determined whether or not a predetermined condition for determining that a load is applied, and the determination result is notified to the access distribution device In the access distribution device, the update unit receives the determination result from the server device, and the determination result places a load on the CPU assigned to the virtual server and the communication means of the virtual server. In the storage unit that stores information that associates the domain name, the IP address of the virtual server, and whether or not allocation to the virtual server is possible. The information that is acceptable is written, and the determination result places a load on the CPU assigned to the virtual server or the communication means of the virtual server. Information indicating that allocation to the virtual server is impossible is written in the storage unit, the notification unit receives information on the domain name of the access destination of the end user terminal, and When the IP address of a virtual server that corresponds to a domain name and can be distributed is read from the storage unit and notified, and the status notification unit is assigned a CPU to be used exclusively by the virtual server The CPU status is determined based on the usage status of the CPU occupied by the virtual server, and when the virtual server shares the CPU with another virtual server, the CPU is shared. An access distribution method characterized by determining a state of a CPU as to whether a load is applied based on a usage state of the CPU by all virtual servers. .
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備える複数のサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記複数のサーバ装置の状態を管理する共通管理装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムに用いられるアクセス振分方法であって、前記共通管理装置において、リソース状態監視部が、前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得し、状態通知部が、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知し、前記アクセス振分装置において、更新部が、前記共通管理装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部に、当該仮想サーバへの振分けが可である情報を書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込み、通知部が、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知し、前記状態通知部が、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするアクセス振分方法である。 In addition, the present invention provides a plurality of server devices that operate as a plurality of virtual servers and have communication means for communicating with end user terminals for each virtual server, and access from the end user terminals to the virtual servers. Access to the virtual server using the IP address of the allocation destination virtual server notified from the access allocation device, the common management device that manages the status of the plurality of server devices, and the access allocation device An access distribution method used in an access distribution system in which end user terminals are connected via a network, wherein, in the common management device, a resource state monitoring unit operates in the plurality of server devices. CPU status assigned to each virtual server and the status of the communication means of the virtual server, and the status notification unit For each virtual server, a predetermined condition obtained by the resource status monitoring unit, for each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server, determined to be loaded, and Judgment is made, the judgment result is notified to the access distribution device, and in the access distribution device, the update unit receives the judgment result from the common management device, and the judgment result is the virtual server. If the CPU assigned to the virtual server and the communication means of the virtual server indicate that there is no load, the domain name, the IP address of the virtual server, and whether or not the virtual server can be distributed Information that can be distributed to the virtual server is written in the storage unit that stores the associated information, and the determination result is the virtual server. When the allocated CPU or the communication means of the virtual server indicates that the load is applied, information indicating that the allocation to the virtual server cannot be performed is written in the storage unit, and the notification unit Receiving the information of the domain name of the access destination of the end user terminal, reading out the IP address of the virtual server corresponding to the domain name and available for distribution from the storage unit, and notifying the state notification unit However, if a CPU that is used exclusively by the virtual server is assigned, the CPU determines whether the load is applied based on the usage status of the CPU occupied by the virtual server, and the virtual server Is shared with other virtual servers, a load is applied based on the usage status of the CPU by all virtual servers sharing the CPU. The access distribution method is characterized in that the CPU status is determined .
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備えるサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムの前記サーバ装置に用いられるコンピュータプログラムであって、当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するステップと、前記仮想サーバ毎に、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいて、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知するステップと、をコンピュータに実行させることを特徴とするコンピュータプログラムである。 Further, the present invention distributes access from an end user terminal to the virtual server, and a server device that operates as a plurality of virtual servers and includes communication means for communicating with the end user terminal for each virtual server. Access distribution formed by connecting an access distribution device and an end user terminal that accesses the virtual server using the IP address of the virtual server of the distribution destination notified from the access distribution device via a network A computer program used for the server device of a system, the step of acquiring a state of a CPU assigned to a virtual server operating in the server device and a state of communication means of the virtual server; For each server, the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server For each, the case of CPU used to occupy the virtual server is assigned based on the usage of CPU in which the virtual servers occupy the virtual server share the CPU with other virtual servers using If it is determined , based on the usage status of the CPU by all the virtual servers that share the CPU, it is determined whether or not a predetermined condition for determining that a load is applied, and the determination result is assigned to the access distribution. A computer program characterized by causing a computer to execute the step of notifying the apparatus.
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備える複数のサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記複数のサーバ装置の状態を管理する共通管理装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムの前記共通管理装置に用いられるコンピュータプログラムであって、前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するステップと、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいて、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知するステップと、をコンピュータに実行させることを特徴とするコンピュータプログラムである。 In addition, the present invention provides a plurality of server devices that operate as a plurality of virtual servers and have communication means for communicating with end user terminals for each virtual server, and access from the end user terminals to the virtual servers. Access to the virtual server using the IP address of the allocation destination virtual server notified from the access allocation device, the common management device that manages the status of the plurality of server devices, and the access allocation device A computer program used in the common management device of an access distribution system in which an end user terminal is connected via a network, and assigned to each virtual server operating in the plurality of server devices And acquiring the status of the communication means of the virtual server, and for each virtual server, the resource Obtained by scan state monitoring unit for each of the states of the state and the communication means of the virtual server's CPU allocated to the virtual server, when said CPU used to occupy the virtual server is assigned, the When the virtual server shares the CPU with another virtual server based on the usage status of the CPU occupied by the virtual server, it is based on the usage status of the CPU by all the virtual servers sharing the CPU. , it is determined whether to match the predetermined condition is judged that the load is applied, a computer program, characterized in that to execute the step of notifying the determination result to the access sorting device, to the computer.
また、本発明は、複数の仮想サーバとして動作し、エンドユーザ端末との間で通信を行う通信手段を当該仮想サーバ毎に備えるサーバ装置と、エンドユーザ端末からのアクセスを前記仮想サーバへ振分けるアクセス振分装置と、前記アクセス振分装置から通知された振分先の仮想サーバのIPアドレスを用いて、当該仮想サーバへアクセスするエンドユーザ端末とをネットワークを介して接続してなるアクセス振分システムの前記アクセス振分装置に用いられるコンピュータプログラムであって、前記サーバ装置、または、複数の前記サーバ装置の状態を管理する、前記ネットワークに接続される共通管理装置から、前記サーバ装置において動作している仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいた判断結果であり、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいた判断結果であって、負荷がかかっていると判断される所定の条件と合致するかの判断結果を受信するステップと、受信した判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部に、当該仮想サーバへの振分けが可である情報を書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込むステップと、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知するステップと、をコンピュータに実行させることを特徴とするコンピュータプログラムである。 Further, the present invention distributes access from an end user terminal to the virtual server, and a server device that operates as a plurality of virtual servers and includes communication means for communicating with the end user terminal for each virtual server. Access distribution formed by connecting an access distribution device and an end user terminal that accesses the virtual server using the IP address of the virtual server of the distribution destination notified from the access distribution device via a network A computer program used for the access distribution device of a system, which operates on the server device from a common management device connected to the network that manages the state of the server device or a plurality of the server devices. Of the CPU assigned to the virtual server and the communication means of the virtual server For Les, the case of CPU used to occupy the virtual server is assigned a determination result the virtual server based on the usage of CPU occupying, the virtual server CPU and other virtual servers When sharing and using, it is a determination result based on the usage status of the CPU by all virtual servers sharing the CPU, and a determination is made as to whether or not a predetermined condition is determined to be loaded When receiving the result and the received determination result indicates that the CPU assigned to the virtual server and the communication means of the virtual server are not under load, the domain name, Allocation to the virtual server is possible in the storage unit that stores information that associates the IP address of the virtual server and whether or not allocation to the virtual server is possible. When certain information is written and the determination result indicates that the CPU assigned to the virtual server or the communication means of the virtual server is under load, the distribution to the virtual server is Writing the information that is impossible to the storage unit, receiving the information of the domain name of the access destination of the end user terminal, the IP address of the virtual server that corresponds to the domain name and can be distributed, A computer program that causes a computer to execute a step of reading from a storage unit and notifying.
本発明によれば、アクセス振分装置は、仮想サーバのCPU及び通信手段の状態を受信して当該仮想サーバへの振分けが可であるか不可であるかの情報を更新し、当該情報を用いて、エンドユーザ端末がウェブへアクセスする前に、当該ウェブを提供する、振分け可能な仮想サーバのIPアドレスを通知する。よって、エンドユーザ端末から仮想サーバのアクセスデータを、他の装置が中継して振分けを行う必要がなく、アクセス振分装置やネットワークの負荷、保守にかかる負荷も軽い。このように、実際にウェブサービスを提供する仮想サーバ以外の装置の処理能力がボトルネックになることなく、システム全体にかかる負荷や運用にかかる負荷を抑えながら、適切に仮想サーバ間の負荷分散を行うことが可能となる。
また、アクセス振分装置が仮想サーバ振分可否の情報更新間隔を、ユーザのアクセス間隔見合いに応じて変更することで、たとえば仮想サーバの障害や定期メンテナンスにより仮想サーバが停止した場合でもユーザへの影響を極小化することが可能となる。
According to the present invention, the access distribution device receives the status of the CPU and communication means of the virtual server, updates the information indicating whether the distribution to the virtual server is possible, and uses the information. Thus, before the end user terminal accesses the web, the IP address of the virtual server that provides the web and can be distributed is notified. Therefore, it is not necessary for another device to relay and distribute the access data of the virtual server from the end user terminal, and the load on the access distribution device and the network and the load on maintenance are light. In this way, load distribution between virtual servers can be appropriately distributed while suppressing the load on the entire system and the load on operations, without the processing capacity of devices other than the virtual server that actually provides the web service becoming a bottleneck. Can be done.
In addition, by changing the information update interval for whether or not the virtual server can be allocated by the access distribution device according to the user's access interval, even if the virtual server is stopped due to a failure or periodic maintenance of the virtual server, for example, It is possible to minimize the influence.
以下、図面を参照して本発明の一実施の形態を説明する。
図1は、本発明の一実施の形態によるアクセス振分システムの全体構成図である。同図において、アクセス振分装置1及びキャッシュサーバ2は、保守ネットワーク7及びエンドユーザ向けネットワーク8と接続されている。さらに、保守ネットワーク7には、保守監視装置3、マスタサーバ5及びログサーバ6が接続され、エンドユーザ向けネットワーク8にはエンドユーザ端末4が接続されている。保守ネットワーク7及びエンドユーザ向けネットワーク8は、例えば、IPネットワークである。同図においては、キャッシュサーバ2及びエンドユーザ端末4をそれぞれ1台のみ示しているが、複数台が存在しうる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is an overall configuration diagram of an access distribution system according to an embodiment of the present invention. In the figure, an
キャッシュサーバ2は、実サーバのハードウェア本体であり、複数台の仮想的なサーバコンピュータとして動作する。キャッシュサーバ2の共通管理部27は、当該キャッシュサーバ2全体を管理し、当該キャッシュサーバ2において実現される仮想的なサーバコンピュータを仮想サーバ28とする。
The
リソースプール23は、共通管理領域20のOS(Operating System)や、仮想OS環境24が使用するCPU(Central Processing Unit)、メモリ等の各種リソースが確保されている仮想的な空間である。各仮想OS環境24へのリソース割り当ては、共通管理領域20のOSにより、CPUの負荷等に応じて動的に行われるが、固定的に割り当てるものであってもよい。
The
仮想OS環境24は、仮想サーバ28の実行環境であり、共通管理領域20のOSにより割り当てられた、リソースプール23内のCPUやメモリ等の各種リソースを使用して動作する。仮想OS環境24で実行される仮想OSは、他の仮想OSとリソースを共有するためのリソース共有手段に加えて、予めリソースを占有する(例えば、仮想OS#1はCPU稼働率の50%を占有・排他的に確保し、他の仮想OS#2〜#nには使用させない)ための設定が可能なリソース占有手段を持つこともできる。各仮想OS環境24は、プロセス25を実行するが、自身のプロセス25のみにアクセス可能であり、他の仮想OS環境24のプロセス25にはアクセスできない。プロセス25には、例えば、エンドユーザ端末4にファイルダウンロード等を行うためのウェブアクセスや、Disk I/Oなどが含まれる。NIC26は、エンドユーザ向けネットワーク8を介してエンドユーザ端末4との間の通信を行うためのハードウェアであり、仮想サーバ28毎に備えられる。各NIC26は、それぞれが異なるIPアドレスを有し、ルーチングテーブル、フィルタリングルールなどの各種設定やその情報の参照もそれぞれのNIC26毎に行うことができる。これにより、ネットワークの仮想化が可能であり、複数の仮想サーバ28がIPレイヤを共有し、1台のNICを使用する場合と比較すると、それぞれの仮想サーバ28は、自身の備えるNIC26の性能を十分活用することができる。
ここでは、キャッシュサーバ2は、複数の仮想サーバ28として、仮想サーバ28−1〜28−3を実現するものとし、仮想サーバ28−i(i=1〜3)に対応する仮想OS環境24、プロセス25、NIC26をそれぞれ、仮想OS環境24−i、プロセス25−i、NIC26−iと記載する。
The virtual OS environment 24 is an execution environment of the virtual server 28 and operates using various resources such as CPU and memory in the
Here, the
共通管理領域20は、状態応答プログラム、リソース状態監視プログラムの実行環境を提供する。つまり、共通管理領域20のOS上でこれらのプログラムを動作させることによって、共通管理部27における状態応答部21及びリソース状態監視部22を実現する。状態応答部21は、アクセス振分装置1からの仮想サーバの状態問合せを受け、仮想OS環境24や、リソースプール23、NIC26の状態に応じて応答を返送する。リソース状態監視部22は、各仮想OS環境24のCPU、NIC26の状態を定期的に収集し、状態応答部21からの要求に対して収集したデータを通知する。
The
上記により、キャッシュサーバ2において、共通管理部27は、共通管理領域20と、共通管理領域20のために提供されるリソースプール23内のリソースとにより実現され、仮想サーバ28−iは、仮想OS環境24−iと、NIC26−iと、仮想OS環境24−iに割り当てられたリソースプール23内のリソースとにより実現される。
As described above, in the
アクセス振分装置1は、更新部11、記憶部12及び通知部13を備える。記憶部12は、FQDN(Fully Qualified Domain Name:完全修飾ドメイン名)と、当該FQDNのウェブサービスを提供する仮想サーバ28のIPアドレスと、当該IPアドレスを有する仮想サーバ28が現在ウェブサービスを提供可能か否かの状態とを対応付けた情報を示す振分情報を記憶している。更新部11は、キャッシュサーバ2へ仮想サーバ28の状態問合せを行い、その応答によって、記憶部12内の情報を更新する。また、更新部11は、必要に応じて保守監視装置3に対して障害通知メッセージを送信する。通知部13は、エンドユーザ端末4からのDNS(Domain Name System)問合せを受け、記憶部12内の情報を参照して得たアクセス可能な仮想サーバ28のIPアドレスを返送する。
The
保守監視装置3は、アクセス振分装置1、キャッシュサーバ2を含むシステム全体を保守監視するための装置である。エンドユーザ端末4は、例えば、パーソナルコンピュータや携帯電話などのコンピュータ端末であり、キャッシュサーバ2へアクセス先のFQDNを送信し、返送されるIPアドレスを用いてキャッシュサーバ2の仮想サーバ28へアクセスする。マスタサーバ5は、キャッシュサーバ2の仮想サーバ28がウェブサービスとして提供するダウンロードファイルのマスタデータを記憶しており、ダウンロードファイルをキャッシュサーバ2へ配信する。ログサーバ6は、キャッシュサーバ2の各仮想サーバ28におけるエンドユーザ端末4からのアクセスログを受信して記憶するとともに、当該アクセスログを集計する。
The
図2は、図1に示すアクセス振分システムの動作概要を示す図である。まず、アクセス振分装置1の更新部11は、保守ネットワーク7を介してキャッシュサーバ2へSNMP(Simple Network Management Protocol)により、仮想サーバ28の状態問合せを送信する(ステップS101)。キャッシュサーバ2の状態応答部21は、状態問合せを受信すると、リソース状態監視部22から仮想サーバ28のCPUリソース状態及びNIC26のスループットのデータを取得し(ステップS102)、取得したデータから仮想サーバ28の状態を判断する(ステップS103)。仮想サーバ28の動作状態が正常ではなく、警報の転送が必要な場合、状態応答部21は、保守監視装置3へ警報を転送する(ステップS104)。保守監視装置3は、受信した警報を画面に表示するなどして動作状態が正常ではないことを保守者に通知する。状態応答部21は、仮想サーバ28の状態の判断結果をアクセス振分装置1へ返送する(ステップS105)。アクセス振分装置1の更新部11は、キャッシュサーバ2の状態応答部21からの応答により、仮想サーバ28の状態の判断結果を受信すると、仮想サーバ28がウェブサービスを提供できるか否かを判断し、その判断により記憶部12が記憶している振分情報内のウェブサービス提供可否の情報を更新する。アクセス振分装置1及びキャッシュサーバ2は、定期的に、全ての仮想サーバ28についてステップS101〜S105を繰り返す。
FIG. 2 is a diagram showing an outline of the operation of the access distribution system shown in FIG. First, the
エンドユーザ端末4は、ウェブにアクセスする際に、アクセス先のFQDNをアクセス振分装置1へ通知する(ステップS201)。アクセス振分装置1の通知部13は、記憶部12内の振分情報を参照して、受信したFQDNに対応した、アクセス可能な仮想サーバ28のIPアドレスを読み出して、エンドユーザ端末4へ返送する(ステップS202)。エンドユーザ端末4は、受信したIPアドレスを宛先としてウェブサービス要求をキャッシュサーバ2の仮想サーバ28へ送信する。アクセスを受けたキャッシュサーバ2の仮想サーバ28は、要求されたファイルダウンロードなどのウェブサービスをエンドユーザ端末4へ提供する。
When the
図3は、図2に示すアクセス振分システムのステップS101〜ステップS105に示す状態問い合わせの詳細な処理手順を示す図である。 FIG. 3 is a diagram showing a detailed processing procedure of the status inquiry shown in steps S101 to S105 of the access distribution system shown in FIG.
アクセス振分装置1の更新部11は、所定の時間毎に、保守ネットワーク7を介してキャッシュサーバ2へSNMPにより、仮想サーバ28の状態問合せを送信する(ステップS301、S302)。ここでは、1回の問合せで1つの仮想サーバ28の状態を問い合わせることとするが、1回の問合せで複数または全ての仮想サーバ28の状態を問い合わせることでもよい。
The
キャッシュサーバ2の状態応答部21は、仮想サーバ28−iについての状態問合せを受信すると、まず、仮想OS環境24−iが起動しているか否かを判断する(ステップS303)。仮想OS環境24−iが起動していると判断した場合(ステップS303:YES)、次に、状態応答部21は、仮想サーバ28−iの備えるNIC26−iが起動しているかを判断する(ステップS304)。NIC26−iが起動していると判断した場合(ステップS306:YES)、続いて状態応答部21は、リソース状態監視プログラムが起動しているかを判断する(ステップS305)。リソース状態監視プログラムが起動していると判断した場合(ステップS305:YES)、状態応答部21は、リソース状態監視部22へ仮想サーバ28−iを特定する情報と、データ要求を通知する(ステップS306)。キャッシュサーバ2のリソース状態監視部22は、全ての仮想サーバ28それぞれについて定期的に、CPUリソース状態及びNIC26のスループットのデータを取得し、メモリ等の記憶手段に記憶しており、データ要求の直前に取得した、仮想サーバ28−iのCPUリソース状態及びNIC26−iのスループットのデータを返送する(ステップS307)。
When the
状態応答部21は、取得したNIC26−iのスループットが、負荷が高いと判断するための予め決められた閾値以下であるかを判断する(ステップS308)。NIC26−iのスループットが閾値以下であると判断した場合(ステップS308:YES)、次に、状態応答部21は、仮想OS環境24−iに割り付けられたCPUリソースの使用率が、負荷が高いと判断するための予め決められた閾値以下であるかを判断する(ステップS309)。仮想OS環境24−iに割り付けられたCPUリソースの使用率が、予め決められた閾値以下であると判断した場合(ステップS309:YES)、状態応答部21は、リターンコード0を状態応答送信に設定し(ステップS310)、アクセス振分装置1へ返送する(ステップS311、S312)。
The
なお、NIC26−iのスループットが閾値より大きいと判断した場合(ステップS308:NO)、状態応答部21は、リターンコード1を状態応答に設定し(ステップS313)、アクセス振分装置1へ返送する(ステップS311、S312)。また、CPUリソースの使用率が予め決められた閾値よりも大きいと判断した場合(ステップS309:NO)、状態応答部21は、リターンコード2を状態応答に設定し(ステップS314)、アクセス振分装置1へ返送する(ステップS311、S312)。
When it is determined that the throughput of the NIC 26-i is greater than the threshold (step S308: NO), the
また、仮想OS環境24−iが起動していないと判断した場合(ステップS303:NO)、状態応答部21は、保守監視装置3へ仮想OS環境24−iを特定する情報と、仮想OSが起動していないことを示すリターンコード4とを警報として転送し(ステップS315、S316)、リターンコード4を設定した状態応答をアクセス振分装置1へ返送する(ステップS311、S312)。
また、NIC26−iが起動していないと判断した場合(ステップS304:NO)、状態応答部21は、保守監視装置3へ仮想サーバ28−iを特定する情報と、NICが起動していないことを示すリターンコード3とを警報として転送し(ステップS317、S318)、リターンコード3を設定した状態応答をアクセス振分装置1へ返送する(ステップS311、S312)。
また、リソース状態監視部22が起動していないと判断した場合(ステップS305:NO)、状態応答部21は、保守監視装置3へ仮想サーバ28−iを特定する情報と、リソース状態監視プログラムが起動していないことを示すリターンコード5とを警報として転送し(ステップS319、S329)。リターンコード4を設定した状態応答をアクセス振分装置1へ返送する(ステップS311、S312)。
If it is determined that the virtual OS environment 24-i has not been activated (step S303: NO), the
When it is determined that the NIC 26-i has not been activated (step S304: NO), the
When it is determined that the resource
アクセス振分装置1の更新部11は、キャッシュサーバ2の状態応答部21からの応答により、仮想サーバ28−iの状態を受信すると、リターンコードが0か否かを判断する(ステップS321)。リターンコードが0であれば(ステップS321:「0」)、振分け対象として継続運用が可能であると判断し、記憶部12内の振分情報に、仮想サーバ28−iのアドレスと対応づけて、振分け可を示す情報を書き込む(ステップS322)。一方、リターンコードが0以外であれば(ステップS321:「0以外」)、仮想サーバ28−iを振分け対象として外すべきであると判断し、記憶部12内の振分情報に、仮想サーバ28−iのアドレスと対応づけて、振分け不可を示す情報を書き込む(ステップS323)。
When receiving the status of the virtual server 28-i by the response from the
アクセス振分装置1及びキャッシュサーバ2は、定期的に、全ての仮想サーバ28について図3の処理を繰り返す。
The
なお、キャッシュサーバ2の仮想OS環境24で実行される仮想OSがリソース共有手段を有する場合、キャッシュサーバ2内の一つの仮想OS環境24において全てのリソースを使い切ってしまうと、そのキャッシュサーバ2内の他の仮想OS環境24では新たにリソースを取得できなくなるという問題がある。そのため、このようにリソースを使い切ったキャッシュサーバ2にはアクセスを振分けないようにし、他のキャッシュサーバ2へアクセスを振分けるようにする。
そこで、上述した図3のステップS309において、状態応答部21は、仮想OS環境で使用しているOSがリソース共有手段、リソース占有手段のいずれを有しているかを判断し、リソース占有手段を有する場合は上記の図3の処理を行う。
When the virtual OS executed in the virtual OS environment 24 of the
Therefore, in step S309 of FIG. 3 described above, the
一方、リソース共有手段を有する場合は、アクセス振分装置1から問合せがあった仮想サーバ28−iにおける仮想OSのリソース負荷が低く場合であっても、同じリソースを共有している他の仮想OSにおけるリソース負荷が高い場合は負荷がかかっていると判断する。つまり、キャッシュサーバ2全体におけるCPU負荷が所定の閾値よりも大きい場合は、その旨を示すリターンコードを状態応答に設定し、アクセス振分装置1へ返送する。
アクセス振分装置1は、各キャッシュサーバ2で実現される仮想サーバ28の情報を記憶部12に記憶しており、キャッシュサーバ2全体に負荷がかかっている旨のリターンコードを受信した場合には、状態問合せ対象の仮想サーバ28−iが属するキャッシュサーバ2内の全ての仮想サーバ28を特定し、特定した仮想サーバ28については振分け不可を示す情報を振分情報に書き込む。
On the other hand, when the resource sharing means is included, even if the resource load of the virtual OS in the virtual server 28-i inquired from the
The
また、上記においては、CPU及びNIC26の状態により仮想サーバ28−iに負荷がかかっているかを判断しているが、以下により仮想サーバ28−iの負荷を判断してもよい。
(1)仮想OS環境24−iにおいて、エンドユーザ端末4からのリクエスト数やセッション数を1秒おきなどで定期的に監視し、それが所定の閾値を超えるかにより負荷を判断する。
(2)仮想OS環境24−iが備えるDisk I/Oを監視し、その監視結果に基づいて負荷を判断する。
(3)仮想OS環境24−iにおけるプロセス数を監視し、その監視結果に基づいて負荷を判断する。
上記により負荷が高いと判断した場合には、その旨を示すリターンコード(0以外)を設定してアクセス振分装置1に返送することにより、当該仮想サーバ28−iへアクセスを振分けないようにし、接続を制限する。
In the above description, it is determined whether the load is applied to the virtual server 28-i based on the state of the CPU and the NIC 26. However, the load on the virtual server 28-i may be determined as follows.
(1) In the virtual OS environment 24-i, the number of requests from the
(2) The Disk I / O included in the virtual OS environment 24-i is monitored, and the load is determined based on the monitoring result.
(3) The number of processes in the virtual OS environment 24-i is monitored, and the load is determined based on the monitoring result.
If it is determined that the load is high as described above, a return code (other than 0) indicating that fact is set and returned to the
図5は、図1に示すアクセス振分装置1の記憶部12が保持する振分情報を示す図である。
同図に示すように、振分情報は、FQDNと、当該FQDNを有する仮想サーバ28のIPアドレスと、当該仮想サーバ28が起動しているか否か、CPU状態がOKであるか否か、NIC状態がOKであるか否かの情報を保持している。
アクセス振分装置1の更新部11は、ある仮想サーバ28−iの状態問合せの結果、リターンコード0を受信したときには、当該仮想サーバ28−iに対応させて振分情報に起動状態にONを、CPU状態及びNIC状態にOKを設定し、リターンコード1を受信したときには、起動状態にONを、NIC状態にNGを設定し、リターンコード2を受信したときには起動状態ONを、CPU状態にNGを、NIC状態にOKを設定し、リターンコード3または4を受信したときには起動状態にOFFを設定する。
このように、全ての仮想サーバ28について、同じ状態の場合には同じ値が設定されるような、共通のリターンコードを使用することにより、振分情報の更新が容易になる。
FIG. 5 is a diagram showing distribution information held by the
As shown in the figure, the distribution information includes the FQDN, the IP address of the virtual server 28 having the FQDN, whether the virtual server 28 is activated, whether the CPU state is OK, NIC Information indicating whether or not the state is OK is held.
When the
As described above, the distribution information can be easily updated by using a common return code in which the same value is set for all the virtual servers 28 in the same state.
図4は、図2に示すアクセス振分システムのステップS106〜ステップS107に示す状態問い合わせの詳細な処理手順を示す図である。
エンドユーザ端末4は、アクセス先となるウェブサービスのFQDNを設定したFQDN問合せをアクセス振分装置1へ送信する(ステップS401、S402)。アクセス振分装置1の通知部13は、記憶部12内の振分情報を参照して、受信したFQDNに対応し、起動状態がONであり、かつ、CPU状態及びNIC状態がOKであるアクセス可能な仮想サーバ28を特定する。通知部13は、特定したアクセス可能な仮想サーバ28が1つの場合、振分情報から特定した仮想サーバ28のIPアドレスを取得し、特定したアクセス可能な仮想サーバ28が複数ある場合、その中から所定の基準に従って1つを選択し、選択した仮想サーバ28のIPアドレスを振分情報から取得する(ステップS403)。アクセス可能な仮想サーバ28から1つを選択する場合には、例えば、前回アクセス先として選択した時刻が最も古いものを選択したり、ランダムに選択するようにしたりすることができる。
FIG. 4 is a diagram showing a detailed processing procedure of the status inquiry shown in steps S106 to S107 of the access distribution system shown in FIG.
The
アクセス振分装置1の通知部13は、取得した仮想サーバ28のIPアドレスをエンドユーザ端末4へ通知する(ステップS404、S405)。エンドユーザ端末4は、アクセス振分装置1からIPアドレスを受信すると(ステップS406)、当該IPアドレスを宛先として仮想サーバ28へアクセスする(ステップS407)。キャッシュサーバ2の仮想サーバ28は、NIC26によりエンドユーザ向けネットワーク8を介してエンドユーザ端末4からのアクセスを受信すると、プロセス25によりファイルダウンロードなどのウェブサービスを提供する。
The
プロセス25により、エンドユーザ端末4へダウンロードされるデータは、マスタサーバ5から配信されたものである。具体的には、マスタサーバ5は、ダウンロード対象のファイルをキャッシュサーバ2へ配信する。キャッシュサーバ2の共通管理部27は、一旦、共通管理領域20のメモリへ配信されたファイルを記憶する。そして、仮想OS環境24にこのファイルの読み込むためのコマンドが入力されると、仮想OS環境24は、共通管理領域20のメモリに記憶されている指示されたファイルを読み込んで、当該仮想OS環境24に割り当てられたメモリに書き込む。以降、仮想OS環境24により実行されるプロセス25により、マスタサーバ5より配信されたファイルをエンドユーザ端末4へダウンロードすることが可能になる。仮想OS環境24にファイルを読み込むためのコマンドは、入力手段により保守者が入力してもよく、共通管理部27において、マスタサーバ5から配信されたファイルが共通管理領域20のメモリに記憶されたことを検出したときに、コマンドが実行されるようにしてもよい。
The data downloaded to the
キャッシュサーバ2の各仮想サーバ28におけるエンドユーザ端末4からのアクセスログデータは、共通管理部27により定期的にログサーバ6へ送信される。アクセスログデータには、仮想サーバ28の識別情報、当該仮想サーバ28がエンドユーザ端末4からのアクセスを受けた時間、当該エンドユーザ端末4のアドレス、アクセスにより実行されたプロセス25等の情報が含まれる。ログサーバ6は、受信したアクセスログデータを自身の備える記憶部に記憶するとともに、当該アクセスログデータを用いて各種統計データを作成する。
Access log data from the
上記においては、アクセス振分装置1が直接エンドユーザ端末4からFQDN問合せを受信しているが、エンドユーザ向けネットワーク8上にDNSサーバを設置し、エンドユーザ端末4が、アクセス先ウェブサービスのIPアドレスを問合せるため、FQDNをDNSサーバへ送信し、DNSサーバがアクセス振分装置1からアクセス先のFQDNに対応したIPアドレスを取得してエンドユーザ端末4へ通知するようにしてもよい。
In the above, the
ここで、エンドユーザ端末4がエンドユーザ向けネットワークとは異なるネットワーク上に設置されたDNSサーバへFQDN問い合わせを送信し、エンドユーザ端末4とアクセス振分装置1とが直接通信を行なわない場合について説明する。これは、例えば、アクセス振分装置1はIPv6による通信を行うが、エンドユーザ端末4が名前解決のためにDNSサーバへアクセスするときには、IPv4による通信しか行うことができない場合や、エンドユーザ端末4がエンドユーザ向けネットワーク8に接続する前に、最初に外部ネットワークと接続しなければならない場合が想定される。
Here, a case where the
図6は、エンドユーザ端末4が外部ネットワークに設置されるDNSサーバにより名前解決を行なう場合のアクセス振分システムの全体構成を示し、図1と同様の構成には同じ符号を付与してその説明を省略する。図6において、エンドユーザ端末4は、エンドユーザ向けネットワーク8及びネットワーク9に接続され、ネットワーク9に接続されているDNS(Domain Name System)サーバ100をエンドユーザ端末4のプライマリDNSとする。ここでは、エンドユーザ向けネットワーク8をIPv6網、ネットワーク9をIPv4網として説明するが、エンドユーザ向けネットワーク8とネットワーク9が同じ通信プロトコルを用いる場合にも適用可能である。
FIG. 6 shows the overall configuration of the access distribution system when the
図6に示す構成において、エンドユーザ端末4は、DNSサーバ100にFQDN問合を送信して名前解決を行なうが、DNSサーバ100は、従来から汎用的に用いられている一般的なDNS機能を有するものであり、アクセス振分装置1が管理しているような、各仮想サーバ28の状態は管理できない。そのため、キャッシュサーバ2は、高負荷のため使用できない、あるいは、障害が発生している仮想サーバ28へも振分を行なってしまう。これを解決するためには、例えば、委譲やゾーン転送が考えられるが、委譲の場合、IPv4のグローバルアドレスをアクセス振分装置1へも付与する必要があるため、システムの規模が大きくなった場合には実現が困難となる。一方、ゾーン転送とは、該当ドメインのゾーン情報、すなわち、ドメインとIPアドレスとを対応づけた情報を転送するものであるが、アクセス振分装置1では、従来の一般的なDNSが実現する機能に対して追加した機能部によって、仮想サーバ28の状態を管理及び判別するものであり、従来技術のゾーン転送をそのまま適用しても、仮想サーバ28の状態を反映することはできない。そこで、アクセス振分装置1は、仮想サーバ28の状態に応じて、DNSサーバ100が保持するゾーン情報の更新を要求する。
In the configuration shown in FIG. 6, the
図6に示すアクセス振分装置1は、図1に示すアクセス振分装置1の構成をさらに詳細に示すとともに、更新通知部15が追加されている。更新通知部15は、ゾーン情報の更新内容をDNSサーバ100へ通知する。また、通信部16は、図1に示すアクセス振分装置1にも備えられ、保守ネットワーク7、エンドユーザ向けネットワーク8を介したデータの送受信を行なうものであるが、DNSサーバ100とは、ネットワーク9を介して、あるいは、専用の回線によりデータの送受信を行なうものであってもよい。また、通知部13が備える名前解決部14は、従来のDNSサーバにおいて実現されている名前解決機能と同様の機能を有する。
The
DNSサーバ100は、記憶部101、通信部102、更新部103、名前解決部104を備える。記憶部101は、ゾーン情報を記憶する。通信部102は、ネットワーク9を介してデータの送受信を行なうものであるが、アクセス振分装置1とは、専用の回線によりデータの送受信を行なうものであってもよい。更新部103は、アクセス振分装置1から受信したゾーン情報の更新内容に基づいて、記憶部101に記憶されているゾーン情報を更新する。名前解決部104は、アクセス振分装置1の名前解決部14と同様の機能を有し、ゾーン情報を参照して、エンドユーザ端末4へ仮想サーバ28のIPアドレスを通知する。
The
図7は、図6に示すアクセス振分装置1の記憶部12に記憶される振分情報の例を示す図である。同図に示す本実施形態の振分情報は、図5に示す振分情報と同様のデータ構成であるが、IPアドレスにはIPv6のIPアドレスが設定されている。
FIG. 7 is a diagram illustrating an example of distribution information stored in the
図8は、図6に示すアクセス振分装置1の記憶部12、及び、DNSサーバ100の記憶部101に記憶されるゾーン情報の例を示す図である。同図において、ゾーン情報は、ドメイン名と、当該ドメイン名に対応した1以上のIPアドレスの情報を記憶しており、例えば、テキストファイルにより記述される。このゾーン情報には、現在振分可能な仮想サーバ28のIPアドレスのみが設定される。
FIG. 8 is a diagram illustrating examples of zone information stored in the
図9は、図6に示すアクセス振分システムの処理フローを示す図である。
DNSサーバ100の名前解決部104は、アクセス先となるウェブサービスのFQDNを設定したFQDN問合せをエンドユーザ端末4から受信すると、ゾーン情報から、受信したFQDNに含まれるドメイン名に対応したIPアドレスを読み出して返送している。特定したドメイン名に対応して複数のIPアドレスが登録されている場合には、その複数のIPアドレスのうち、前回アクセス先として選択した時刻が最も古いものを1つ選択したり、ランダムに1つを選択したり、あるいは、ラウンドロビンなどの所定の規則に従って1つを選択し、返送する。例えば、図7に示すゾーン情報の場合、FQDNに含まれているドメイン名が「xxxxx.xxx.jp」であるため、仮想サーバ仮想サーバ#2のIPアドレス「XXXX:XXXX::XXX2」、仮想サーバ#3のIPアドレス「XXXX:XXXX::XXX3」のうちいずれか1つが選択されて返送される。
FIG. 9 is a diagram showing a processing flow of the access distribution system shown in FIG.
When the
同図において、アクセス振分装置1の更新部11は、図3のステップS301、S302と同様の処理を行い、所定の時間毎に、保守ネットワーク7を介してキャッシュサーバ2へ仮想サーバ28−iの状態問合せを送信する(ステップS501、S502)。状態問合せを受信したキャッシュサーバ2は、図3のステップS303〜S312と同様の処理を行う(ステップS503、S504)。これにより、キャッシュサーバ2は、仮想OS起動、NIC起動、リソース状態管理プログラム起動、NICの帯域、CPUリソースのチェックを行ない、これらのチェック結果として得られた仮想サーバ28−iの状態を示すリターンコードを状態応答に設定し、アクセス振分装置1に返送する。アクセス振分装置1の更新部11は、図3のステップS321と同様に、受信したリターンコードが0か否かを判断する(ステップS505)。
In the figure, the
受信したリターンコードが0である場合(ステップS505:「0」)、更新部11は、記憶部12内の振分情報を参照して、仮想サーバ28−iの状態が振分可を示しているか、すなわち、起動「OK」、かつ、CPU「OK」、かつ、NIC「OK」が設定されているかを判断する。そして、現在、振分可が設定されていない場合、更新部11は、振分情報から仮想サーバ28−iに対応したドメイン名及びIPアドレスを読み出すと、読み出したドメイン名に対応づけて、記憶部12内のゾーン情報に仮想サーバ28−iのIPアドレスの情報を追加する。さらに、更新部11は、仮想サーバ28−iと対応づけて、記憶部12内の振分情報に振分け可を示す情報、つまり、起動「OK」、CPU「OK」、及び、NIC「OK」を書き込む(ステップS506)。
When the received return code is 0 (step S505: “0”), the
一方、受信したリターンコードが0以外である場合(ステップS505:「0以外」)、更新部11は、記憶部12内の振分情報を参照して、仮想サーバ28−iの状態が、振分可を示しているか、すなわち、起動「OK」、かつ、CPU「OK」、かつ、NIC「OK」が設定されているかを判断する。そして、現在、振分可が設定されている場合、更新部11は、振分情報から仮想サーバ28−iに対応したドメイン名及びIPアドレスを読み出すと、読み出したドメイン名に対応づけて記憶部12内のゾーン情報に設定されている仮想サーバ28のIPアドレスの情報から、仮想サーバ28−iのIPアドレスの情報を削除する。さらに、更新部11は、仮想サーバ28−iと対応づけて、記憶部12内の振分情報に、受信したリターンコードに対応した状態の情報を書き込む(ステップS507)。
On the other hand, when the received return code is other than 0 (step S505: “other than 0”), the
ステップS506またはS507において、ゾーン情報が更新された場合(ステップS508:YES)、更新通知部15は、更新されたゾーン情報、すなわち、ゾーン情報から更新対象となったドメイン名と、当該ドメイン名に対応づけられている全てのIPアドレスの情報を読み出し、更新情報としてDNSサーバ100へ通知する(ステップS509、S510)。更新情報の通知には、例えば、DNS Notifyなどを使用することができる。DNSサーバ100の更新部103は、受信した更新情報に設定されているドメイン名に対応して記憶部101内のゾーン情報に設定されているIPアドレスの情報を、当該更新情報に設定されているIPアドレスの情報に書き換える(ステップS511)。
When the zone information is updated in step S506 or S507 (step S508: YES), the
例えば、アクセス振分装置1の記憶部12が記憶するゾーン情報、及び、DNSサーバ100の記憶部101が記憶するゾーン情報には、図8に示すように、ドメイン名「xxxxx.xxx.jp」に対応して仮想サーバ28−2、28−3のIPアドレス「XXXX:XXXX::XXX2」、「XXXX:XXXX::XXX3」が設定され、アクセス振分装置1の記憶部12が記憶する振分情報には、図7に示すように、仮想サーバ28−1が振分不可、仮想サーバ28−2、28−3が振分可の状態である旨が設定されているものとする。
このとき、振分不可であった仮想サーバ28−1が正常状態に戻ったため、ステップS504において、仮想サーバ28−1の状態問合せに対応して、キャッシュサーバ2からアクセス振分装置1へリターンコード0が返送されたとする。現在、振分情報には、仮想サーバ28−1が振分不可である旨が設定されているため、アクセス振分装置1の更新部11は、振分情報から仮想サーバ28−1のIPアドレス「XXXX:XXXX::XXX1」及びドメイン名「xxxxx.xxx.jp」を読み出し、記憶部12内のゾーン情報に、ドメイン名「xxxxx.xxx.jp」に対応させて、仮想サーバ28−1のIPアドレス「XXXX:XXXX::XXX1」を追加する。つまり、記憶部12内のゾーン情報は、ドメイン名「xxxxx.xxx.jp」に対応して、仮想サーバ28−1、28−2、28−3のIPアドレス「XXXX:XXXX::XXX1」、「XXXX:XXXX::XXX2」、「XXXX:XXXX::XXX3」が記述されたものとなる。さらに、更新部11により、振分情報は、仮想サーバ28−1が振分可である旨に書替えられる。
For example, the zone information stored in the
At this time, since the virtual server 28-1 that cannot be distributed has returned to the normal state, in step S504, in response to the status inquiry of the virtual server 28-1, the return code from the
アクセス振分装置1の更新通知部15は、記憶部12内のゾーン情報から、更新対象となったドメイン名「xxxxx.xxx.jp」と、当該ドメイン名に対応づけられている全ての仮想サーバ28−1、28−2、28−3のIPアドレス情報とを読み出し、更新情報としてDNSサーバ100へ通知する。DNSサーバ100の更新部103は、アクセス振分装置1から更新情報を受信すると、更新情報により通知されたドメイン名「xxxxx.xxx.jp」に対応づけて、記憶部101内のゾーン情報に設定されている仮想サーバ28−1、28−2のIPアドレスを、当該更新情報により通知された仮想サーバ28−1、28−2、28−3のIPアドレス「XXXX:XXXX::XXX1」、「XXXX:XXXX::XXX2」、「XXXX:XXXX::XXX3」に書き換える。以降、DNSサーバ100の名前解決部104は、エンドユーザ端末4からFQDNを受信し、当該FQDNに含まれているドメイン名が「xxxxx.xxx.jp」である場合、当該ドメイン名に対応付けてゾーン情報に設定されている仮想サーバ28−1、28−2、28−3のIPアドレスのうち、1つを選択して返送する。
The
その後、振分可であった仮想サーバ28−2が過負荷となったため、キャッシュサーバ2から、仮想サーバ28−2の状態問合せに対応して0以外のリターンコードが返送されたとする。現在、振分情報には、仮想サーバ28−2が振分可である旨が設定されているため、アクセス振分装置1の更新部11は、振分情報から仮想サーバ28−2のIPアドレス「XXXX:XXXX::XXX2」及びドメイン名「xxxxx.xxx.jp」を読み出す。更新部11は、記憶部12に記憶されるゾーン情報から、ドメイン名「xxxxx.xxx.jp」に対応付けて現在設定されている仮想サーバ28−1、28−2、28−3のIPアドレスのうち、仮想サーバ28−2のIPアドレスを削除する。つまり、記憶部12に記憶されるゾーン情報は、ドメイン名「xxxxx.xxx.jp」に対応して、仮想サーバ28−1、28−3のIPアドレス「XXXX:XXXX::XXX1」、「XXXX:XXXX::XXX3」が記述されたものとなる。さらに、更新部11により、振分情報は、仮想サーバ28−2が振分不可である旨に書替えられる。
Thereafter, it is assumed that the virtual server 28-2 that can be distributed is overloaded, and therefore a return code other than 0 is returned from the
アクセス振分装置1の更新通知部15は、記憶部12内のゾーン情報から、更新対象となったドメイン名「xxxxx.xxx.jp」と、当該ドメイン名に対応づけられている全ての仮想サーバ28−1、28−3のIPアドレス情報とを読み出し、更新情報としてDNSサーバ100へ通知する。DNSサーバ100の更新部103は、アクセス振分装置1から更新情報を受信すると、更新情報により通知されたドメイン名「xxxxx.xxx.jp」に対応づけて、記憶部101内のゾーン情報に記述されている仮想サーバ28−1、28−2、28−3のIPアドレスを、当該更新情報により通知された仮想サーバ28−1、28−3のIPアドレス「XXXX:XXXX::XXX1」、「XXXX:XXXX::XXX3」に書き換える。以降、DNSサーバ100の名前解決部104は、エンドユーザ端末4からFQDNを受信し、当該FQDNに含まれているドメイン名が「xxxxx.xxx.jp」である場合、当該ドメイン名に対応付けてゾーン情報に設定されている仮想サーバ28−1、28−3のIPアドレスのうち、1つを選択して返送する。
The
なお、上記においては、更新情報に、更新対象となったドメイン名と、当該ドメイン名に対応して、アクセス振分装置1の記憶部12内のゾーン情報から読み出した全てのIPアドレス、つまり、現在振分可であるIPアドレスの情報とを設定しているが、更新対象となったドメイン名と、当該ドメイン名に対応して追加した、すなわち、振分可となった仮想サーバ28−iのIPアドレス、及び、振分可を示す情報とを、または、更新対象となったドメイン名に対応して削除した、すなわち、振分不可となった仮想サーバ28−iのIPアドレス、及び、振分不可を示す情報とを設定することでもよい。DNSサーバ100の更新部103は、アクセス振分装置1から更新情報を受信し、更新情報に振分可が設定されている場合、当該更新情報により通知されたドメイン名に対応づけて記憶部101内のゾーン情報に記述されている仮想サーバ28のIPアドレスに、当該更新情報により通知された仮想サーバ28−iのIPアドレスを追加する。あるいは、更新情報に振分不可が設定されている場合、当該更新情報により通知されたドメイン名に対応づけて、記憶部101内のゾーン情報に記述されている仮想サーバ28のIPアドレスから、当該更新情報により通知された仮想サーバ28−iのIPアドレスを削除する。
In the above, the update information includes the domain name to be updated and all the IP addresses read from the zone information in the
また、更新情報に、更新対象となったドメイン名と、更新後の振分情報から読み出した当該ドメイン名に対応した全ての仮想サーバ28のIPアドレス、及び、当該仮想サーバ28が振分可であるか不可であるかの情報を設定することでもよい。DNSサーバ100の更新部103は、当該更新情報により通知されたドメイン名に対応づけて記憶部101内のゾーン情報に、受信した更新情報に振分可が設定されている仮想サーバ28のIPアドレスを追加するとともに、当該更新情報により通知されたドメイン名に対応づけて記憶部101内のゾーン情報に設定されている仮想サーバ28のIPアドレスから、受信した更新情報に振分不可が設定されている仮想サーバ28のIPアドレスを削除する。
In addition, in the update information, the domain name to be updated, the IP addresses of all virtual servers 28 corresponding to the domain name read from the updated distribution information, and the virtual server 28 can be distributed. It is also possible to set information on whether or not there is. The
また、更新情報に、更新対象となったドメイン名と、更新後の振分情報から読み出した当該ドメイン名に対応した全ての仮想サーバ28のIPアドレス、及び、当該仮想サーバ28が振分可であるか不可であるかの情報が設定されている場合、DNSサーバ100の更新部103は、この更新情報を記憶部101に登録することでもよい。そして、DNSサーバ100の名前解決部104は、エンドユーザ端末4からFQDNを受信すると、記憶部101内のゾーン情報より、受信したFQDNに対応した仮想サーバ28のIPアドレスを読み出し、さらに、記憶部101に記憶している更新情報から、読み出した当該IPアドレスが振分可であるか不可であるかの情報を読み出す。そして、名前解決部104は、受信したFQDNに対応してゾーン情報から読み出した仮想サーバのIPアドレスのうち、振分可であるIPアドレスから1つを選択してエンドユーザ端末4へ返送する。
In addition, in the update information, the domain name to be updated, the IP addresses of all virtual servers 28 corresponding to the domain name read from the updated distribution information, and the virtual server 28 can be distributed. When information indicating whether or not there is set is set, the
上記により、エンドユーザ端末4が、アクセス振分装置1とは直接通信を行なえない場合、例えば、アクセス振分装置1とエンドユーザ端末4とで使用するプロトコルが異なる場合や、エンドユーザ端末4がエンドユーザ向けネットワーク8に接続する前に、最初に外部ネットワークのDNSと接続しなければならない場合であっても、アクセス振分装置1がキャッシュサーバ2から取得した、仮想サーバのCPU及びNICの状態に基づく振分可/振分不可の状態を反映させ、適切に仮想サーバ間の負荷分散を行うことが可能となる。また、DNS Notifyなどの既存のメッセージによりアクセス振分装置からDNSサーバへ更新情報を通知することにより、既存のドメインサーバに変更を加える必要なく実現可能である。
As described above, when the
なお、上記実施形態によれば、キャッシュサーバ2それぞれが、状態応答部21及びリソース状態監視部22を備える共通管理部27を有しているが、各キャッシュサーバ2に状態応答部21及びリソース状態監視部22を設けず、複数のキャッシュサーバ2に保守ネットワーク7を介して接続される共通管理サーバを設置し、当該共通管理サーバに、状態応答部21及びリソース状態監視部22を備える共通管理部27を集約して設け、複数のキャッシュサーバ2を集中的に管理するようにしてもよい。
この場合、アクセス振分装置1の更新部11は、所定の時間毎に、保守ネットワーク7を介して共通管理サーバへSNMPにより、仮想サーバ28の状態問合せを送信し、共通管理サーバは、問合せを受けた仮想サーバ28を実現するキャッシュサーバ2へアクセスして、上述した図3の処理を行う。
In addition, according to the said embodiment, although each
In this case, the
そして上記の共通管理サーバは、配下のキャッシュサーバ2全ての仮想サーバ28(仮想OS環境24)を一元的にリスト化した情報を保持しておき、負荷が低いほど高い優先順位となるように決定した優先順位の情報を付加してアクセス振分装置1へ通知するようにしてもよい。仮想サーバ28の負荷は、当該仮想サーバ28(仮想OS環境24)におけるCPUやNICの使用状況、エンドユーザ端末4からのリクエスト数、セッション数、Disk I/Oの使用状況、プロセス数等によって判断することができる。なお、過去のこれらの負荷状況から統計的に負荷を判断するようにしてもよい。これにより、優先順位が高い所定の数の仮想サーバ28をアクセス振分装置1に通知することが可能となり、アクセス振分装置1の通知部13は、受信したリストにより示される優先順位の高い仮想サーバ28へ振分けが可能となる。例えば、図4のステップS403において、特定したアクセス可能な仮想サーバ28が複数ある場合、その中から優先順位が高い仮想サーバ28を選択し、選択した仮想サーバ28のIPアドレスを振分情報から取得し、エンドユーザ端末4へ通知する。
The common management server holds information that centrally lists all the virtual servers 28 (virtual OS environments 24) of the
本実施形態によれば、アクセス振分装置は、キャッシュサーバへ定期的に問合せを行い、仮想サーバのCPU及びNICの状態を示すリターンコードを受信して当該仮想サーバへの振分けが可であるか不可であるかの情報を更新し、当該情報を用いて、エンドユーザ端末がウェブへアクセスする前に、当該ウェブを提供する、振分け可能な仮想サーバのIPアドレスを通知する。よって、エンドユーザ端末から仮想サーバへのアクセスデータを、他の装置が中継して振分けを行う必要がなく、アクセス振分装置やネットワークにかかる負荷、保守にかかる負荷も軽い。このように、実際にウェブサービスを提供する仮想サーバ以外の装置の処理能力がボトルネックになることなく、システム全体にかかる負荷や運用にかかる負荷を抑えながら、最新の仮想サーバのCPU及びNICの負荷状態を反映して、適切に仮想サーバ間の負荷分散を行うことが可能となる。
また、アクセス振分装置が仮想サーバ振分可否の情報更新間隔を、ユーザのアクセス間隔見合いに応じて変更することで、たとえば仮想サーバの障害や定期メンテナンスにより仮想サーバが停止した場合でもユーザへの影響を極小化することが可能となる。
According to this embodiment, the access distribution device periodically inquires the cache server, receives a return code indicating the status of the CPU and NIC of the virtual server, and can distribute to the virtual server. The information indicating whether or not it is impossible is updated, and before the end user terminal accesses the web, the IP address of the allocable virtual server that provides the web is notified using the information. Therefore, it is not necessary for other devices to relay and distribute access data from the end user terminal to the virtual server, and the load on the access distribution device and the network and the load on maintenance are light. In this way, the processing capacity of devices other than the virtual server that actually provides the web service does not become a bottleneck, and the load on the entire system and the load on the operation are suppressed, while the CPU and NIC of the latest virtual server are suppressed. Reflecting the load state, it is possible to appropriately distribute the load among the virtual servers.
In addition, by changing the information update interval for whether or not the virtual server can be allocated by the access distribution device according to the user's access interval, even if the virtual server is stopped due to a failure or periodic maintenance of the virtual server, for example, It is possible to minimize the influence.
なお、アクセス振分装置1、キャッシュサーバ2、保守監視装置3、エンドユーザ端末4、マスタサーバ5、ログサーバ6、及び、共通管理サーバは、内部にコンピュータシステムを有している。そして、上述したアクセス振分装置1、キャッシュサーバ2、保守監視装置3、エンドユーザ端末4、マスタサーバ5、ログサーバ6、及び、共通管理サーバの動作の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータシステムが読み出して実行することによって、上記処理が行われる。ここでいうコンピュータシステムとは、CPUや各種メモリ、OSや周辺機器等のハードウェアを含むものである。
The
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
1…アクセス振分装置
2…キャッシュサーバ(サーバ装置)
3…保守監視装置
4…エンドユーザ端末
5…マスタサーバ
6…ログサーバ
7…保守ネットワーク
8…エンドユーザ向けネットワーク
9…ネットワーク
11…更新部
12…記憶部
13…通知部
14…名前解決部
15…更新通知部
16…通信部
21…状態応答部(状態通知部)
22…リソース状態監視部
23…リソースプール
24−1〜24−3…仮想サーバ部
25−1〜25−3…プロセス(配信部)
26−1〜26−3…NIC(通信手段)
27…共通管理部(読込み部、ログ通知部)
28−1〜28−3…仮想サーバ
100…DNSサーバ(ドメインネームシステムサーバ)
101…記憶部(ドメインネームシステム記憶部)
102…通信部
103…更新部(ドメインネームシステム更新部)
104…名前解決部
1 ...
DESCRIPTION OF
22 ... Resource
26-1 to 26-3... NIC (communication means)
27 ... Common management unit (reading unit, log notification unit)
28-1 to 28-3 ...
101 ... storage unit (domain name system storage unit)
102:
104 ... Name resolution department
Claims (20)
前記サーバ装置は、
当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、
前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部とを備え、
前記アクセス振分装置は、
ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部と、
前記サーバ装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、当該仮想サーバへの振分けが可である情報を前記記憶部に書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込む更新部と、
前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知する通知部とを備え、
前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするアクセス振分システム。 A server device that operates as a plurality of virtual servers and has communication means for communicating with end user terminals for each virtual server, and a virtual server that is an allocation destination of end user terminals are identified, and the virtual server An access distribution device that notifies the IP address of the server and an end user terminal that accesses the virtual server using the IP address of the virtual server that is the distribution destination notified from the access distribution device via the network An access distribution system that is connected,
The server device
A resource status monitoring unit that acquires the status of the CPU assigned to the virtual server operating in the server device and the status of the communication means of the virtual server;
Predetermined conditions for determining that a load is applied to each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server, acquired by the resource state monitoring unit for each virtual server And a state notification unit that notifies the access distribution device of the determination result,
The access distribution device
A storage unit that stores information in which a domain name is associated with an IP address of a virtual server and whether or not distribution to the virtual server is possible;
When the determination result is received from the server device, and the determination result indicates that the CPU allocated to the virtual server and the communication means of the virtual server are not under load, Information that can be distributed to a virtual server is written in the storage unit, and the determination result is a state in which the CPU assigned to the virtual server or the communication means of the virtual server is under load. An update unit that writes information that cannot be distributed to the virtual server to the storage unit,
A notification unit that receives information on a domain name of an access destination of the end user terminal, reads an IP address of a virtual server corresponding to the domain name and that can be distributed from the storage unit, and notifies the information ;
The state notification unit, when a CPU to be used exclusively by the virtual server is assigned, determines a CPU state of whether a load is applied based on a usage state of the CPU occupied by the virtual server, When a virtual server shares a CPU with another virtual server and uses the CPU, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. access sorting system that.
前記状態通知部は、前記アクセス振分装置から仮想サーバの状態問合せを受信して、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態を前記リソース状態監視部から取得し、前記判断結果を返送する、
ことを特徴とする請求項1から請求項4のいずれかの項に記載のアクセス振分システム。 The update unit periodically transmits a virtual server status query to the server device,
The status notification unit receives a status inquiry of the virtual server from the access distribution device, and acquires the status of the CPU assigned to the virtual server and the status of the communication means of the virtual server from the resource status monitoring unit. , Return the judgment result,
The access distribution system according to any one of claims 1 to 4 , wherein the access distribution system is provided.
前記ネットワークを介して接続されウェブサービスとしてエンドユーザ端末に提供されるファイルのマスタデータを記憶するマスタサーバから、前記ファイルを受信し、受信したファイルを共通管理領域の記憶手段に記憶し、当該ファイルを仮想サーバへ読み込むためのコマンドが入力された場合に、前記共通管理領域の記憶手段に記憶されている前記ファイルを当該仮想サーバに割り当てられた記憶手段に記憶する読込み部と、
前記仮想サーバへアクセスしてきたエンドユーザ端末に、当該仮想サーバに割り当てられた記憶手段に記憶している前記ファイルを配信する配信部とを備える、
ことを特徴とする請求項1から請求項5のいずれかの項に記載のアクセス振分システム。 The server device
From the master server that stores the master data file to be provided to the end user terminal as a web service are connected via the network, receiving the file, and stores the received file in the storage means of the Common management area, A reading unit that stores the file stored in the storage unit of the common management area in the storage unit assigned to the virtual server when a command for reading the file into the virtual server is input;
A distribution unit that distributes the file stored in the storage unit allocated to the virtual server to an end user terminal that has accessed the virtual server;
The access distribution system according to any one of claims 1 to 5 , wherein
前記共通管理装置は、
前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、
前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部とを備え、
前記アクセス振分装置は、
ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部と、
前記共通管理装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、当該仮想サーバへの振分けが可である情報を前記記憶部に書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込む更新部と、
前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知する通知部とを備え、
前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とするアクセス振分システム。 A plurality of server devices that operate as a plurality of virtual servers and communicate with end user terminals for each virtual server, and identify a virtual server that is an allocation destination of end user terminals , Using the access distribution device that notifies the IP address of the virtual server, the common management device that manages the states of the plurality of server devices, and the IP address of the virtual server that is the distribution destination notified from the access distribution device An access distribution system in which an end user terminal that accesses the virtual server is connected via a network,
The common management device is:
A resource state monitoring unit that acquires a state of a CPU assigned to each virtual server operating in the plurality of server devices and a state of communication means of the virtual server;
Predetermined conditions for determining that a load is applied to each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server, acquired by the resource state monitoring unit for each virtual server And a state notification unit for notifying the access distribution device of the determination result,
The access distribution device
A storage unit that stores information in which a domain name is associated with an IP address of a virtual server and whether or not distribution to the virtual server is possible;
When the determination result is received from the common management device, and the determination result indicates that the CPU assigned to the virtual server and the communication means of the virtual server are not under load, Information that can be distributed to the virtual server is written in the storage unit, and the determination result is in a state where a load is applied to the CPU assigned to the virtual server or the communication means of the virtual server. Indicates an update unit that writes information that cannot be distributed to the virtual server to the storage unit,
A notification unit that receives information on a domain name of an access destination of the end user terminal, reads an IP address of a virtual server corresponding to the domain name and that can be distributed from the storage unit, and notifies the information ;
The state notification unit, when a CPU to be used exclusively by the virtual server is assigned, determines a CPU state of whether a load is applied based on a usage state of the CPU occupied by the virtual server, When a virtual server shares a CPU with another virtual server and uses the CPU, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. access sorting system that.
前記アクセス振分装置の通知部は、前記ドメイン名に対応し、かつ、振分けが可である仮想サーバのうち、優先順位が高い仮想サーバのIPアドレスを前記記憶部から読み出して通知する、
ことを特徴とする請求項8に記載のアクセス振分システム。 The common management device further includes priority notification means for determining a priority of access to the virtual server from a load state of the virtual server operating in the plurality of server devices and notifying the access distribution device. Have
The notification unit of the access distribution device reads out and notifies the IP address of a virtual server having a high priority among virtual servers corresponding to the domain name and capable of distribution,
The access distribution system according to claim 8 .
前記アクセス振分装置は、
前記記憶部から読み出した、振分の可否の情報が変更された前記仮想サーバに対応したドメイン名と、当該ドメイン名に対応した仮想サーバのIPアドレスと、振分の可否の変更内容とを設定した更新情報を前記ドメインネームシステムサーバに通知する更新通知部をさらに備え、
前記ドメインネームシステムは、
ドメイン名と、振分可である仮想サーバのIPアドレスとを対応付けた情報を記憶するドメインネームシステム記憶部と、
前記アクセス振分装置から前記更新情報を受信し、当該更新情報に設定されているドメイン名に対応付けて前記ドメインネームシステム記憶部に記憶されている振分可である仮想サーバのIPアドレスの情報を、当該更新情報に設定されている振分の可否の変更内容に基づいて更新するドメインネームシステム更新部と、
前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応した仮想サーバのIPアドレスを前記ドメインネームシステム記憶部から読み出して通知するアドレス解決部とを備える、
ことを特徴とする請求項1から請求項9のいずれかの項に記載のアクセス振分システム。 A domain name system server connected to the end user terminal via another network;
The access distribution device
Set the domain name corresponding to the virtual server whose allocation information has been read, read from the storage unit, the IP address of the virtual server corresponding to the domain name, and the allocation change contents An update notification unit for notifying the domain name system server of the updated information,
The domain name system is:
A domain name system storage unit that stores information in which a domain name is associated with an IP address of a virtual server that can be distributed;
Information on the IP address of the virtual server that can be distributed, stored in the domain name system storage unit in association with the domain name set in the update information, received from the access distribution device A domain name system update unit that updates the content based on the change in availability of distribution set in the update information,
An address resolution unit that receives information on a domain name of an access destination of the end user terminal, and reads and notifies an IP address of a virtual server corresponding to the domain name from the domain name system storage unit;
The access distribution system according to any one of claims 1 to 9 , wherein
前記記憶部から読み出した、振分の可否の情報が変更された前記仮想サーバに対応したドメイン名と、当該ドメイン名に対応した振分可である全ての前記仮想サーバのIPアドレスとを設定した更新情報を前記ドメインネームシステムサーバに通知し、
前記ドメインネームシステムのドメインネームシステム更新部は、
受信した前記更新情報に設定されているドメイン名に対応付けて前記ドメインネームシステム記憶部に記憶されているIPアドレスの情報を、当該更新情報に設定されているIPアドレスの情報に書き換える、
ことを特徴とする請求項10に記載のアクセス振分システム。 The update notification unit of the access distribution device
The domain name corresponding to the virtual server that has been read from the storage unit and whose allocation permission information has been changed, and the IP addresses of all the virtual servers that can be allocated corresponding to the domain name are set. Notifying the domain name system server of update information,
The domain name system update unit of the domain name system includes:
Rewriting the IP address information stored in the domain name system storage unit in association with the domain name set in the received update information with the IP address information set in the update information,
The access distribution system according to claim 10 .
前記記憶部から読み出した、振分の可否の情報が更新された前記仮想サーバに対応したドメイン名と、当該ドメイン名に対応した全ての前記仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否を示す情報とを設定した更新情報を前記ドメインネームシステムサーバに通知する更新通知部をさらに備え、
前記ドメインネームシステムにおいて、
前記ドメインネームシステム記憶部は、ドメイン名と、当該ドメイン名を用いる全ての仮想サーバのIPアドレスとを対応付けた情報を記憶し、
前記ドメインネームシステム更新部は、前記アクセス振分装置から受信した前記更新情報を前記ドメインネームシステム記憶部に書き込み、
前記アドレス解決部は、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、前記ドメインネームシステム記憶部から、当該ドメイン名に対応し、かつ、前記更新情報により振分けが可であることが示される仮想サーバのIPアドレスを読み出して通知する、
ことを特徴とする請求項10に記載のアクセス振分システム。 The update notification unit of the access distribution device
The domain name corresponding to the virtual server that has been read from the storage unit and whose allocation permission information has been updated, the IP addresses of all the virtual servers corresponding to the domain name, and whether or not to distribute to the virtual server An update notification unit for notifying the domain name system server of update information in which information indicating
In the domain name system,
The domain name system storage unit stores information in which a domain name is associated with IP addresses of all virtual servers that use the domain name;
The domain name system update unit writes the update information received from the access distribution device to the domain name system storage unit,
The address resolution unit receives information on the domain name of the access destination of the end user terminal, corresponds to the domain name from the domain name system storage unit, and can be distributed according to the update information Read and notify the IP address of the indicated virtual server,
The access distribution system according to claim 10 .
当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、
前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部と、
を備え、
前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とすることを特徴とするサーバ装置。 A server device that operates as a plurality of virtual servers and has communication means for communicating with end user terminals for each virtual server; an access distribution device that distributes access from end user terminals to the virtual servers; The server apparatus in the access distribution system in which an IP address of a virtual server that is a distribution destination notified from the access distribution apparatus is connected to an end user terminal that accesses the virtual server via a network. There,
A resource status monitoring unit that acquires the status of the CPU assigned to the virtual server operating in the server device and the status of the communication means of the virtual server;
Predetermined conditions for determining that a load is applied to each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server, acquired by the resource state monitoring unit for each virtual server And a state notification unit for notifying the access distribution device of the determination result;
Equipped with a,
The state notification unit, when a CPU to be used exclusively by the virtual server is assigned, determines a CPU state of whether a load is applied based on a usage state of the CPU occupied by the virtual server, When a virtual server shares a CPU with another virtual server and uses the CPU, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. A server device characterized by that.
前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するリソース状態監視部と、
前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知する状態通知部と、
を備え、
前記状態通知部は、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断することを特徴とすることを特徴とする共通管理装置。 A plurality of server devices that operate as a plurality of virtual servers and communicate with each virtual server for communicating with end user terminals, and an access distribution device that distributes access from the end user terminals to the virtual servers A common management device that manages the states of the plurality of server devices, and an end user terminal that accesses the virtual server using the IP address of the virtual server that is the distribution destination notified from the access distribution device. The common management device in an access distribution system connected via a network,
A resource state monitoring unit that acquires a state of a CPU assigned to each virtual server operating in the plurality of server devices and a state of communication means of the virtual server;
Predetermined conditions for determining that a load is applied to each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server, acquired by the resource state monitoring unit for each virtual server And a state notification unit for notifying the access distribution device of the determination result;
Equipped with a,
The state notification unit, when a CPU to be used exclusively by the virtual server is assigned, determines a CPU state of whether a load is applied based on a usage state of the CPU occupied by the virtual server, When a virtual server shares a CPU with another virtual server and uses the CPU, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. A common management device characterized by that.
ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部と、
前記サーバ装置、または、複数の前記サーバ装置の状態を管理する、前記ネットワークに接続される共通管理装置から、前記サーバ装置において動作している仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいた判断結果であり、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいた判断結果であって、負荷がかかっていると判断される所定の条件と合致するかの判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、当該仮想サーバへの振分けが可である情報を前記記憶部に書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込む更新部と、
前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知する通知部と、
を備えることを特徴とするアクセス振分装置。 A server device that operates as a plurality of virtual servers and has communication means for communicating with end user terminals for each virtual server; an access distribution device that distributes access from end user terminals to the virtual servers; The access distribution in an access distribution system in which an IP address of a distribution destination virtual server notified from the access distribution device is connected to an end user terminal that accesses the virtual server via a network. A device,
A storage unit that stores information in which a domain name is associated with an IP address of a virtual server and whether or not distribution to the virtual server is possible;
The state of the CPU assigned to the virtual server operating in the server device from the common management device connected to the network, which manages the state of the server device or the plurality of server devices, and the status of the virtual server For each state of the communication means, when a CPU dedicated to the virtual server is assigned, it is a determination result based on the usage status of the CPU occupied by the virtual server, and the virtual server uses the CPU. In the case of sharing with other virtual servers, the determination result is based on the usage status of the CPU by all the virtual servers sharing the CPU, and a predetermined condition for determining that a load is applied. A determination result indicating whether or not the CPU matches the CPU assigned to the virtual server, and the virtual server When the communication means indicates that the load is not applied, information that can be distributed to the virtual server is written in the storage unit, and the determination result is assigned to the CPU assigned to the virtual server, Alternatively, when it indicates that the communication means of the virtual server is in a state of being loaded, an update unit that writes information that cannot be distributed to the virtual server to the storage unit;
A notification unit that receives information on a domain name of an access destination of the end user terminal, reads the IP address of a virtual server corresponding to the domain name and that can be distributed, and notifies the IP address;
An access distribution device comprising:
前記サーバ装置において、
リソース状態監視部が、当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得し、
状態通知部が、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知し、
前記アクセス振分装置において、
更新部が、前記サーバ装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部に、当該仮想サーバへの振分けが可である情報を書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込み、
通知部が、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知し、
前記状態通知部が、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断する
ことを特徴とするアクセス振分方法。 A server device that operates as a plurality of virtual servers and has communication means for communicating with end user terminals for each virtual server; an access distribution device that distributes access from end user terminals to the virtual servers; Using the IP address of the virtual server of the distribution destination notified from the access distribution device, an access distribution used in an access distribution system in which an end user terminal accessing the virtual server is connected via a network. A minute method,
In the server device,
The resource status monitoring unit acquires the status of the CPU assigned to the virtual server operating in the server device and the status of the communication means of the virtual server,
The state notification unit determines that for each virtual server, a load is applied to each of the state of the CPU allocated to the virtual server and the state of the communication unit of the virtual server acquired by the resource state monitoring unit. To determine whether the predetermined condition is satisfied, and notify the access distribution device of the determination result,
In the access distribution device,
The update unit receives the determination result from the server device, and the determination result indicates that the CPU assigned to the virtual server and the communication means of the virtual server are not under load. If there is, information that can be distributed to the virtual server is written in a storage unit that stores information in which the domain name is associated with the IP address of the virtual server and whether or not the virtual server can be distributed. If the result indicates that the CPU assigned to the virtual server or the communication means of the virtual server is under load, information that cannot be distributed to the virtual server is stored in the memory Write to the department,
The notification unit receives the information of the domain name of the access destination of the end user terminal, reads the IP address of the virtual server corresponding to the domain name and can be distributed, and notifies the storage unit ,
When the status notification unit is assigned a CPU to be used exclusively by the virtual server, the CPU determines whether the load is applied based on the usage status of the CPU occupied by the virtual server, When a virtual server shares a CPU with another virtual server and uses the CPU, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. Access distribution method.
前記共通管理装置において、
リソース状態監視部が、前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得し、
状態通知部が、前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知し、
前記アクセス振分装置において、
更新部が、前記共通管理装置から前記判断結果を受信し、当該判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部に、当該仮想サーバへの振分けが可である情報を書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込み、
通知部が、前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知し、
前記状態通知部が、前記仮想サーバに占有して使用するCPUが割り当てられている場合、当該仮想サーバが占有するCPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断し、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて負荷がかかっているかのCPUの状態を判断する
ことを特徴とするアクセス振分方法。 A plurality of server devices that operate as a plurality of virtual servers and communicate with each virtual server for communicating with end user terminals, and an access distribution device that distributes access from the end user terminals to the virtual servers A common management device that manages the states of the plurality of server devices, and an end user terminal that accesses the virtual server using the IP address of the virtual server that is the distribution destination notified from the access distribution device. An access distribution method used in an access distribution system connected via a network,
In the common management device,
The resource status monitoring unit acquires the status of the CPU assigned to each virtual server operating in the plurality of server devices and the status of the communication means of the virtual server,
The state notification unit determines that for each virtual server, a load is applied to each of the state of the CPU allocated to the virtual server and the state of the communication unit of the virtual server acquired by the resource state monitoring unit. To determine whether the predetermined condition is satisfied, and notify the access distribution device of the determination result,
In the access distribution device,
The update unit receives the determination result from the common management device, and the determination result indicates that the CPU assigned to the virtual server and the communication means of the virtual server are not under load. If there is a domain name, the IP address of the virtual server, and the information that can be distributed to the virtual server are stored in the storage unit that stores the information that can be distributed to the virtual server. When the determination result indicates that the CPU assigned to the virtual server or the communication means of the virtual server is under load, information indicating that the distribution to the virtual server is impossible is performed. Write to memory,
The notification unit receives the information of the domain name of the access destination of the end user terminal, reads the IP address of the virtual server corresponding to the domain name and can be distributed, and notifies the storage unit ,
When the status notification unit is assigned a CPU to be used exclusively by the virtual server, the CPU determines whether the load is applied based on the usage status of the CPU occupied by the virtual server, When a virtual server shares a CPU with another virtual server and uses the CPU, the CPU determines whether the load is applied based on the usage status of the CPU by all the virtual servers sharing the CPU. Access distribution method.
当該サーバ装置において動作している仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するステップと、
前記仮想サーバ毎に、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいて、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知するステップと、
をコンピュータに実行させることを特徴とするコンピュータプログラム。 A server device that operates as a plurality of virtual servers and has communication means for communicating with end user terminals for each virtual server; an access distribution device that distributes access from end user terminals to the virtual servers; Using the IP address of the virtual server of the distribution destination notified from the access distribution device, the server device of the access distribution system formed by connecting an end user terminal that accesses the virtual server via a network A computer program used,
Acquiring the state of the CPU assigned to the virtual server operating in the server device and the state of the communication means of the virtual server;
For each of the virtual servers, if a CPU dedicated to the virtual server is assigned to each of the state of the CPU assigned to the virtual server and the state of the communication means of the virtual server, the virtual server When the virtual server shares the CPU with another virtual server based on the usage status of the CPU occupied by the CPU, the load is determined based on the usage status of the CPU by all the virtual servers sharing the CPU. Determining whether a predetermined condition determined to be applied is met, and notifying the determination result to the access distribution device;
A computer program for causing a computer to execute.
前記複数のサーバ装置において動作している各仮想サーバに割り当てられたCPUの状態と、当該仮想サーバの通信手段の状態とを取得するステップと、
前記仮想サーバ毎に、前記リソース状態監視部により取得した、当該仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいて、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいて、負荷がかかっていると判断される所定の条件と合致するかを判断し、判断結果を前記アクセス振分装置へ通知するステップと、
をコンピュータに実行させることを特徴とするコンピュータプログラム。 A plurality of server devices that operate as a plurality of virtual servers and communicate with each virtual server for communicating with end user terminals, and an access distribution device that distributes access from the end user terminals to the virtual servers A common management device that manages the states of the plurality of server devices, and an end user terminal that accesses the virtual server using the IP address of the virtual server that is the distribution destination notified from the access distribution device. A computer program used for the common management device of an access distribution system connected via a network,
Obtaining the state of the CPU assigned to each virtual server operating in the plurality of server devices and the state of the communication means of the virtual server;
Wherein for each virtual server, acquired by the resource status monitoring unit, for each of the states of the state and the communication means of the virtual server's CPU allocated to the virtual server, CPU used to occupy the virtual server allocated If the virtual server shares the CPU with another virtual server based on the usage status of the CPU occupied by the virtual server, the virtual server sharing the CPU Determining whether or not a predetermined condition determined to be under load is met based on a usage state of the CPU, and notifying the access distribution device of the determination result;
A computer program for causing a computer to execute.
前記サーバ装置、または、複数の前記サーバ装置の状態を管理する、前記ネットワークに接続される共通管理装置から、前記サーバ装置において動作している仮想サーバに割り当てられたCPUの状態及び当該仮想サーバの通信手段の状態のそれぞれについて、前記仮想サーバに占有して使用するCPUが割り当てられている場合は、当該仮想サーバが占有するCPUの使用状況に基づいた判断結果であり、前記仮想サーバがCPUを他の仮想サーバと共有して使用する場合は、当該CPUを共有する全ての仮想サーバによる当該CPUの使用状況に基づいた判断結果であって、負荷がかかっていると判断される所定の条件と合致するかの判断結果を受信するステップと、
受信した判断結果が、前記仮想サーバに割り当てられたCPU、及び、当該仮想サーバの通信手段とも負荷がかかっていない状態であることを示している場合、ドメイン名と、仮想サーバのIPアドレス及び当該仮想サーバへの振分けの可否とを対応付けた情報を記憶する記憶部に、当該仮想サーバへの振分けが可である情報を書き込み、当該判断結果が、前記仮想サーバに割り当てられたCPU、または、当該仮想サーバの通信手段に負荷がかかっている状態であることを示している場合、当該仮想サーバへの振分けが不可である情報を前記記憶部に書き込むステップと、
前記エンドユーザ端末のアクセス先のドメイン名の情報を受信し、当該ドメイン名に対応し、かつ、振分けが可である仮想サーバのIPアドレスを前記記憶部から読み出して通知するステップと、
をコンピュータに実行させることを特徴とするコンピュータプログラム。 A server device that operates as a plurality of virtual servers and has communication means for communicating with end user terminals for each virtual server; an access distribution device that distributes access from end user terminals to the virtual servers; The access distribution of an access distribution system in which an IP address of a virtual server of a distribution destination notified from the access distribution device is connected to an end user terminal that accesses the virtual server via a network A computer program used in an apparatus,
The state of the CPU assigned to the virtual server operating in the server device from the common management device connected to the network, which manages the state of the server device or the plurality of server devices, and the status of the virtual server For each state of the communication means, when a CPU dedicated to the virtual server is assigned, it is a determination result based on the usage status of the CPU occupied by the virtual server, and the virtual server uses the CPU. In the case of sharing with other virtual servers, the determination result is based on the usage status of the CPU by all the virtual servers sharing the CPU, and a predetermined condition for determining that a load is applied. Receiving a determination result of whether it matches,
When the received determination result indicates that the CPU assigned to the virtual server and the communication means of the virtual server are not loaded, the domain name, the IP address of the virtual server, and the In a storage unit that stores information that associates whether or not allocation to a virtual server is possible, information that can be allocated to the virtual server is written, and the determination result is a CPU assigned to the virtual server, or If it indicates that the communication means of the virtual server is in a state of being loaded, writing information that cannot be distributed to the virtual server to the storage unit;
Receiving information on a domain name of an access destination of the end user terminal, reading out the IP address of a virtual server corresponding to the domain name and capable of being distributed from the storage unit, and notifying;
A computer program for causing a computer to execute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008314712A JP4677482B2 (en) | 2008-03-27 | 2008-12-10 | Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008084167 | 2008-03-27 | ||
| JP2008314712A JP4677482B2 (en) | 2008-03-27 | 2008-12-10 | Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009259206A JP2009259206A (en) | 2009-11-05 |
| JP4677482B2 true JP4677482B2 (en) | 2011-04-27 |
Family
ID=41386502
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008314712A Active JP4677482B2 (en) | 2008-03-27 | 2008-12-10 | Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4677482B2 (en) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011159247A (en) * | 2010-02-04 | 2011-08-18 | Nec Corp | Network system, controller, and network control method |
| JP5232814B2 (en) * | 2010-02-09 | 2013-07-10 | エヌ・ティ・ティ・コムウェア株式会社 | Cache system and cache access method |
| JP5556227B2 (en) * | 2010-02-22 | 2014-07-23 | 日本電気株式会社 | Bus system |
| JP5557590B2 (en) * | 2010-05-06 | 2014-07-23 | 株式会社日立製作所 | Load balancing apparatus and system |
| KR101191544B1 (en) | 2011-01-21 | 2012-10-15 | 엔에이치엔(주) | Cache system and caching service providing method using structure of cache cloud |
| WO2013084305A1 (en) * | 2011-12-06 | 2013-06-13 | 株式会社日立製作所 | Virtualization multi-system configuration control method and computer system |
| JP5701844B2 (en) | 2012-04-27 | 2015-04-15 | 株式会社東芝 | COMMUNICATION SYSTEM, DATA CENTER DEVICE, AND CONTROL METHOD USED IN DATA CENTER DEVICE |
| JP2014102691A (en) * | 2012-11-20 | 2014-06-05 | Toshiba Corp | Information processing device, camera with communication function, and information processing method |
| JP6070282B2 (en) * | 2013-03-04 | 2017-02-01 | 富士通株式会社 | Virtual machine management apparatus, method and program |
| US10218633B2 (en) * | 2014-03-28 | 2019-02-26 | Amazon Technologies, Inc. | Implementation of a service that coordinates the placement and execution of containers |
| JP6597823B2 (en) | 2018-03-23 | 2019-10-30 | 日本電気株式会社 | Load balancing device, communication system, control method and program |
| US10805421B2 (en) | 2018-04-03 | 2020-10-13 | Citrix Systems, Inc. | Data caching for cloud services |
| CN113489691B (en) * | 2021-06-22 | 2023-06-13 | 腾讯科技(深圳)有限公司 | Network access method, network access device, computer readable medium and electronic equipment |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3965729B2 (en) * | 1997-08-07 | 2007-08-29 | 株式会社日立製作所 | IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus |
| JP2002140202A (en) * | 2000-11-01 | 2002-05-17 | Hitachi Ltd | Information distribution system and load distribution method thereof |
| JPWO2003027858A1 (en) * | 2001-09-19 | 2005-01-13 | アクセリア株式会社 | Content server defense system |
| JP2003177928A (en) * | 2001-12-11 | 2003-06-27 | Hitachi Ltd | Scheduling method of variable time slice time |
| JP4240062B2 (en) * | 2006-05-31 | 2009-03-18 | 日本電気株式会社 | Computer system, performance measurement method, and management server device |
-
2008
- 2008-12-10 JP JP2008314712A patent/JP4677482B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009259206A (en) | 2009-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4677482B2 (en) | Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program | |
| KR101218828B1 (en) | Cooperative cache method and contents providing method and using request proportion apparatus | |
| KR100830413B1 (en) | Server access system for clients and load balancing network system including the same | |
| CN101883103B (en) | Method and system for client-side scaling of Web server farm architecture in a cloud data center | |
| JP5582344B2 (en) | Connection management system and connection management server linkage method in thin client system | |
| KR101914488B1 (en) | Server cluster and method for push notification service | |
| CN113014611B (en) | Load balancing method and related equipment | |
| CN109167702A (en) | A kind of distributed test method and device based on load balancing | |
| US11431553B2 (en) | Remote control planes with automated failover | |
| US20050160183A1 (en) | Tunnel broker management | |
| CN109510878B (en) | Long connection session keeping method and device | |
| WO2023207189A1 (en) | Load balancing method and system, computer storage medium, and electronic device | |
| JP5352367B2 (en) | Virtual machine boot terminal and virtual machine boot program | |
| CN108124020A (en) | Domain name analytic method, system and equipment | |
| CN108429824B (en) | Address allocation method and device | |
| CN111327668A (en) | Network management method, device, equipment and storage medium | |
| US8972604B1 (en) | Network address retention and assignment | |
| WO2012176337A1 (en) | Information processing system, information processing system control method, administration device, and system switching program | |
| JP2004356920A (en) | DHCP server system | |
| WO2012136828A1 (en) | Multi-user cache system | |
| JP2002259354A (en) | Network system and load balancing method | |
| CN214202379U (en) | Distributed shared file system | |
| EP3980892B1 (en) | Remote control planes with automated failover | |
| JP5287623B2 (en) | Virtual server management system, image processing system, virtual server management apparatus, and control program | |
| US11349718B2 (en) | Capacity bursting using a remote control plane |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100614 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100622 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100819 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110104 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110131 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140204 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4677482 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |