JP2006268594A - Automatic scheduling method for management program - Google Patents

Automatic scheduling method for management program Download PDF

Info

Publication number
JP2006268594A
JP2006268594A JP2005087468A JP2005087468A JP2006268594A JP 2006268594 A JP2006268594 A JP 2006268594A JP 2005087468 A JP2005087468 A JP 2005087468A JP 2005087468 A JP2005087468 A JP 2005087468A JP 2006268594 A JP2006268594 A JP 2006268594A
Authority
JP
Japan
Prior art keywords
management program
nas
file
management
time
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
JP2005087468A
Other languages
Japanese (ja)
Inventor
Masakazu Hiramatsu
正和 平松
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 JP2005087468A priority Critical patent/JP2006268594A/en
Publication of JP2006268594A publication Critical patent/JP2006268594A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically schedule a management program in a time zone where the number of file accesses from a client PC is small or a load is reduced. <P>SOLUTION: The use state of resources and the state of file access from the client PCs are monitored at all the time and a time zone, when the load of a NAS is low and the number of file accesses from the client PC is small, is analyzed from a result of the monitoring. Furthermore, file capacitance stored on the NAS is monitored, and the time to run a management program for the file capacitance is analyzed. Automatic scheduling is performed based on a result of the analysis. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、NASの管理プログラムの自動スケジューリングに関する。   The present invention relates to automatic scheduling of NAS management programs.

従来の自動スケジューリングシステムの公知例としては、特許文献1に示されている技術である。この従来技術では、計算機システムにおいて、リソースの使用状態とジョブキューの長さとの関連からシステムとして最適な運用効率になるようにイニシエータの起動数を自動的にスケジューリングするようにしている。   A known example of a conventional automatic scheduling system is a technique disclosed in Patent Document 1. In this prior art, in the computer system, the number of initiator activations is automatically scheduled so as to achieve the optimum operation efficiency as a system from the relation between the resource usage state and the job queue length.

特開平5−27990号公報JP-A-5-27990

ネットワークに接続され特定の複数のコンピュータで共有できる記憶装置(Network Attached Storage、以下NASと略す)上で動作する管理プログラムには、主に、バックアップ、ウイルスチェック、高速読み書きのための装置上のデータ再配置(デフラグメンテーション、以下デフラグと略す)、装置自らの異常チェック(以下システムチェックと略す)などがあり、これらはスケジューリングが必要なプログラムである。これら管理プログラムの特徴は、NAS上に格納されているファイルの容量により、実行時間が大きく変化することである。   Management programs that run on storage devices (Network Attached Storage (hereinafter abbreviated as NAS)) that can be shared by multiple computers connected to the network mainly include data on devices for backup, virus checking, and high-speed reading / writing. There are rearrangement (defragmentation, hereinafter abbreviated as “defragmentation”), abnormality check of the device itself (hereinafter abbreviated as “system check”), etc., and these are programs that require scheduling. The feature of these management programs is that the execution time varies greatly depending on the capacity of the file stored on the NAS.

従来、これらの管理プログラムは、その実行スケジュールを管理者の判断により行うため、クライアントPCからのファイルアクセスが多い時間帯や他の管理プログラムの実行中の時間帯に、これらの管理プログラムが実行されてしまうと、輻輳によりクライアントPCへのサービス応答が遅れたり、データの保存や読み出しに遅れが生じて業務の遂行に支障をきたす、という不都合があった。   Conventionally, these management programs are executed at the discretion of the administrator, so that these management programs are executed during times when there are many file accesses from the client PC or during execution of other management programs. Therefore, there is a problem that the service response to the client PC is delayed due to the congestion, or the storage or reading of data is delayed, which hinders the performance of business.

これらの管理プログラムの実行スケジュールを効果的に修正を行うには、リソースの使用状態やジョブキューの長さからだけでは難しく、これら以外の情報も加え、解析した上で、スケジュール修正を行わなければならないという課題があった。   In order to effectively modify the execution schedule of these management programs, it is difficult only by the resource usage status and the length of the job queue. There was a problem of not becoming.

本発明は、上記目的を達成するため、CPU、メモリ、HDD、ネットワークアダプター、オペレーティングシステム(以下OSと略す)、管理プログラムなど(これらをまとめて、以下リソースと略す)の使用状態に加え、クライアントPCからのファイルアクセス状態を常に監視し、監視結果からNASの負荷が低い時間帯、クライアントPCからのファイルアクセスの少ない時間帯を解析する。さらに、NAS上に格納されているファイル容量を監視し、ファイル容量に対する管理プログラムの実行時間を解析する。   In order to achieve the above object, the present invention provides a client, in addition to the usage state of a CPU, memory, HDD, network adapter, operating system (hereinafter abbreviated as OS), management program, etc. (collectively, abbreviated as resources hereinafter). The file access status from the PC is constantly monitored, and the time zone when the NAS load is low and the time zone when the file access from the client PC is low are analyzed from the monitoring result. Furthermore, the file capacity stored on the NAS is monitored, and the execution time of the management program for the file capacity is analyzed.

これらの解析結果に基づいて、管理プログラムの自動スケジューリングを行う。   Based on these analysis results, the management program is automatically scheduled.

また、管理プログラムの開始時刻直前にNASの負荷状態を解析し、この解析結果から管理プログラムを実行できるかをチェックする。   Further, the NAS load state is analyzed immediately before the start time of the management program, and it is checked from the analysis result whether the management program can be executed.

また、NASが高負荷状態の時に、ファイルアクセスを行おうとしているクライアントPCに対して、ファイルアクセスを停止させる旨のメッセージを送付する。   In addition, when the NAS is in a high load state, a message for stopping the file access is sent to the client PC trying to access the file.

クライアントPCからのファイルアクセスの少ない時間帯とNASの負荷が低い時間帯に、管理プログラムを自動的にスケジューリングする手段と、管理プログラムの実行チェックをする手段により、管理者の管理プログラムのスケジュールに要してきた業務が軽減できる。   It is necessary to schedule the management program of the administrator by means of automatically scheduling the management program and means for checking the execution of the management program during a time period when the file access from the client PC is low and when the NAS load is low. Work that has been done can be reduced.

また、上記の手段を用いることにより、より実際の装置の利用状況に応じた処理効率の良い運用が可能になる。   Further, by using the above-described means, it becomes possible to operate with high processing efficiency according to the actual usage status of the apparatus.

また、装置の負荷が高い状態、もしくは管理プログラムが実行中の状態に、利用者からの外部アクセス要求があった場合に、利用者に対し、利用者からのアクセスを停止させる旨のメッセージを送付する手段により、特定の時間帯に負荷が集中してしまうことを防ぐことができる。   In addition, when there is a request for external access from a user when the load on the device is high or the management program is running, a message is sent to the user to stop access from the user. By this means, it is possible to prevent the load from being concentrated in a specific time zone.

以下、図面を元に、本発明の実施の形態例について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の自動スケジューリングシステムを適用した一例を示す概略構成図である。自動スケジューリングシステム101は、NAS103のOS上で動作するシステムである。NAS103には、ファイルアクセスを行うクライアントPC104、バックアップを行うテープバックアップ装置105や管理者がNAS103管理画面を閲覧するための管理PC106などが接続されている。NAS103のOS上には、自動スケジューリングシステム101の他に、多数の管理プログラム102がある。管理プログラム102には、バックアップ、ウイルスチェック、デフラグ、システムチェックなどがあり、これらはスケジューリングが必要な管理プログラムである。これら管理プログラム102の特徴は、NAS103上に格納されているファイルの容量により、実行時間が大きく変化することである。これらの管理プログラム102の注意点は、他の管理プログラム102との同時実行やクライアントPC104からのファイルアクセス中での管理プログラム102の実行を行うと、NAS103がさらに高負荷状態になり、システムが不安定になる場合がある。   FIG. 1 is a schematic configuration diagram showing an example to which the automatic scheduling system of the present invention is applied. The automatic scheduling system 101 is a system that operates on the OS of the NAS 103. Connected to the NAS 103 are a client PC 104 that performs file access, a tape backup device 105 that performs backup, and a management PC 106 that allows an administrator to browse the NAS 103 management screen. In addition to the automatic scheduling system 101, there are many management programs 102 on the OS of the NAS 103. The management program 102 includes backup, virus check, defragmentation, system check, and the like. These are management programs that require scheduling. A feature of these management programs 102 is that the execution time varies greatly depending on the capacity of the file stored on the NAS 103. The point of caution with these management programs 102 is that if the management program 102 is executed concurrently with other management programs 102 or while the file access from the client PC 104 is being performed, the NAS 103 becomes more heavily loaded, and the system becomes inoperative. May become stable.

本発明の実施の形態における自動スケジューリングシステム101は、以下5つの機能を有する。   The automatic scheduling system 101 in the embodiment of the present invention has the following five functions.

(1)自動スケジューリング機能: NAS103の負荷が低い時間帯、クライアントPC104からのファイルアクセスの少ない時間帯、管理プログラム102の予想実行時間などを解析し、この解析結果から、あらかじめ管理者によって設定されていた管理プログラム102の実行スケジュールを、自動的に修正する機能である。所定の時間内にスケジューリングが納まらない場合は、管理者へ通知する。この機能により、管理者は煩雑なスケジュール管理を軽減することができる。また、特定の時間帯に負荷が集中してしまうことを防ぐ。さらに、リソースを無駄なく、効率よく利用することができる。   (1) Automatic scheduling function: Analyzes the time zone when the load of the NAS 103 is low, the time zone when the file access from the client PC 104 is low, the estimated execution time of the management program 102, etc. This is a function for automatically correcting the execution schedule of the management program 102. If scheduling cannot be achieved within a predetermined time, the administrator is notified. With this function, the administrator can reduce complicated schedule management. In addition, the load is prevented from being concentrated in a specific time zone. Furthermore, resources can be used efficiently without waste.

(2)プログラムの実行チェック機能: スケジュールされた管理プログラム102の開始時刻に対して、開始時刻直前にNAS103の負荷状態を解析し、この解析結果から管理プログラム102が実行できるかをチェックする機能である。実行できる状態の場合は、管理プログラム102を実行する。実行できない状態の場合は一定時間経過後、再度チェックを実行し、実行できる状態になるのを待つ。このチェックを数回繰り返し、実行できる状態になった場合は、管理プログラム102を実行する。このチェックを数回繰り返しても、実行できない状態の場合は、管理者へ通知し、管理プログラム102の実行を解除する。この機能により、さらに、特定の時間帯に負荷が集中してしまうことを防ぐ。   (2) Program execution check function: This function analyzes the load state of the NAS 103 immediately before the start time of the scheduled management program 102 and checks whether the management program 102 can be executed from the analysis result. is there. If it can be executed, the management program 102 is executed. If it cannot be executed, the check is performed again after a predetermined time and waits until it can be executed. When this check is repeated several times and it becomes possible to execute, the management program 102 is executed. If the check cannot be executed even after repeated several times, the administrator is notified and the management program 102 is released. This function further prevents the load from being concentrated in a specific time zone.

(3)管理者への通知機能: 自動スケジューリング機能でスケジュール修正した場合、所定の時間内にスケジューリングが納まらない場合、管理プログラム102の実行チェック機能で開始時刻に管理プログラム102が実行できない場合、最終的に管理プログラム102が実行できなかった場合、などに管理者へ通知する機能である。通知方法には、3つあり、OS機能であるメッセンジャーを利用して通知する方法、NAS103の管理画面を通して通知する方法、電子メールにて通知する方法がある。通知内容は、例えば、自動スケジューリング機能でスケジュール修正した場合、「管理プログラムのスケジュールを修正しました。修正後のスケジュールはNAS管理画面内のスケジュール管理ページで確認してください。」、所定の時間内にスケジューリングが納まらない場合、「現在設定されているスケジュールでは、管理プログラムが所定時間内に完了できません。1日の中でスケジューリングする実行管理プログラムを減らしてください。もしくは、管理プログラムの設定を変更してください。」、管理プログラム102の実行チェック機能で開始時刻に管理プログラム102が実行できない場合、「他の管理プログラム(テープバックアップ)が実行状態であるため、管理プログラム(ウイルスチェック)がスケジュールどおりに実行できませんでした。3分後、再度、管理プログラム(ウイルスチェック)の実行を試みます。」、最終的に管理プログラム102が実行できなかった場合、「他の管理プログラム(テープバックアップ)が実行状態であるため、管理プログラム(ウイルスチェック)が実行できませんでした。」
(4)クライアントPCへの通知機能: NAS103の負荷が高い状態で、ファイルアクセスを行おうとしているクライアントPC104に対して、メッセージ「現在、NASが高負荷状態です。しばらくしてから再度ファイルアクセスを行ってください。」を送付する。通知方法は、OS機能であるメッセンジャーを利用して通知する。この機能により、さらに、特定の時間帯に負荷が集中してしまうことを防ぐ。
(3) Notification function to administrator: When the schedule is corrected by the automatic scheduling function, when the scheduling cannot be performed within a predetermined time, when the management program 102 cannot be executed at the start time by the execution check function of the management program 102, the final This is a function for notifying the administrator when the management program 102 cannot be executed. There are three notification methods: a notification method using a messenger which is an OS function, a notification method through the management screen of the NAS 103, and a notification method by e-mail. For example, when the schedule is corrected with the automatic scheduling function, the notification contents are “The schedule of the management program has been corrected. Check the corrected schedule on the schedule management page in the NAS management screen.” If the schedule does not meet the schedule, the management program cannot be completed within the specified time according to the currently set schedule. Reduce the number of execution management programs to be scheduled in one day, or change the settings of the management program. "If the management program 102 cannot be executed at the start time by the execution check function of the management program 102," Since another management program (tape backup) is in execution, the management program (virus check) will run as scheduled. " After 3 minutes, try to execute the management program (virus check) again. ”When the management program 102 could not be executed finally,“ Other management program (tape backup) is running. As a result, the management program (virus check) could not be executed. "
(4) Notification function to the client PC: When the NAS 103 is in a high load state, the message “Currently NAS is in a high load state.” Message is sent to the client PC 104 that is trying to access the file. Please go. " The notification method is notified using a messenger which is an OS function. This function further prevents the load from being concentrated in a specific time zone.

(5)スケジュール情報をNAS管理画面内のスケジュール管理ページに表示する機能: 現状の管理プログラム102のスケジュール状態をNAS管理画面内のスケジュール管理ページに表示する機能である。管理者は、このページで現状のスケジュール状態を閲覧することができる。   (5) Function for displaying schedule information on the schedule management page in the NAS management screen: This is a function for displaying the current schedule state of the management program 102 on the schedule management page in the NAS management screen. The administrator can view the current schedule state on this page.

図2を参照して、自動スケジューリングシステムの機能構成について説明する。図2は、本発明の実施の形態における自動スケジューリングシステムの機能構成を示すブロック図である。   A functional configuration of the automatic scheduling system will be described with reference to FIG. FIG. 2 is a block diagram showing a functional configuration of the automatic scheduling system according to the embodiment of the present invention.

自動スケジューリングシステムは、図2内のリソース使用状況監視モジュール201、負荷が高い時間帯・低い時間帯の解析モジュール202、自動スケジューリングモジュール203、クライアントPCからのファイルアクセス監視モジュール204、ファイルアクセスが多い時間帯・少ない時間帯の解析モジュール205、管理プログラムの監視モジュール206、ファイル容量監視モジュール207、ファイル容量に対する管理プログラム実行時間の解析モジュール208、スケジュール管理データベース209、クライアントPCへの通知モジュール210、管理者への通知モジュール211、NAS管理画面内のスケジュール管理ページ212、管理プログラム実行チェックモジュール213を有する。   The automatic scheduling system includes a resource usage status monitoring module 201 in FIG. 2, an analysis module 202 with a high load / low load period, an automatic scheduling module 203, a file access monitoring module 204 from a client PC, and a time with many file accesses. Analysis module 205 for time zone / low time zone, management program monitoring module 206, file capacity monitoring module 207, management program execution time analysis module 208 for file capacity, schedule management database 209, client PC notification module 210, administrator Notification module 211, schedule management page 212 in the NAS management screen, and management program execution check module 213.

リソース使用状況監視モジュール201は、リソースの使用状況を一定間間隔で監視し、その時点でのリソース使用状況を、負荷が高い時間帯・低い時間帯の解析モジュール202とクライアントPCからのファイルアクセス監視モジュール204に通知する。リソース使用状況監視モジュール201が監視するリソースには、CPU使用率、メモリ使用率、メモリのスワッピング情報、HDDのビジー率、HDDのキュー情報、ネットワーク使用率などがある。また、各プロセス、管理プログラム102のリソース使用率も監視する。   The resource usage status monitoring module 201 monitors the resource usage status at regular intervals, and monitors the resource usage status at that point in time from the analysis module 202 and the client PC in the high and low load time zones. Notify the module 204. The resources monitored by the resource usage monitoring module 201 include CPU usage rate, memory usage rate, memory swapping information, HDD busy rate, HDD queue information, network usage rate, and the like. Also, the resource usage rate of each process and management program 102 is monitored.

負荷が高い時間帯・低い時間帯の解析モジュール202は、リソース使用状況監視モジュール201から取得した情報を元に、負荷が高い時間帯、低い時間帯を解析する。また、負荷が高い時間帯がある場合は、負荷を高くしているプロセスもしくは管理プログラム102を解析する。これら解析結果を、自動スケジューリングモジュール203に通知する。例えば、負荷が高い時間帯とみなす判断基準は、5分間内で、CPU使用率が90%以上の時があるか、メモリ使用率が90%以上の時があるか、1秒間でのスワッピング回数が20以上の時があるか、HDDのビジー率が90%以上の時があるか、HDDのキューが平均HDDの数×2以上であるか、ネットワーク使用率が90%以上の時があるか、これらのうち1つでも当てはまる場合はこの5分間を負荷が高い時間帯とする。次に、この5分間で、負荷を高くしているプロセスもしくは管理プログラム102を解析する。この5分間が、CPU使用率が90%以上の時があることが原因で負荷が高ったとすると、CPU使用率50%以上のプロセスもしくは管理プログラム102を解析する。   Based on the information acquired from the resource usage monitoring module 201, the analysis module 202 of the high load time zone and the low load time zone analyzes the high load time zone and the low time zone. If there is a time zone with a high load, the process or the management program 102 that increases the load is analyzed. These analysis results are notified to the automatic scheduling module 203. For example, the criterion for determining a high load time period is that the CPU usage rate is 90% or higher, the memory usage rate is 90% or higher, and the number of swaps per second within 5 minutes. Is the HDD busy rate over 90%, HDD queue is the average number of HDDs x 2 or more, or network usage is over 90% If any one of these is true, the 5 minutes is set as a high load time zone. Next, the process or management program 102 that has increased the load in this 5 minutes is analyzed. If the load is high due to the CPU usage rate being 90% or more during these 5 minutes, the process or the management program 102 having a CPU usage rate of 50% or more is analyzed.

クライアントPCからのファイルアクセス監視モジュール204は、NAS103へ接続しているクライアントPC104を一定間間隔で監視し、その時点での接続しているクライアントPC104の台数をファイルアクセスが多い時間帯・少ない時間帯の解析モジュール205へ通知する。また、NAS103へ接続しているすべてのクライアントPC104から、一定時間内で書き込んだファイルもしくは読み込んだファイルの容量を、ファイルアクセスが多い時間帯・少ない時間帯の解析モジュール205へ通知する。また、クライアントPCからのファイルアクセス監視モジュール204は、リソース使用状況の監視モジュール201から通知される情報から通知される情報を元に、高負荷状態であるかを解析し、高負荷状態の時に新たにNAS103へ接続してきたクライアントPC104があった場合は、NAS103が高負荷状態であるということをクライアントPCへの通知モジュール210へ通知する。   The file access monitoring module 204 from the client PC monitors the client PCs 104 connected to the NAS 103 at regular intervals, and the number of connected client PCs 104 at that time is a time zone when the file access is high or a time zone when the file access is low. The analysis module 205 is notified. Also, from all the client PCs 104 connected to the NAS 103, the capacity of the file written or read within a certain time period is notified to the analysis module 205 in the time zone where the file access is large and the time zone where the file access is small. Further, the file access monitoring module 204 from the client PC analyzes whether it is in a high load state based on the information notified from the information notified from the resource use state monitoring module 201, and if it is in a high load state, a new If there is a client PC 104 connected to the NAS 103, the notification module 210 to the client PC is notified that the NAS 103 is in a high load state.

クライアントPCへの通知モジュール210は、クライアントPCからのファイルアクセス監視モジュール204から通知される情報を元に、NAS103へ接続してきたクライアントPC104に対し、メッセンジャー機能にてメッセージ「現在、NASが高負荷状態です。しばらくしてから再度ファイルアクセスを行ってください。」を通知する。   Based on the information notified from the file access monitoring module 204 from the client PC, the notification module 210 to the client PC sends a message “Currently NAS is in a high load state” to the client PC 104 connected to the NAS 103 using the messenger function. Please try again after a while. "

ファイルアクセスが多い時間帯・少ない時間帯の解析モジュール205は、クライアントPCからのファイルアクセス監視モジュール204から通知される情報を元に、ファイルアクセスが多い時間帯・少ない時間帯の解析を行う。この解析結果を、自動スケジューリングモジュール203に通知する。例えば、5分間内でNAS103への同時接続台数が10台以上の時があるか、5分間で総容量3GB以上のファイルが書き込まれたか、5分間で総容量3GB以上のファイルが読み込まれたか、これらのうち1つでも当てはまる場合はファイルアクセスが多い時間帯とする。   The analysis module 205 for a time zone with a large number of file accesses and a time zone for a low time zone analyzes the time zone with a large number of file accesses and a time zone with a small number of times based on information notified from the file access monitoring module 204 from the client PC. This analysis result is notified to the automatic scheduling module 203. For example, when there are 10 or more simultaneous connections to NAS 103 within 5 minutes, whether a file with a total capacity of 3 GB or more was written in 5 minutes, or a file with a total capacity of 3 GB or more was read in 5 minutes, If any one of these applies, it is a time zone when there are many file accesses.

管理プログラムの監視モジュール206は、管理プログラム102の実行状態を、ファイル容量に対する管理プログラム実行時間の解析モジュール208へ通知する。例えば、管理プログラム102の開始時間と完了時間を通知する。   The management program monitoring module 206 notifies the execution status of the management program 102 to the management program execution time analysis module 208 for the file capacity. For example, the start time and completion time of the management program 102 are notified.

ファイル容量監視モジュール207は、NAS103に格納されているファイルを一定間間隔で監視し、その時点でのファイル容量を、ファイル容量に対する管理プログラム実行時間の解析モジュール208へ通知する。また、管理プログラム102が対象としているディレクトリ内のファイル容量を、ファイル容量に対する管理プログラム実行時間の解析モジュール208へ通知する。例えば、バックアップソフトウェアがバックアップ対象としているディレクトリ内のファイル容量などがある。   The file capacity monitoring module 207 monitors the files stored in the NAS 103 at regular intervals, and notifies the analysis module 208 of the management program execution time for the file capacity at that time. Also, the file capacity in the directory targeted by the management program 102 is notified to the analysis module 208 of the management program execution time for the file capacity. For example, there is a file capacity in a directory to be backed up by the backup software.

ファイル容量に対する管理プログラム実行時間の解析モジュール208は、管理プログラムの監視モジュール206とファイル容量監視モジュール207から通知された情報を元に、NAS103上に格納されているファイル容量もしくは管理プログラム102が対象としているディレクトリに対しての、管理プログラム102の実行時間を解析する。次に、ある一定時間後、NAS103上で増加もしくは減少したファイル総容量に対して、管理プログラム102の実行時間を予測し、この予測した実行時間を自動スケジューリングモジュール203に通知する。例えば、バックアップソフトウェアがバックアップ対象としているディレクトリ内のファイル容量10GBだったとすると、この10GBに対し、管理プログラム102の実行時間が1時間であったとする。次に、5分後、NAS103上に格納されているファイル容量が20GBだとすると、管理プログラム102の実行時間は2時間と予測できる。この情報を通知する。   The management program execution time analysis module 208 for the file capacity is targeted at the file capacity stored in the NAS 103 or the management program 102 based on the information notified from the management program monitoring module 206 and the file capacity monitoring module 207. The execution time of the management program 102 for the existing directory is analyzed. Next, after a certain period of time, the execution time of the management program 102 is predicted for the total file capacity that has increased or decreased on the NAS 103, and the predicted execution time is notified to the automatic scheduling module 203. For example, if the backup software has a file capacity of 10 GB in the directory to be backed up, the execution time of the management program 102 is 1 hour for 10 GB. Next, after 5 minutes, assuming that the file capacity stored on the NAS 103 is 20 GB, the execution time of the management program 102 can be predicted to be 2 hours. Notify this information.

自動スケジューリングモジュール203は、まず、スケジュール管理データベース209から管理プログラム102のスケジュール情報を取得する。次に、負荷が高い時間帯・低い時間帯の解析モジュール202、ファイルアクセスが多い時間帯・少ない時間帯の解析モジュール205とファイル容量に対する管理プログラム実行時間の解析モジュール208から通知された情報を元に、管理プログラム102のスケジュール情報を修正し、この修正内容をスケジュール管理データベース209に通知する。スケジュール修正を行う際に、スケジュールがある所定時間内に納まらない場合は、この情報を管理者への通知モジュール211へ通知する。自動スケジューリングモジュール203の自動スケジューリング処理に関する詳細については後術する。   The automatic scheduling module 203 first acquires schedule information of the management program 102 from the schedule management database 209. Next, based on the information notified from the analysis module 202 in the high / low load time zone, the analysis module 205 in the high / low time zone of the file access, and the analysis program 208 of the management program execution time for the file capacity. Then, the schedule information of the management program 102 is corrected, and the correction contents are notified to the schedule management database 209. When the schedule is corrected, if the schedule does not fit within a predetermined time, this information is notified to the notification module 211 to the administrator. Details regarding the automatic scheduling processing of the automatic scheduling module 203 will be described later.

管理者への通知モジュール211は、自動スケジューリングモジュール203もしくは管理プログラム実行チェックモジュール213から通知される情報を元に、管理者に対し、メッセージを通知する。通知方法には、3つあり、OS機能であるメッセンジャーを利用して通知する方法、NAS103の管理画面を通して通知する方法、電子メールにて通知する方法がある。   The notification module 211 for the administrator notifies the administrator of a message based on information notified from the automatic scheduling module 203 or the management program execution check module 213. There are three notification methods: a notification method using a messenger that is an OS function, a notification method through the management screen of the NAS 103, and a notification method by e-mail.

スケジュール管理データベース209は、それぞれの管理プログラム102で設定されているスケジュール情報や自動スケジューリングモジュール203から通知された情報を元に、それぞれの管理プログラム102の開始時刻だけでなく予想完了時刻を含んだスケジュール情報を管理する。管理しているスケジュール情報は、NAS管理画面内のスケジュール管理ページ212へ通知する。また、管理しているスケジュール情報を自動スケジューリングモジュール203に通知したり、場合によっては、自動スケジューリングモジュール203から通知された情報を元に、それぞれの管理プログラム102のスケジュールを修正したりする。   The schedule management database 209 is a schedule including not only the start time of each management program 102 but also the expected completion time based on the schedule information set by each management program 102 and information notified from the automatic scheduling module 203. Manage information. The managed schedule information is notified to the schedule management page 212 in the NAS management screen. Further, the management schedule information is notified to the automatic scheduling module 203, and in some cases, the schedule of each management program 102 is corrected based on the information notified from the automatic scheduling module 203.

NAS管理画面内のスケジュール管理ページ212は、スケジュール管理データベース209から通知された情報を元に、管理プログラム102のスケジュール情報をNAS管理画面に表示する。   The schedule management page 212 in the NAS management screen displays the schedule information of the management program 102 on the NAS management screen based on the information notified from the schedule management database 209.

管理プログラム実行チェックモジュール213は、スケジュールされた管理プログラム102の開始時刻に対して、開始時刻直前に、リソース使用状況監視モジュール201、クライアントPCからのファイルアクセス監視モジュール204、管理プログラムの監視モジュール206から通知される情報を元にNAS103の負荷が高いか・低いか、ファイルアクセスが多いか・少ないか、他の管理プログラム102が動作中であるかを解析する。負荷が低く、ファイルアクセスが少なく、他の管理プログラム102が動作していない場合は、そのまま管理プログラム102を実行する。負荷が高い場合、ファイルアクセスが多い場合、もしくは他の管理プログラム102が動作中の場合は、一定時間経過後、再度チェックを実行する。負荷が低く、ファイルアクセスが少なく、他の管理プログラム102が動作していない状態になったら、管理プログラム102を実行する。管理プログラム実行チェックモジュール213の管理プログラム実行チェック処理に関する詳細については後術する。   The management program execution check module 213 receives the resource usage status monitoring module 201, the file access monitoring module 204 from the client PC, and the management program monitoring module 206 immediately before the scheduled start time of the management program 102. Based on the notified information, it is analyzed whether the load of the NAS 103 is high / low, whether the file access is high / low, and whether another management program 102 is operating. When the load is low, the file access is small, and another management program 102 is not operating, the management program 102 is executed as it is. When the load is high, when there are many file accesses, or when another management program 102 is operating, the check is executed again after a predetermined time. When the load is low, the file access is small, and another management program 102 is not operating, the management program 102 is executed. Details regarding the management program execution check process of the management program execution check module 213 will be described later.

次に、図3は、本発明の実施の形態による自動スケジューリングシステム101での自動スケジューリングモジュール203による自動スケジュール処理の手順について示すフローチャートである。図3のフローを参照しながら、自動スケジューリングモジュール203による自動スケジュール処理について説明する。   Next, FIG. 3 is a flowchart showing a procedure of automatic schedule processing by the automatic scheduling module 203 in the automatic scheduling system 101 according to the embodiment of the present invention. The automatic schedule processing by the automatic scheduling module 203 will be described with reference to the flow of FIG.

まず、自動スケジューリングモジュール203は、スケジュール管理データベース209から1つの管理プログラム102のスケジュール情報を取得し(ステップ301)、管理プログラム102の開始時刻を読み込む(ステップ302)。   First, the automatic scheduling module 203 acquires schedule information of one management program 102 from the schedule management database 209 (step 301), and reads the start time of the management program 102 (step 302).

次に、スケジュール管理データベース209の情報を元に、この開始時刻が他の管理プログラム102のスケジュールと重なるかを確認する(ステップ303)。重なる場合は、管理プログラム102の開始時刻を修正する(ステップ304)。   Next, based on the information in the schedule management database 209, it is confirmed whether this start time overlaps with the schedule of the other management program 102 (step 303). If they overlap, the start time of the management program 102 is corrected (step 304).

次に、管理プログラム102の開始時刻に対し、1週間前、2週間前、3週間前、4週間前の同曜日・同時刻に、負荷が高い・ファイルアクセスが多い時が2回以上あったかを確認する(ステップ305)。ただし、ここで負荷が高いとみなすのは、負荷が高い原因がスケジュールされている管理プログラム102以外が原因の場合のみである。負荷が高い・ファイルアクセスが多い時が2回以上あった場合は、開始時刻を負荷が低く、ファイルアクセスが少ない時間帯にずらす(ステップ306)。   Next, with respect to the start time of the management program 102, whether the load was high or there were more than two times of file access on the same day and the same time of 1 week, 2 weeks, 3 weeks, and 4 weeks ago Confirm (step 305). However, the high load is considered here only when the cause of the high load is caused by something other than the scheduled management program 102. If the load is high or there are many file accesses, the start time is shifted to a time zone where the load is low and the file access is low (step 306).

次に、ファイル容量に対する管理プログラム実行時間の解析モジュール208の情報を元に、この管理プログラム102の開始時刻に対し、完了時刻を解析する(ステップ307)。   Next, based on the information of the management program execution time analysis module 208 for the file capacity, the completion time is analyzed with respect to the start time of the management program 102 (step 307).

次に、管理プログラム102の開始時刻から完了時刻の間の時間帯に対し、1週間前、2週間前、3週間前、4週間前の同時刻間の間の時間帯で、負荷が高い・ファイルアクセスが多い時が2回以上あったかを確認する(ステップ308)。ただし、ここで負荷が高いとみなすのは、負荷が高い原因がスケジュールされている管理プログラム102以外が原因の場合のみである。負荷が高い・ファイルアクセスが多い時が2回以上あった場合は、管理者への通知モジュール211を使用して、スケジュールに問題があることを管理者に通知する(ステップ309)。同時に、スケジュール管理データベース209を使用して、管理プログラム102のスケジュールを解除する(ステップ310)。   Next, with respect to the time zone between the start time and completion time of the management program 102, the load is high in the time zone between the same time of 1 week ago, 2 weeks ago, 3 weeks ago, 4 weeks ago. It is confirmed whether there have been two or more times when there are many file accesses (step 308). However, the high load is considered here only when the cause of the high load is caused by something other than the scheduled management program 102. When the load is high and there are many file accesses twice or more, the administrator is notified of a problem in the schedule using the notification module 211 to the administrator (step 309). At the same time, the schedule of the management program 102 is canceled using the schedule management database 209 (step 310).

最後に、必要に応じて管理者に通知する(ステップ311)。例えば、開始時刻が修正された場合は、修正した内容を管理者に通知する。   Finally, the administrator is notified as necessary (step 311). For example, when the start time is corrected, the corrected content is notified to the administrator.

次に、図4は、本発明の実施の形態による自動スケジューリングシステム101での管理プログラム実行チェックモジュール213による管理プログラム実行チェック処理の手順について示すフローチャートである。図4のフローを参照しながら、管理プログラム実行チェックモジュール213による管理プログラム実行チェック処理について説明する。   Next, FIG. 4 is a flowchart showing a procedure of management program execution check processing by the management program execution check module 213 in the automatic scheduling system 101 according to the embodiment of the present invention. The management program execution check process by the management program execution check module 213 will be described with reference to the flow of FIG.

まず、管理プログラム実行チェックモジュール213は、管理プログラム102の開始時刻直前に、リソース使用状況監視モジュール201、クライアントPCからのファイルアクセス監視モジュール204、管理プログラムの監視モジュール206からNAS103の負荷状態、ファイルアクセスの状態、他の管理プログラム102の状態を読み込む(ステップ401)。読み込んだ情報を元に、NAS103の負荷が高いか・低いか、ファイルアクセスが多いか・少ないか、他の管理プログラム102が動作中であるかを解析する(ステップ402)。負荷が低く、ファイルアクセスが少なく、他の管理プログラム102が動作していない場合は、そのまま管理プログラム102を実行する(ステップ410)。負荷が高い場合、ファイルアクセスが多い場合、もしくは他の管理プログラム102が動作中の場合は、管理者への通知モジュール211を使用して、管理者へ、管理プログラム102の開始時刻を3分後に修正するということを通知する(ステップ403)。同時に、管理プログラム102にアクセスし、管理プログラム102の開始時刻を3分後に修正する(ステップ404)。   First, the management program execution check module 213 immediately before the start time of the management program 102, the resource usage monitoring module 201, the file access monitoring module 204 from the client PC, the management program monitoring module 206 to the NAS 103 load status, file access And the state of the other management program 102 are read (step 401). Based on the read information, it is analyzed whether the load on the NAS 103 is high / low, whether the file access is high / low, and whether another management program 102 is operating (step 402). When the load is low, the file access is small, and the other management program 102 is not operating, the management program 102 is executed as it is (step 410). When the load is high, when there are many file accesses, or when another management program 102 is operating, the manager notification module 211 is used to notify the administrator of the start time of the management program 102 after 3 minutes. Notification of correction is made (step 403). At the same time, the management program 102 is accessed and the start time of the management program 102 is corrected after 3 minutes (step 404).

続いて、修正された開始時刻に対し、ステップ401・ステップ402と同動作を行う(ステップ405・ステップ406)。それでも、負荷が高い場合、ファイルアクセスが多い場合、もしくは他の管理プログラム102が動作中の場合は、今回の管理プログラム実行チェック処理で開始時刻の修正回数が10回以下であるかを解析する(ステップ407)。10回以下の場合は、ステップ403からやり直す。10以上の場合は、管理者への通知モジュール211を使用して、管理者へ、管理プログラム102の実行を解除するということを通知する(ステップ408)。同時に、管理プログラム102にアクセスし、管理プログラム102の実行を解除する(ステップ409)。   Subsequently, the same operation as step 401 and step 402 is performed for the corrected start time (step 405 and step 406). Still, when the load is high, when there are many file accesses, or when another management program 102 is operating, the current management program execution check process analyzes whether the start time correction count is 10 or less ( Step 407). If it is 10 times or less, the process is repeated from step 403. In the case of 10 or more, the notification module 211 to the administrator is used to notify the administrator that the execution of the management program 102 is to be canceled (step 408). At the same time, the management program 102 is accessed to cancel the execution of the management program 102 (step 409).

本発明の自動スケジューリングシステムを適用した実施例の構成を示す図である。It is a figure which shows the structure of the Example to which the automatic scheduling system of this invention is applied. 本発明の実施例に係るNAS103内の内部モジュール構成を示すブロック図である。It is a block diagram which shows the internal module structure in NAS103 based on the Example of this invention. 本発明の実施例に係る自動スケジューリングモジュール203が自動スケジューリングする方法例を示すフローチャート図である。FIG. 5 is a flowchart illustrating an example of a method for automatic scheduling by an automatic scheduling module 203 according to an embodiment of the present invention. 本発明の実施例に係る管理プログラム実行チェックモジュール213が管理プログラムの実行チェックを行う方法例を示すフローチャート図である。It is a flowchart figure which shows the example of a method in which the management program execution check module 213 based on the Example of this invention performs execution check of a management program.

符号の説明Explanation of symbols

101 自動スケジューリングシステム
102 管理プログラム
103 NAS
104 クライアントPC
105 テープバックアップ装置
106 管理PC
201 リソース使用状況の監視モジュール
202 負荷が高い時間帯・低い時間帯の解析モジュール
203 自動スケジューリングモジュール
204 クライアントPCからのファイルアクセス監視モジュール
205 ファイルアクセスが多い時間帯・少ない時間帯の解析モジュール
206 管理プログラムの監視モジュール
207 ファイル容量監視モジュール
208 ファイル容量に対する管理プログラム実行時間の解析モジュール
209 スケジュール管理データベース
210 クライアントPCへの通知モジュール
211 管理者への通知モジュール
212 NAS管理画面内のスケジュール管理ページ
213 管理プログラム実行チェックモジュール
101 automatic scheduling system 102 management program 103 NAS
104 client PC
105 Tape backup device 106 Management PC
201 Resource Usage Status Monitoring Module 202 Analysis Module for High and Low Time Zones 203 Automatic Scheduling Module 204 File Access Monitoring Module from Client PC 205 Analysis Module for Time Zones with High and Low File Access 206 Management Program Monitoring module 207 File capacity monitoring module 208 Management program execution time analysis module 209 for file capacity Schedule management database 210 Notification module 211 for client PC 211 Notification module 212 for administrator Schedule management page 213 in NAS management screen Execution of management program Check module

Claims (3)

NAS上で動作する管理プログラムの自動スケジューリング方法であって、当該NASのリソースの使用状態を監視してNASの負荷が低い時間帯を解析し、クライアントPCからのファイルアクセス状態を監視してPCからのファイルアクセスの少ない時間帯を解析し、さらに、NAS上に格納されているファイル容量を監視してファイル容量に対する管理プログラムの実行時間を解析し、これらの解析結果に基づいて管理プログラムの自動スケジューリングを行うことを特徴とする管理プログラムの自動スケジューリング方法。   An automatic scheduling method for a management program that operates on a NAS, which monitors the usage state of the resources of the NAS, analyzes a time zone when the load on the NAS is low, and monitors a file access state from a client PC to Analyzing the time zone when file access is low, monitoring the file capacity stored on the NAS and analyzing the execution time of the management program for the file capacity, and automatically scheduling the management program based on these analysis results An automatic scheduling method for a management program, characterized in that: 管理プログラムを実行する直前にNASの負荷状態を認識し、その負荷状態が一定の量を超えたら、当該プログラムの実行を一定時間遅らせることを特徴とする請求項1記載の管理プログラムの自動スケジューリング方法。   2. The management program automatic scheduling method according to claim 1, wherein the NAS load state is recognized immediately before execution of the management program, and if the load state exceeds a certain amount, execution of the program is delayed for a certain time. . NASの負荷が高い状態の時に、利用者からの外部アクセス要求があった場合に、利用者に対しアクセスを停止させる旨のメッセージを送付することを特徴とする請求項1記載の管理プログラムの自動スケジューリング方法。
2. The management program automatic operation according to claim 1, wherein a message to stop access is sent to the user when there is an external access request from the user when the NAS load is high. Scheduling method.
JP2005087468A 2005-03-25 2005-03-25 Automatic scheduling method for management program Pending JP2006268594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005087468A JP2006268594A (en) 2005-03-25 2005-03-25 Automatic scheduling method for management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005087468A JP2006268594A (en) 2005-03-25 2005-03-25 Automatic scheduling method for management program

Publications (1)

Publication Number Publication Date
JP2006268594A true JP2006268594A (en) 2006-10-05

Family

ID=37204472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005087468A Pending JP2006268594A (en) 2005-03-25 2005-03-25 Automatic scheduling method for management program

Country Status (1)

Country Link
JP (1) JP2006268594A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008251001A (en) * 2007-03-27 2008-10-16 Symantec Corp Method and apparatus for allocating resources among backup tasks in data backup system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008251001A (en) * 2007-03-27 2008-10-16 Symantec Corp Method and apparatus for allocating resources among backup tasks in data backup system

Similar Documents

Publication Publication Date Title
JP6669682B2 (en) Cloud server scheduling method and apparatus
US8661447B1 (en) Method and apparatus for managing execution of a plurality of computer tasks based on availability of computer resources
US8239869B2 (en) Method, system and apparatus for scheduling computer micro-jobs to execute at non-disruptive times and modifying a minimum wait time between the utilization windows for monitoring the resources
US8424007B1 (en) Prioritizing tasks from virtual machines
US8856793B2 (en) System, method and program for scheduling computer program jobs
US9495201B2 (en) Management of bottlenecks in database systems
EP1750200A2 (en) System and method for executing job step, and computer product
US20120204193A1 (en) Methods and computer program products for monitoring system calls using safely removable system function table chaining
TWI394074B (en) Methods, apparatus and computer programs for managing access to storage
CN109558260B (en) Kubernetes fault elimination system, method, equipment and medium
JP2015049550A (en) Control program, control method, and control device
US20110041131A1 (en) Migrating tasks across processors
US7555621B1 (en) Disk access antiblocking system and method
JP2004038516A (en) Work processing system, operation management method and program for performing operation management
JP2008234520A (en) Software behavior monitoring device, software behavior monitoring system and its program
US9128754B2 (en) Resource starvation management in a computer system
CN111177032A (en) Cache space application method, system, device and computer readable storage medium
JP4992740B2 (en) Multiprocessor system, failure detection method, and failure detection program
JP2008090798A (en) Backup-control device of data-processing system, and system therefor
US20180173473A1 (en) Method for operating a print server for digital high-capacity printing systems
JP2008204243A (en) Job execution control method and system
US10303404B2 (en) Method for operating a print server for digital high-capacity printing systems
JP2006268594A (en) Automatic scheduling method for management program
JP5884566B2 (en) Batch processing system, progress confirmation device, progress confirmation method, and program
JP2012247937A (en) Information processing unit, log storage control program, and log storage control method