JP6001474B2 - Boot image delivery method and boot image delivery system - Google Patents

Boot image delivery method and boot image delivery system Download PDF

Info

Publication number
JP6001474B2
JP6001474B2 JP2013035587A JP2013035587A JP6001474B2 JP 6001474 B2 JP6001474 B2 JP 6001474B2 JP 2013035587 A JP2013035587 A JP 2013035587A JP 2013035587 A JP2013035587 A JP 2013035587A JP 6001474 B2 JP6001474 B2 JP 6001474B2
Authority
JP
Japan
Prior art keywords
distribution
parts
boot image
server
distribution destination
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.)
Expired - Fee Related
Application number
JP2013035587A
Other languages
Japanese (ja)
Other versions
JP2014164556A (en
Inventor
彰則 白神
彰則 白神
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2013035587A priority Critical patent/JP6001474B2/en
Publication of JP2014164556A publication Critical patent/JP2014164556A/en
Application granted granted Critical
Publication of JP6001474B2 publication Critical patent/JP6001474B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、クラスタシステムを構成する各サーバなどへ、同一のブートイメージを配信するための技術に関する。   The present invention relates to a technique for distributing the same boot image to each server constituting a cluster system.

スケールアウト型の大規模分散処理においては、複数拠点に跨って拠点横断でのクラスタリングが行われる。その際、クラスタを構成する各サーバには共通のOS(Operating System)やミドルウェア、アプリケーションプログラムなどを含むブートイメージが必要となる。拠点間ネットワークの帯域を有効に活用する観点からは、サーバ共通のブートイメージは拠点毎の管理サーバに配信しておき、各サーバが起動時に各拠点の管理サーバからブートイメージを取得するようにすべきである。そのために、保守者はクラスタを構成するサーバが設置される全拠点に予めブートイメージを配信しておく必要がある。   In scale-out large-scale distributed processing, clustering is performed across multiple sites. At that time, a boot image including a common OS (Operating System), middleware, application programs, and the like is required for each server constituting the cluster. From the viewpoint of effectively utilizing the bandwidth of the inter-base network, the boot image common to the servers is distributed to the management server at each base, and each server acquires the boot image from the management server at each base when starting up. Should. Therefore, the maintenance person needs to distribute the boot image in advance to all bases where the servers constituting the cluster are installed.

ブートイメージの配信に係る従来技術として、特許文献1には、多数のサーバにブートイメージを配信する際に、ファイルを所定サイズのチャンクに分割してサーバ間でパイプライン式に配信する技術が開示されている。   As a conventional technique related to boot image distribution, Patent Document 1 discloses a technique for dividing a file into chunks of a predetermined size and distributing them in a pipeline manner between servers when distributing the boot image to a large number of servers. Has been.

特開2012−238095号公報JP 2012-238095 A

しかし、前記の従来技術を、複数の拠点に設置された管理サーバへのブートイメージ配信に適用することを想定した場合、拠点間が全て直列に接続されることとなる。その結果、拠点間のルーティングを行うルータ間の特定のリンクの帯域だけが占有され、他のルータ間リンクを有効活用することができないという問題があった。   However, when it is assumed that the above-described conventional technology is applied to boot image distribution to management servers installed at a plurality of bases, all the bases are connected in series. As a result, there is a problem in that only the bandwidth of a specific link between routers that perform routing between bases is occupied, and links between other routers cannot be effectively used.

本発明は、前記の課題を解決するためになされたものであり、拠点間を接続するリンクを効率的に活用して、同一のブートイメージを複数の配信先サーバに配信するときの配信時間を短くすることを目的とする。   The present invention has been made to solve the above-described problem, and efficiently uses a link connecting bases to reduce the distribution time when distributing the same boot image to a plurality of distribution destination servers. The purpose is to shorten.

前記の目的を達成するために、本発明は、同一のブートイメージファイルを複数の配信先サーバに配信するブートイメージ配信方法であって、配信元サーバが、前記ブートイメージファイルの配信要求を受け付けて、当該ブートイメージファイルを複数のパーツに分割する分割ステップと、前記複数パーツのそれぞれを、所定サイズのチャンクに分割して、前記分割したチャンクから成るパーツの一つを、前記配信元サーバから前記配信先サーバのうちの少なくとも1台に再配布パーツとして、前記チャンク単位で、配信することを、全配信先サーバに対して並列で行う第一の配信ステップと、前記配信先サーバのそれぞれが、自身に配信された前記再配布パーツを前記配信先サーバ毎に予め定められた他の配信先サーバに前記チャンク単位で並列送信するとともに、自身に配信された前記再配布パーツ以外の残パーツを前記配信先サーバ毎に予め定められた他の配信先サーバから前記チャンク単位で並列受信する第二の配信ステップと、前記配信先サーバのそれぞれが、前記第一の配信ステップで受信した前記再配布パーツと前記第二の配信ステップで受信した前記残パーツとを結合して、前記ブートイメージファイルを復元する復元ステップと、を含み、前記残パーツの取得先に関する割当て手法は、前記配信先サーバの数が前記パーツの分割数の倍数である場合には、前記配信先サーバを前記分割数台毎にグループ分けし、該グループ内の他の前記配信先サーバをそれぞれの前記残パーツの取得先とすること、または、前記配信先サーバの数が前記パーツの前記分割数の倍数でない場合において、前記ブートイメージファイルの配信先ではない前記他の配信先サーバを前記再配布パーツの配信先に加えることで前記配信先サーバの数が前記分割数の倍数となるときは、前記再配布パーツの配信を補助する前記他の配信先サーバを前記再配布パーツの配信先に加え、前記グループ分けして前記残パーツの取得先とすること、を含んでなり、前記第二の配信ステップにおける前記チャンクの並列送信及び並列受信は、前記第一の配信ステップにおける当該チャンクの次のチャンクの並列配信と並列に実行されるものとした。 In order to achieve the above object, the present invention provides a boot image distribution method for distributing the same boot image file to a plurality of distribution destination servers, wherein the distribution source server receives the boot image file distribution request. Dividing the boot image file into a plurality of parts; dividing each of the plurality of parts into chunks of a predetermined size; and sending one of the divided chunks from the distribution source server. Each of the distribution destination servers includes a first distribution step in which distribution in units of chunks as redistribution parts to at least one of the distribution destination servers is performed in parallel to all distribution destination servers. The redistributed parts delivered to itself are transferred to the other delivery destination server predetermined for each delivery destination server. A second distribution step of receiving in parallel in units of chunks from other distribution destination servers predetermined for each distribution destination server, and the remaining parts other than the redistribution parts distributed to itself, A restoration step in which each of the delivery destination servers combines the redistribution part received in the first delivery step and the remaining part received in the second delivery step to restore the boot image file; The allocation method related to the acquisition destination of the remaining parts includes , when the number of distribution destination servers is a multiple of the number of divisions of the parts, grouping the distribution destination servers for each of the division units, The other delivery destination servers in the group are used as the acquisition destinations of the remaining parts, or the number of delivery destination servers is twice the number of divisions of the parts. If the other distribution destination server that is not the distribution destination of the boot image file is added to the distribution destination of the redistribution part, the number of the distribution destination servers becomes a multiple of the division number. adding the other distribution destination server to assist the delivery of the distribution part to the delivery destination of the redistribution part, that in the grouping and acquisition destination of the remaining part, comprises a front Stories second delivery The parallel transmission and parallel reception of the chunk in the step are executed in parallel with the parallel distribution of the next chunk of the chunk in the first distribution step.

こうすることにより、分割された各パーツが配信先サーバ間でそれぞれ並列に配信されるので、ブートイメージファイルの配信時間を短くすることができる。また、配信対象外の配信先サーバをも含めて再配布パーツの並列配信を行うので、再配布パーツの並列配信の並列度を高めることが可能となり、ブートイメージファイルの配信時間をさらに短くできる可能性が高くなる。 By doing so, the divided parts are distributed in parallel between the distribution destination servers, so that the distribution time of the boot image file can be shortened. In addition, since redistribution parts are distributed in parallel, including distribution destination servers that are not subject to distribution, it is possible to increase the parallelism of redistribution parts and further shorten the boot image file distribution time. Increases nature.

また、本発明は、前記のブートイメージ配信方法において、前記分割ステップにて前記複数パーツに分割するときの分割数は、前記同一のブートイメージファイルを配信すべき前記配信先サーバの数とそれらの配信先サーバ間で設定可能な配信先サーバ当たりのリンク数とをパラメータとして分割数を決定するために参照される所定のテーブルを参照して決定されるものとした。 In the boot image distribution method according to the present invention, the number of divisions when dividing into the plurality of parts in the division step is the number of the distribution destination servers to which the same boot image file should be distributed. It is determined with reference to a predetermined table that is referred to in order to determine the number of divisions using the number of links per distribution destination server that can be set between the distribution destination servers as a parameter.

こうすることにより、同一のブートイメージファイルを配信すべき配信先サーバの数とそれらの配信先サーバ間で設定可能なリンク数とに対応する最適な分割数を自動で決定することができる。   By doing so, it is possible to automatically determine the optimum division number corresponding to the number of distribution destination servers to which the same boot image file should be distributed and the number of links that can be set between the distribution destination servers.

また、本発明は、配信元サーバが、同一のブートイメージファイルを複数の配信先サーバに配信するブートイメージ配信システムであって、前記配信元サーバは、前記ブートイメージファイルの配信要求を受け付けるブートイメージ受付部と、当該ブートイメージファイルを複数のパーツに分割するパーツ分割部と、前記複数パーツのそれぞれを、所定サイズのチャンクに分割して、前記分割したチャンクから成るパーツの一つを、前記配信元サーバから前記配信先サーバのうちの少なくとも1台に再配布パーツとして、前記チャンク単位で、配信することを、全配信先サーバに対して並列で行う再配布パーツ配信部とを備え、前記配信先サーバのそれぞれは、自身に配信された前記再配布パーツを前記チャンク単位で受信する再配布パーツ受信部と、受信した前記再配布パーツを、前記配信先サーバ毎に予め定められた他の配信先サーバに前記チャンク単位で並列送信する再配布パーツ送信部と、自身に配信された前記再配布パーツ以外の残パーツを、前記配信先サーバ毎に予め定められた他の配信先サーバから前記チャンク単位で並列受信する残パーツ取得部と、前記再配布パーツ受信部が受信した前記再配布パーツと、前記残パーツ取得部が受信した前記残パーツとを結合して、前記ブートイメージファイルを復元するブートイメージ復元部と、を備え、前記再配布パーツ配信部は、前記残パーツの取得先に関する割当て手法として、前記配信先サーバの数が前記パーツの分割数の倍数である場合には、前記配信先サーバを前記分割数台毎にグループ分けし、該グループ内の他の前記配信先サーバをそれぞれの前記残パーツの取得先とすること、または、前記配信先サーバの数が前記パーツの前記分割数の倍数でない場合において、前記ブートイメージファイルの配信先ではない前記他の配信先サーバを前記再配布パーツの配信先に加えることで前記配信先サーバの数が前記分割数の倍数となるときは、前記再配布パーツの配信を補助する前記他の配信先サーバを前記再配布パーツの配信先に加え、前記グループ分けして前記残パーツの取得先とすること、を含んで実行し、前記再配布パーツ送信部における前記チャンクの並列送信及び前記残パーツ取得部における前記チャンクの並列受信と、前記再配布パーツ受信部における当該チャンクの次のチャンクの受信とが、並列に実行されるものとした。 The present invention is also a boot image distribution system in which a distribution source server distributes the same boot image file to a plurality of distribution destination servers, and the distribution source server receives a boot image file distribution request. a receiving unit, and parts dividing portion that divides the boot image file into a plurality of parts, each of said plurality of parts, is divided into chunks of predetermined size, one of the parts consisting of the divided chunks, the A redistribution part distribution unit that performs distribution in units of chunks as a redistribution part from at least one of the distribution source servers to the distribution destination server, in parallel to all distribution destination servers , Each of the distribution destination servers receives a redistribution part that receives the redistribution parts distributed to itself in units of chunks. A receiving unit, a redistributed part transmitting unit that transmits the received redistributed parts in parallel to the other distribution destination server predetermined for each distribution destination server in units of chunks, and the redistribution distributed to itself The remaining parts other than the parts are received in parallel from the other delivery destination servers predetermined for each delivery destination server in units of chunks, and the redistribution parts received by the redistribution parts receiving unit A boot image restoration unit that combines the remaining parts received by the remaining part acquisition unit and restores the boot image file, and the redistribution part distribution unit allocates the acquisition source of the remaining parts As a technique, when the number of the delivery destination servers is a multiple of the number of divisions of the parts, the delivery destination servers are grouped for each of the several divisions. The other delivery destination servers are the acquisition destinations of the remaining parts, or when the number of delivery destination servers is not a multiple of the division number of the parts, the boot image file is not the delivery destination. When another distribution destination server is added to the distribution destination of the redistribution part, and the number of distribution destination servers is a multiple of the division number, the other distribution destination server that assists the distribution of the redistribution part is the addition to the delivery destination of the redistribution parts, that by the grouping and acquisition destination of the remaining part, run comprise, parallel transmission and the remaining part acquisition unit of the chunks before Symbol redistributing part transmission unit The parallel reception of the chunk and the reception of the next chunk of the chunk in the redistribution part reception unit are executed in parallel.

こうすることにより、分割された各パーツが配信先サーバ間でそれぞれ並列に配信されるので、ブートイメージファイルの配信時間を短くすることができる。また、配信対象外の配信先サーバをも含めて再配布パーツの並列配信を行うので、再配布パーツの並列配信の並列度を高めることが可能となり、ブートイメージファイルの配信時間をさらに短くできる可能性が高くなる。 By doing so, the divided parts are distributed in parallel between the distribution destination servers, so that the distribution time of the boot image file can be shortened. In addition, since redistribution parts are distributed in parallel, including distribution destination servers that are not subject to distribution, it is possible to increase the parallelism of redistribution parts and further shorten the boot image file distribution time. Increases nature.

また、本発明は、前記のブートイメージ配信システムにおいて、前記配信元サーバは、前記パーツ分割部が、前記同一のブートイメージファイルを配信すべき前記配信先サーバの数と、それらの配信先サーバ間で設定可能な配信先サーバ当たりのリンク数とをパラメータとして、前記複数パーツに分割するときの分割数を決定するために参照される所定のテーブルを備えるものとした。 In the boot image distribution system according to the present invention, the distribution source server may be configured such that the parts dividing unit distributes the number of the distribution destination servers to which the same boot image file is to be distributed, and the distribution destination servers. And a predetermined table referred to for determining the number of divisions when dividing into the plurality of parts, using the number of links per distribution destination server that can be set as a parameter.

こうすることにより、同一のブートイメージファイルを配信すべき配信先サーバの数とそれらの配信先サーバ間で設定可能なリンク数とに対応する最適な分割数を自動で決定することができる。   By doing so, it is possible to automatically determine the optimum division number corresponding to the number of distribution destination servers to which the same boot image file should be distributed and the number of links that can be set between the distribution destination servers.

本発明によれば、同一のブートイメージファイルを複数の配信先サーバに配信するときの配信時間を短くすることができる。   ADVANTAGE OF THE INVENTION According to this invention, the delivery time when delivering the same boot image file to a several delivery destination server can be shortened.

ブートイメージ配信システムの構成例を示す図である。It is a figure which shows the structural example of a boot image delivery system. 配信元サーバの構成例を示す機能ブロック図である。It is a functional block diagram which shows the structural example of a delivery origin server. 配信先サーバの構成例を示す機能ブロック図である。It is a functional block diagram which shows the structural example of a delivery destination server. 配信元サーバ上のブートイメージ情報の構成及びデータ例を示す図である。It is a figure which shows the structure and data example of boot image information on a delivery origin server. 配信元サーバ上のパーツ情報の構成及びデータ例を示す図である。It is a figure which shows the structure and data example of parts information on a delivery origin server. 配信元サーバ上の配信先サーバ情報の構成及びデータ例を示す図である。It is a figure which shows the structure and data example of the delivery destination server information on a delivery origin server. 配信先サーバ上のブートイメージ情報の構成及びデータ例を示す図である。It is a figure which shows the structure and data example of boot image information on a delivery destination server. 配信先サーバ上のパーツ情報の構成及びデータ例を示す図である。It is a figure which shows the structure and data example of parts information on a delivery destination server. 配信先サーバ上の取得先サーバ情報の構成及びデータ例を示す図である。It is a figure which shows the structure and data example of the acquisition destination server information on a delivery destination server. 配信元サーバが実行するブートイメージ配信処理の例を示すフローチャートである。It is a flowchart which shows the example of the boot image delivery process which a delivery origin server performs. 配信先サーバが実行するブートイメージ送受信処理の例を示すフローチャートである。It is a flowchart which shows the example of the boot image transmission / reception process which a delivery destination server performs. 4台の配信先サーバに2パーツに分割されたブートイメージファイルを配信する場合の動作例を示すシーケンスチャートである。It is a sequence chart which shows the operation example in the case of delivering the boot image file divided | segmented into 2 parts to four delivery destination servers. 4台の配信先サーバに4パーツに分割されたブートイメージファイルを配信する場合の動作例を示すシーケンスチャートである。It is a sequence chart which shows the operation example in the case of delivering the boot image file divided | segmented into 4 parts to four delivery destination servers. 5台の配信先サーバを3台と2台との2つのグループに分けてブートイメージファイルを配信する場合の動作例を示すシーケンスチャートである。It is a sequence chart which shows the operation example in the case of dividing | segmenting five delivery destination servers into two groups of three and two, and delivering a boot image file. 6台の配信先サーバに3パーツに分割されたブートイメージファイルを配信する場合の動作例を示すシーケンスチャートである。It is a sequence chart which shows the operation example in the case of delivering the boot image file divided | segmented into 3 parts to six delivery destination servers. 配信先の拠点数Mと拠点間リンク数Lとに対応する最適な分割数Dと配信時間比率との関係を一覧にして示した図である。It is the figure which showed as a list the relationship between the optimal division | segmentation number D corresponding to the number M of delivery destination bases, and the number L of links between bases, and a delivery time ratio. 分割数決定テーブルの構成及びデータ例を示す図である。It is a figure which shows the structure and example of data of a division number determination table.

以下、本発明を実施するための形態(以下、「本実施形態」という)について、適宜図面を参照しながら詳細に説明する。   Hereinafter, a mode for carrying out the present invention (hereinafter referred to as “the present embodiment”) will be described in detail with reference to the drawings as appropriate.

図1は、本実施形態に係るブートイメージ配信システムの構成例を示す図である。図1に示すように、ブートイメージ配信システム100は、ブートイメージの配信元となる配信元サーバ1と、N箇所の各拠点に1台ずつ設置される複数の配信先サーバ2とが、拠点間ネットワーク4によって接続されて構成されている。また、配信元サーバ1には配信対象となるブートイメージを生成して配信元サーバ1に登録したり、配信先を指定したりするための保守端末3が接続されている。図示は省略しているが、各拠点にはユーザ端末に対して所定のサービスを提供するサーバ群が設置されており、各拠点の配信先サーバ2からこれらのサーバ群に必要なブートイメージを配信することで、クラスタサーバシステムとしての動作を制御するようになっている。   FIG. 1 is a diagram illustrating a configuration example of a boot image distribution system according to the present embodiment. As shown in FIG. 1, a boot image distribution system 100 includes a distribution source server 1 that is a distribution source of a boot image and a plurality of distribution destination servers 2 that are installed at each of N locations. The network 4 is connected and configured. The distribution source server 1 is connected to a maintenance terminal 3 for generating a boot image to be distributed and registering it in the distribution source server 1 or designating a distribution destination. Although not shown, a server group that provides a predetermined service to the user terminal is installed at each base, and a boot image necessary for the server group is distributed from the distribution destination server 2 at each base. By doing so, the operation as a cluster server system is controlled.

図2は、配信元サーバの構成例を示す機能ブロック図である。図2に示すように、配信元サーバ1は、ブートイメージ受付部11、パーツ分割部12、再配布パーツ割当部13、再配布パーツ配信部14、及び記憶部15を備えている。記憶部15には、ブートイメージ情報151、複数のブートイメージファイル152、パーツ情報153、配信先サーバ情報154、及び分割数決定テーブル155などが記憶される。   FIG. 2 is a functional block diagram illustrating a configuration example of the distribution source server. As illustrated in FIG. 2, the distribution source server 1 includes a boot image reception unit 11, a parts division unit 12, a redistribution part allocation unit 13, a redistribution part distribution unit 14, and a storage unit 15. The storage unit 15 stores boot image information 151, a plurality of boot image files 152, part information 153, distribution destination server information 154, a division number determination table 155, and the like.

配信元サーバ1は、例えばコンピュータによって構成され、不図示のCPU(Central Processing Unit)が記憶部15に記憶された所定のブートイメージ配信プログラムを実行することによって、これらの各機能部が具現化される。   The distribution source server 1 is configured by a computer, for example, and a CPU (Central Processing Unit) (not shown) executes a predetermined boot image distribution program stored in the storage unit 15, so that each of these functional units is realized. The

ブートイメージ受付部11は、保守端末3からブートイメージの配信要求を受け付ける。このとき、保守端末3からは、ブートイメージの本体とともに、当該ブートイメージの識別情報であるイメージID(Identification)や適用機種などの情報と、当該ブートイメージの配信先拠点または配信先サーバを指定する情報が送信されるものとする。   The boot image receiving unit 11 receives a boot image distribution request from the maintenance terminal 3. At this time, the maintenance terminal 3 specifies the boot image main body, information such as the image ID (Identification) that is identification information of the boot image and the applicable model, and the distribution destination base or distribution destination server of the boot image. Information shall be transmitted.

ブートイメージ受付部11は、保守端末3から受信したブートイメージの本体をブートイメージファイル152として記憶部15に記憶させ、保守端末3から同時に受信した当該ブートイメージに関する情報とブートイメージファイル152の記憶位置を示すファイルパスとを関連付けて、ブートイメージ情報151(図4参照)として記憶部15に記憶させる。   The boot image reception unit 11 stores the main body of the boot image received from the maintenance terminal 3 in the storage unit 15 as the boot image file 152, and information on the boot image received simultaneously from the maintenance terminal 3 and the storage location of the boot image file 152 Are stored in the storage unit 15 as boot image information 151 (see FIG. 4).

パーツ分割部12は、配信対象のブートイメージファイル152を複数のパーツに分割するための分割数を決定し、複数パーツへの分割を行う。複数パーツへの分割方法は任意であるが、各パーツのサイズはなるべく偏りがないことが好ましい。そのためには、ブートイメージファイル152のサイズを分割数で割ることでパーツのサイズを求め、求めたサイズで先頭から順に各パーツに分割するようにしてもよい。あるいは、パーツへの分割位置を後記するチャンク間の境界とし、端数となるチャンク及び端数のデータを最後のパーツに含めることで、各パーツを構成するチャンク数を求め、求めたチャンク数を用いて各パーツに分割するようにしてもよい。パーツ分割部12は、分割したそれぞれのパーツに関する情報と当該パーツのデータの記憶位置を示す送信データアドレスとを関連付けて、パーツ情報153(図5参照)として記憶部26に記憶させる。複数パーツへの分割数は、配信先の拠点数M(2≦M≦N)と拠点間に設定可能なリンク数Lとをパラメータとして最適な分割数Dを規定する分割数決定テーブル155(図17参照、本発明の分割数を決定するために参照される所定のテーブル)を参照して決定される。   The parts dividing unit 12 determines the number of divisions for dividing the boot image file 152 to be distributed into a plurality of parts, and divides the boot image file 152 into a plurality of parts. The method of dividing into a plurality of parts is arbitrary, but it is preferable that the size of each part is as biased as possible. For this purpose, the size of the part may be obtained by dividing the size of the boot image file 152 by the number of divisions, and the obtained size may be divided into parts in order from the top. Alternatively, the division position into parts is defined as a boundary between chunks to be described later, and the number of chunks constituting each part is obtained by including the chunk and the data of the fraction in the last part, and using the obtained number of chunks You may make it divide | segment into each part. The parts dividing unit 12 associates the information on each divided part with the transmission data address indicating the storage position of the data of the part, and causes the storage unit 26 to store the information as part information 153 (see FIG. 5). The number of divisions into a plurality of parts is the division number determination table 155 that defines the optimum division number D using the number of distribution destination sites M (2 ≦ M ≦ N) and the number of links L that can be set between the sites as parameters (see FIG. 17 and a predetermined table referred to in order to determine the number of divisions of the present invention.

再配布パーツ割当部13は、分割されたそれぞれのパーツについて、それを再配布パーツとして他の配信先サーバ2に配信する配信先サーバ2を少なくとも1台ずつ割り当てる。割当て方法は、M台の配信先サーバ2を任意の基準で順序付けしておき、例えば先頭から順にそれぞれ異なるD個の再配布パーツの順列を繰り返して割り当てるものとすればよい。   The redistribution part allocation unit 13 allocates at least one distribution destination server 2 that distributes each divided part to another distribution destination server 2 as a redistribution part. As an allocation method, M distribution destination servers 2 may be ordered in accordance with an arbitrary standard, and for example, permutations of D redistribution parts that are different from the top may be allocated repeatedly.

再配布パーツ配信部14は、各配信先サーバ2に割り当てられた再配布パーツを所定サイズ(例えば64Kバイト)のチャンクに分割して、全配信先サーバ2に並列配信を行う。このとき、再配布パーツ配信部14は、各配信先サーバ2に対し、ブートイメージ情報151(図4参照)に登録された当該ブートイメージのイメージID、ファイルサイズ及び適用機種をも合わせて通知する。さらに、再配信パーツ以外の残りのパーツである残パーツの取得先を各配信先サーバ2に対して通知するものとしてもよい。   The redistribution part distribution unit 14 divides the redistribution parts assigned to each distribution destination server 2 into chunks of a predetermined size (for example, 64 Kbytes), and performs parallel distribution to all distribution destination servers 2. At this time, the redistribution part distribution unit 14 notifies each distribution destination server 2 together with the image ID, file size, and applicable model of the boot image registered in the boot image information 151 (see FIG. 4). . Furthermore, the distribution destination server 2 may be notified of the acquisition destination of the remaining parts that are the remaining parts other than the redistribution parts.

残パーツの取得先の割当て方法は任意であるが、例えば、各配信先サーバ2は、所定の基準で順序付けされたM台の配信先サーバ2のなかの自身よりも上位であって最も順位が近いサーバをそれぞれの残パーツの取得先とすればよい。あるいは、配信先の拠点数Mが分割数Dの倍数である場合には、M台のサーバをD台毎にグループ分けし、グループ内の他の配信先サーバ2をそれぞれの残パーツの取得先としてもよい。   The method of assigning the acquisition destination of the remaining parts is arbitrary. For example, each distribution destination server 2 is higher than the M distribution destination servers 2 ordered according to a predetermined standard, and has the highest rank. What is necessary is just to use the near server as the acquisition destination of each remaining part. Alternatively, when the number M of distribution destination bases is a multiple of the division number D, the M servers are grouped by D units, and the other distribution destination servers 2 in the group are acquired from the remaining parts. It is good.

さらに、配信先の拠点数Mが分割数Dの倍数でない場合において、当該ブートイメージの配信先ではない他の配信先サーバ2を再配布パーツの配信先に加えることで配信先サーバ数が分割数Dの倍数となるときは、再配布パーツの配信を補助する他の配信先サーバ2を再配布パーツの配信先に加えてもよい。それにより、全ての再配布パーツを配信先サーバ2間で再配信するときの並列度を最大とすることができる。   Further, when the number of distribution destination bases M is not a multiple of the division number D, the distribution destination server number is divided by adding another distribution destination server 2 that is not the distribution destination of the boot image to the distribution destination of the redistribution part. When it is a multiple of D, another distribution destination server 2 that assists the distribution of the redistribution parts may be added to the distribution destination of the redistribution parts. Thereby, the degree of parallelism when all the redistributed parts are redistributed between the distribution destination servers 2 can be maximized.

図3は、配信先サーバの構成例を示す機能ブロック図である。図3に示すように、配信先サーバ2は、再配布パーツ受信部21、再配布パーツ送信部22、残パーツ取得部23、ブートイメージ復元部24、ブートイメージ配信部25、及び記憶部26を備えている。記憶部26には、ブートイメージ情報261、複数のブートイメージファイル262、パーツ情報263、取得先サーバ情報264、及び複数のパーツ265などが記憶される。   FIG. 3 is a functional block diagram illustrating a configuration example of the distribution destination server. As shown in FIG. 3, the distribution destination server 2 includes a redistribution part reception unit 21, a redistribution part transmission unit 22, a remaining part acquisition unit 23, a boot image restoration unit 24, a boot image distribution unit 25, and a storage unit 26. I have. The storage unit 26 stores boot image information 261, a plurality of boot image files 262, parts information 263, acquisition server information 264, a plurality of parts 265, and the like.

配信先サーバ2は、例えばコンピュータによって構成され、不図示のCPUが記憶部26に記憶された所定のブートイメージ送受信プログラムを実行することによって、これらの各機能部が具現化される。   The distribution destination server 2 is configured by, for example, a computer, and a CPU (not shown) executes a predetermined boot image transmission / reception program stored in the storage unit 26, thereby realizing these functional units.

再配布パーツ受信部21は、配信元サーバ1からチャンク単位で受信した再配布パーツのデータを、パーツ265として順次記憶部26に記憶させ、その再配布パーツに関する情報とデータの記憶位置を示す受信データアドレスとを関連付けて、パーツ情報263として記憶部26に記憶させる。   The redistribution part receiving unit 21 sequentially stores the redistribution part data received from the distribution source server 1 in units of chunks as a part 265 in the storage unit 26, and receives information indicating the storage position of the information and data regarding the redistribution part. The data address is associated and stored in the storage unit 26 as part information 263.

また、再配布パーツ受信部21は、配信元サーバ1から残りのパーツを取得すべき他の配信先サーバ2を指定する情報を受信した場合は、当該配信先サーバ2を指定する情報をパーツ情報263の取得先サーバID(図8参照)に登録する。他方、そのような情報を配信元サーバ1から受信しない場合は、再配布パーツ受信部21が所定のルールによって取得先とする配信先サーバ2を決定し、当該配信先サーバ2の情報をパーツ情報263の取得先サーバIDに登録する。   In addition, when the redistribution part receiving unit 21 receives information specifying another distribution destination server 2 from which the remaining parts should be acquired from the distribution source server 1, the redistribution part receiving unit 21 sets the information specifying the distribution destination server 2 as part information. It registers with the acquisition destination server ID of H.263 (see FIG. 8). On the other hand, when such information is not received from the distribution source server 1, the redistribution parts receiving unit 21 determines a distribution destination server 2 as an acquisition destination according to a predetermined rule, and the information of the distribution destination server 2 is used as part information. It registers with the acquisition destination server ID of H.263.

再配布パーツ送信部22は、他の配信先サーバ2からの再配布パーツの取得要求に応じて、受信済みの再配布パーツのデータをパーツ265から読み出して当該配信先サーバ2にチャンク単位で送信する。複数の配信先サーバ2から同時に再配布パーツの取得要求を受けた場合には、それらの送信は全て並列に実行される。   The redistribution part transmission unit 22 reads the received redistribution part data from the part 265 and transmits it to the distribution destination server 2 in units of chunks in response to a redistribution part acquisition request from another distribution destination server 2. To do. When receiving a request for acquiring redistributed parts simultaneously from a plurality of distribution destination servers 2, all of the transmissions are executed in parallel.

残パーツ取得部23は、配信元サーバ1から自身に配信されなかった残りのパーツである残パーツのそれぞれを、パーツ情報263の取得先サーバID(図8参照)によって特定される他の配信先サーバ2から取得する。具体的には、当該他の配信先サーバ2に対して再配布パーツの取得要求を送信し、その応答として送信される再配布パーツのデータをチャンク単位で受信して、パーツ265として順次記憶部26に記憶させ、その再配布パーツに関する情報とデータの記憶位置を示す受信データアドレスとを関連付けて、パーツ情報263として記憶部26に記憶させる。これら残パーツの取得は、パーツ毎に全て並列に実行される。   The remaining parts acquisition unit 23 determines the remaining parts, which are the remaining parts that have not been distributed from the distribution source server 1, to other distribution destinations identified by the acquisition destination server ID (see FIG. 8) of the part information 263. Obtain from the server 2. Specifically, a redistribution part acquisition request is transmitted to the other distribution destination server 2, and redistribution part data transmitted as a response is received in chunks, and sequentially stored as a part 265. 26, the information on the redistributed part and the received data address indicating the data storage position are associated with each other and stored in the storage unit 26 as the part information 263. Acquisition of these remaining parts is executed in parallel for each part.

ブートイメージ復元部24は、パーツ265のデータが全て揃ったのちに、それらのパーツ265を結合して元のブートイメージファイルを復元し、ブートイメージファイル262として記憶部26に記憶させる。また、当該ブートイメージに関する情報とブートイメージファイル262の記憶位置を示すファイルパスとを関連付けて、ブートイメージ情報261(図7参照)として記憶部26に記憶させる。   After all the data of the parts 265 are prepared, the boot image restoration unit 24 combines the parts 265 to restore the original boot image file and stores it in the storage unit 26 as the boot image file 262. Further, the information related to the boot image and the file path indicating the storage location of the boot image file 262 are associated with each other and stored in the storage unit 26 as boot image information 261 (see FIG. 7).

ブートイメージ配信部25は、ユーザ端末に対して所定のサービスを提供する配下のサーバ群からブートイメージの配信要求を受け付け、それらのサーバ群のそれぞれに対応するブートイメージのデータをブートイメージファイル262から読み出して、当該サーバに送信する。   The boot image distribution unit 25 receives a boot image distribution request from a subordinate server group that provides a predetermined service to the user terminal, and receives boot image data corresponding to each of these server groups from the boot image file 262. Read and send to the server.

図4は、配信元サーバ1上のブートイメージ情報の構成及びデータ例を示す図である。図4に示すように、配信元サーバ1上のブートイメージ情報151には、イメージID、ファイルパス、ファイルサイズ、及び適用機種からなるレコードが、それぞれのブートイメージ毎に登録される。   FIG. 4 is a diagram illustrating a configuration and data example of boot image information on the distribution source server 1. As shown in FIG. 4, in the boot image information 151 on the distribution source server 1, a record including an image ID, a file path, a file size, and an applicable model is registered for each boot image.

イメージIDとは、それぞれのブートイメージを一意に識別するために付される識別情報である。ファイルパスとは、該当するブートイメージファイル152が登録されている位置を示す情報である。ファイルサイズとは、該当するブートイメージファイル152のファイルサイズである。適用機種とは、該当するブートイメージファイル152の配信対象となるサーバの機種を示す情報である。   The image ID is identification information given to uniquely identify each boot image. The file path is information indicating a position where the corresponding boot image file 152 is registered. The file size is the file size of the corresponding boot image file 152. The applied model is information indicating the model of the server to which the corresponding boot image file 152 is distributed.

図5は、配信元サーバ1上のパーツ情報の構成及びデータ例を示す図である。図5に示すように、配信元サーバ1上のパーツ情報153には、パーツ番号、送信データアドレス、及びデータサイズからなるレコードが、それぞれのパーツ毎に登録される。   FIG. 5 is a diagram illustrating a configuration of part information on the distribution source server 1 and a data example. As shown in FIG. 5, in the part information 153 on the distribution source server 1, a record including a part number, a transmission data address, and a data size is registered for each part.

パーツ番号とは、それぞれのパーツを一意に識別するために付される一連番号である。送信データアドレスとは、該当するパーツの先頭データの位置情報である。データサイズとは、該当するパーツのデータサイズである。   The part number is a serial number assigned to uniquely identify each part. The transmission data address is position information of the head data of the corresponding part. The data size is the data size of the corresponding part.

図6は、配信元サーバ1上の配信先サーバ情報の構成及びデータ例を示す図である。図6に示すように、配信元サーバ1上の配信先サーバ情報154には、サーバID、IPアドレス、再配布パーツ番号、チャンク数、及び送信チャンク番号からなるレコードが、それぞれの配信先サーバ毎に登録される。   FIG. 6 is a diagram illustrating a configuration of the distribution destination server information on the distribution source server 1 and a data example. As shown in FIG. 6, in the distribution destination server information 154 on the distribution source server 1, a record including a server ID, an IP address, a redistribution part number, a number of chunks, and a transmission chunk number is stored for each distribution destination server. Registered in

サーバIDとは、それぞれの配信先サーバ2を一意に識別するために付される識別情報である。IP(Internet Protocol)アドレスとは、該当する配信先サーバ2にデータを送信するために用いるアドレス情報である。再配布パーツ番号とは、該当する配信先サーバに割り当てられた再配布パーツの識別番号である。チャンク数とは、当該再配布パーツのデータを構成するチャンクの数である。送信チャンク番号とは、該当する配信先サーバ2に当該再配布パーツを送信するときの次のチャンク番号であり、最初は「1」に設定される。この送信チャンク番号の値は、1つのチャンクの送信が終了する毎に1ずつ増えていき、全てのチャンクの送信が完了したときには該当するチャンク数の値と等しくなる。   The server ID is identification information given to uniquely identify each distribution destination server 2. The IP (Internet Protocol) address is address information used for transmitting data to the corresponding distribution destination server 2. The redistribution part number is an identification number of a redistribution part assigned to the corresponding distribution destination server. The number of chunks is the number of chunks constituting the data of the redistributed part. The transmission chunk number is the next chunk number when the redistribution part is transmitted to the corresponding distribution destination server 2, and is initially set to “1”. The value of the transmission chunk number is incremented by 1 every time transmission of one chunk is completed, and becomes equal to the value of the corresponding chunk number when transmission of all chunks is completed.

図7は、配信先サーバ2上のブートイメージ情報の構成及びデータ例を示す図である。図7の例は図15にて後記する配信先サーバ[SVR2]2−2についてのデータ例である。このブートイメージ情報261には、当該配信先サーバ[SVR2]2−2からブートイメージが配信される配下のサーバ群に配信すべき全てのブートイメージ毎に、イメージID、ファイルパス、ファイルサイズ、適用機種からなるレコードが登録される。   FIG. 7 is a diagram illustrating a configuration and data example of boot image information on the distribution destination server 2. The example of FIG. 7 is an example of data for the distribution destination server [SVR2] 2-2, which will be described later with reference to FIG. The boot image information 261 includes an image ID, a file path, a file size, and an application for every boot image to be distributed to the subordinate server group to which the boot image is distributed from the distribution destination server [SVR2] 2-2. A record consisting of the model is registered.

イメージIDとは、それぞれのブートイメージを一意に識別するために付される識別情報である。ファイルパスとは、該当するブートイメージファイル262が登録されている位置を示す情報である。ファイルサイズとは、該当するブートイメージファイル262のファイルサイズである。適用機種とは、該当するブートイメージファイル262の配信対象となるサーバの機種を示す情報である。   The image ID is identification information given to uniquely identify each boot image. The file path is information indicating a position where the corresponding boot image file 262 is registered. The file size is the file size of the corresponding boot image file 262. The applicable model is information indicating the model of the server to which the corresponding boot image file 262 is distributed.

図8は、配信先サーバ2上のパーツ情報の構成及びデータ例を示す図である。図8の例は図15にて後記する配信先サーバ[SVR2]2−2についてのデータ例である。このパーツ情報263には、配信中のブートイメージを構成する全てのパーツ毎に、パーツ番号、取得先サーバID、IPアドレス、データサイズ、及び受信データアドレスからなるレコードが登録される。   FIG. 8 is a diagram illustrating a configuration and data example of part information on the distribution destination server 2. The example of FIG. 8 is an example of data for the delivery destination server [SVR2] 2-2, which will be described later with reference to FIG. In the part information 263, a record including a part number, an acquisition destination server ID, an IP address, a data size, and a received data address is registered for every part constituting the boot image being distributed.

パーツ番号とは、それぞれのパーツを一意に識別するために付される一連番号である。取得先サーバIDとは、該当するパーツの取得先となる他の配信先サーバを特定するための識別情報である。IPアドレスとは、該当する配信先サーバ2にデータを送信するために用いるアドレス情報である。データサイズとは、該当するパーツのデータサイズである。受信データアドレスとは、該当するパーツのデータを格納したパーツ265の先頭データの位置情報である。   The part number is a serial number assigned to uniquely identify each part. The acquisition destination server ID is identification information for specifying another distribution destination server that is an acquisition destination of the corresponding part. The IP address is address information used for transmitting data to the corresponding distribution destination server 2. The data size is the data size of the corresponding part. The reception data address is position information of the head data of the part 265 storing the data of the corresponding part.

なお、当該配信先サーバ[SVR2]2−2に割り当てられた再配布パーツであるP2に該当するレコードの取得先サーバIDとIPアドレスとは、いずれも「−」となっている。また、括弧付きの受信データアドレス「rda1」及び「rda3」は、他の配信先サーバ2から該当するパーツのデータの受信を開始する時点で、記憶部26に必要なサイズの空きエリアが確保され、動的にアドレスが決定される。   Note that the acquisition destination server ID and the IP address of the record corresponding to P2 which is the redistribution part assigned to the distribution destination server [SVR2] 2-2 are both “-”. In addition, the reception data addresses “rda1” and “rda3” in parentheses have an empty area of a necessary size in the storage unit 26 at the time when reception of data of the corresponding part from the other distribution destination server 2 is started. The address is determined dynamically.

図9は、配信先サーバ2上の取得先サーバ情報の構成及びデータ例を示す図である。図9の例は図15にて後記する配信先サーバ[SVR2]2−2についてのデータ例である。この取得先サーバ情報264には、配信中のブートイメージを構成する全てのパーツの取得先及び再配布先毎に、サーバID、IPアドレス、パーツ番号、送受信別、チャンク数、及び送受信チャンク番号からなるレコードが登録される。   FIG. 9 is a diagram illustrating a configuration and data example of acquisition destination server information on the distribution destination server 2. The example of FIG. 9 is a data example of the distribution destination server [SVR2] 2-2, which will be described later with reference to FIG. The acquisition destination server information 264 includes a server ID, an IP address, a part number, a separate transmission / reception, a number of chunks, and a transmission / reception chunk number for each acquisition destination and redistribution destination of all the parts constituting the boot image being distributed. Record is registered.

サーバIDとは、該当するパーツの取得先または再配布先となるサーバを特定するための識別情報である。IPアドレスとは、該当するサーバとの間でデータを送受信するために用いるアドレス情報である。パーツ番号とは、該当するサーバから取得するかまたは該当するサーバが再配布するパーツの識別番号である。送受信別とは、該当するパーツのデータを送信するか受信するかの別を表すものであり、配信元サーバ1から再配布パーツを配信される場合と、他のサーバから残りのパーツを取得する場合とには「受信」となり、他のサーバからの取得要求に応じて自身の再配布パーツを送信する場合には「送信」となる。チャンク数とは、該当するパーツのデータを構成するチャンクの数である。送受信チャンク番号とは、該当する取得先からパーツを受信する、もしくは該当する再配布先に自身の再配布パーツを送信するときの次のチャンク番号であり、最初は「1」に設定される。この送受信チャンク番号の値は、1つのチャンクの送受信が終了する毎に1ずつ増えていき、全てのチャンクの送信または受信が完了したときには該当するチャンク数の値と等しくなる。   The server ID is identification information for specifying the server from which the corresponding part is acquired or redistributed. An IP address is address information used for transmitting / receiving data to / from a corresponding server. The part number is an identification number of a part acquired from the corresponding server or redistributed by the corresponding server. By transmission / reception indicates whether the data of the corresponding part is transmitted or received. When the redistribution part is distributed from the distribution source server 1, the remaining parts are acquired from other servers. In some cases, it is “reception”, and in the case of transmitting its own redistribution parts in response to an acquisition request from another server, it is “transmission”. The number of chunks is the number of chunks constituting the data of the corresponding part. The transmission / reception chunk number is the next chunk number when receiving a part from the corresponding acquisition destination or transmitting its own redistribution part to the corresponding redistribution destination, and is initially set to “1”. The value of the transmission / reception chunk number is incremented by 1 every time transmission / reception of one chunk is completed, and becomes equal to the value of the corresponding chunk number when transmission or reception of all the chunks is completed.

図10は、配信元サーバ1が実行するブートイメージ配信処理の例を示すフローチャートである。配信元サーバ1が起動されると、ステップS11にて、ブートイメージ受付部11は、保守端末3から配信対象のブートイメージを受け付ける。このとき、保守端末3から配信対象とすべき拠点群または配信先サーバ群の指定も同時に行われるものとする。ブートイメージ受付部11は、保守端末3から受信したブートイメージをブートイメージファイル152として記憶部15に追加して記憶させ、当該ブートイメージに関する情報をブートイメージ情報151(図4参照)に追加登録する。   FIG. 10 is a flowchart illustrating an example of boot image distribution processing executed by the distribution source server 1. When the distribution source server 1 is activated, the boot image receiving unit 11 receives a boot image to be distributed from the maintenance terminal 3 in step S11. At this time, the base group or the destination server group to be distributed from the maintenance terminal 3 is also specified at the same time. The boot image reception unit 11 adds the boot image received from the maintenance terminal 3 to the storage unit 15 as a boot image file 152 and stores the boot image file 152, and additionally registers information related to the boot image in the boot image information 151 (see FIG. 4). .

次に、ステップS12にて、パーツ分割部12は、受け付けたブートイメージを同一サイズの複数のパーツに分割する(本発明の分割ステップに相当)。このとき、分割数Dは、配信対象となる配信先サーバ2の台数(配信先の拠点数)Mと、それらの配信先サーバ2間で設定可能な最大のリンク数(拠点間リンク数)Lとをパラメータとして分割数決定テーブル155(図17参照)を参照することによって決定される。   Next, in step S12, the parts dividing unit 12 divides the received boot image into a plurality of parts of the same size (corresponding to the dividing step of the present invention). At this time, the division number D includes the number of distribution destination servers 2 to be distributed (the number of distribution destination bases) M and the maximum number of links (the number of links between the bases) L that can be set between the distribution destination servers 2. Are determined by referring to the division number determination table 155 (see FIG. 17).

図17に例示した分割数決定テーブル155は、縦方向を配信先の拠点数Mとし、横方向を拠点間リンク数Lとして、両者の交点に決定する分割数Dを記入した2次元配列である。M=5の場合を例に説明すると、L=2のときは、適用対象外(「×」印)、L=3、L=4またはL=5のときは、D=2、L=6のときは、D=3、L=7のときは、D=4、L=8またはL=9のときはD=5となっている。   The division number determination table 155 illustrated in FIG. 17 is a two-dimensional array in which the number of divisions D to be determined at the intersection of the two is entered, with the vertical direction being the number of distribution destination bases M and the horizontal direction being the number L of links between the bases. . The case of M = 5 will be described as an example. When L = 2, it is not applicable (“x” mark), and when L = 3, L = 4 or L = 5, D = 2, L = 6 In this case, when D = 3 and L = 7, D = 4, and when L = 8 or L = 9, D = 5.

パーツ分割部12は、ブートイメージファイル152のファイルサイズを決定した分割数Dで割ることで、パーツのデータサイズを算出し、ブートイメージファイル152における各パーツのパーツ番号と先頭データアドレスである送信データアドレスとデータサイズとからなるレコードをパーツ情報153に登録する。   The part dividing unit 12 calculates the data size of the part by dividing the file size of the boot image file 152 by the determined division number D, and transmits the part data of each part in the boot image file 152 and the first data address. A record including an address and a data size is registered in the part information 153.

図10に戻り、次に、ステップS13にて、再配布パーツ割当部13は、各配信先サーバ2に再配布パーツとして配信するパーツを割り当てる。割当ては、配信先の拠点数Mと分割数Dとに基づいて、前記した方法によって行われる。   Returning to FIG. 10, next, in step S <b> 13, the redistribution part assignment unit 13 assigns parts to be distributed as redistribution parts to each distribution destination server 2. The allocation is performed by the above-described method based on the number M of distribution destination bases and the number D of divisions.

次に、ステップS14にて、再配布パーツ配信部14は、各配信先サーバ2に割り当てられた再配布パーツをチャンク単位で並列に送信する(本発明の第一の配信ステップに相当)。そして、ステップS15にて、再配布パーツ配信部14は、パーツを構成するデータの全チャンクを送信したか否かを判定し、全チャンクを送信していなければ(ステップS15でNo)ステップS14に処理を戻して次のチャンクを送信し、全チャンクを送信した場合は(ステップS15でYes)処理を終了する。   Next, in step S14, the redistribution part distribution unit 14 transmits the redistribution parts assigned to each distribution destination server 2 in units of chunks (corresponding to the first distribution step of the present invention). Then, in step S15, the redistribution part distribution unit 14 determines whether or not all chunks of data constituting the part have been transmitted. If all chunks have not been transmitted (No in step S15), the process proceeds to step S14. When the processing is returned and the next chunk is transmitted and all chunks are transmitted (Yes in step S15), the processing is terminated.

図11は、配信先サーバ2が実行するブートイメージ送受信処理の例を示すフローチャートである。配信先サーバ2が起動されると、ステップS21にて、再配布パーツ受信部21は、配信元サーバ1から送信される再配布パーツを受信する(本発明の第一の配信ステップに相当)。この再配布パーツの受信はチャンク単位で行われ、再配布パーツ受信部21は、受信した再配布パーツのデータをパーツ265に格納するとともに、パーツ情報263(図8参照)に当該パーツに対応するレコードを追加登録する。また、再配布パーツ受信部21は、配信元サーバ1から通知されるブートイメージのイメージID、ファイルサイズ及び適用機種を示すレコード(ファイルパスは未定)をブートイメージ情報261に追加登録する。さらに、残パーツの取得先が配信元サーバ1から通知された場合には、当該取得先の情報をパーツ情報263(図8参照)に登録する。   FIG. 11 is a flowchart illustrating an example of boot image transmission / reception processing executed by the distribution destination server 2. When the distribution destination server 2 is activated, in step S21, the redistribution part receiving unit 21 receives the redistribution part transmitted from the distribution source server 1 (corresponding to the first distribution step of the present invention). The reception of the redistribution parts is performed in units of chunks, and the redistribution part reception unit 21 stores the received data of the redistribution parts in the part 265 and corresponds to the part in the part information 263 (see FIG. 8). Register additional records. In addition, the redistribution part receiving unit 21 additionally registers in the boot image information 261 a record (file path is undetermined) indicating the image ID, file size, and applicable model of the boot image notified from the distribution source server 1. Further, when the acquisition source of the remaining parts is notified from the distribution source server 1, the information of the acquisition destination is registered in the part information 263 (see FIG. 8).

次に、ステップS22にて、再配布パーツ送信部22は、ステップS21にて、他の配信先サーバ2からの取得要求に応じて受信済みの再配布パーツのチャンクを、当該他の配信先サーバ2に送信する(本発明の第二の配信ステップに相当)。このとき、再配布パーツ送信部22は、取得先サーバ情報264(図9参照)に要求元の他の配信先サーバ2に対応するレコードを追加登録する。   Next, in step S22, the redistribution part transmission unit 22 sends the received redistribution part chunk in response to the acquisition request from the other distribution destination server 2 in step S21 to the other distribution destination server. 2 (corresponding to the second distribution step of the present invention). At this time, the redistribution part transmission unit 22 additionally registers a record corresponding to the other distribution destination server 2 of the request source in the acquisition destination server information 264 (see FIG. 9).

次に、ステップS23にて、残パーツ取得部23は、ステップS21では受信されなかった他のパーツ(残パーツ)の各々を再配布パーツとして受信している他の各配信先サーバ2に対して受信済みチャンクの取得要求を送信し、当該残パーツの受信済みチャンクを受信する(本発明の第二の配信ステップに相当)。それぞれの残パーツをどの配信先サーバ2から受信するかは、パーツ情報263(図8参照)を参照して決定される。このとき、残パーツ取得部23は、取得先サーバ情報264(図9参照)に取得先の他の配信先サーバ2に対応するレコードを追加登録する。   Next, in step S23, the remaining part acquisition unit 23 receives each of the other parts (remaining parts) that were not received in step S21 as other redistribution parts. A received chunk acquisition request is transmitted, and the received chunk of the remaining part is received (corresponding to the second distribution step of the present invention). Which distribution destination server 2 receives each remaining part is determined with reference to part information 263 (see FIG. 8). At this time, the remaining part acquisition unit 23 additionally registers a record corresponding to the other distribution destination server 2 of the acquisition destination in the acquisition destination server information 264 (see FIG. 9).

次に、ステップS24では、ブートイメージ復元部24は、各パーツを構成する全チャンクを取得したか否かを判定し、まだ全チャンクを取得していなければ(ステップS24でNo)ステップS21に処理を戻して、次のチャンクについて前記の処理を繰り返す。一方、全チャンクを取得していれば(ステップS24でYes)ステップS25に処理を進める。   Next, in step S24, the boot image restoration unit 24 determines whether or not all chunks constituting each part have been acquired. If all chunks have not yet been acquired (No in step S24), the process proceeds to step S21. And the above processing is repeated for the next chunk. On the other hand, if all chunks have been acquired (Yes in step S24), the process proceeds to step S25.

ステップS25では、ブートイメージ復元部24は、取得した全チャンクからなるそれぞれのパーツを結合することによって、元のブートイメージファイルを復元する(本発明の復元ステップに相当)。ブートイメージ復元部24は、復元したブートイメージファイルをブートイメージファイル262として記憶部26に記憶させるとともに、ブートイメージ情報261(図7参照)に当該ブートイメージファイル262を格納したファイルパスを追加登録したのち、処理を終了する。   In step S25, the boot image restoration unit 24 restores the original boot image file by combining the acquired parts of all the chunks (corresponding to the restoration step of the present invention). The boot image restoration unit 24 stores the restored boot image file in the storage unit 26 as the boot image file 262 and additionally registers the file path storing the boot image file 262 in the boot image information 261 (see FIG. 7). After that, the process ends.

なお、図11のステップS21〜ステップS23は、それぞれを並列に実行するものとしてもよい。その際には、ステップS22及びS23にてそれぞれ並列に送受信するチャンクの次のチャンクが、ステップS21にてそれらと並列に受信されることとなる。   Note that steps S21 to S23 in FIG. 11 may be executed in parallel. In that case, the next chunk of the chunks transmitted and received in parallel in steps S22 and S23 is received in parallel with them in step S21.

図12は、4台の配信先サーバ2に2パーツに分割されたブートイメージを配信する場合の動作例を示すシーケンスチャートである。図において、P1及びP2はそれぞれパーツ1及びパーツ2を表し、C1及びC2はそれぞれチャンク1及びチャンク2を表す。したがって、例えば「P1(C1)送信」とは、パーツ1の1つ目のチャンク(チャンク1)を送信することを表している。   FIG. 12 is a sequence chart illustrating an operation example in the case of distributing a boot image divided into two parts to four distribution destination servers 2. In the figure, P1 and P2 represent part 1 and part 2, respectively, and C1 and C2 represent chunk 1 and chunk 2, respectively. Therefore, for example, “P1 (C1) transmission” indicates that the first chunk (chunk 1) of part 1 is transmitted.

この場合、それぞれのチャンクについて、まず始めに、配信元サーバ1(サーバID=MASTER)(以降、配信元サーバ[MASTER]1と表記)から配信先サーバ2(サーバID=SVR1)(以降、配信先サーバ[SVR1]2−1と表記、他の配信先サーバについても同様)と配信先サーバ[SVR3]2−3とへのP1の送信と、配信先サーバ[SVR2]2−2と[SVR4]2−4とへのP2の送信が並列に実行される。続いて、それぞれの配信先サーバ[SVR1]2−1〜[SVR4]2−4は、自身に送信されなかったもう1つのパーツのチャンクを、例えば自身の左隣の配信先サーバ2から取得する(ただし、配信先サーバ[SVR1]2−1の左隣の配信先サーバは配信先サーバ[SVR4]2−4であるものとする)。   In this case, for each chunk, first, the distribution source server 1 (server ID = MASTER) (hereinafter referred to as distribution source server [MASTER] 1) to the distribution destination server 2 (server ID = SVR1) (hereinafter distribution). Transmission of P1 to the destination server [SVR1] 2-1 and other delivery destination servers) and the destination server [SVR3] 2-3, and the destination servers [SVR2] 2-2 and [SVR4 ] Transmission of P2 to 2-4 is executed in parallel. Subsequently, each distribution destination server [SVR1] 2-1 to [SVR4] 2-4 acquires another part chunk that has not been transmitted to itself, for example, from the distribution destination server 2 on the left side of itself. (However, the delivery destination server on the left side of the delivery destination server [SVR1] 2-1 is the delivery destination server [SVR4] 2-4).

次のチャンクについて実行される、配信元サーバ[MASTER]1から各配信先サーバ[SVR1]2−1〜[SVR4]2−4へのパーツの配信動作と、各配信先サーバ[SVR2]2−1〜[SVR4]2−4における他のパーツの1つ前のチャンクの取得動作とは、全て並列に実行される。   Parts distribution operation from the distribution source server [MASTER] 1 to each distribution destination server [SVR1] 2-1 to [SVR4] 2-4, and each distribution destination server [SVR2] 2- 1 to [SVR4] 2-4 are all executed in parallel with the operation of acquiring the chunk immediately before another part.

図13は、4台の配信先サーバに4パーツに分割されたブートイメージを配信する場合の動作例を示すシーケンスチャートである。図において、P1〜P4はそれぞれパーツ1〜パーツ4を表し、C1及びC2はそれぞれチャンク1及びチャンク2を表す。   FIG. 13 is a sequence chart illustrating an operation example when a boot image divided into four parts is distributed to four distribution destination servers. In the figure, P1 to P4 represent part 1 to part 4, respectively, and C1 and C2 represent chunk 1 and chunk 2, respectively.

この場合、それぞれのチャンクについて、まず始めに、配信元サーバ[MASTER]1から配信先サーバ[SVR1]2−1〜[SVR4]2−4にそれぞれP1〜P4が並列に送信される。続いて、それぞれの配信先サーバ[SVR1]2−1〜[SVR4]2−4は、自身に送信されなかった残る3つのパーツのチャンクを、それぞれを受信した他の配信先サーバ2から取得する。   In this case, for each chunk, first, P1 to P4 are transmitted in parallel from the distribution source server [MASTER] 1 to the distribution destination servers [SVR1] 2-1 to [SVR4] 2-4, respectively. Subsequently, each distribution destination server [SVR1] 2-1 to [SVR4] 2-4 acquires the remaining three part chunks that were not transmitted to itself from the other distribution destination servers 2 that received them. .

次のチャンクについて実行される、配信元サーバ[MASTER]1から各配信先サーバ[SVR1]2−1〜[SVR4]2−4へのパーツの配信動作と、各配信先サーバ[SVR2]2−1〜[SVR4]2−4における他のパーツの1つ前のチャンクの取得動作とは、全て並列に実行される。   Parts distribution operation from the distribution source server [MASTER] 1 to each distribution destination server [SVR1] 2-1 to [SVR4] 2-4, and each distribution destination server [SVR2] 2- 1 to [SVR4] 2-4 are all executed in parallel with the operation of acquiring the chunk immediately before another part.

図14は、5台の配信先サーバを3台と2台との2つのグループに分けてブートイメージを配信する場合の動作例を示すシーケンスチャートである。この例では、配信先サーバ[SVR1]2−1〜[SVR3]2−3によって3台のグループが形成され、配信先サーバ[SVR4]2−4と[SVR5]2−5とによって2台のグループが形成されているものとする。図において、P1〜P3は3台のグループに配信される各パーツを、Pa,Pbは2台のグループに配信される各パーツを表し、C1及びC2はそれぞれチャンク1及びチャンク2を表す。   FIG. 14 is a sequence chart showing an operation example in the case of distributing boot images by dividing five distribution destination servers into two groups of three and two. In this example, three groups are formed by the distribution destination servers [SVR1] 2-1 to [SVR3] 2-3, and two groups are formed by the distribution destination servers [SVR4] 2-4 and [SVR5] 2-5. Assume that a group is formed. In the figure, P1 to P3 represent parts distributed to three groups, Pa and Pb represent parts distributed to two groups, and C1 and C2 represent chunk 1 and chunk 2, respectively.

この場合、それぞれのチャンクについて、まず始めに、配信元サーバ[MASTER]1から配信先サーバ[SVR1]2−1〜[SVR3]2−3にそれぞれP1〜P3が、配信先サーバ[SVR4]2−4と[SVR5]2−5とにはそれぞれPaとPbとが並列に送信される。続いて、配信先サーバ[SVR1]2−1〜[SVR3]2−3は、自身に送信されなかった残る2つのパーツのチャンクを、それぞれを受信した自身と同じグループ内の他の配信先サーバ2から取得する。これと並行して、配信先サーバ[SVR4]2−4と[SVR5]2−5とは、自身に送信されなかった残る1つのパーツのチャンクを、自身と同じグループ内のもう一方の配信先サーバ2から取得する。   In this case, for each chunk, first, P1 to P3 are distributed from the distribution source server [MASTER] 1 to the distribution destination servers [SVR1] 2-1 to [SVR3] 2-3, respectively, and the distribution destination server [SVR4] 2 -4 and [SVR5] 2-5 respectively transmit Pa and Pb in parallel. Subsequently, the delivery destination servers [SVR1] 2-1 to [SVR3] 2-3 receive other chunks of the remaining two parts that have not been transmitted to the other delivery destination servers in the same group as the recipient itself. Get from 2. In parallel with this, the delivery destination servers [SVR4] 2-4 and [SVR5] 2-5 send the remaining one part chunk that was not sent to itself to the other delivery destination in the same group as itself. Obtain from the server 2.

次のチャンクについて実行される、配信元サーバ[MASTER]1から各配信先サーバ[SVR1]2−1〜[SVR5]2−5へのパーツの配信動作と、各配信先サーバ[SVR2]2−1〜[SVR5]2−5における他のパーツの1つ前のチャンクの取得動作とは、全て並列に実行される。   Parts distribution operation from the distribution source server [MASTER] 1 to each distribution destination server [SVR1] 2-1 to [SVR5] 2-5, and each distribution destination server [SVR2] 2- 1 to [SVR5] 2-5 are all executed in parallel with the acquisition operation of the chunk immediately before another part.

図14の例では、3台のグループに配信されるP1〜P3のサイズの方が、2台のグループに配信されるPa,Pbのサイズよりも小さくなるため、3台のグループに配信されるチャンク数の方が少なく、2台のグループよりも先に配信が終了することとなる。したがって、全ての配信先サーバへの配信が完了するまでの所要時間である配信時間は、2台のグループへの配信時間(ブートイメージファイル全体を配信元サーバ1から各配信先サーバ2に並列配信する場合と比較した配信時間の比率(以降、配信時間比率)=1/2)と等しくなる。   In the example of FIG. 14, the sizes of P1 to P3 distributed to three groups are smaller than the sizes of Pa and Pb distributed to two groups, so that they are distributed to three groups. The number of chunks is smaller, and distribution ends before the two groups. Therefore, the delivery time, which is the time required to complete delivery to all delivery destination servers, is the delivery time to two groups (the entire boot image file is delivered in parallel from the delivery source server 1 to each delivery destination server 2). It is equal to the ratio of distribution time compared to the case (hereinafter, distribution time ratio) = 1/2).

図15は、6台の配信先サーバに3パーツに分割されたブートイメージを配信する場合の動作例を示すシーケンスチャートである。図において、P1〜P3は3分割された各パーツを表し、C1及びC2はそれぞれチャンク1及びチャンク2を表す。   FIG. 15 is a sequence chart showing an operation example when delivering a boot image divided into three parts to six delivery destination servers. In the figure, P1 to P3 represent parts divided into three, and C1 and C2 represent chunk 1 and chunk 2, respectively.

この場合、それぞれのチャンクについて、まず始めに、配信元サーバ[MASTER]1から配信先サーバ[SVR1]2−1と[SVR4]2−4とにP1が、配信先サーバ[SVR2]2−2と[SVR5]2−5とにP2が、配信先サーバ[SVR3]2−3と[SVR6]2−6とにP3が、それぞれ並列に送信される。続いて、配信先サーバ[SVR1]2−1〜[SVR6]2−6のそれぞれは、自身に送信されなかった残る2つのパーツのチャンクを、それぞれを受信した自身の左側で最も近い他の配信先サーバ2から取得する(ただし、配信先サーバ[SVR1]2−1の左隣の配信先サーバは配信先サーバ[SVR6]2−6であるものとする)。   In this case, for each chunk, first, P1 is distributed from the distribution source server [MASTER] 1 to the distribution destination servers [SVR1] 2-1 and [SVR4] 2-4, and the distribution destination server [SVR2] 2-2. And [SVR5] 2-5 are transmitted in parallel, and P3 is transmitted in parallel to the delivery destination servers [SVR3] 2-3 and [SVR6] 2-6, respectively. Subsequently, each of the distribution destination servers [SVR1] 2-1 to [SVR6] 2-6 receives other chunks of the remaining two parts that have not been transmitted to itself, on the left side of each of the distribution destination servers [SVR1] 2-1 to [SVR6] 2-6. Obtained from the destination server 2 (provided that the destination server on the left side of the destination server [SVR1] 2-1 is the destination server [SVR6] 2-6).

次のチャンクについて実行される、配信元サーバ[MASTER]1から各配信先サーバ[SVR1]2−1〜[SVR6]2−6へのパーツの配信動作と、各配信先サーバ[SVR2]2−1〜[SVR6]2−6における他のパーツの1つ前のチャンクの取得動作とは、全て並列に実行される。   Parts distribution operation from the distribution source server [MASTER] 1 to each distribution destination server [SVR1] 2-1 to [SVR6] 2-6, and each distribution destination server [SVR2] 2- 1 to [SVR6] 2-6 are all executed in parallel with the acquisition operation of the chunk immediately before another part.

図15の例では、それぞれの配信先サーバ2が、3分割されたパーツのチャンクを並列に受信することとなるので、全ての配信先サーバ2への配信が完了するまでの所要時間である配信時間は、3台のグループへの配信時間(配信時間比率=1/3)と等しくなる。   In the example of FIG. 15, each delivery destination server 2 receives the chunks of the parts divided into three parts in parallel, so delivery that is the time required to complete delivery to all delivery destination servers 2. The time is equal to the distribution time to three groups (distribution time ratio = 1/3).

なお、図15の例では、それぞれの配信先サーバ2が、自身に配信されなかった残る2つのパーツを自身の左側で最も近い他の配信先サーバ2から取得するものとしたが、6台の配信先サーバ2を3台ずつの2つのグループに分けて、自身に配信されなかった残る2つのパーツを自身と同じグループの他の配信先サーバ2から取得するものとしてもよい。   In the example of FIG. 15, each delivery destination server 2 acquires the remaining two parts that were not delivered to itself from the other delivery destination server 2 nearest to its left side. The distribution destination server 2 may be divided into two groups of three, and the remaining two parts that were not distributed to itself may be acquired from another distribution destination server 2 in the same group as itself.

図16は、配信先の拠点数Mと拠点間リンク数Lに対応する分割数Dと配信時間比率との関係を一覧にして示した図である。例えば、No.が「1」である1行目のデータは、L=2でM=2,4,6,8,・・・(Mが偶数)である場合には、D=2とすることで配信時間比率が「1/2」となることを表している。同様に、No.が「2」である2行目のデータは、L=3でM=3,5,7,9,・・・(Mが奇数)である場合も、D=2とすることで配信時間比率が「1/2」となることを表している。   FIG. 16 is a diagram showing a list of relationships between the number of divisions D corresponding to the number M of distribution destination sites and the number L of links between sites and the distribution time ratio. For example, no. The data of the first row in which “1” is “1” is the distribution time by setting D = 2 when L = 2 and M = 2, 4, 6, 8,... (M is an even number). It represents that the ratio is “1/2”. Similarly, no. The data of the second row with “2” is the distribution time ratio by setting D = 2 even when L = 3 and M = 3, 5, 7, 9,... (M is an odd number). Represents “½”.

また、No.が「3」である3行目のデータは、L=4でM=3,6,9,12,・・・(Mが3の倍数)である場合には、D=3とすることで配信時間比率が「1/3」となることを表している。4行目以後のデータについては詳しい説明を省略するが、いずれの場合も配信時間比率を「1/2」〜「1/5」に低減できることがわかる。   No. The data in the third row with “3” is D = 3 when L = 4 and M = 3, 6, 9, 12,... (M is a multiple of 3). This indicates that the distribution time ratio is “1/3”. Although detailed explanation is omitted about the data after the 4th line, it turns out that a distribution time ratio can be reduced to "1/2"-"1/5" in any case.

以上説明したように、本実施形態によれば、配信元サーバ1から各配信先サーバ2への再配布パーツの配信と、配信先サーバ2同士の間の再配布パーツの再配信とを、チャンク単位で並列に実行することができるので、同一のブートイメージファイルを複数の配信先サーバ2に配信するときの配信時間を短くすることができる。
ことができる。
As described above, according to the present embodiment, the distribution of the redistribution parts from the distribution source server 1 to each distribution destination server 2 and the redistribution of the redistribution parts between the distribution destination servers 2 are chunked. Since the processes can be executed in parallel in units, it is possible to shorten the delivery time when delivering the same boot image file to a plurality of delivery destination servers 2.
be able to.

以上にて本発明を実施する形態の説明を終えるが、本発明の実施の態様はこれに限られるものではなく、本発明の趣旨を逸脱しない範囲において各種の変形が可能である。   Although the description of the embodiment of the present invention has been completed above, the embodiment of the present invention is not limited to this, and various modifications can be made without departing from the spirit of the present invention.

1 配信元サーバ
11 ブートイメージ受付部
12 パーツ分割部
13 再配布パーツ割当部
14 再配布パーツ配信部
15 記憶部
151 ブートイメージ情報
152 ブートイメージファイル
153 パーツ情報
154 配信先サーバ情報
155 分割数決定テーブル(分割数を決定するために参照される所定のテーブル)
2,2−1〜2−6 配信先サーバ
21 再配布パーツ受信部
22 再配布パーツ送信部
23 残パーツ取得部
24 ブートイメージ復元部
25 ブートイメージ配信部
26 記憶部
261 ブートイメージ情報
262 ブートイメージファイル
263 パーツ情報
264 取得先サーバ情報
265 パーツ
3 保守端末
4 拠点間ネットワーク
100 ブートイメージ配信システム
DESCRIPTION OF SYMBOLS 1 Distribution origin server 11 Boot image reception part 12 Parts division part 13 Redistribution part allocation part 14 Redistribution part delivery part 15 Storage part 151 Boot image information 152 Boot image file 153 Parts information 154 Delivery destination server information 155 Division number determination table ( A predetermined table that is referenced to determine the number of partitions)
2, 2-1 to 2-6 Distribution destination server 21 Redistributed parts receiving unit 22 Redistributed parts transmitting unit 23 Remaining parts acquiring unit 24 Boot image restoring unit 25 Boot image distributing unit 26 Storage unit 261 Boot image information 262 Boot image file 263 Parts information 264 Acquisition destination server information 265 Parts 3 Maintenance terminal 4 Network between bases 100 Boot image distribution system

Claims (4)

同一のブートイメージファイルを複数の配信先サーバに配信するブートイメージ配信方法であって、
配信元サーバが、前記ブートイメージファイルの配信要求を受け付けて、当該ブートイメージファイルを複数のパーツに分割する分割ステップと、
前記複数パーツのそれぞれを、所定サイズのチャンクに分割して、前記分割したチャンクから成るパーツの一つを、前記配信元サーバから前記配信先サーバのうちの少なくとも1台に再配布パーツとして、前記チャンク単位で、配信することを、全配信先サーバに対して並列で行う第一の配信ステップと、
前記配信先サーバのそれぞれが、自身に配信された前記再配布パーツを前記配信先サーバ毎に予め定められた他の配信先サーバに前記チャンク単位で並列送信するとともに、自身に配信された前記再配布パーツ以外の残パーツを前記配信先サーバ毎に予め定められた他の配信先サーバから前記チャンク単位で並列受信する第二の配信ステップと、
前記配信先サーバのそれぞれが、前記第一の配信ステップで受信した前記再配布パーツと前記第二の配信ステップで受信した前記残パーツとを結合して、前記ブートイメージファイルを復元する復元ステップと、を含み
前記残パーツの取得先に関する割当て手法は、前記配信先サーバの数が前記パーツの分割数の倍数である場合には、前記配信先サーバを前記分割数台毎にグループ分けし、該グループ内の他の前記配信先サーバをそれぞれの前記残パーツの取得先とすること、または、前記配信先サーバの数が前記パーツの前記分割数の倍数でない場合において、前記ブートイメージファイルの配信先ではない前記他の配信先サーバを前記再配布パーツの配信先に加えることで前記配信先サーバの数が前記分割数の倍数となるときは、前記再配布パーツの配信を補助する前記他の配信先サーバを前記再配布パーツの配信先に加え、前記グループ分けして前記残パーツの取得先とすること、を含んでなり、
記第二の配信ステップにおける前記チャンクの並列送信及び並列受信は、前記第一の配信ステップにおける当該チャンクの次のチャンクの並列配信と並列に実行される
ことを特徴とするブートイメージ配信方法。
A boot image distribution method for distributing the same boot image file to a plurality of distribution destination servers,
A distribution step in which the distribution source server receives the boot image file distribution request and divides the boot image file into a plurality of parts;
Each of the plurality of parts, is divided into chunks of predetermined size, one of the parts consisting of the divided chunks, as at least redistribute part to one of said distribution destination server from said distribution source server, A first distribution step of performing distribution in units of chunks in parallel to all distribution destination servers ;
Each of the delivery destination servers transmits the redistributed parts delivered to itself in parallel to the other delivery destination servers predetermined for each delivery destination server in units of chunks, and the redistributed parts delivered to itself. A second distribution step of receiving, in parallel, the remaining parts other than the distribution parts in units of the chunks from other distribution destination servers predetermined for each distribution destination server;
A restoration step in which each of the delivery destination servers combines the redistribution part received in the first delivery step and the remaining part received in the second delivery step to restore the boot image file; Including ,
When the number of distribution destination servers is a multiple of the number of divisions of the parts, the allocation method related to the acquisition destination of the remaining parts is to group the distribution destination servers into the division units, The other delivery destination servers are the acquisition destinations of the remaining parts, or when the number of delivery destination servers is not a multiple of the division number of the parts, the boot image file is not the delivery destination. When another distribution destination server is added to the distribution destination of the redistribution part, and the number of distribution destination servers is a multiple of the division number, the other distribution destination server that assists the distribution of the redistribution part is In addition to the distribution destination of the redistributed parts, the grouping is made an acquisition destination of the remaining parts,
Before SL parallel transmission and parallel reception of the chunk in the second delivery step, the boot image distribution method characterized in that it is performed in parallel distributed in parallel with the next chunk of the chunk in the first distribution step.
請求項1に記載のブートイメージ配信方法において、
前記分割ステップにて前記複数パーツに分割するときの分割数は、前記同一のブートイメージファイルを配信すべき前記配信先サーバの数とそれらの配信先サーバ間で設定可能な配信先サーバ当たりのリンク数とをパラメータとして分割数を決定するために参照される所定のテーブルを参照して決定される
ことを特徴とするブートイメージ配信方法。
The boot image delivery method according to claim 1,
The number of divisions when dividing into the plurality of parts in the division step is the number of the distribution destination servers to which the same boot image file should be distributed and the distribution destination servers that can be set between the distribution destination servers. A boot image distribution method characterized by being determined with reference to a predetermined table referred to for determining the number of divisions using the number of links as a parameter.
配信元サーバが、同一のブートイメージファイルを複数の配信先サーバに配信するブートイメージ配信システムであって、
前記配信元サーバは、
前記ブートイメージファイルの配信要求を受け付けるブートイメージ受付部と、
当該ブートイメージファイルを複数のパーツに分割するパーツ分割部と、
前記複数パーツのそれぞれを、所定サイズのチャンクに分割して、前記分割したチャンクから成るパーツの一つを、前記配信元サーバから前記配信先サーバのうちの少なくとも1台に再配布パーツとして、前記チャンク単位で、配信することを、全配信先サーバに対して並列で行う再配布パーツ配信部とを備え、
前記配信先サーバのそれぞれは、
自身に配信された前記再配布パーツを前記チャンク単位で受信する再配布パーツ受信部と、
受信した前記再配布パーツを、前記配信先サーバ毎に予め定められた他の配信先サーバに前記チャンク単位で並列送信する再配布パーツ送信部と、
自身に配信された前記再配布パーツ以外の残パーツを、前記配信先サーバ毎に予め定められた他の配信先サーバから前記チャンク単位で並列受信する残パーツ取得部と、
前記再配布パーツ受信部が受信した前記再配布パーツと、前記残パーツ取得部が受信した前記残パーツとを結合して、前記ブートイメージファイルを復元するブートイメージ復元部と、を備え
前記再配布パーツ配信部は、前記残パーツの取得先に関する割当て手法として、前記配信先サーバの数が前記パーツの分割数の倍数である場合には、前記配信先サーバを前記分割数台毎にグループ分けし、該グループ内の他の前記配信先サーバをそれぞれの前記残パーツの取得先とすること、または、前記配信先サーバの数が前記パーツの前記分割数の倍数でない場合において、前記ブートイメージファイルの配信先ではない前記他の配信先サーバを前記再配布パーツの配信先に加えることで前記配信先サーバの数が前記分割数の倍数となるときは、前記再配布パーツの配信を補助する前記他の配信先サーバを前記再配布パーツの配信先に加え、前記グループ分けして前記残パーツの取得先とすること、を含んで実行し、
記再配布パーツ送信部における前記チャンクの並列送信及び前記残パーツ取得部における前記チャンクの並列受信と、前記再配布パーツ受信部における当該チャンクの次のチャンクの受信とが、並列に実行される
ことを特徴とするブートイメージ配信システム。
The distribution source server is a boot image distribution system that distributes the same boot image file to a plurality of distribution destination servers,
The distribution source server is:
A boot image receiving unit that receives a distribution request for the boot image file;
A parts dividing unit for dividing the boot image file into a plurality of parts;
Each of the plurality of parts, is divided into chunks of predetermined size, one of the parts consisting of the divided chunks, as at least redistribute part to one of said distribution destination server from said distribution source server, A redistribution part distribution unit that performs distribution in units of chunks in parallel to all distribution destination servers ;
Each of the delivery destination servers is
A redistribution part receiving unit that receives the redistribution part distributed to itself in units of chunks;
A redistribution part transmitting unit that transmits the received redistribution part in parallel to the other distribution destination server predetermined for each distribution destination server in units of chunks;
Remaining parts other than the redistributed parts distributed to itself, a remaining parts acquisition unit that receives in parallel in units of chunks from other distribution destination servers predetermined for each distribution destination server;
A boot image restoration unit that combines the redistribution part received by the redistribution part receiving unit and the remaining part received by the remaining part acquisition unit to restore the boot image file ;
The redistribution part distribution unit, as an allocation method related to the acquisition destination of the remaining parts, when the number of distribution destination servers is a multiple of the number of divisions of the parts, When the group is divided and the other distribution destination servers in the group are obtained from the remaining parts, or the number of the distribution destination servers is not a multiple of the division number of the parts, the boot When the other distribution destination server that is not the image file distribution destination is added to the redistribution part distribution destination, and the number of the distribution destination servers is a multiple of the division number, the distribution of the redistribution part is assisted. Adding the other distribution destination server to the distribution destination of the redistribution parts, and grouping it as the acquisition destination of the remaining parts.
And parallel receiving of the chunks in the parallel transmission and the remaining part acquisition unit of the chunks before Symbol redistributing part transmitting unit, and the reception of the next chunk of the chunk in the re-distribution part receiving unit is performed in parallel A boot image distribution system characterized by that.
請求項に記載のブートイメージ配信システムにおいて、
前記配信元サーバは、
前記パーツ分割部が、前記同一のブートイメージファイルを配信すべき前記配信先サーバの数と、それらの配信先サーバ間で設定可能な配信先サーバ当たりのリンク数とをパラメータとして、前記複数パーツに分割するときの分割数を決定するために参照される所定のテーブルを備える
ことを特徴とするブートイメージ配信システム。
In the boot image delivery system according to claim 3 ,
The distribution source server is:
The part divided parts, the number of the same boot image file the destination server to be delivered to, and the number of links per destination server configurable between their delivery destination server as a parameter, the plurality of parts A boot image distribution system comprising a predetermined table referred to in order to determine the number of divisions when dividing into two.
JP2013035587A 2013-02-26 2013-02-26 Boot image delivery method and boot image delivery system Expired - Fee Related JP6001474B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013035587A JP6001474B2 (en) 2013-02-26 2013-02-26 Boot image delivery method and boot image delivery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013035587A JP6001474B2 (en) 2013-02-26 2013-02-26 Boot image delivery method and boot image delivery system

Publications (2)

Publication Number Publication Date
JP2014164556A JP2014164556A (en) 2014-09-08
JP6001474B2 true JP6001474B2 (en) 2016-10-05

Family

ID=51615098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013035587A Expired - Fee Related JP6001474B2 (en) 2013-02-26 2013-02-26 Boot image delivery method and boot image delivery system

Country Status (1)

Country Link
JP (1) JP6001474B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7267503B2 (en) * 2020-03-30 2023-05-01 三菱電機株式会社 Radio equipment and air conditioning system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05153183A (en) * 1991-11-27 1993-06-18 Hitachi Ltd Data transferring system using plural links
JP2001014228A (en) * 1999-06-25 2001-01-19 Ntt Data Corp System and method for file distribution, and recording medium
TWI265697B (en) * 2002-06-06 2006-11-01 Ibm Digital contents distribution system, digital contents distribution method, computer readable recording medium storing the program therein, and server and client therefor
JP4704252B2 (en) * 2006-03-14 2011-06-15 富士通株式会社 Network system broadcast processing method and network system
JP5444647B2 (en) * 2008-07-01 2014-03-19 富士通株式会社 Data transfer device, data transfer method, and data transfer program

Also Published As

Publication number Publication date
JP2014164556A (en) 2014-09-08

Similar Documents

Publication Publication Date Title
US9665428B2 (en) Distributing erasure-coded fragments in a geo-distributed storage system
CN108769146B (en) Data transmission method and device based on block chain and block chain system
US20160275123A1 (en) Pipeline execution of multiple map-reduce jobs
CN103810061B (en) A kind of High Availabitity cloud storage method
CN102439560A (en) Data redistribution in data replication systems
US20120151292A1 (en) Supporting Distributed Key-Based Processes
CN102859961B (en) There is the distributed video transcoding system of adaptive file process
CN105765578A (en) Parallel access to data in a distributed file system
CN110069210B (en) Storage system, and method and device for allocating storage resources
CN107111481A (en) Distribution actively mixes storage system
CN103338252A (en) Distributed database concurrence storage virtual request mechanism
CN108200112B (en) Distributed storage method and system
KR20170121911A (en) Method and apparatus for updating firmware on IoT device using P2P
CN102934412A (en) Server cluster
CN104410531A (en) Redundant system architecture approach
CN106855869B (en) Method, device and system for realizing high availability of database
CN108153494B (en) A kind of I/O request processing method and processing device
JP6001474B2 (en) Boot image delivery method and boot image delivery system
CN107295032B (en) Data synchronization method and equipment for data center
JPWO2015001596A1 (en) Parallel analysis platform for serial data and parallel distributed processing method
CN105450733A (en) Business data distribution processing method and system
CN112261125A (en) Centralized unit cloud deployment method, device and system
CN112395313A (en) Global sequence generation method and device, electronic equipment and computer storage medium
KR101901266B1 (en) System and method for parallel file transfer between file storage clusters
CN112367189B (en) Distributed node management method, device and storage medium

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140529

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160301

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: 20160830

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160901

R150 Certificate of patent or registration of utility model

Ref document number: 6001474

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees