JP2012108794A - Repeating installation, repeating method, and device management apparatus - Google Patents

Repeating installation, repeating method, and device management apparatus Download PDF

Info

Publication number
JP2012108794A
JP2012108794A JP2010258165A JP2010258165A JP2012108794A JP 2012108794 A JP2012108794 A JP 2012108794A JP 2010258165 A JP2010258165 A JP 2010258165A JP 2010258165 A JP2010258165 A JP 2010258165A JP 2012108794 A JP2012108794 A JP 2012108794A
Authority
JP
Japan
Prior art keywords
change
connection state
unit
temporary
expander
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010258165A
Other languages
Japanese (ja)
Inventor
Nobuyuki Honjo
信行 本城
Atsuhiro Otaka
敦弘 大▲高▼
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010258165A priority Critical patent/JP2012108794A/en
Priority to US13/285,034 priority patent/US20120131214A1/en
Publication of JP2012108794A publication Critical patent/JP2012108794A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0784Routing of error reports, e.g. with a specific transmission path or data flow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • G06F11/3079Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting the data filtering being achieved by reporting only the changes of the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent resources of a repeating installation from being wasted.SOLUTION: When a connection state of connection with an apparatus connected to an expander 10 changes, the expander 10 determines whether the change is temporary based upon a factor of the change in connection state. When it is determined that the change is temporary, the expander 10 quits updating information stored in a direct table 16a and associated with the connection state. When it is determined that the change in connection state is not temporary, the expander 10 updates the information stored in the direct table 16a and associated with the connection state based upon the change in connection state. Then, the expander 10 quits reporting the change in connection state to a high-order apparatus above the expander 10 when the change in connection state is temporary, but reports the change in connection state to the high-order apparatus when the change in connection state is not temporary.

Description

本発明は、中継装置、中継方法およびデバイス管理装置に関する。   The present invention relates to a relay apparatus, a relay method, and a device management apparatus.

近年、ハードディスク等のデバイスを接続する規格として、SAS(Serial Attached SCSI)規格またはSATA(Serial Advanced Technology Attachment)規格がストレージ装置等に採用されている。また、このようなSAS規格またはSATA規格の物理ポートを有し、上位装置とデバイスとの間で行われるデータの送受信を中継するエクスパンダ(EXPANDER)などの中継装置が知られている。   In recent years, the SAS (Serial Attached SCSI) standard or the SATA (Serial Advanced Technology Attachment) standard has been adopted for storage devices and the like as a standard for connecting devices such as hard disks. Also, a relay device such as an expander that has such a SAS standard or SATA standard physical port and relays data transmission / reception performed between a host device and a device is known.

このような中継装置は、デバイスの故障や保守のためにデバイスが取り外されたり装着されたりしたこと等が原因で、接続されているデバイスの状態に変化があった場合には、状態変化があったことをブロードキャストにより上位装置に通知する。   Such a relay device has a state change if the state of the connected device changes due to a device failure or maintenance that causes the device to be removed or attached. Is notified to the higher-level device by broadcasting.

具体的には、図13に示すように、中継装置は、デバイスの接続状態を示すリンクステータスに変化が発生すると(ステップS1)、自装置に直接接続しているデバイスから接続に関する情報を取得する(ステップS2)。そして、中継装置は、取得した情報を基に、ダイレクトテーブルを更新し(ステップS3)、状態変化通知をブロードキャストする(ステップS4)。   Specifically, as illustrated in FIG. 13, when a change occurs in the link status indicating the connection state of the device (Step S <b> 1), the relay apparatus acquires information regarding the connection from the device directly connected to the own apparatus. (Step S2). Then, the relay device updates the direct table based on the acquired information (step S3), and broadcasts a state change notification (step S4).

ここで、中継装置の処理について図14の例を用いて説明する。例えば、図14に例示するように、中継装置であるエクスパンダ「#2」に直接接続されたHDD(Hard Disk Drive)「2−3」が故障すると、エクスパンダ「#2」とHDD「2−3」とのリンクステータスがリンクアップからリンクダウンに遷移する。そして、エクスパンダ「#2」は、自装置に直接接続されたデバイスとの接続状態に関する情報を記憶するダイレクトテーブルを更新し、上位のエクスパンダ「#1」に接続状態の変化があったこと通知するブロードキャストを発行する。   Here, the processing of the relay apparatus will be described using the example of FIG. For example, as illustrated in FIG. 14, when the HDD (Hard Disk Drive) “2-3” directly connected to the expander “# 2” as the relay device fails, the expander “# 2” and the HDD “2” -3 ”transitions from link up to link down. Then, the expander “# 2” updates the direct table that stores information on the connection state with the device directly connected to the own device, and the upper expander “# 1” has a change in the connection state. Publish a broadcast to notify.

その後、通知を受信したエクスパンダ「#1」は、下位のエクスパンダ「#2」が保持する接続状態に関する情報を取得し、自装置のダイレクトテーブルと自装置よりも下位のエクスパンダと接続されたデバイスとの接続状態に関する情報を記憶するルーティングテーブルを更新する。そして、エクスパンダ「#1」は、上位のエクスパンダ「#0」に状態変化があったこと通知するブロードキャストを発行する。その後、エクスパンダ「#0」は、下位のエクスパンダ「#2」が保持する接続状態に関する情報を取得してダイレクトテーブルと、ルーティングテーブルとを更新するとともに、ROCに接続状態の変化を通知する。なお、ダイレクトテーブルは、自装置と直接接続されたデバイスとの接続状態に関する情報を記憶する。また、ルーティングテーブルは、下位のエクスパンダと接続されたデバイスとの接続状態に関する情報を記憶する。   After that, the expander “# 1” that has received the notification acquires information related to the connection state held by the lower expander “# 2”, and is connected to the direct table of the own device and the lower expander. Update the routing table that stores information on the connection status with the device. The expander “# 1” issues a broadcast notifying that the upper expander “# 0” has changed state. Thereafter, the expander “# 0” acquires information on the connection state held by the lower expander “# 2”, updates the direct table and the routing table, and notifies the ROC of the change in the connection state. . The direct table stores information related to the connection state between the device directly connected to the own device. Further, the routing table stores information related to the connection state between the lower expander and the connected device.

特開2010−61664号公報JP 2010-61664 A

しかしながら、上述したブロードキャストを発行する技術では、デバイスの接続状態に変化があるたびに、接続状態に関する情報を上位装置に通知するブロードキャストを毎回発行するので、メモリやCPUといったリソースを無駄に消費してしまうという課題があった。つまり、デバイスの接続状態の変化が一時的な変化であり、接続状態に関する情報を上位装置に通知するブロードキャストを発行する必要がない場合であっても、ブロードキャストを毎回発行してしまい、メモリやCPUといった各中継装置のリソースを無駄に消費してしまう。   However, with the above-described technology for issuing a broadcast, every time there is a change in the connection status of a device, a broadcast that notifies the host device of information related to the connection status is issued every time, so resources such as memory and CPU are wasted. There was a problem of ending up. That is, even when the change in the connection state of the device is a temporary change and it is not necessary to issue a broadcast that notifies the host device of information related to the connection state, the broadcast is issued each time, and the memory or CPU Thus, the resources of each relay device are wasted.

一つの側面では、中継装置のリソースを無駄に消費することを防止する中継装置、中継方法およびデバイス管理装置を提供することを目的とする。   An object of one aspect is to provide a relay apparatus, a relay method, and a device management apparatus that prevent waste of resources of the relay apparatus.

第一の案では、中継装置は、自装置に接続されたデバイスとの接続状態に関する情報を記憶する第一の記憶部を有する。そして、中継装置は、自装置と接続されたデバイスとの接続状態が変化した場合には、接続状態が変化した変化要因に基づいて、接続状態の変化が一時的な変化であるか否かを判定する。そして、中継装置は、接続状態の変化が一時的な変化であると判定された場合には、第一の記憶部に記憶された接続状態に関する情報の更新を中止し、接続状態の変化が一時的な変化でないと判定された場合には記接続状態の変化に基づいて、第一の記憶部に記憶された接続状態に関する情報を更新する。中継装置は、接続状態の変化が一時的な変化であると判定された場合には、自装置よりも上位の装置に接続状態の変化を通知することを中止し、接続状態の変化が一時的な変化でないと判定された場合には、上位の装置に接続状態の変化を通知する。   In the first plan, the relay apparatus includes a first storage unit that stores information related to a connection state with a device connected to the relay apparatus. Then, when the connection state between the relay device and the device connected to the relay device changes, the relay device determines whether the change in the connection state is a temporary change based on the change factor of the change in the connection state. judge. When it is determined that the change in the connection state is a temporary change, the relay device stops updating the information on the connection state stored in the first storage unit, and the change in the connection state is temporarily When it is determined that the connection state is not a change, the information on the connection state stored in the first storage unit is updated based on the change in the connection state. When it is determined that the change in the connection state is a temporary change, the relay device stops notifying the higher-level device of the change in the connection state and temporarily changes in the connection state. When it is determined that the change is not a significant change, a change in the connection state is notified to the host device.

中継装置のリソースを無駄に消費することを防止する。   It prevents the waste of the resources of the relay device.

図1は、実施例1に係るデバイス管理システムの構成を示すブロック図である。FIG. 1 is a block diagram illustrating the configuration of the device management system according to the first embodiment. 図2は、実施例1に係るエクスパンダの構成を示すブロック図である。FIG. 2 is a block diagram illustrating the configuration of the expander according to the first embodiment. 図3は、実施例1に係るエクスパンダのハードウェア構成を示すブロック図である。FIG. 3 is a block diagram illustrating the hardware configuration of the expander according to the first embodiment. 図4は、ダイレクトテーブルの例を示す図である。FIG. 4 is a diagram illustrating an example of a direct table. 図5は、ルーティングテーブルの例を示す図である。FIG. 5 is a diagram illustrating an example of a routing table. 図6は、リンクステータス変化要因分析処理を説明する図である。FIG. 6 is a diagram for explaining the link status change factor analysis processing. 図7は、ダイレクトテーブルの比較処理と更新処理を説明する図である。FIG. 7 is a diagram for explaining direct table comparison processing and update processing. 図8は、接続状態が変化した後のダイレクトテーブルの例を説明するための図である。FIG. 8 is a diagram for explaining an example of the direct table after the connection state is changed. 図9は、ルーティングテーブルの比較処理と更新処理を説明する図である。FIG. 9 is a diagram for explaining routing table comparison processing and update processing. 図10は、接続状態が変化した後のルーティングテーブルの例を説明するための図である。FIG. 10 is a diagram for explaining an example of the routing table after the connection state is changed. 図11は、実施例1に係るエクスパンダのダイレクトテーブル更新処理の処理手順を説明するためのフローチャートである。FIG. 11 is a flowchart for explaining the processing procedure of the expander direct table update processing according to the first embodiment. 図12は、実施例1に係るエクスパンダのルーティングテーブル更新処理の処理手順を説明するためのフローチャートである。FIG. 12 is a flowchart for explaining the processing procedure of the expander routing table update processing according to the first embodiment. 図13は、従来のエクスパンダのダイレクトテーブル更新処理の処理手順を説明するためのフローチャートである。FIG. 13 is a flowchart for explaining the processing procedure of the conventional expander direct table update processing. 図14は、デバイスに障害が発生した場合の例を示す図である。FIG. 14 is a diagram illustrating an example when a failure occurs in a device.

以下に添付図面を参照して、この発明に係る中継装置、中継方法およびデバイス管理装置の実施例を詳細に説明する。   Exemplary embodiments of a relay device, a relay method, and a device management device according to the present invention will be described below in detail with reference to the accompanying drawings.

[エクスパンダの構成]
まず最初に、図1を用いて、実施例1に係るエクスパンダを含むデバイス管理システムの構成を説明する。図1は、実施例1に係るデバイス管理システムの構成を示すブロック図である。図1に示すように、このデバイス管理システム100は、複数のエクスパンダ10、ROC(RAID−on−Chip)20および複数のHDD(Hard Disk Drive)30を有する。なお、デバイス管理システムとは、例えば、RAID装置などである。
[Expander configuration]
First, the configuration of a device management system including an expander according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating the configuration of the device management system according to the first embodiment. As illustrated in FIG. 1, the device management system 100 includes a plurality of expanders 10, a ROC (RAID-on-Chip) 20, and a plurality of HDDs (Hard Disk Drives) 30. The device management system is, for example, a RAID device.

各エクスパンダ10は、SAS規格またはSATA規格に対応するデバイスであるHDD30とそれぞれ接続され、これらのHDD30との間で行うデータ通信を制御する。また、各エクスパンダ10は、自装置に直接接続されたデバイスであるHDD30で発生した各種事象を、上位のエクスパンダ10またはROC20に通知する。例えば、図1の例を用いて説明すると、エクスパンダ「EXP#2」は、自装置に直接接続されたHDD30で発生した各種事象を、上位のエクスパンダである「EXP#1」に通知する。また、最上位のエクスパンダである「EXP#0」は、ROC20にHDD30で発生した各種事象を通知する。   Each expander 10 is connected to the HDD 30 which is a device corresponding to the SAS standard or the SATA standard, and controls data communication performed between these HDDs 30. Each expander 10 also notifies the higher level expander 10 or ROC 20 of various events that have occurred in the HDD 30 that is a device directly connected to its own device. For example, referring to the example of FIG. 1, the expander “EXP # 2” notifies various events occurring in the HDD 30 directly connected to its own apparatus to “EXP # 1”, which is a higher-level expander. . Further, “EXP # 0”, which is the highest level expander, notifies the ROC 20 of various events that have occurred in the HDD 30.

ROC20は、最上位のエクスパンダEXP#0と接続され、エクスパンダ10全体を制御し、図示しないサーバから受け付けた命令を実行する装置である。例えば、ROC20は、サーバからデータの取得指示命令を受け付けると、エクスパンダ10を介して、HDD30からデータを取得して、取得したデータをサーバへ送信する。また、ROC20aは、各HDD30の接続状態に関する情報をルーティングテーブル(後に、図11を用いて詳述)として保持する。また、各HDD30は、エクスパンダ10と接続されたデバイスであり、SAS規格またはSATA規格に対応するハードディスクである。   The ROC 20 is a device that is connected to the highest level expander EXP # 0, controls the entire expander 10, and executes a command received from a server (not shown). For example, upon receiving a data acquisition instruction command from the server, the ROC 20 acquires data from the HDD 30 via the expander 10 and transmits the acquired data to the server. Further, the ROC 20a holds information related to the connection status of each HDD 30 as a routing table (detailed later using FIG. 11). Each HDD 30 is a device connected to the expander 10 and is a hard disk corresponding to the SAS standard or the SATA standard.

次に、図2を用いて、図1に示したエクスパンダ10の構成を説明する。図2は、実施例1に係るエクスパンダの構成を示すブロック図である。エクスパンダ10は、PHY変化検出部11と、ダイレクトテーブル取得待合わせ部12と、テーブル取得待合わせ部13と、テーブル取得部14と、テーブル管理部15と、ブロードキャスト発行部16と、記憶部17を有する。以下にこれらの各部の処理を説明する前に、ここで、エクスパンダ10のハードウェア構成について図3を用いて説明する。図3は、実施例1に係るエクスパンダのハードウェア構成を示すブロック図である。図3に示すように、Phy(Physical Layer)21〜28、メモリ31、CPU32を有する。   Next, the configuration of the expander 10 shown in FIG. 1 will be described with reference to FIG. FIG. 2 is a block diagram illustrating the configuration of the expander according to the first embodiment. The expander 10 includes a PHY change detection unit 11, a direct table acquisition queuing unit 12, a table acquisition queuing unit 13, a table acquisition unit 14, a table management unit 15, a broadcast issuing unit 16, and a storage unit 17. Have Before describing the processing of these units, the hardware configuration of the expander 10 will be described with reference to FIG. FIG. 3 is a block diagram illustrating the hardware configuration of the expander according to the first embodiment. As shown in FIG. 3, it includes Phys (Physical Layer) 21 to 28, a memory 31, and a CPU 32.

Phy21〜28は、SAS規格またはSATA規格の物理ポートであり、エクスパンダ10と他の装置とをバスを介して接続する。具体的には、Phy22〜27は、エクスパンダ10に接続されたデバイスであるHDD30と接続し、Phy21は、自装置と下位のエクスパンダ10と接続し、Phy28は、自装置と上位のエクスパンダまたはRoC20と接続する。   Phys 21 to 28 are SAS standard or SATA standard physical ports, and connect the expander 10 to other devices via a bus. Specifically, Phy 22 to 27 are connected to the HDD 30 which is a device connected to the expander 10, Phy 21 is connected to the own apparatus and the lower expander 10, and Phy 28 is connected to the own apparatus and the upper expander. Or it connects with RoC20.

CPU32は、メモリ31にファームウェアを展開し、後述するPHY変化検出部11、ダイレクトテーブル取得待合わせ部12、テーブル取得待合わせ部13、テーブル取得部14、テーブル管理部15、および、ブロードキャスト発行部16が実行する処理を行う。メモリ31は、各種処理に必要なファームウェアが展開され、また、後述するダイレクトテーブル16aおよびルーティングテーブル16bを記憶する。   The CPU 32 deploys the firmware in the memory 31, and a PHY change detection unit 11, a direct table acquisition waiting unit 12, a table acquisition waiting unit 13, a table acquisition unit 14, a table management unit 15, and a broadcast issuing unit 16 described later. Performs the process executed by. The memory 31 stores firmware necessary for various processes, and stores a direct table 16a and a routing table 16b described later.

図2に戻って、各部について説明する。図2に示すように、記憶部16は、ダイレクトテーブル16aおよびルーティングテーブル16bを記憶する。ダイレクトテーブル14aは、自装置と直接接続されたデバイスとの接続状態に関する情報を記憶する。具体的には、図4に例示するように、ダイレクトテーブル16aは、エクスパンダ10の物理ポートに一意に付与された識別子である「Phy ID」と、各物理ポートに接続されたデバイスに関する情報を示す「Device」とを対応付けて記憶する。図4は、ダイレクトテーブルの例を示す図である。   Returning to FIG. 2, each part will be described. As shown in FIG. 2, the storage unit 16 stores a direct table 16a and a routing table 16b. The direct table 14a stores information related to a connection state between a device directly connected to the own device. Specifically, as illustrated in FIG. 4, the direct table 16 a includes an identifier “Phy ID” that is an identifier uniquely assigned to the physical port of the expander 10, and information about the device connected to each physical port. “Device” shown is stored in association with each other. FIG. 4 is a diagram illustrating an example of a direct table.

ルーティングテーブル16bは、下位のエクスパンダと接続されたデバイスとの接続状態に関する情報を記憶する。具体的には、図5に例示するように、ルーティングテーブル14bは、物理ポートに一意に付与された識別子である「Phy ID」と、物理ポートを介して間接的に接続された全デバイスに関する情報とが記憶されている。図5の例では、Phy ID「0」の物理ポートにIndex0〜13に記載されている13個のデバイスが接続されている。また、Phy ID「1」〜「4」には、デバイスが一つも接続されていないことを示している。   The routing table 16b stores information regarding the connection state between the lower expander and the connected device. Specifically, as illustrated in FIG. 5, the routing table 14b includes “Phy ID” that is an identifier uniquely assigned to a physical port and information on all devices indirectly connected through the physical port. Is stored. In the example of FIG. 5, 13 devices described in Index 0 to 13 are connected to the physical port with Phy ID “0”. Also, it is indicated that no device is connected to the PHY IDs “1” to “4”.

PHY変化検出部11は、自装置と接続されたデバイスとの接続状態が変化した場合には、接続状態が変化した変化要因に基づいて、接続状態の変化が一時的な変化であるか否かを判定する。具体的には、PHY変化検出部11は、自装置と接続されたデバイスの接続状態が変化したことを検出する。そして、PHY変化検出部11は、自装置と接続されたデバイスの接続状態が変化したことを検出した場合には、接続状態が変化した変化要因を特定し、変化要因に基づいて、接続状態の変化が一時的な変化であるか否かを判定する。   The PHY change detection unit 11 determines whether or not the change in the connection state is a temporary change based on the change factor in which the connection state has changed when the connection state between the device and the device connected thereto is changed. Determine. Specifically, the PHY change detection unit 11 detects that the connection state of the device connected to the own apparatus has changed. Then, when the PHY change detection unit 11 detects that the connection state of the device connected to the own device has changed, the PHY change detection unit 11 identifies the change factor that has changed the connection state, and determines the connection state based on the change factor. It is determined whether or not the change is a temporary change.

ここで、図6を用いて、接続状態の変化が一時的な変化である一時的な変化であるか否かを判定する処理について具体的に説明する。図6は、リンクステータス変化要因分析処理を説明する図である。図6に例示するように、PHY変化検出部11は、ROC20からのReset処理が変化要因である場合には、接続状態の変化が一時的な変化であり、即時に復旧すると判定する。ROC20からのReset処理などでエクスパンダ10と接続されたデバイス間の接続状態がリセットされた場合には、通常100msec程でリセット前の状態に接続状態が戻るからである。また、PHY変化検出部11は、要因は不明だがLink Statusが突然変化したことが変化要因である場合も、接続状態の変化が一時的な変化であり、即時に復旧すると判定する。   Here, the process for determining whether or not the change in the connection state is a temporary change, which is a temporary change, will be specifically described with reference to FIG. FIG. 6 is a diagram for explaining the link status change factor analysis processing. As illustrated in FIG. 6, when the reset process from the ROC 20 is a change factor, the PHY change detection unit 11 determines that the change in the connection state is a temporary change and is immediately recovered. This is because when the connection state between the devices connected to the expander 10 is reset by a reset process from the ROC 20 or the like, the connection state returns to the state before the reset in about 100 msec. The PHY change detection unit 11 also determines that the change in the connection state is a temporary change and is immediately recovered even when the cause is unknown but the link status is suddenly changed.

また、PHY変化検出部11は、マウント情報などからディスクやケーブルの抜きもしくは挿しが変化要因であることを検出した場合や、デバイスの電源OFFもしくはONが変化要因である場合には、接続状態の変化が一時的な変化ではなく、長時間継続すると判定する。   The PHY change detection unit 11 detects the connection state when detecting that the disk or cable is inserted or removed from the mount information or when the device power OFF or ON is the change factor. It is determined that the change is not a temporary change but continues for a long time.

また、PHY変化検出部11は、下位のエクスパンダから接続状態の変化の通知をブロードキャストで受信した場合には、テーブル取得部13にブロードキャストを受信した旨を通知する。   In addition, when the notification of the change in the connection state is received from the lower expander by broadcast, the PHY change detection unit 11 notifies the table acquisition unit 13 that the broadcast has been received.

ダイレクトテーブル取得待合わせ部12は、変化要因に基づいて、接続状態の変化が一時的な変化であると判定された場合には、一定時間ダイレクトテーブルの生成処理を待ち合わせる。具体的には、ダイレクトテーブル取得待合わせ部12は、ファームウェア処理にてタイマを設け、一定期間ダイレクトテーブルを生成する処理を待ち合わせるように制御する。   The direct table acquisition queuing unit 12 waits for direct table generation processing for a certain period of time when it is determined that the connection state change is a temporary change based on the change factor. Specifically, the direct table acquisition queuing unit 12 provides a timer in firmware processing, and controls to wait for processing for generating a direct table for a certain period.

テーブル取得部13は、自装置と接続されたデバイスとの接続状態が変化した場合には、記憶部16からダイレクトテーブル16aを取得する。また、テーブル取得部13は、下位のエクスパンダから接続状態の変化をブロードキャストとして受信した場合には、下位の装置からルーティングテーブル16bを取得するとともに、自装置の記憶部16からルーティングテーブル16bを取得する。   The table acquisition unit 13 acquires the direct table 16a from the storage unit 16 when the connection state between the device and the device connected thereto is changed. When the table acquisition unit 13 receives a change in connection state from the lower expander as a broadcast, the table acquisition unit 13 acquires the routing table 16b from the lower device and also acquires the routing table 16b from the storage unit 16 of the own device. To do.

具体的には、テーブル取得部13は、自装置と接続されたデバイスであるHDD30との接続状態が変化した場合には、自装置に接続されたデバイスから現在の接続状況に関する情報を取得し、取得した情報を反映した新しいダイレクトテーブルを生成し、記憶部16に記憶させる。ここでは、新しいダイレクトテーブルを生成するが、現在の接続状況に関する情報を反映させる前の旧ダイレクトテーブルも記憶部16に保持しておく。後述するテーブル管理部4が新旧のダイレクトテーブルを比較するからである。   Specifically, when the connection state with the HDD 30 that is a device connected to the own apparatus changes, the table acquisition unit 13 acquires information on the current connection status from the device connected to the own apparatus, A new direct table reflecting the acquired information is generated and stored in the storage unit 16. Here, a new direct table is generated, but the old direct table before reflecting information on the current connection status is also stored in the storage unit 16. This is because the table management unit 4 described later compares the old and new direct tables.

また、テーブル取得部13は、ブロードキャストで受信した旨の通知をPhy変化検出部11から受信した場合には、下位のエクスパンダからルーティングテーブル16bを取得するとともに、自装置の記憶部16からルーティングテーブル16bを取得する。   In addition, when the table acquisition unit 13 receives a notification that the broadcast has been received from the Phy change detection unit 11, the table acquisition unit 13 acquires the routing table 16 b from the lower expander and from the storage unit 16 of the own device. 16b is acquired.

テーブル管理部14は、接続状態の変化が一時的な変化である場合には、ダイレクトテーブル16aおよびルーティングテーブル16bに記憶された接続状態に関する情報の更新を中止する。一方、接続状態の変化が一時的な変化でない場合には、接続状態の変化に基づいて、ダイレクトテーブル16aおよびルーティングテーブル16bに記憶された接続状態に関する情報を更新する。   When the change in the connection state is a temporary change, the table management unit 14 stops updating the information regarding the connection state stored in the direct table 16a and the routing table 16b. On the other hand, when the change in the connection state is not a temporary change, the information on the connection state stored in the direct table 16a and the routing table 16b is updated based on the change in the connection state.

具体的には、テーブル管理部14は、自装置と接続されたデバイスであるHDD30との接続状態が変化した場合には、テーブル取得部13によって記憶部から取得された旧ダイレクトテーブルと、テーブル取得部13によって現在の接続状況に関する情報を反映させた新ダイレクトテーブルとを比較する。この結果、テーブル管理部14は、新旧ダイレクトテーブルが一致する場合には、ダイレクトテーブル16aに記憶された接続状態に関する情報の更新を中止し、記憶部16に記憶されたダイレクトテーブル16aを旧ダイレクトテーブルのままにしておく。また、テーブル管理部14は、新旧ダイレクトテーブルが一致しない場合には、記憶部16に記憶されたダイレクトテーブル16aを新ダイレクトテーブルに更新する。   Specifically, the table management unit 14 acquires the old direct table acquired from the storage unit by the table acquisition unit 13 and the table acquisition when the connection state with the HDD 30 which is a device connected to the own device changes. The new direct table reflecting the information on the current connection status is compared by the unit 13. As a result, when the new and old direct tables match, the table management unit 14 stops updating the information related to the connection state stored in the direct table 16a, and the direct table 16a stored in the storage unit 16 is changed to the old direct table. Leave it as it is. If the new and old direct tables do not match, the table management unit 14 updates the direct table 16a stored in the storage unit 16 to the new direct table.

ここで、図7を用いてダイレクトテーブルの比較処理および更新処理について説明する。図7は、ダイレクトテーブルの比較処理と更新処理を説明する図である。図7に示すように、テーブル管理部14は、現在運用中の旧ダイレクトテーブルAと新ダイレクトテーブルBとを比較し、テーブルの内容が全て一致した場合には、旧ダイレクトテーブルAのまま運用し、新ダイレクトテーブルBを破棄する。また、テーブル管理部14は、テーブルの内容が全て一致してない場合には、新ダイレクトテーブルBに記憶部16のダイレクトテーブル16aを書き換えて、以後の運用では、新ダイレクトテーブルBを使用する。   Here, direct table comparison processing and update processing will be described with reference to FIG. FIG. 7 is a diagram for explaining direct table comparison processing and update processing. As shown in FIG. 7, the table management unit 14 compares the old direct table A that is currently in operation with the new direct table B, and if all the table contents match, the table management unit 14 uses the old direct table A as it is. The new direct table B is discarded. In addition, when all the contents of the tables do not match, the table management unit 14 rewrites the direct table 16a of the storage unit 16 with the new direct table B, and uses the new direct table B in the subsequent operation.

また、図4に例示したダイレクトテーブルを旧テーブルとし、図8に例示したダイレクトテーブルを新テーブルとした場合を例に比較処理について説明する。図8は、接続状態が変化した後のダイレクトテーブルの例を説明するための図である。図8に示すように、図8に例示した新ダイレクトテーブルは、図4に例示した旧ダイレクトテーブルと比較して、Phy ID「4」の物理ポートにデバイス「HDD 2−3」が接続されていない。このため、テーブル管理部14は、現在運用中の旧ダイレクトテーブルAと新ダイレクトテーブルBとを比較した場合には、テーブルの内容が一致していないと判定し、新ダイレクトテーブルBに記憶部16のダイレクトテーブル16aを書き換える。   Further, the comparison processing will be described by taking as an example a case where the direct table illustrated in FIG. 4 is an old table and the direct table illustrated in FIG. 8 is a new table. FIG. 8 is a diagram for explaining an example of the direct table after the connection state is changed. As shown in FIG. 8, the new direct table illustrated in FIG. 8 has the device “HDD 2-3” connected to the physical port of Phy ID “4” as compared to the old direct table illustrated in FIG. Absent. For this reason, when comparing the old direct table A and the new direct table B currently in operation, the table management unit 14 determines that the contents of the tables do not match, and stores the storage unit 16 in the new direct table B. The direct table 16a is rewritten.

また、テーブル管理部14は、下位のエクスパンダから接続状態の変化の通知をブロードキャストで受信した場合には、テーブル取得部13によって記憶部から取得された旧ルーティングテーブルと、テーブル取得部13によって現在の接続状況に関する情報を反映させた新ルーティングテーブルとを比較する。この結果、テーブル管理部14は、新旧ルーティングテーブルが一致する場合には、ルーティングテーブル16bに記憶された接続状態に関する情報の更新を中止し、記憶部16に記憶されたルーティングテーブル16bを旧ルーティングテーブルのままにしておく。また、テーブル管理部14は、新旧ルーティングテーブルが一致しない場合には、記憶部16に記憶されたルーティングテーブル16bを新ダイレクトテーブルに更新する。   Further, when the notification of the change in the connection state is received from the lower expander by broadcast, the table management unit 14 presents the old routing table acquired from the storage unit by the table acquisition unit 13 and the table acquisition unit 13 Compare with the new routing table that reflects the information on the connection status of. As a result, when the old and new routing tables match, the table management unit 14 stops updating the information related to the connection state stored in the routing table 16b, and the routing table 16b stored in the storage unit 16 is updated. Leave it as it is. If the new and old routing tables do not match, the table management unit 14 updates the routing table 16b stored in the storage unit 16 to the new direct table.

ここで、図9を用いてルーティングテーブルの比較処理および更新処理について説明する。図9は、ルーティングテーブルの比較処理と更新処理を説明する図である。図9に示すように、テーブル管理部14は、現在運用中の旧ルーティングテーブルAと新ルーティングテーブルBとを比較し、テーブルの内容が全て一致した場合には、旧ルーティングテーブルAのまま運用し、新ルーティングテーブルBを破棄する。また、テーブル管理部14は、テーブルの内容が全て一致してない場合には、新ルーティングテーブルBに記憶部16のルーティングテーブル16bを書き換えて、以後の運用では、書き換えられたルーティングテーブルBを使用する。   Here, the comparison processing and update processing of the routing table will be described with reference to FIG. FIG. 9 is a diagram for explaining routing table comparison processing and update processing. As shown in FIG. 9, the table management unit 14 compares the old routing table A that is currently in operation with the new routing table B, and if all the table contents match, the table management unit 14 uses the old routing table A as it is. The new routing table B is discarded. In addition, when all the table contents do not match, the table management unit 14 rewrites the routing table 16b of the storage unit 16 to the new routing table B, and uses the rewritten routing table B in the subsequent operation. To do.

また、図10に例示したルーティングテーブルを旧テーブルとし、図5に例示したルーティングテーブルを新テーブルとした場合を例に比較処理について説明する。図10は、接続状態が変化した後のルーティングテーブルの例を説明するための図である。図10に示すように、図10に例示した新ルーティングテーブルは、図5に例示した旧ルーティングテーブルと比較して、Phy ID「0」のIndexにデバイス「HDD 2−3」がない。このため、テーブル管理部14は、現在運用中の旧ルーティングテーブルAと新ルーティングテーブルBとを比較した場合には、テーブルの内容が一致していないと判定し、新ルーティングテーブルBに記憶部16のルーティングテーブル16bを書き換える。   Further, the comparison process will be described by taking as an example a case where the routing table illustrated in FIG. 10 is an old table and the routing table illustrated in FIG. 5 is a new table. FIG. 10 is a diagram for explaining an example of the routing table after the connection state is changed. As illustrated in FIG. 10, the new routing table illustrated in FIG. 10 does not include the device “HDD 2-3” in the index with the Phy ID “0” as compared to the old routing table illustrated in FIG. 5. Therefore, when comparing the old routing table A and the new routing table B that are currently in operation, the table management unit 14 determines that the contents of the tables do not match, and stores the storage unit 16 in the new routing table B. The routing table 16b is rewritten.

ブロードキャスト発行部15は、接続状態の変化が一時的な変化であると判定された場合には、自装置よりも上位のエクスパンダ10またはROC20にブロードキャストを発行することを中止する。接続状態の変化が一時的な変化でないと判定された場合には、上位のエクスパンダ10またはROC20にブロードキャストを発行する。   When it is determined that the change in the connection state is a temporary change, the broadcast issuing unit 15 stops issuing the broadcast to the expander 10 or the ROC 20 higher than the own apparatus. When it is determined that the change in the connection state is not a temporary change, a broadcast is issued to the upper expander 10 or the ROC 20.

具体的には、ブロードキャスト発行部15は、テーブル管理部14によって新旧ダイレクトテーブルまたは新旧ルーティングテーブルが一致しないと判定された場合には、上位のエクスパンダ10またはROC20に対してブロードキャストを発行する。   Specifically, the broadcast issuing unit 15 issues a broadcast to the upper expander 10 or the ROC 20 when the table management unit 14 determines that the old and new direct tables or the old and new routing tables do not match.

[エクスパンダによる処理]
次に、図11および図12を用いて、実施例1に係るエクスパンダ10による処理を説明する。図11は、実施例1に係るエクスパンダのダイレクトテーブル更新処理の処理手順を説明するためのフローチャートである。図12は、実施例1に係るエクスパンダのルーティングテーブル更新処理の処理手順を説明するためのフローチャートである。
[Processing by expander]
Next, processing performed by the expander 10 according to the first embodiment will be described with reference to FIGS. 11 and 12. FIG. 11 is a flowchart for explaining the processing procedure of the expander direct table update processing according to the first embodiment. FIG. 12 is a flowchart for explaining the processing procedure of the expander routing table update processing according to the first embodiment.

図11に示すように、エクスパンダ10のPHY変化検出部11は、自デバイスの接続状態を示すリンクステータスに変化が発生すると(ステップS101)、リンクステータスが変化した要因を特定する(ステップS102)。そして、PHY変化検出部11は、特定した変化要因に基づいて、リンクステータスの変化が即時復旧するか判定する(ステップS103)。   As shown in FIG. 11, when a change occurs in the link status indicating the connection state of the own device (step S101), the PHY change detection unit 11 of the expander 10 identifies the cause of the change in the link status (step S102). . Then, the PHY change detection unit 11 determines whether the link status change is immediately recovered based on the specified change factor (step S103).

この結果、PHY変化検出部11がリンクステータスの変化が即時復旧しないと判定した場合には(ステップS103否定)、テーブル取得部13は、即時に、新しいダイレクトテーブルを生成する(ステップS105)。また、PHY変化検出部11がリンクステータスの変化が即時復旧すると判定した場合には(ステップS103肯定)、テーブル取得部13は、一定時間待ち合わせて(ステップS104)、新ダイレクトテーブルを生成する(ステップS105)。ここで、テーブル取得部13は、新ダイレクトテーブルを生成する処理として、自装置に接続されたデバイスから現在の接続状況に関する情報を取得し、取得した現在の接続状況に関する情報を反映した新しいダイレクトテーブルを生成する処理を行う。   As a result, when the PHY change detection unit 11 determines that the link status change is not immediately recovered (No at Step S103), the table acquisition unit 13 immediately generates a new direct table (Step S105). If the PHY change detection unit 11 determines that the link status change is immediately recovered (Yes at Step S103), the table acquisition unit 13 waits for a certain period of time (Step S104) and generates a new direct table (Step S103). S105). Here, as a process of generating a new direct table, the table acquisition unit 13 acquires information on the current connection status from the device connected to the own apparatus, and a new direct table reflecting the acquired information on the current connection status Process to generate.

そして、テーブル管理部14は、テーブル取得部13によって記憶部から取得された旧ダイレクトテーブルと、テーブル取得部13によって現在の接続状況に関する情報を反映させた新ダイレクトテーブルとを比較する(ステップS106)。この結果、テーブル管理部14は、新旧ダイレクトテーブルが一致する場合には(ステップS107肯定)、ダイレクトテーブル16aの更新処理およびブロードキャスト発行処理を中止して、処理を終了する。また、テーブル管理部14は、新旧ダイレクトテーブルが一致しない場合には(ステップS107否定)、記憶部16に記憶されたダイレクトテーブル16aを新ダイレクトテーブルに更新する(ステップS108)。そして、ブロードキャスト発行部15は、上位のエクスパンダ10またはROC20に対してブロードキャストを発行する(ステップS109)。   Then, the table management unit 14 compares the old direct table acquired from the storage unit by the table acquisition unit 13 and the new direct table reflecting the information on the current connection status by the table acquisition unit 13 (step S106). . As a result, if the new and old direct tables match (Yes in step S107), the table management unit 14 stops the update process and the broadcast issue process of the direct table 16a and ends the process. If the new and old direct tables do not match (No at Step S107), the table management unit 14 updates the direct table 16a stored in the storage unit 16 to the new direct table (Step S108). Then, the broadcast issuing unit 15 issues a broadcast to the upper expander 10 or the ROC 20 (step S109).

次に、図12を用いて、エクスパンダ10がルーティングテーブルを更新する処理について説明する。図12に示すように、エクスパンダ10のPHY変化検出部11は、下位のエクスパンダから接続状態の変化の通知をブロードキャストで受信する。そして、テーブル取得部13は、下位のエクスパンダからルーティングテーブル(以下、新ルーティングテーブルという)16bを取得するとともに、自装置の記憶部16からルーティングテーブル(以下、旧ルーティングテーブルという)16bを取得する(ステップS201)。   Next, a process in which the expander 10 updates the routing table will be described with reference to FIG. As illustrated in FIG. 12, the PHY change detection unit 11 of the expander 10 receives a notification of a change in connection state from a lower expander by broadcast. Then, the table acquisition unit 13 acquires a routing table (hereinafter referred to as a new routing table) 16b from a lower expander, and acquires a routing table (hereinafter referred to as an old routing table) 16b from the storage unit 16 of the own apparatus. (Step S201).

そして、テーブル管理部14は、旧ルーティングテーブルと、新ルーティングテーブルとを比較する(ステップS202)。この結果、テーブル管理部14は、新旧ルーティングテーブルが一致する場合には(ステップS203肯定)、ルーティングテーブル16bの更新処理および上位装置に対するブロードキャスト発行処理を中止して、処理を終了する。   Then, the table management unit 14 compares the old routing table with the new routing table (step S202). As a result, when the old and new routing tables match (Yes at Step S203), the table management unit 14 stops the update process of the routing table 16b and the broadcast issue process for the host device, and ends the process.

また、テーブル管理部14は、新旧ルーティングテーブルが一致しない場合には(ステップS203否定)、記憶部16に記憶されたルーティングテーブル16bを新ルーティングテーブルに更新する(ステップS204)。そして、ブロードキャスト発行部15は、上位のエクスパンダ10またはROC20に対してブロードキャストを発行する(ステップS205)。   If the new and old routing tables do not match (No at Step S203), the table management unit 14 updates the routing table 16b stored in the storage unit 16 to the new routing table (Step S204). Then, the broadcast issuing unit 15 issues a broadcast to the higher level expander 10 or the ROC 20 (step S205).

[実施例1の効果]
上述してきたように、エクスパンダ10は、自装置と接続されたデバイスとの接続状態が変化した場合には、該接続状態が変化した変化要因に基づいて、接続状態の変化が一時的な変化であるか否かを判定する。そして、エクスパンダ10は、接続状態の変化が一時的な変化であると判定された場合には、ダイレクトテーブル16aに記憶された接続状態に関する情報の更新を中止する。また、エクスパンダ10は、接続状態の変化が一時的な変化でないと判定された場合には、接続状態の変化に基づいて、ダイレクトテーブル16aに記憶された接続状態に関する情報を更新する。そして、エクスパンダ10は、接続状態の変化が一時的な変化であると判定された場合には、自装置よりも上位の装置に接続状態の変化を通知することを中止し、接続状態の変化が一時的な変化でないと判定された場合には、上位の装置に接続状態の変化を通知する。このため、エクスパンダ10のリソースを無駄に消費することを防止することが可能である。
[Effect of Example 1]
As described above, when the connection state between the expander 10 and the device connected to the expander 10 changes, the change in the connection state temporarily changes based on the change factor of the change in the connection state. It is determined whether or not. When it is determined that the change in the connection state is a temporary change, the expander 10 stops updating the information regarding the connection state stored in the direct table 16a. Further, when it is determined that the change in the connection state is not a temporary change, the expander 10 updates the information on the connection state stored in the direct table 16a based on the change in the connection state. When the expander 10 determines that the change in the connection state is a temporary change, the expander 10 stops notifying the higher-level device of the connection state and notifies the change in the connection state. Is determined not to be a temporary change, the host apparatus is notified of a change in the connection state. For this reason, it is possible to prevent the resources of the expander 10 from being wasted.

つまり、エクスパンダ10は、デバイスとの接続状態が変化した場合には、変化要因から接続状態の変化が一時的な変化であるか判定し、一時的な変化である場合にはブロードキャストの発行を中止するので、エクスパンダ10のリソースの無駄な消費を防止できる。   In other words, the expander 10 determines whether the change in the connection state is a temporary change from the change factor when the connection state with the device changes, and issues a broadcast if the change is a temporary change. Since the cancellation is made, it is possible to prevent wasteful consumption of resources of the expander 10.

また、実施例1によれば、エクスパンダ10は、接続状態が変化した変化要因が、上位装置からのリセットによる接続状態の変化であるか、ケーブルの抜き挿しによる状態の変化であるか、電源のオンオフによる状態の変化であるか特定し、特定した変化要因に応じて、接続状態の変化が一時的な変化であるか否かを判定する。このため、デバイスの接続状態が変化した変化要因から接続状態の変化が一時的な変化であるか否か適切に判定することができ、エクスパンダ10のリソースを無駄に消費することを適切に防止することが可能である。   Further, according to the first embodiment, the expander 10 determines whether the change factor of the connection state is a change of the connection state due to a reset from the host device or a change of the state due to insertion / removal of the cable, It is determined whether or not the change in the state is caused by turning on and off, and it is determined whether or not the change in the connection state is a temporary change according to the specified change factor. For this reason, it is possible to appropriately determine whether or not the change in the connection state is a temporary change from the change factor of the change in the connection state of the device, and appropriately prevent the resources of the expander 10 from being wasted. Is possible.

また、実施例1によれば、エクスパンダ10は、自装置よりも下位の装置と接続されたデバイスとの接続状態に関する情報を記憶するルーティングテーブル16bを有する。そして、エクスパンダ10は、下位の装置から接続状態の変化の通知をブロードキャストで受信すると、下位の装置が保持する前記接続状態に関する情報を要求し、接続状態に関する情報を取得する。そして、エクスパンダ10は、取得された下位の装置が保持する接続状態に関する情報と、記憶部16に記憶された自装置よりも下位の装置と接続されたデバイスとの接続状態に関する情報とを比較する。その後、エクスパンダ10は、比較した結果、両者が一致する場合には、ルーティングテーブル16bに記憶された接続状態に関する情報の更新を中止し、両者が一致しない場合には、ルーティングテーブル16bに記憶された接続状態に関する情報を更新する。そして、エクスパンダ10は、比較した結果、両者が一致する場合には、自装置よりも上位の装置に接続状態の変化を通知することを中止し、両者が一致しない場合には、上位の装置に接続状態の変化を通知する。この結果、エクスパンダ10は、ブロードキャスト受信前後でルーティングテーブル16bに変化がない場合には、ブロードキャストの発行を中止する結果、エクスパンダ10のリソースを無駄に消費することを適切に防止することが可能である。   Further, according to the first embodiment, the expander 10 includes the routing table 16b that stores information related to a connection state between a device connected to a device lower than the device itself. When the expander 10 receives the notification of the change in the connection state from the lower apparatus by broadcast, the expander 10 requests information on the connection state held by the lower apparatus and acquires the information on the connection state. Then, the expander 10 compares the acquired information related to the connection state held by the lower device and the information related to the connection state between the lower device and the device connected to the lower device stored in the storage unit 16. To do. After that, if the result of the comparison shows that the two match, the expander 10 stops updating the information on the connection state stored in the routing table 16b. If the two do not match, the expander 10 stores the information in the routing table 16b. Update information related to the connection status. If the result of the comparison indicates that the two match, the expander 10 stops notifying the higher-level device of the connection status change to the higher-level device, and if both do not match, the higher-level device Notify changes in connection status. As a result, when there is no change in the routing table 16b before and after receiving the broadcast, the expander 10 can appropriately prevent wasteful consumption of the resources of the expander 10 as a result of canceling the issuance of the broadcast. It is.

さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では実施例2として本発明に含まれる他の実施例を説明する。   Although the embodiments of the present invention have been described so far, the present invention may be implemented in various different forms other than the embodiments described above. Therefore, another embodiment included in the present invention will be described below as a second embodiment.

(1)システム構成等
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、テーブル取得部13とテーブル管理部14を統合してもよい。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
(1) System Configuration, etc. Further, each component of each illustrated apparatus is functionally conceptual and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. For example, the table acquisition unit 13 and the table management unit 14 may be integrated. Further, all or any part of each processing function performed in each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware by wired logic.

(2)プログラム
なお、本実施例で説明した中継方法は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。このプログラムは、インターネットなどのネットワークを介して配布することができる。また、このプログラムは、ハードディスク、フレキシブルディスク(FD)、CD−ROM、MO、DVDなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行することもできる。
(2) Program The relay method described in this embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program can be distributed via a network such as the Internet. The program can also be executed by being recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, an MO, and a DVD and being read from the recording medium by the computer.

10 エクスパンダ
11 Phy変化検出部
12 ダイレクトテーブル取得待ち合わせ部
13 テーブル取得部
14 テーブル管理部
15 ブロードキャスト発行部
16 記憶部
16a ダイレクトテーブル
16b ルーティングテーブル
20 ROC
30 HDD
100 デバイス管理システム
DESCRIPTION OF SYMBOLS 10 Expander 11 Phy change detection part 12 Direct table acquisition waiting part 13 Table acquisition part 14 Table management part 15 Broadcast issue part 16 Storage part 16a Direct table 16b Routing table 20 ROC
30 HDD
100 device management system

Claims (5)

自装置に接続されたデバイスとの接続状態に関する情報を記憶する第一の記憶部と、
自装置と接続されたデバイスとの接続状態が変化した場合には、該接続状態が変化した変化要因に基づいて、該接続状態の変化が一時的な変化であるか否かを判定する判定部と、
前記判定部によって接続状態の変化が一時的な変化であると判定された場合には、前記第一の記憶部に記憶された前記接続状態に関する情報の更新を中止し、前記判定部によって接続状態の変化が一時的な変化でないと判定された場合には、前記接続状態の変化に基づいて、前記第一の記憶部に記憶された前記接続状態に関する情報を更新する更新部と、
前記判定部によって接続状態の変化が一時的な変化であると判定された場合には、自装置よりも上位の装置に前記接続状態の変化を通知することを中止し、前記判定部によって接続状態の変化が一時的な変化でないと判定された場合には、前記上位の装置に前記接続状態の変化を通知する通知部と、
を有することを特徴とする中継装置。
A first storage unit that stores information on a connection state with a device connected to the own device;
A determination unit that determines whether or not the change in the connection state is a temporary change based on a change factor in which the connection state has changed when the connection state between the device and the device connected thereto changes. When,
When the determination unit determines that the change in the connection state is a temporary change, the update of the information on the connection state stored in the first storage unit is stopped, and the determination unit An update unit that updates information on the connection state stored in the first storage unit, based on the change in the connection state,
When the determination unit determines that the change in the connection state is a temporary change, the determination unit stops reporting the change in the connection state to a higher-level device than the own device, and the determination unit When it is determined that the change in the change is not a temporary change, a notification unit that notifies the change in the connection state to the higher-level device,
A relay apparatus comprising:
前記判定部は、前記接続状態が変化した変化要因が、上位装置からのリセットによる接続状態の変化であるか、ケーブルの抜き挿しによる状態の変化であるか、電源のオンオフによる状態の変化であるか特定し、特定した変化要因に応じて、接続状態の変化が一時的な変化であるか否かを判定することを特徴とする請求項1に記載の中継装置。   In the determination unit, the change factor of the change in the connection state is a change in the connection state due to a reset from the host device, a change in the state due to insertion / extraction of a cable, or a change in the state due to turning on / off the power supply The relay apparatus according to claim 1, wherein the relay apparatus determines whether or not the change in the connection state is a temporary change according to the specified change factor. 自装置よりも下位の装置と接続されたデバイスとの接続状態に関する情報を記憶する第二の記憶部と、
前記下位の装置から前記接続状態の変化の通知を受信すると、該下位の装置が保持する前記接続状態に関する情報を要求し、該接続状態に関する情報を取得する取得部と、
前記取得部によって取得された前記下位の装置が保持する接続状態に関する情報と、前記第二の記憶部に記憶された前記自装置よりも下位の装置と接続されたデバイスとの接続状態に関する情報とを比較する比較部をさらに有し、
前記更新部は、前記比較部によって比較した結果、両者が一致する場合には、前記第二の記憶部に記憶された前記接続状態に関する情報の更新を中止し、両者が一致しない場合には、前記第二の記憶部に記憶された前記接続状態に関する情報を更新し、
前記通知部は、前記比較部によって比較した結果、両者が一致する場合には、自装置よりも上位の装置に前記接続状態の変化を通知することを中止し、両者が一致しない場合には、前記上位の装置に前記接続状態の変化を通知することを特徴とする請求項1または2に記載の中継装置。
A second storage unit that stores information related to a connection state of a device connected to a lower device than the own device;
Upon receiving a notification of the change in the connection state from the lower-level device, an acquisition unit that requests information about the connection state held by the lower-level device and acquires information about the connection state;
Information on the connection status held by the lower-level device acquired by the acquisition unit, and information on the connection status of a device connected to a lower-level device stored in the second storage unit, A comparison unit for comparing
As a result of the comparison by the comparison unit, the update unit stops updating the information on the connection state stored in the second storage unit if both match, and if both do not match, Update the information on the connection state stored in the second storage unit,
As a result of the comparison by the comparison unit, the notification unit stops notifying the change of the connection state to a higher-level device than the own device when both match, and if both do not match, The relay apparatus according to claim 1, wherein a change in the connection state is notified to the higher-level apparatus.
自装置と接続されたデバイスとの接続状態が変化した場合には、該接続状態が変化した変化要因に基づいて、該接続状態の変化が一時的な変化であるか否かを判定し、
前記接続状態の変化が一時的な変化であると判定された場合には、前記自装置に接続されたデバイスとの接続状態に関する情報を記憶する第一の記憶部に記憶された該接続状態に関する情報の更新を中止し、前記接続状態の変化が一時的な変化でないと判定された場合には、前記接続状態の変化に基づいて、前記第一の記憶部に記憶された前記接続状態に関する情報を更新し、
前記接続状態の変化が一時的な変化であると判定された場合には、自装置よりも上位の装置に前記接続状態の変化を通知することを中止し、前記接続状態の変化が一時的な変化でないと判定された場合には、前記上位の装置に前記接続状態の変化を通知する
ことを特徴とする中継方法。
When the connection state between the device and the device connected to the device changes, it is determined whether the change in the connection state is a temporary change based on the change factor of the change in the connection state,
When it is determined that the change in the connection state is a temporary change, the connection state stored in the first storage unit that stores information related to the connection state with the device connected to the own apparatus. Information on the connection state stored in the first storage unit based on the change in the connection state when updating of the information is canceled and it is determined that the change in the connection state is not a temporary change Update
If it is determined that the change in the connection state is a temporary change, the notification of the change in the connection state to a higher-level device than the own device is stopped, and the change in the connection state is temporary. When it is determined that the state is not a change, the change of the connection state is notified to the host device.
自装置に接続されたデバイスとの接続状態に関する情報を記憶する第一の記憶部と、
自装置と接続されたデバイスとの接続状態が変化した場合には、該接続状態が変化した変化要因に基づいて、該接続状態の変化が一時的な変化であるか否かを判定する判定部と、
前記判定部によって接続状態の変化が一時的な変化であると判定された場合には、前記第一の記憶部に記憶された前記接続状態に関する情報の更新を中止し、前記判定部によって接続状態の変化が一時的な変化でないと判定された場合には、前記接続状態の変化に基づいて、前記第一の記憶部に記憶された前記接続状態に関する情報を更新する更新部と、
前記判定部によって接続状態の変化が一時的な変化であると判定された場合には、自装置よりも上位の装置に前記接続状態の変化を通知することを中止し、前記判定部によって接続状態の変化が一時的な変化でないと判定された場合には、前記上位の装置に前記接続状態の変化を通知する通知部と、
を有することを特徴とするデバイス管理装置。
A first storage unit that stores information on a connection state with a device connected to the own device;
A determination unit that determines whether or not the change in the connection state is a temporary change based on a change factor in which the connection state has changed when the connection state between the device and the device connected thereto changes. When,
When the determination unit determines that the change in the connection state is a temporary change, the update of the information on the connection state stored in the first storage unit is stopped, and the determination unit An update unit that updates information on the connection state stored in the first storage unit, based on the change in the connection state,
When the determination unit determines that the change in the connection state is a temporary change, the determination unit stops reporting the change in the connection state to a higher-level device than the own device, and the determination unit When it is determined that the change in the change is not a temporary change, a notification unit that notifies the change in the connection state to the higher-level device,
A device management apparatus comprising:
JP2010258165A 2010-11-18 2010-11-18 Repeating installation, repeating method, and device management apparatus Withdrawn JP2012108794A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010258165A JP2012108794A (en) 2010-11-18 2010-11-18 Repeating installation, repeating method, and device management apparatus
US13/285,034 US20120131214A1 (en) 2010-11-18 2011-10-31 Relay apparatus, relay apparatus controlling method, and device controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010258165A JP2012108794A (en) 2010-11-18 2010-11-18 Repeating installation, repeating method, and device management apparatus

Publications (1)

Publication Number Publication Date
JP2012108794A true JP2012108794A (en) 2012-06-07

Family

ID=46065451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010258165A Withdrawn JP2012108794A (en) 2010-11-18 2010-11-18 Repeating installation, repeating method, and device management apparatus

Country Status (2)

Country Link
US (1) US20120131214A1 (en)
JP (1) JP2012108794A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017183148A1 (en) * 2016-04-21 2017-10-26 株式会社日立製作所 Storage device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348767B1 (en) * 2013-02-26 2019-07-09 Zentera Systems, Inc. Cloud over IP session layer network

Family Cites Families (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991011766A2 (en) * 1990-01-30 1991-08-08 Johnson Service Company Networked facilities management system
US6891797B1 (en) * 1998-07-06 2005-05-10 Canon Kabushiki Kaisha Method and device for communicating information
EP1195035B1 (en) * 1999-07-19 2005-09-28 BRITISH TELECOMMUNICATIONS public limited company Routing in a packet switching network with mobile terminals
US7028099B2 (en) * 2000-09-14 2006-04-11 Bbnt Solutions Llc Network communication between hosts
US20020078238A1 (en) * 2000-09-14 2002-06-20 Troxel Gregory Donald Routing messages between nodes at a foreign sub-network
US20020059432A1 (en) * 2000-10-26 2002-05-16 Shigeto Masuda Integrated service network system
US7512686B2 (en) * 2000-12-21 2009-03-31 Berg Mitchell T Method and system for establishing a data structure of a connection with a client
US7031311B2 (en) * 2001-07-23 2006-04-18 Acme Packet, Inc. System and method for providing rapid rerouting of real-time multi-media flows
US6721907B2 (en) * 2002-06-12 2004-04-13 Zambeel, Inc. System and method for monitoring the state and operability of components in distributed computing systems
JP3688664B2 (en) * 2002-07-29 2005-08-31 株式会社東芝 Relay device and network relay method
US7058861B1 (en) * 2002-12-31 2006-06-06 Sprint Communications Company Llp Network model audit and reconciliation using state analysis
US7496650B1 (en) * 2003-01-09 2009-02-24 Cisco Technology, Inc. Identifying and suppressing transient routing updates
US7644177B2 (en) * 2003-02-28 2010-01-05 Cisco Technology, Inc. Multicast-routing-protocol-independent realization of IP multicast forwarding
US7450495B2 (en) * 2004-03-15 2008-11-11 Iptivia, Inc. Method and system for path change root-cause identification in packet networks
US20070189252A1 (en) * 2004-05-10 2007-08-16 Tetsuya Kawakami Wireless node apparatus and multihop wireless lan system
JP4428161B2 (en) * 2004-07-16 2010-03-10 ブラザー工業株式会社 Connection state control device, connection state control method, and connection state control program
JP3922461B2 (en) * 2004-07-28 2007-05-30 アイシン精機株式会社 Terminal control system
US7644168B2 (en) * 2004-11-05 2010-01-05 Hewlett-Packard Development Company, L.P. SAS expander
US8116226B1 (en) * 2005-01-28 2012-02-14 PMC-Sierra, USA Inc. Method and apparatus for broadcast primitive filtering in SAS
US7774642B1 (en) * 2005-02-17 2010-08-10 Oracle America, Inc. Fault zones for interconnect fabrics
JP4016998B2 (en) * 2005-06-22 2007-12-05 ヤマハ株式会社 Communication apparatus and program
CA2612017A1 (en) * 2005-06-23 2007-01-04 Xds, Inc. Methods and apparatus for network address change for mobile devices
US8464168B2 (en) * 2005-10-05 2013-06-11 Invensys Systems, Inc. Device home page for use in a device type manager providing graphical user interfaces for viewing and specifying field device parameters
US8085794B1 (en) * 2006-06-16 2011-12-27 Emc Corporation Techniques for fault tolerant routing in a destination-routed switch fabric
CN101513006B (en) * 2006-08-09 2013-03-27 艾利森电话股份有限公司 Method and apparatus for routing and grouping in mobile IP system
US7882509B2 (en) * 2007-06-29 2011-02-01 Emulex Design & Manufacturing Corporation Expander-based solution to the dynamic STP address problem
US20100217990A1 (en) * 2007-08-09 2010-08-26 Nippon Telegraph And Telephone Corp. Communication method, relay server device, program, and recording medium
JP5303469B2 (en) * 2007-11-06 2013-10-02 パナソニック株式会社 Connection state notification method and mobile terminal used in the method
WO2011001628A1 (en) * 2009-07-03 2011-01-06 パナソニック株式会社 Connection management method, connection management system, mobile terminal, packet data gateway and mobile management gateway
US8634428B2 (en) * 2009-09-21 2014-01-21 At&T Intellectual Property I, L.P. Method and system for symmetric routing
US8582450B1 (en) * 2009-09-30 2013-11-12 Shoretel, Inc. Status reporting system
US8255607B2 (en) * 2009-11-05 2012-08-28 Emulex Design & Manufacturing Corporation SAS expander-based SAS/SATA bridging
US20110173354A1 (en) * 2010-01-08 2011-07-14 Hall Kenwood H Hardware Based Connection State Machine With Built In Timers
US8200872B2 (en) * 2010-11-15 2012-06-12 Lsi Corporation Method for deterministic SAS discovery and configuration

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017183148A1 (en) * 2016-04-21 2017-10-26 株式会社日立製作所 Storage device and storage medium

Also Published As

Publication number Publication date
US20120131214A1 (en) 2012-05-24

Similar Documents

Publication Publication Date Title
US9207929B2 (en) Integrated system and firmware update method
US8762774B2 (en) Distributed blade server system, management server and switching method
CN104137085B (en) For controlling the client method to the access of service in cluster environment
US20100115509A1 (en) Power optimization via virtualization opportunity
JP5131239B2 (en) IP address allocation control program, IP address allocation control device, and IP address allocation control method
US20090276657A1 (en) Managing cluster split-brain in datacenter service site failover
JP2010067042A (en) Computer switching method, computer switching program, and computer system
JP2009230577A (en) Software update management program, software update management device, and software update management method
US20120005609A1 (en) Management system and management system control method
JP2013162200A (en) Information processing system, information processing device, and program
CN102394914A (en) Cluster brain-split processing method and device
JP2014127134A (en) Information processing device, server management method and server management program
JP5282569B2 (en) Management device, management system, management method, and management program
US8583789B2 (en) Computer system management method and management apparatus
JP2012108794A (en) Repeating installation, repeating method, and device management apparatus
US8812900B2 (en) Managing storage providers in a clustered appliance environment
US9081614B2 (en) Managing shared resources in a multi-computer system with failover support
US8356198B2 (en) Performing power management based on information regarding zones of devices in a system
US9625982B2 (en) Management of power consumption in large computing clusters
JP2012524923A (en) Method, apparatus, and computer program for maintaining service in a high availability environment (method for maintaining service in a high availability environment)
JP6237055B2 (en) License management system, apparatus, method and program
JP2017041110A (en) Multiple computer system, management unit and management program
JP2011065469A (en) Distributed file system and node start-up method in distributed file system
JP2009086758A (en) Computer system and system management program
JP2007249614A (en) System device and information collection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130904

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20140219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140306