[go: up one dir, main page]

JP2016045675A - Software release method - Google Patents

Software release method Download PDF

Info

Publication number
JP2016045675A
JP2016045675A JP2014168993A JP2014168993A JP2016045675A JP 2016045675 A JP2016045675 A JP 2016045675A JP 2014168993 A JP2014168993 A JP 2014168993A JP 2014168993 A JP2014168993 A JP 2014168993A JP 2016045675 A JP2016045675 A JP 2016045675A
Authority
JP
Japan
Prior art keywords
server
commercial
software
release
environment
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.)
Pending
Application number
JP2014168993A
Other languages
Japanese (ja)
Inventor
大明 工藤
Hiroaki Kudo
大明 工藤
功治 斉藤
Koji Saito
功治 斉藤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2014168993A priority Critical patent/JP2016045675A/en
Publication of JP2016045675A publication Critical patent/JP2016045675A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten work times of newly releasing software and updating the software in a service providing system, prevent a construction work error between a commercial environment and a laboratory environment, and prevent an operational error in the commercial environment.SOLUTION: A system comprises: a commercial environment that has a commercial server to be used in a service providing; and a laboratory environment that has a verification server implementing a test targeting software for the commercial server. In the laboratory environment, the test of software is performed using the verification server, and a virtual server template for release to the commercial server is prepared from the verification server to be established by the tested software. In the commercial environment, the commercial server is constructed by an image copy using the virtual server template for release to the commercial server.SELECTED DRAWING: Figure 2

Description

本明細書で開示される主題は、ソフトウェアの新規リリースおよび更新の技術に関する。   The subject matter disclosed herein relates to software release and update techniques.

携帯電話や通信端末(以下、携帯電話や通信端末を携帯端末という)から利用されるWebサービスの閲覧は、社会インフラシステムとして欠かせないものになっており、Webサービスを提供するWebシステムには24時間365日サービス無停止の高可用性と高い信頼性が求められている。Webサービスを提供するWebシステムは、前段にロードバランサ、または振り分け装置を設置した複数台のサーバ装置(以下、サーバ装置をサーバという)により構成される。   Browsing of web services used from mobile phones and communication terminals (hereinafter referred to as mobile phones and mobile terminals) is indispensable as a social infrastructure system. For web systems that provide web services, There is a need for high availability and high reliability with no service interruption 24/7. A Web system that provides a Web service includes a plurality of server devices (hereinafter referred to as “servers”) in which a load balancer or a distribution device is installed in the preceding stage.

Webシステムの可用性や信頼性を向上するために、サーバで実行するソフトウェアを更新する際にはロードバランサ、または振り分け装置にてソフトウェア更新対象サーバの振り分けを抑止した後に更新を実施する。同様にサーバ用ソフトウェアを新規リリースする際には、商用環境にサーバを構築した後、ロードバランサ、または振り分け装置へ接続を行った後に振り分けを実施する。   In order to improve the availability and reliability of the Web system, when updating the software executed on the server, update is performed after the distribution of the software update target server is suppressed by the load balancer or the distribution device. Similarly, when a new server software is released, after the server is constructed in a commercial environment, distribution is performed after connection to a load balancer or distribution device.

これらの方法は、システムの一部のサーバが障害や処理速度低下に陥った場合でも、システム全体の処理性能低下やサービスの部分停止を回避することを狙っている。   These methods aim to avoid a decrease in the processing performance of the entire system and a partial suspension of the service even when some servers in the system fall into a failure or a reduction in processing speed.

特開2009-217395号公報JP 2009-217395 A

従来の、携帯端末が接続するWebシステムのように、サービスを提供するシステムを有する環境(以下、サービス提供システムを有する環境を商用環境という)でのサーバ内部のソフトウェア更新は、更新前データのバックアップ取得を実施した後に更新内容を反映する。更新内容に問題がないことを確認した後にロードバランサ、または振り分け装置によるソフトウェア更新対象サーバの振り分け抑止解除を実施する。同様に、サーバ内部のソフトウェア新規リリースは、構築したサーバをロードバランサ、または振り分け装置へ接続し、振り分けを実施する。問題が発生した場合は構築したサーバへの振り分けを抑止し、問題がなければリリース完了とする。   Software update inside the server in an environment having a service providing system (hereinafter, an environment having a service providing system is referred to as a commercial environment), such as a conventional web system to which a mobile terminal is connected, is a backup of data before update. Reflect the updated contents after acquisition. After confirming that there are no problems with the update contents, release the distribution suppression of the software update target server using the load balancer or distribution device. Similarly, for a new software release inside the server, the constructed server is connected to a load balancer or a distribution device, and distribution is performed. If a problem occurs, distribution to the constructed server is suppressed, and if there is no problem, the release is completed.

また、ソフトウェア新規リリースおよび更新の内容に問題がないことを確認するために、商用環境に反映する前に、サービス提供システムを模擬した環境(以下、サービス提供システムを模擬した環境をラボ環境という)にてソフトウェア新規リリースまたは更新を実施する。ソフトウェア新規リリースまたは更新の後、試験用の携帯端末を用いるなどにより試験を実施し、問題がないことを確認する。   Also, in order to confirm that there are no problems with the contents of new software releases and updates, the environment that simulates the service provision system (hereinafter referred to as the lab environment) New software release or update at. After a new software release or update, conduct a test, such as by using a test mobile device, to confirm that there are no problems.

従来方法でのソフトウェア新規リリースまたは更新作業には以下の課題があった。   The new method of software release or update work by the conventional method has the following problems.

第一の課題は、作業ミスによってサービス影響が発生した際の社会全体に対する影響が大きいため、ソフトウェア新規リリースまたは更新作業はエンドユーザの利用頻度が低い時間帯しか実施できず、作業時間を短縮する必要があるということである。   The first problem is that the impact on the entire society when service impact occurs due to work mistakes is large, so new software release or update work can only be performed during times of low use by end users, reducing work time It is necessary.

第二の課題は、ラボ環境と商用環境とが同一ではない可能性があるため、ラボ環境で実施した試験では問題がないが、商用環境に投入した際に問題が発生する可能性があることである。   The second problem is that the lab environment may not be the same as the commercial environment, so there is no problem in the test performed in the lab environment, but there is a possibility that a problem may occur when it is put in the commercial environment. It is.

第三の課題は、作業担当者が商用環境で、ソフトウェア新規リリースまたは更新作業を実施する場合、商用環境のサーバに対する設定変更を行う際にオペレーションミスが発生する可能性があることである。   A third problem is that when a worker in charge performs a new software release or update operation in a commercial environment, an operation error may occur when a setting change is performed on a server in the commercial environment.

第一の課題はネットワーク負荷を分散する(特許文献1の段落0009、0010)方法により、ソフトウェア更新に際してネットワーク負荷の低減、ソフトウェア更新作業の時間短縮を実現できる。しかし、特許文献1の技術には更新前データのバックアップ取得時間を短縮することはできない、という課題がある。バックアップデータを取得するためのデータ移動にかかる時間はバックアップデータの量に依存するために、依然として、バックアップ取得作業によって作業時間が長期化するという課題がある。   The first problem is that the network load can be reduced and the time for software update work can be shortened when updating software by the method of distributing the network load (paragraphs 0009 and 0010 of Patent Document 1). However, the technique of Patent Document 1 has a problem that it is not possible to reduce the backup acquisition time of the pre-update data. Since the time required to move the data for acquiring the backup data depends on the amount of the backup data, there is still a problem that the work time becomes longer due to the backup acquisition work.

以上の課題は、サーバが通信端末へ提供するあらゆる通信サービス、すなわち、サービス提供システムにおいても同様に存在する。   The above problems similarly exist in any communication service that the server provides to the communication terminal, that is, in the service providing system.

サービス提供システムに対するソフトウェアの新規リリースまたは更新(これらをソフトウェアのリリースと称する)において、作業時間を短縮すること、および、商用環境とラボ環境の環境差分による構築作業ミスを防ぐこと、および、商用作業時にソフトウェア更新作業時のオペレーションミスを防ぐこと、が可能な新規リリースおよび更新の方法を提供する。   In new releases or updates of software for service delivery systems (referred to as software releases), work time is reduced, construction work errors due to environmental differences between the commercial environment and the lab environment are prevented, and commercial work Provide new release and update methods that can sometimes prevent operational mistakes during software update operations.

本明細書では、ラボ環境において、ソフトウェア新規リリースまたは更新の検証用サーバを構築して、ソフトウェア新規リリースまたは更新の対象となるソフトウェアの試験を実施して、問題がなければ商用環境へのリリース用の仮想サーバテンプレートを作成し、作成した仮想サーバテンプレートを商用環境へイメージコピーすることによって、商用環境の商用サーバに対するソフトウェア新規リリースまたは更新を行う技術が開示される。   In this specification, in a lab environment, a new software release or update verification server is built, and the software that is the target of the new software release or update is tested. A technology for newly releasing or updating software for a commercial server in a commercial environment by creating a virtual server template and image copying the created virtual server template to the commercial environment is disclosed.

なお、本明細書での検証用サーバはソフトウェアの新規リリース時には新たに構築し、更新時にはリリース用の仮想サーバテンプレートのバックアップデータからのイメージコピーによって構築する。ソフトウェアの更新時は、ラボ環境において、リリース用の仮想サーバテンプレートのバックアップデータからのイメージコピーによって構築する検証用サーバを用いて、更新対象ソフトウェアの試験を実施する。   The verification server in this specification is newly constructed when software is newly released, and is constructed by image copy from backup data of a release virtual server template when updated. When software is updated, the update target software is tested in the lab environment using a verification server constructed by copying an image from backup data of a virtual server template for release.

すなわち、本明細書で開示されるのは、サービス提供に用いる商用サーバを有する第一の環境(例えば、商用環境)と、前記商用サーバ用ソフトウェアを対象とする試験を実施する検証用サーバを有する第二の環境(たとえば、ラボ環境)と、を備えるシステムにおいて、第二の環境において、検証用サーバを用いたソフトウェアの試験を行い、試験済みのソフトウェアにより構築される検証用サーバから、商用サーバへのリリース用の仮想サーバテンプレートを作成し、第一の環境において、商用サーバへのリリース用の仮想サーバテンプレートを用いたイメージコピーにより、商用サーバを構築するソフトウェアのリリース方法である。   That is, what is disclosed in this specification includes a first environment (for example, a commercial environment) having a commercial server used for service provision, and a verification server that performs a test on the commercial server software. In a system including a second environment (for example, a lab environment), software testing using the verification server is performed in the second environment, and the verification server constructed by the tested software is used as a commercial server. This is a software release method for creating a commercial server by creating a virtual server template for release in the first environment and by copying an image using the virtual server template for release to the commercial server in a first environment.

本明細書では、さらに、第二の環境において、作成した商用サーバへのリリース用の仮想サーバテンプレートのコピーを作成し、リリース後バックアップとして保管することが開示される。   The present specification further discloses that, in the second environment, a copy of the created virtual server template for release to the commercial server is created and stored as a post-release backup.

さらに、上記リリース方法において、第二の環境において、保管しているリリース後バックアップを用いて、第一の環境へリリースしたソフトウェアの更新に用いる検証用サーバを構築することが開示される。   Furthermore, in the above release method, it is disclosed that a verification server used for updating software released to the first environment is constructed using the stored post-release backup stored in the second environment.

なお、ラボ環境に存在する商用リリース用の仮想サーバテンプレートを商用バックアップとして機能させるため、商用環境に存在するサーバ、及びラボ環境に存在する商用リリース用の仮想サーバテンプレート、仮想サーバテンプレートのバックアップは作業担当者のみが操作を行い、顧客は操作を実施しない方針とする。   In order to make a commercial release virtual server template that exists in the lab environment function as a commercial backup, backup of the server that exists in the commercial environment, the virtual server template for commercial release that exists in the lab environment, and the virtual server template is a work. It is assumed that only the person in charge performs the operation and the customer does not perform the operation.

開示によれば、商用環境に存在する商用サーバのソフトウェア更新作業に必要な更新対象ソフトウェアのバックアップをラボ環境で取得することにより更新前の商用環境でのバックアップ取得作業が不要となり、作業時間の短縮が可能となる。   According to the disclosure, the backup of the software to be updated necessary for the software update work of the commercial server existing in the commercial environment is acquired in the lab environment, so that the backup acquisition work in the commercial environment before the update becomes unnecessary and the work time is shortened. Is possible.

また、商用環境とラボ環境へのリリース内容および更新内容を同一にできるので、商用環境とラボ環境の環境差分を無くすことが可能になる。   Moreover, since the release contents and update contents for the commercial environment and the laboratory environment can be made the same, it is possible to eliminate the environmental difference between the commercial environment and the laboratory environment.

また、商用環境へのリリースをイメージコピーによって実施することにより、商用環境でのソフトウェア新規リリースまたは更新作業の作業担当者によるオペレーションミスを最小限とすることを可能とする。   In addition, by performing the release to the commercial environment by image copy, it is possible to minimize the operation error by the person in charge of the new software release or update work in the commercial environment.

開示により、高可用、高信頼な、ソフトウェアの新規リリースおよび更新が可能になる。   The disclosure enables new releases and updates of software that are highly available and reliable.

従来のソフトウェア新規リリースまたは更新の方法を例示する概略ブロック図である。It is a schematic block diagram which illustrates the method of the conventional software new release or update. 本実施例における、ソフトウェア新規リリースまたは更新の方法を例示する概略ブロック図である。It is a schematic block diagram which illustrates the method of a software new release or update in a present Example. 動的変更ファイルが存在するサーバに対するソフトウェアの更新方法を例示するブロック図である。It is a block diagram which illustrates the update method of the software with respect to the server in which a dynamic change file exists. 従来のソフトウェア更新方法の概略を例示する動作手順図である。It is an operation | movement procedure diagram which illustrates the outline of the conventional software update method. 本実施例のソフトウェア更新方法の概略を例示する動作手順図である。It is an operation | movement procedure diagram which illustrates the outline of the software update method of a present Example. 従来の検証用サーバ、及び商用サーバのハードウェア、及びソフトウェアの、概略構成図である。It is a schematic block diagram of the hardware and software of the conventional verification server and a commercial server. 本実施例の検証用サーバ、商用リリース用仮想サーバテンプレート、及び商用サーバのハードウェア、及びソフトウェアの、概略構成図である。It is a schematic block diagram of the verification server of this example, the virtual server template for commercial release, and the hardware and software of a commercial server.

まず、図1を用いて、従来のソフトウェア新規リリースまたは更新の方法を説明する。   First, a conventional software new release or update method will be described with reference to FIG.

従来のソフトウェア新規リリースまたは更新は、ラボ環境105内に、ラボ環境でのソフトウェア新規リリースまたは更新の検証に利用する検証用物理サーバ201を備え、商用環境106内に、エンドユーザへのサービス提供に用いる商用サーバ202を備える。   Conventional software new releases or updates are provided in the lab environment 105 with a physical server 201 for verification used to verify new software releases or updates in the lab environment. A commercial server 202 is provided.

従来、検証用物理サーバ201を用いて、ソフトウェア新規リリース時のサーバの新規構築を行い、ソフトウェア更新時の更新作業を行う。ソフトウェア新規リリースまたは更新の作業担当者は、検証用物理サーバ201にてソフトウェアを構築し、試験を実施する。   Conventionally, by using the verification physical server 201, a new server is constructed at the time of new software release, and the update work at the time of software update is performed. The person in charge of the new software release or update constructs the software on the verification physical server 201 and performs the test.

商用サーバ202は、エンドユーザからのサービストラフィックの処理を行うサーバであり、商用環境106内に構成される。従来、商用リリース時には従来の検証用物理サーバ201でソフトウェアを作成して試験を実施し、問題がないことを確認した後に、商用サーバ202で新規リリースまたは設定変更を行う。   The commercial server 202 is a server that processes service traffic from end users, and is configured in the commercial environment 106. Conventionally, at the time of commercial release, software is created and tested by the conventional physical server for verification 201, and after confirming that there is no problem, a new release or setting change is performed on the commercial server 202.

記憶装置203は、商用サーバ202にてソフトウェア更新作業を行う前に、更新前のデータを保存するバックアップ用装置である。商用リリース作業で問題が発生した場合、商用サーバ202に記憶装置203に保存したバックアップデータを用いてリストアする。   The storage device 203 is a backup device that stores data before update before software update work is performed on the commercial server 202. When a problem occurs in the commercial release work, the commercial server 202 is restored using the backup data stored in the storage device 203.

次に、実施例について図面を参照して説明する。   Next, examples will be described with reference to the drawings.

図2は、ソフトウェア新規リリースまたは更新の方法を例示するブロック図である。   FIG. 2 is a block diagram illustrating a method for new software release or update.

本実施例のシステムは、ラボ環境105内に、ソフトウェア新規リリースまたは更新の内容の検証に利用する検証用サーバ101と、検証用サーバ101で試験を実施して問題がないことを確認した後に作成する商用リリース用データ(商用リリース用と略記)102と、ソフトウェア新規リリースまたは更新が成功した後に作成するリリース後バックアップデータ(リリース後バックアップと略記)104を備え、商用環境106内に、ソフトウェア新規リリースおよび更新の対象となる商用サーバ103を備える。   The system of the present embodiment is created in the lab environment 105 after verifying that there is no problem by performing a test on the verification server 101 used for verification of the contents of the new software release or update, and the verification server 101. Commercial release data (abbreviated as commercial release) 102 and post-release backup data (abbreviated as post-release backup) 104 created after a successful new software release or update. And a commercial server 103 to be updated.

ラボ環境105内の検証用サーバ101と商用環境106の商用サーバ103とは、例えば、コンピュータ上に、仮想化技術により実現される仮想サーバである。商用リリース用102、及びリリース後バックアップ104は、仮想化テンプレート技術によって作成される仮想サーバテンプレートである。仮想サーバテンプレートは電源の投入、及び仮想マシン一覧からの参照を許可しない仕様として構成する仮想サーバを示す。   The verification server 101 in the lab environment 105 and the commercial server 103 in the commercial environment 106 are, for example, virtual servers realized on a computer by a virtualization technique. The commercial release 102 and the post-release backup 104 are virtual server templates created by the virtualization template technology. The virtual server template indicates a virtual server configured as a specification that does not permit power-on and reference from the virtual machine list.

ソフトウェア新規リリースまたは更新の作業担当者は、新規リリースの場合はラボ環境105に存在する仮想環境にて、検証用サーバ101を用いて新規作成を行い、ソフトウェアを構築し、試験を実施する。更新の場合はラボ環境105に存在するリリース後バックアップ104から検証用サーバ101へのイメージコピーによって構築と試験を実施する。   In the case of a new release, a person in charge of a new software release or update performs a new creation using the verification server 101 in a virtual environment existing in the lab environment 105, constructs software, and performs a test. In the case of updating, construction and testing are performed by image copying from the post-release backup 104 existing in the lab environment 105 to the verification server 101.

商用リリース用102は、検証用サーバ101でソフトウェアを作成して試験を実施し、問題がないことを確認した後に、試験済みのソフトウェアにより構築される検証用サーバ101をテンプレート化することによって作成される検証用サーバ101の複製である。テンプレート化により検証用サーバ101の、商用リリース時には商用リリース用102をイメージコピーによって、物理的に離れている商用環境106の商用サーバ103へリリースする。   The commercial release 102 is created by creating software on the verification server 101 and conducting a test, confirming that there are no problems, and then creating a template for the verification server 101 built with the tested software. This is a copy of the verification server 101. The verification server 101 is released by templating, and the commercial release 102 is released to the commercial server 103 in the physically separated commercial environment 106 by image copy at the time of commercial release.

リリース後バックアップ104は、商用環境106での商用サーバ103のソフトウェア新規リリース及び更新の作業が完了した後に作成する仮想サーバテンプレートである。商用環境106での作業が完了した場合は商用リリース103をリネームし、リリース後バックアップ104としてラボ環境105内にデータを保管する。   The post-release backup 104 is a virtual server template created after the new software release and update operations of the commercial server 103 in the commercial environment 106 are completed. When the work in the commercial environment 106 is completed, the commercial release 103 is renamed, and data is stored in the lab environment 105 as a backup 104 after the release.

商用サーバ103は、エンドユーザからのサービストラフィックの処理を行う仮想サーバであり、商用環境106内に構成される。ソフトウェア新規リリースまたは更新の作業担当者は、検証用サーバ101を仮想サーバテンプレート化した商用リリース用102のイメージコピーにより、商用サーバ103をリリースまたは更新する。仮想サーバテンプレートのイメージコピーを利用するため、商用リリース102の確実な構築が可能になる。   The commercial server 103 is a virtual server that processes service traffic from end users, and is configured in the commercial environment 106. The person in charge of the new software release or update releases or updates the commercial server 103 by using an image copy of the commercial release 102 obtained by converting the verification server 101 into a virtual server template. Since the image copy of the virtual server template is used, the commercial release 102 can be reliably constructed.

万一、リリースまたは更新後に問題が発生した場合は、当該リリースまたは更新の一つ古い状態に対応するリリース後バックアップ104を用いてリリース前の状態に戻す。リリースが成功した場合は商用環境106での作業は完了とする。   If a problem occurs after release or update, the post-release backup 104 corresponding to the one old state of the release or update is used to restore the state before release. If the release is successful, the work in the commercial environment 106 is completed.

図3は、商用サーバ103が稼働中にサーバ内部で作成されるファイル(以下、稼働中にサーバ内部で作成されるファイルを動的変更ファイルという)が存在するサーバに対してソフトウェアの更新作業を行う方法を示す。   FIG. 3 illustrates a software update operation for a server in which a file created inside the server while the commercial server 103 is operating (hereinafter, a file created inside the server during operation is referred to as a dynamic change file). Show how to do it.

仮想サーバには3つの仮想ハードディスクが存在し、各ハードディスクにはOS301、ソフトウェア302、定義ファイル303が存在する。   The virtual server includes three virtual hard disks, and each hard disk includes an OS 301, software 302, and a definition file 303.

OS301は仮想サーバにインストールするOSデータを格納する領域である。仮想サーバに対してOSを新規インストールする際には、この仮想ハードディスク内にデータを格納する。   The OS 301 is an area for storing OS data to be installed on the virtual server. When a new OS is installed on a virtual server, data is stored in the virtual hard disk.

ソフトウェア302は、新規リリースまたは更新の作業対象のソフトウェアが格納されるハードディスクである。ソフトウェアの新規リリースではこの仮想ハードディスクにデータを格納する。   The software 302 is a hard disk in which software for a new release or update work is stored. New software releases store data in this virtual hard disk.

定義ファイル303は、商用リリース用102と商用サーバ103との間で異なる情報を格納する仮想ハードディスクである。商用リリース用102と商用サーバ103との間で異なる情報とは、商用サーバへ流入するトラフィックを処理した結果発生するログデータやIPアドレスやMACアドレスなどのサーバごとに固有の情報を示す。商用リリース用102と商用サーバ103との間で発生した差に係る情報は定義ファイル303に格納する。   The definition file 303 is a virtual hard disk that stores different information between the commercial release 102 and the commercial server 103. The information different between the commercial release 102 and the commercial server 103 indicates information specific to each server such as log data, IP address, and MAC address generated as a result of processing traffic flowing into the commercial server. Information relating to the difference between the commercial release 102 and the commercial server 103 is stored in the definition file 303.

ソフトウェアの更新作業では、ラボ環境105内の商用リリース用102内部のソフトウェア302を、商用環境106内に存在する商用サーバ103内部のソフトウェア302に置き換えることで更新完了とする。   In the software update operation, the software 302 in the commercial release 102 in the lab environment 105 is replaced with the software 302 in the commercial server 103 existing in the commercial environment 106 to complete the update.

図4は、従来のソフトウェア更新の実施例を示す動作手順図である。検証用物理サーバ201は、ソースコード修正401、コンパイル402、ロードモジュール実行403、を備え、商用サーバ202は、バックアップ404、ソースコピー405、コンパイル406、ロードモジュール実行407、バックアップ削除408を備える。   FIG. 4 is an operation procedure diagram showing an example of conventional software update. The verification physical server 201 includes source code correction 401, compilation 402, and load module execution 403, and the commercial server 202 includes backup 404, source copy 405, compilation 406, load module execution 407, and backup deletion 408.

ソフトウェア更新作業は、検証用物理サーバ201にて更新作業を実施し、問題がなければ商用サーバ202にて更新作業を行う。検証用物理サーバ201にてソースコード修正401を行い、コンパイル402、ロードモジュール実行403を行った後、更新内容に問題がないか試験を行う。問題があれば再度ソースコード修正401を行い、再度コンパイル402、ロードモジュール実行403を実施する。更新内容に問題がなければ、ソフトウェア更新作業を商用サーバ202にて作業前にバックアップ404の取得を行い、検証用物理サーバ201にて行ったソースコード修正401の内容からソースコピー405を実施し、コンパイル402、ロードモジュール実行403を実施する。ロードモジュール実行403後、問題がなければ商用サーバ202からのバックアップ削除408を実施する。   The software update work is performed on the verification physical server 201. If there is no problem, the commercial server 202 performs the update work. After the source code correction 401 is performed in the verification physical server 201, the compilation 402 and the load module execution 403 are performed, a test is performed to check whether there is a problem in the updated contents. If there is a problem, the source code correction 401 is performed again, and the compilation 402 and the load module execution 403 are performed again. If there is no problem in the update contents, obtain a backup 404 before starting the software update work on the commercial server 202, execute the source copy 405 from the contents of the source code correction 401 made on the physical server for verification 201, Compile 402 and load module execution 403 are executed. After the load module execution 403, if there is no problem, the backup deletion 408 from the commercial server 202 is executed.

図5は、本実施例のソフトウェア更新の実施例を示す動作手順図である。検証用サーバ101は、ソースコード修正501、コンパイル502、ロードモジュール実行503の各ステップを備え、は仮想サーバテンプレート化504の各ステップを備え、は仮想サーバイメージコピー503、仮想サーバ起動504、ロードモジュール実行505の各ステップを備える。   FIG. 5 is an operation procedure diagram showing an embodiment of software update of the present embodiment. The verification server 101 includes steps of source code correction 501, compilation 502, and load module execution 503, and includes steps of virtual server template conversion 504, virtual server image copy 503, virtual server activation 504, load module Each step of execution 505 is provided.

検証用サーバ101と商用リリース用102の処理はラボ環境105で実施され、商用サーバ103の処理は商用環境106で実施される。   The processing of the verification server 101 and the commercial release 102 is performed in the lab environment 105, and the processing of the commercial server 103 is performed in the commercial environment 106.

本実施例で行うソフトウェア更新作業は、検証用サーバ101の更新作業(501〜503)を実施し、問題がなければ検証用サーバ101の仮想サーバテンプレート化504を行い商用リリース用102を作成する。作成した商用リリース用102を商用サーバ103にイメージコピー505を行うことでソフトウェア更新を実現する。   In the software update work performed in this embodiment, the update work (501 to 503) of the verification server 101 is performed. If there is no problem, the virtual server template 504 of the verification server 101 is created and the commercial release 102 is created. Software update is realized by performing image copy 505 on the commercial release 103 for the created commercial release 102.

具体的には、検証用サーバ101にてソースコード修正501を行い、コンパイル502、ロードモジュール実行503を行った後、更新内容に問題がないか試験を行う。問題があれば再度ソースコード修正501を行い、再度コンパイル502、ロードモジュール実行503を実施する。更新内容に問題がなければ、作成した検証用サーバ101の仮想サーバテンプレート化504を実施し商用リリース用102を作成する。   Specifically, the source code correction 501 is performed in the verification server 101, the compilation 502 and the load module execution 503 are performed, and then a test is performed as to whether there is a problem in the updated contents. If there is a problem, the source code correction 501 is performed again, and the compilation 502 and the load module execution 503 are performed again. If there is no problem in the update contents, the virtual server template creation 504 of the created verification server 101 is performed to create the commercial release 102.

さらに、商用サーバ103へ仮想サーバイメージコピー505を行い、仮想サーバ起動506を行う。起動した商用サーバ103にてロードモジュール実行507を行うことでソフトウェア更新を実現する。   Further, the virtual server image copy 505 is performed to the commercial server 103, and the virtual server activation 506 is performed. Software update is realized by executing the load module execution 507 on the activated commercial server 103.

検証用サーバ101の仮想サーバテンプレート化504の終了後に、ステップ508においてリリース後バックアップ104を作成する。リリース後バックアップ104を作成するステップ508は、商用サーバ103でのソフトウェア更新において問題が発生しないことを確認した後に実行するのが望ましい。   After the completion of the virtual server template 504 of the verification server 101, the post-release backup 104 is created in step 508. The step 508 of creating the post-release backup 104 is preferably executed after confirming that no problem occurs in the software update on the commercial server 103.

図6は従来の検証用物理サーバ201、及び商用サーバ202の、ハードウェア、及びソフトウェア構成図である。検証用物理サーバ201は、物理ハードディスク601、OS602、ソフトウェア603、ソフトウェア604、ソフトウェア開発環境605、ソースコード606、オブジェクトモジュール607を備え、商用サーバ202は、物理ハードディスク608、OS609、ソフトウェア610、ソフトウェア611、ソフトウェア開発環境612、ソースコード613、オブジェクトモジュール614を備える。   FIG. 6 is a hardware and software configuration diagram of a conventional verification physical server 201 and commercial server 202. The verification physical server 201 includes a physical hard disk 601, OS 602, software 603, software 604, software development environment 605, source code 606, and object module 607. The commercial server 202 includes physical hard disk 608, OS 609, software 610, software 611. A software development environment 612, a source code 613, and an object module 614.

図7は本実施例の検証用サーバ101、及び、商用リリース用102、商用サーバ103のハードウェア、及びソフトウェア構成図である。   FIG. 7 is a hardware and software configuration diagram of the verification server 101, the commercial release 102, and the commercial server 103 according to this embodiment.

検証用サーバ101は仮想ハードディスク701、仮想ハードディスク702、ソフトウェア703、ソフトウェア開発環境704、ソースコード705、オブジェクトモジュール706を備え。商用リリース用102は、仮想ハードディスク707、仮想ハードディスク708、ソフトウェア709、ソフトウェア開発環境710、ソースコード711、オブジェクトモジュール712を備える。商用サーバ103は、仮想ハードディスク713、仮想ハードディスク714、ソフトウェア715、ソフトウェア開発環境716、ソースコード717、オブジェクトモジュール718を備える。   The verification server 101 includes a virtual hard disk 701, a virtual hard disk 702, software 703, a software development environment 704, source code 705, and an object module 706. The commercial release 102 includes a virtual hard disk 707, a virtual hard disk 708, software 709, a software development environment 710, source code 711, and an object module 712. The commercial server 103 includes a virtual hard disk 713, a virtual hard disk 714, software 715, a software development environment 716, source code 717, and an object module 718.

従来のハードウェア、及びソフトウェア構成では、商用サーバ202と検証用物理サーバ201はハードウェアが異なるため、検証用物理サーバ201で作成したソースコード606を商用サーバ202へ適用し、新規リリースまたは更新するには検証用物理サーバ201で作成したソースコード606を商用サーバ202の物理ハードディスク608内にある特定の箇所に配置する必要があった。特定の箇所に配置するため、人的要因によるミスの可能性があった。また、商用サーバ202でのソフトウェア更新作業を行う前に、データのバックアップを取得する必要があり、ソフトウェア更新作業に時間を要していた。   In the conventional hardware and software configuration, the commercial server 202 and the verification physical server 201 are different in hardware. Therefore, the source code 606 created by the verification physical server 201 is applied to the commercial server 202 and newly released or updated. In this case, the source code 606 created by the verification physical server 201 needs to be arranged at a specific location in the physical hard disk 608 of the commercial server 202. Since it was placed at a specific location, there was a possibility of mistakes due to human factors. In addition, it is necessary to obtain a backup of the data before performing the software update operation on the commercial server 202, and the software update operation takes time.

本実施例のハードウェア、及びソフトウェア構成では、検証用サーバ101で作成したソースコード705の試験が終了した後、検証用サーバ101を仮想サーバテンプレート化し、商用リリース用102として保存する。商用サーバ103への配置は、商用リリース用102のイメージコピーにより完了するので、ソフトウェア更新作業時の人的要因によるミスを軽減することができる。また、検証用サーバ101内で、商用サーバ202のバックアップを取得し、リリース後バックアップ104として保存しているため、商用環境106でバックアップを取得する必要がなく、作業時間の短縮に繋がる。   In the hardware and software configuration of the present embodiment, after the test of the source code 705 created by the verification server 101 is completed, the verification server 101 is converted into a virtual server template and stored as a commercial release 102. Arrangement in the commercial server 103 is completed by copying the image of the commercial release 102, so that errors due to human factors during software update work can be reduced. Further, since the backup of the commercial server 202 is acquired and stored as the post-release backup 104 in the verification server 101, it is not necessary to acquire a backup in the commercial environment 106, leading to a reduction in work time.

また、検証用サーバ101、商用リリース用102、商用サーバ103はOSデータ、ソフトウェアデータをそれぞれ仮想ハードディスク単位で作成しているため、ソフトウェア更新作業時にはソフトウェアデータの格納された仮想ハードディスクのみを移行するだけでよい。   In addition, since the verification server 101, the commercial release 102, and the commercial server 103 create OS data and software data in units of virtual hard disks, only the virtual hard disk in which the software data is stored is migrated during software update work. It's okay.

101:検証用サーバ、102:商用リリース用仮想サーバテンプレート、103:商用仮想サーバ、104:リリース後バックアップ仮想サーバテンプレート、105:ラボ環境、106:商用環境、201:検証用物理サーバ、202:商用物理サーバ、203:記憶装置、301:OS領域格納用仮想ハードディスク、302:ソフトウェア領域格納用仮想ハードディスク、303:定義ファイル領域格納用仮想ハードディスク。   101: Server for verification, 102: Virtual server template for commercial release, 103: Commercial virtual server, 104: Backup virtual server template after release, 105: Lab environment, 106: Commercial environment, 201: Physical server for verification, 202: Commercial Physical server 203: Storage device 301: Virtual hard disk for storing OS area 302: Virtual hard disk for storing software area 303: Virtual hard disk for storing definition file area

Claims (3)

サービス提供に用いる商用サーバを有する第一の環境と、前記商用サーバ用ソフトウェアを対象とする試験を実施する検証用サーバを有する第二の環境と、を備えるシステムにおいて、
前記第二の環境において、
前記検証用サーバを用いた前記ソフトウェアの試験を行い、
試験済みの前記ソフトウェアにより構築される前記検証用サーバから、前記商用サーバへのリリース用の仮想サーバテンプレートを作成し、
前記第一の環境において、前記商用サーバへのリリース用の前記仮想サーバテンプレートを用いたイメージコピーにより、前記商用サーバを構築する
ことを特徴とするソフトウェアのリリース方法。
In a system comprising: a first environment having a commercial server used for service provision; and a second environment having a verification server for performing a test for the commercial server software,
In the second environment,
Test the software using the verification server,
Create a virtual server template for release to the commercial server from the verification server constructed by the tested software,
A software release method characterized in that, in the first environment, the commercial server is constructed by image copying using the virtual server template for release to the commercial server.
請求項1に記載のソフトウェアのリリース方法において、
前記第二の環境において、作成した前記商用サーバへのリリース用の前記仮想サーバテンプレートのコピーを作成し、リリース後バックアップとして保管する
ことを特徴とするソフトウェアのリリース方法。
The software release method according to claim 1,
In the second environment, a copy of the created virtual server template for release to the commercial server is created and stored as a post-release backup.
請求項2に記載のソフトウェアのリリース方法において、
前記第二の環境において、
保管している前記リリース後バックアップを用いて、前記第一の環境へリリースしたソフトウェアの更新に用いる前記検証用サーバを構築する
ことを特徴とするソフトウェアのリリース方法。
The software release method according to claim 2,
In the second environment,
A software release method characterized by constructing the verification server used for updating software released to the first environment by using the stored post-release backup.
JP2014168993A 2014-08-22 2014-08-22 Software release method Pending JP2016045675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014168993A JP2016045675A (en) 2014-08-22 2014-08-22 Software release method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014168993A JP2016045675A (en) 2014-08-22 2014-08-22 Software release method

Publications (1)

Publication Number Publication Date
JP2016045675A true JP2016045675A (en) 2016-04-04

Family

ID=55636201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014168993A Pending JP2016045675A (en) 2014-08-22 2014-08-22 Software release method

Country Status (1)

Country Link
JP (1) JP2016045675A (en)

Similar Documents

Publication Publication Date Title
CN102622298B (en) Software testing system and method
US10936476B2 (en) Regression testing of new software version and deployment
CN103530162B (en) The method and system that the on-line automatic software of a kind of virtual machine is installed
CN110727501B (en) Practicing method and system based on virtual machine backup data
RU2571726C2 (en) System and method of checking expediency of installing updates
CN104216793B (en) Application Backup, the method and apparatus recovered
US10635473B2 (en) Setting support program, setting support method, and setting support device
CN107741852B (en) A service deployment method based on cluster software
US20120210311A1 (en) Updating apparatus, updating method and recording medium
CN111679889B (en) Conversion migration method and system of virtual machine
CN106648724B (en) Application hot repair method and terminal
US9965357B1 (en) Virtual backup and restore of virtual machines
JPWO2016013199A1 (en) Virtualization infrastructure management apparatus, virtualization infrastructure management system, virtualization infrastructure management method, and virtualization infrastructure management program
US20160378521A1 (en) Automated test optimization
US12112154B2 (en) Automated software deployment techniques
CN110209420A (en) A kind of method and device updating bootstrap loader
CN116225617A (en) Management migration method and device for container instance, electronic equipment and storage medium
CN111338632A (en) A cloud platform image construction method and device
CN108170588A (en) A kind of test environment building method and device
CN104111843A (en) Sandbox based script updating method and system
CN110955558A (en) System and method for providing backup services to high availability applications
AU2017202294B2 (en) Device based automated tool integration for lifecycle management platform
CN111338751B (en) Cross-pool migration method and device for data in same ceph cluster
CN117170916B (en) Fault analysis method, device, equipment and storage medium
US9239870B1 (en) Multiple instance database auto-configuration for high availability

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170110

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170112