WO2014030213A1 - Mac address management device and method - Google Patents

Mac address management device and method Download PDF

Info

Publication number
WO2014030213A1
WO2014030213A1 PCT/JP2012/071104 JP2012071104W WO2014030213A1 WO 2014030213 A1 WO2014030213 A1 WO 2014030213A1 JP 2012071104 W JP2012071104 W JP 2012071104W WO 2014030213 A1 WO2014030213 A1 WO 2014030213A1
Authority
WO
WIPO (PCT)
Prior art keywords
mac address
mac
address
command
mainframe
Prior art date
Application number
PCT/JP2012/071104
Other languages
French (fr)
Japanese (ja)
Inventor
田中敏彰
Original Assignee
富士通株式会社
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 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2012/071104 priority Critical patent/WO2014030213A1/en
Publication of WO2014030213A1 publication Critical patent/WO2014030213A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the present invention relates to a technique for managing a MAC (Media Access Control) address used for transmitting and receiving data between devices connected via a network.
  • MAC Media Access Control
  • the device connected to the network transmits and receives data using communication hardware such as NIC (Network Interface Card).
  • NIC Network Interface Card
  • An address called a MAC address is assigned to the communication hardware.
  • This MAC address is a physical address assigned to uniquely identify communication hardware. For this reason, by using the MAC address, data specifying the communication partner can be transmitted and received.
  • Some communication hardware includes a plurality of communication resources each functioning as one communication hardware. In order to use each communication resource included in the communication hardware, a MAC address is required. However, in communication hardware provided with a plurality of communication resources, the number of communication resources actually used may not be specified in advance, and generally MAC addresses are not assigned to all communication resources in advance.
  • the communication hardware is equipped with a storage device for storing address data representing the assigned MAC address.
  • the same MAC address is used by newly writing the address data stored in the storage device of the communication hardware to be removed to the storage device of the newly installed communication hardware. be able to. At that time, the address data stored in the storage device of the communication hardware to be removed is deleted.
  • MAC addresses are not always assigned to all communication resources of the communication hardware after the exchange.
  • the number of communication resources of the communication hardware before replacement is 1, the number of communication resources of the communication hardware after replacement is 8, and the number of MAC addresses assigned in advance to the communication hardware after replacement is 1.
  • the MAC address of 6 communication resources is insufficient.
  • all communication resources cannot be used due to lack of MAC addresses.
  • Most of the devices capable of communication can attach and detach communication hardware. Therefore, an increase or decrease in the number of necessary MAC addresses can occur at any time.
  • the addition of servers equipped with communication hardware is also performed as needed. In the added server, the number of MAC addresses corresponding to the installed communication hardware is required. For this reason, it may be desirable for an apparatus that requires MAC addresses to easily cope with fluctuations in the number of necessary MAC addresses.
  • an object of the present invention is to provide a technique for enabling a device equipped with communication hardware to easily cope with a change in the number of required MAC addresses.
  • One system to which the present invention is applied includes a communication unit that enables communication via a network, a storage unit that stores address group information representing an assignable MAC (Media Access Control) address, and a first unit connected to the network.
  • the communication unit receives request information for requesting assignment of a MAC address from one external device, refer to the address group information stored in the storage unit, select the MAC address to be assigned to the first external device, and Management means for notifying the selected MAC address to the first external device by means of communication means.
  • a device equipped with communication hardware can easily cope with fluctuations in the number of necessary MAC addresses.
  • FIG. 1 It is a figure showing the example of a structure of the data processing system to which the MAC address management apparatus by this embodiment was applied. It is a figure explaining the more detailed structure of a mainframe apparatus. It is a figure explaining the communication environment which an ONA card provides. It is a figure explaining an example of functional composition concerning management of a MAC address of a MAC address management server and a mainframe device. It is a figure explaining the structural example of a MAC address management table, and the example of the content (initial state). It is a figure explaining the structural example of a MAC address management table, and the example of the content (at the time of acquisition command processing).
  • 10 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits an acquisition command.
  • 10 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement registration command.
  • 10 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement acquisition command. It is a flowchart showing the example of the flow of the process which each of a console, its mainframe apparatus, and a MAC address management server performs when a mainframe apparatus transmits a return command.
  • FIG. 1 is a diagram illustrating a configuration example of a data processing system to which a MAC address management device according to the present embodiment is applied.
  • the data processing system has a configuration in which a MAC address management server 1 and a plurality of mainframe devices 2 (2-1, 2-2) are connected to a network 3.
  • the mainframe devices 2 are connected by a network 4, and each mainframe device 2 can be connected to a console 5.
  • the MAC address management device according to the present embodiment is realized as the MAC address management server 1.
  • the MAC address management server 1 is a single computer (data processing device). As shown in FIG. 1, a CPU (Central Processing Unit) 11, a memory 12, a hard disk device 13, and an interface card (indicated as “I / F” in FIG. 1) 14 are provided.
  • the memory 12 is, for example, one or more memory modules.
  • the hard disk device 13 stores a MAC address management table 13a, which will be described later, in addition to a program 13b executed by the CPU 11.
  • the MAC address management server 1 which is a MAC address management device according to the present embodiment is realized by the CPU 11 executing the program 13b.
  • the interface card 14 is, for example, a NIC (Network Interface Card).
  • Each mainframe device 2 includes a SVP (SerVice Processor) 21 and a plurality of PCI (Peripheral Components Interconnect) boxes 22. In FIG. 1, three PCI boxes 22-0 to 22-2 are shown for each mainframe device 2.
  • SVP Session Processor
  • PCI Peripheral Components Interconnect
  • the SVP 21 is a dedicated device for controlling and monitoring the mounted mainframe device 2.
  • the SVP 21 of each mainframe device 2 and the interface card 14 of the MAC address management server 1 are connected to the network 3.
  • the PCI box 22 is a device for adding a PCI slot.
  • an ONA (Open Network Adapter) card 25 is shown as a PCI express card connected to the PCI slot of the PCI box 22.
  • the ONA card 25 is a type of NIC and enables communication via the network 4. Thereby, the ONA card 25 mounted on each mainframe device 2 is connected to the network 4.
  • the ONA card 25 There are other hardware than the ONA card 25 as communication hardware realized as a PCI Express card. However, here, in order to avoid confusion, only the ONA card 25 is assumed as communication hardware.
  • the communication hardware may be a device other than the ONA card 25.
  • GS21 1600” and “Serial 00001” are written on the mainframe device 2-1.
  • “GS21 1600” represents model type data that is the type data of the mainframe device 2-1
  • “Serial 00001” represents that the device serial number that is identification information is “00001”.
  • Each mainframe device 2 can be uniquely identified by the model type data and the device serial number.
  • FIG. 2 is a diagram illustrating a more detailed configuration of the mainframe device.
  • the main body 200 has, for example, a system board that is a data processing device including one or more CPUs, and at least one I / O (Input / Output) unit that is a data input / output device. .
  • the main body 200 is an environment in which a plurality of VMs (Virtual Machines) can be created.
  • Each PCI box 22 is connected to any I / O unit.
  • Each PCI box 22 has one or more PCI express switches.
  • One or more such PCI express switches also exist in the I / O unit.
  • the main body 200 and the SVP 21 are connected to the ONA card 25 via one or more switches.
  • a switch group 27 shown in FIG. 2 represents a group of switches used for data transmission / reception between the SVP 21 and the ONA card 25.
  • the ONA card 25 includes an ONA main body 251, an SDRAM (Synchronous Dynamic Random Access Memory) 252, a CPU 253, and a ROM (Read Only Memory) 254.
  • the ROM 254 stores a program 256 executed by the CPU 253.
  • FIG. 3 is a diagram for explaining a communication environment provided by the ONA card.
  • the ONA card 25 is a single card.
  • the ONA card 25 can be recognized as a plurality of cards by the OS (Operating System).
  • Each communication resource 258 (258-0 to 258-7) shown in FIG. 3 is recognized by the OS as one card.
  • “060” to “06F” represent virtual port numbers. Two virtual port numbers are assigned to each communication resource.
  • the ONA card 25 can be used as eight cards by using the virtual port of the corresponding number.
  • a total of four VMs 202 (202-1 to 202-4) are created on the main body 200.
  • Each VM 202 operates communication software (indicated as “communication software” in FIG. 3) 204 that supports the OSI (Open Systems Interconnection) standard and TCP / IP (Transmission Control Protocol / Internet Protocol).
  • the ONA card 25 can allocate communication resources 258 for each VM 202 and for each communication method.
  • a MAC address is required for communication using each communication resource 258.
  • the SDRAM 252 is used for storing address data representing a MAC address assigned to each communication resource 258.
  • FIG. 3 an arrow from the switch group 27 to the SDRAM 252 is shown, but the access to the SDRAM 252 is actually performed by the CPU 253.
  • the CPU 253 accesses the SDRAM 252 according to the instruction from the SVP 21, that is, writes or erases address data.
  • the ONA body 251 provides a plurality of communication resources 258 using a MAC address in which address data is stored in the SDRAM 252. As a result, the ONA card 25 needs to assign a MAC address to provide the communication resource 258.
  • the SVP 21 includes a CPU 211, a recording medium 212, a hard disk device (denoted as “SVP-HDD” in FIG. 2) 213, and two interface cards (denoted as “I / F” in FIG. 2) 214, 215.
  • the recording medium 212 is a storage device in which a program 217 executed by the CPU 211 is stored.
  • the CPU 211 reads and executes the program 217 stored in the storage medium 212, thereby controlling and managing the own mainframe device 2.
  • One of the two interface cards 214 and 215 is connected to the network 3 and the other is used to connect to the console 5.
  • the interface card 214 is used for connection with the console 5 and the interface card 215 is used for communication with the network 3.
  • the PCI box 22 is a device that is added as necessary.
  • the number of ONA cards 25 mounted on the PCI box 22 can be arbitrarily increased or decreased.
  • the MAC address management server 1 is installed in order to centrally manage the MAC addresses used in each mainframe device 2.
  • the SVP 21 of each mainframe device 2 manages the MAC address used by the mainframe device 2 itself.
  • each mainframe device 2 can acquire a newly required MAC address at any time.
  • Each mainframe device 2 can cancel the assignment of the MAC address that is no longer necessary. For this reason, each mainframe device 2 can quickly and easily respond to an increase or decrease in the number of necessary MAC addresses without wasting MAC addresses.
  • FIG. 4 is a diagram illustrating an example of a functional configuration related to MAC address management of the MAC address management server and the mainframe device. Management of the MAC address in each mainframe device 2 is performed by the SVP 21. Therefore, in the mainframe device 2, only the SVP 21 represents a functional configuration example.
  • the MAC address management server 1 centrally manages target MAC addresses in response to requests from the SVP 21 of each mainframe device 2. For this purpose, an allocation determination unit 100, a data transmission / reception unit 110, and a storage unit 120 are provided.
  • the data transmission / reception unit 110 corresponds to the interface card 14 shown in FIG.
  • the assignment determination unit 100 is realized by the CPU 11 reading the program 13b stored in the hard disk device 13 into the memory 12 and executing it. Therefore, the assignment determination unit 100 corresponds to, for example, the CPU 11 and the memory 12 from which the program 13b is read.
  • the storage unit 120 corresponds to the hard disk device 13.
  • the MAC address management server 1 performs MAC address allocation, MAC address deallocation, or MAC address migration in response to a request from the SVP 21 of each mainframe device 2.
  • the movement of the MAC address is to cancel the assignment of the MAC address used in a certain mainframe device 2 and newly assign the released MAC address to another designated mainframe device 2. .
  • the movement of the VM 202 between the mainframe devices 2, that is, the load division and the like can be performed more easily.
  • the hard disk device 13 stores a MAC address management table 13a.
  • the MAC address management table 13a is configured as shown in FIGS. 5A to 5E.
  • Each entry (record) of the MAC address management table 13a stores data of a MAC address, a model type, a device serial number, a model type of the destination device, and a device serial number of the destination device.
  • the model type and device serial number are data for uniquely identifying the mainframe device 2 to which the corresponding MAC address is assigned. Therefore, there is no corresponding data in an entry to which no MAC address is assigned.
  • a column in which no data exists is described as “unused (usable)”. “Unused (usable)” written as the model type of the destination device and the device serial number of the destination device also indicates that there is no corresponding data.
  • “1” to “3” written at the head of each entry represent entry (record) numbers.
  • 5A to 5E show examples of operations of the MAC address management table 13a in the case where the contents shown in FIG. 5A are in an initial state, and MAC address assignment, MAC address movement, and MAC address deallocation are sequentially performed. ing.
  • the operation of the MAC address management table 13a that is, the update of the contents is performed by the assignment determination unit 100 in response to a request from the mainframe device 2.
  • the SVP 21 of each mainframe device 2 includes a data transmission / reception unit 221, a MAC address management unit 222, a command instruction unit 223, a MAC address notification unit 224, and a storage unit 225 as functional configurations.
  • the data transmission / reception unit 221 is a function for communicating with the MAC address management server 1 via the network 3, and is actually an interface card 215.
  • the storage unit 225 is a hard disk device 213.
  • the storage unit 225 stores a local apparatus information table 226 used for managing the MAC address in the local mainframe apparatus 2.
  • FIG. 6 is a diagram illustrating a configuration example of the own device information table. As shown in FIG. 6, the own device information table stores model type, device serial number, ONA serial number, number of MAC addresses, MAC address, and ONA mounting position data.
  • the model type and device serial number are data assigned to the main frame device 2 itself.
  • the ONA serial number is identification data of the ONA card 25, and “000001” to “000004” shown in FIG.
  • the number of MAC addresses represents the maximum number of MAC addresses that can be assigned to the corresponding ONA card 25.
  • the MAC address represents a MAC address actually assigned to the corresponding ONA card 25.
  • “00-0A-E4-9F-00 to 00-0A-E4-9F-00-07” shown in FIG. 6 is “00-0A-E4” in the ONA card 25 whose ONA serial number is “000001”. This indicates that a total of eight MAC addresses of “-9F-00” to “00-0A-E4-9F-00-07” are allocated.
  • the ONA mounting position is data representing a place where the corresponding ONA card 25 is mounted.
  • “PCIBox # 0 Slot 0” shown in FIG. 6 represents a slot whose slot number is 0 in the PCI box 22-0 whose box number is 0.
  • the ONA card 25 connected to the PCI express switch mounted in the PCI box 22 is recognized.
  • the PCI express switch outputs the recognition result together with data representing the connection location of the ONA card, that is, ONA mounting position data.
  • These data are input to the SVP 21 via the switch group 27 and processed by the MAC address management unit 222.
  • the MAC address management unit 222 adds an entry for one ONA card 25 to the own device information table 226, and stores the ONA serial number, the number of MAC addresses, and the ONA mounting position data in the added entry. To do.
  • the removal is recognized by the PCI express switch of the PCI box 22 and notified to the SVP 21.
  • the notification includes ONA mounting position data.
  • the MAC address management unit 222 updates, for example, deletes the data of the ONA mounting position of the corresponding entry in the own device information table 226.
  • the removal of the ONA card 25 does not cancel the assignment of the MAC address assigned to the ONA card 25 because it is assumed that the ONA card 25 is temporarily removed.
  • the command instruction unit 223 is an interface function that realizes execution of a command corresponding to the operation content of the operator performed on the console 5.
  • the MAC address management unit 222 issues a command in accordance with an instruction from the command instruction unit 223.
  • four types of commands to be issued are assumed: an acquisition command, a movement registration command, a movement acquisition command, and a return command. Each of these commands is for the following requests:
  • the acquisition command is a command for requesting assignment of a MAC address.
  • the command is used to acquire all the MAC addresses required by the mainframe device 2. This is because it is assumed that the mainframe device 2 is newly installed (added).
  • the acquisition command may be a command for requesting allocation of a necessary number of MAC addresses in accordance with attachment / detachment of the ONA card 25 or the like.
  • the movement registration command and movement acquisition command are commands related to movement of the MAC address.
  • the movement registration command is a command for requesting registration (reservation) of a MAC address to be moved
  • the movement acquisition command is a command for requesting assignment of a registered MAC address.
  • the return command is a command for requesting the deallocation of the MAC address.
  • the movement registration command and the movement acquisition command are collectively referred to as “movement command”.
  • each command created by the MAC address management unit 221 includes a command code indicating a command type, a model type, and a device serial number.
  • the acquisition command includes the number of MAC addresses for which allocation is requested (hereinafter referred to as “necessary MAC number”).
  • the movement registration command includes a MAC address to be moved, a model type for designating a movement destination of the MAC address, and a device serial number.
  • the movement acquisition command includes the number of MAC addresses for which allocation is requested among the registered MAC addresses (hereinafter referred to as “necessary MAC number”).
  • the return command includes a MAC address for requesting deallocation. Since it is only necessary to specify the MAC address to be deallocated, the return command does not need to store the model type and device serial number.
  • the command issued by the MAC address management unit 222 is transmitted to the MAC address management server 1 via the data transmission / reception unit 221.
  • the MAC address management server 1 processes the command received from the mainframe device 2 and transmits the processing result.
  • the MAC address management unit 222 receives the processing result via the data transmission / reception unit 221 and updates the own device information table 226.
  • the number of MAC addresses requested by the command is newly assigned. Therefore, in the corresponding entry of the own device information table 226, the newly assigned MAC address Is stored as data.
  • the MAC address specified by the command must not be used. For this reason, the specified MAC address is deleted from the corresponding entry in the own device information table 226.
  • the change result of the usable MAC address is notified from the MAC address management unit 222 to the MAC address notification unit 224.
  • a host OS or a supervisor is executed on the main body 200.
  • the MAC address notification unit 225 notifies the host OS 201 of the change contents of the usable MAC address.
  • Reference numeral 206 in FIG. 4 denotes communication management software that operates on the host OS 201.
  • the command instruction unit 223 is realized by the CPU 211, the recording medium 212, and the interface card 214, for example.
  • the MAC address management unit 222 and the MAC address notification unit 224 are realized by the CPU 211 and the recording medium 212, for example.
  • the assignment determination unit 100 of the MAC address management server 1 processes the received command to obtain a MAC address management table. 13a is updated.
  • the assignment determining unit 100 enables the MAC address management table 13a to be updated from the initial state of FIG. 5A to the states shown in FIGS. 5B to 5E.
  • each mainframe device 2 can use only a necessary number of MAC addresses even if the number of mounted ONA cards 25 is increased or decreased.
  • FIG. 5B shows two MAC addresses “00-01-E4-9F-00-00” and “00-01-E4-9F-00-10” from the initial state shown in FIG. 5A.
  • the model type is “GS21 1600”. ”.
  • After the device serial number is assigned to the mainframe device 2 with“ 0001 ”. This assignment is performed by receiving an acquisition command.
  • FIG. 5C shows a state in which, in the state shown in FIG. 5B, a transition is made by receiving a movement registration command targeting the MAC address “00-01-E4-9F-00-10”.
  • “GS21 1600” and “0002” stored in the movement registration command are written as the model type of the movement destination apparatus of the entry of the MAC address and the apparatus serial number of the movement destination apparatus.
  • FIG. 5D shows a state where the state shown in FIG. 5C is shifted to by receiving a movement acquisition command targeting the MAC address “00-01-E4-9F-00-10”.
  • the model type of the destination device and the device serial number of the destination device in FIG. 5C are stored as the model type and the device serial number of the entry of the MAC address.
  • the model type of the destination device at this time, the destination device Each device serial number data is erased and does not exist.
  • FIG. 5E shows a state in which the state shown in FIG. 5D is shifted by receiving a return command for the MAC address “00-01-E4-9F-00-00”.
  • the return command is received, the assignment of the MAC address is released, so that the model type and device serial number data of the entry are erased and do not exist.
  • the MAC address management table 13a is sequentially updated according to the command received from each mainframe device 2. Through this update, the MAC address management server 1 centrally manages the assignable MAC addresses.
  • the SVP 21 of each mainframe device 2 transmits a command to be transmitted to the MAC address management server 1 in accordance with an operator instruction using the console 5. May be automatically determined and transmitted.
  • the command to be transmitted may be determined when the ONA card 25 is mounted or removed. Since it is necessary for the operator to determine whether or not to move the MAC address, the movement registration command and the movement acquisition command may be transmitted in accordance with the instruction of the operator.
  • FIG. 7 is a flowchart of the MAC address management process.
  • This MAC address management process is a process for managing the MAC address used by each mainframe apparatus 2 through the process of the command transmitted from the mainframe apparatus 2, and the CPU 11 stores a program stored in the hard disk apparatus 13. This is realized by executing 13b.
  • the assignment determination unit 100 illustrated in FIG. 4 is realized by the CPU 11 executing the MAC address management process.
  • FIG. 7 shows a flow of processing executed by receiving one command from the mainframe device 2, that is, a series of processing executed when receiving one command.
  • the CPU 11 receives a received command from the interface card 14 and determines whether or not the command is an acquisition command (S1).
  • the determination in S1 is Yes and the process proceeds to S2.
  • the determination in S1 is No and the process proceeds to S3.
  • This MAC address allocation process is a process for newly allocating the number of MAC addresses requested by the acquisition command to the mainframe device 2 that has transmitted the acquisition command. After executing the MAC address assignment process, the MAC address management process ends.
  • the acquisition command stores information such as the model type, the device serial number, and the required number of MACs of the mainframe device 2 that has transmitted the acquisition command.
  • the CPU 11 extracts information from the acquisition command received from the interface card 14 and assigns 1 as an initial value to a variable for counting the number of assigned MAC addresses. (S11).
  • the variable is hereinafter referred to as “number of addresses”.
  • processing for selecting the MAC address to be used by the mainframe device 2 that has transmitted the acquisition command is performed while sequentially changing the target entry in the MAC address management table 13a. .
  • the acquisition command is a command for acquiring all the MAC addresses required by the mainframe device 2.
  • the MAC address management server 1 notifies the mainframe device 2 that has transmitted the acquisition command of the number of MAC addresses specified by the acquisition command as a processing result. For this reason, already assigned MAC addresses are also subject to notification.
  • the CPU 11 determines whether or not it has searched up to the end entry of the MAC address management table 13a. If the target entry does not remain in the MAC address management table 13a, the determination in S12 is Yes and the process proceeds to S19. If the target entry remains in the MAC address management table 13a, the determination in S12 is No and the process proceeds to S13.
  • the CPU 11 determines whether or not the model type of the target entry matches the model type extracted in S11. If they match, the determination in S13 is Yes and the process proceeds to S14. If they do not match, the determination in S13 is No and the process proceeds to S15.
  • the CPU 11 determines whether or not the device serial number of the target entry matches the device serial number extracted in S11. If they match, the determination in S14 is Yes and the process proceeds to S17. If they do not match, the determination in S14 is No and the process proceeds to S15.
  • the determination of Yes in S14 means that the MAC address stored in the target entry has already been assigned to the mainframe device 2 that has transmitted the acquisition command.
  • the CPU 11 determines whether or not there is model type data of the target entry. If the data of the model type does not exist, that is, if the data of the model type is the content described as “unused (can be used)” in FIG. 5A or the like, the determination in S15 is Yes and the process proceeds to S16. To do. If there is data of that model type, the determination in S15 is No, the target entry is changed to the next entry, and the process returns to S12. The determination of No in S15 means that the MAC address stored in the target entry is assigned to another mainframe device 2.
  • the CPU 11 assigns the MAC address stored in the target entry to the mainframe device 2 that has transmitted the acquisition command. For this purpose, the CPU 11 updates the target entry, and stores the model type and device serial number data acquired in S11 as the model type and device serial number data. Thereafter, the process proceeds to S17.
  • the CPU 11 reads out the MAC address stored in the target entry as a MAC address to be notified to the mainframe device 2 that has transmitted the acquisition command, and increments the number of addresses as the variable.
  • the CPU 11 determines whether or not the value of the incremented address number is larger than the necessary MAC number (S18). Since the initial value of the number of addresses is 1, when the assignment of the number of MAC addresses requested by the acquisition command is completed, the value of the number of addresses becomes larger than the necessary number of MACs. Thereby, when the assignment of the MAC address is completed, the determination in S18 is Yes and the process proceeds to S19. If the assignment of the MAC address is not completed, the determination in S18 is No, the target entry is changed to the next entry, and the process returns to S12.
  • the CPU 11 causes all the MAC addresses read in S17 to be transmitted to the SVP 21 of the mainframe device 2 as the processing result of the acquisition command.
  • the MAC address assignment process ends thereafter.
  • the shift from S12 to S19 means that all the MAC addresses requested by the acquisition command have not been allocated.
  • the CPU 11 determines whether or not the command received from the interface card 14 is a movement command.
  • the determination in S3 is Yes and the process proceeds to S4.
  • the determination in S3 is No and the process proceeds to S7.
  • the CPU 11 determines whether or not the movement command is a movement registration command. If the movement command received from the interface card 14 is a movement registration command, the determination in S4 is Yes, and the MAC address movement registration process is executed in S5. If the movement command is a movement acquisition command, the determination in S4 is No, and the MAC address movement allocation process is executed in S6. After executing the MAC address movement registration process of S5 or the MAC address movement allocation process of S6, the MAC address management process ends.
  • FIG. 9 is a flowchart of the MAC address movement registration process.
  • This MAC address movement registration process is a process performed to identify the MAC address to be moved and the mainframe device 2 to which the MAC address is moved.
  • Update of the MAC address management table 13a from the state shown in FIG. 5B to the state shown in FIG. 5C is realized by executing this MAC address movement registration process.
  • the CPU 11 extracts the information from the received movement registration command (S31).
  • the CPU 11 determines whether or not it has searched up to the end entry of the MAC address management table 13a. If the target entry does not remain in the MAC address management table 13a, the determination in S32 is Yes, after notifying the SVP 21 of the mainframe device 2 that has transmitted the movement registration command that the designated MAC address does not exist. Then, the MAC address movement registration process is terminated. If the target entry remains in the MAC address management table 13a, the determination in S32 is No and the process proceeds to S33.
  • the CPU 11 determines whether or not the MAC address stored in the target entry matches the MAC address extracted in S31. If they match, the determination in S33 is Yes and the process proceeds to S34. If they do not match, the determination in S33 is No, the target entry is changed to the next entry, and the process returns to S32.
  • the CPU 11 updates the target entry, and uses the model type and device serial number data extracted in S31 as the model type and device serial number data of the destination device of the target entry.
  • the mainframe apparatus 2 that has transmitted the movement registration command is notified that the reservation for movement of the designated MAC address has been completed (S34). Thereafter, the MAC address movement management process ends.
  • FIG. 10 is a flowchart of the MAC address movement allocation process.
  • This MAC address movement allocation registration process is a process for allocating the MAC address designated by the movement registration command to the mainframe device 2 designated by the movement registration command.
  • the update of the MAC address management table 13a from the state shown in FIG. 5C to the state shown in FIG. 5D is realized by executing this MAC address movement allocation process.
  • the movement assignment command stores information such as the required number of MACs, the model type of the mainframe device 2 that transmitted the movement assignment command, and the device serial number.
  • the CPU 11 extracts information from the received move assignment command, and substitutes 1 as an initial value for a variable for counting the number of assigned MAC addresses (S41). ).
  • the variable is denoted as “number of addresses” here.
  • the CPU 11 determines whether or not the end entry of the MAC address management table 13a has been searched. If the target entry does not remain in the MAC address management table 13a, the determination in S42 is Yes and the process proceeds to S49. If the target entry remains in the MAC address management table 13a, the determination in S42 is No and the process proceeds to S43.
  • the CPU 11 determines whether or not the model type of the destination device of the target entry matches the model type extracted in S41. If they match, the determination in S43 is Yes and the process proceeds to S44. If they do not match, the determination in S43 is No, the target entry is changed to the next entry, and the process returns to S42.
  • the CPU 11 determines whether or not the device serial number of the destination device of the target entry matches the device serial number extracted in S41. If they match, the determination in S44 is Yes and the process proceeds to S45. If they do not match, the determination in S44 is No, the target entry is changed to the next entry, and the process returns to S42.
  • the determination of Yes in S44 means that the MAC address stored in the target entry is the MAC address to be assigned to the mainframe device 2 that has transmitted the movement assignment command.
  • the CPU 11 updates the model type and device serial number data of the target entry with the model type and device serial number data extracted in S41.
  • the CPU 11 updates the target entry by deleting the data of the model type and device serial number of the destination device of the entry. Thereafter, the process proceeds to S47.
  • the CPU 11 reads the MAC address stored in the target entry as a MAC address to be notified to the mainframe device 2 that has transmitted the movement acquisition command, and increments the number of addresses as the variable.
  • the CPU 11 determines whether or not the value of the incremented address number is larger than the necessary MAC number (S48). Since the initial value of the number of addresses is 1, when the assignment of the number of MAC addresses requested by the movement acquisition command is completed, the value of the number of addresses becomes larger than the necessary number of MACs. Thereby, when the assignment of the MAC address is completed, the determination in S48 is Yes and the process proceeds to S49. If the assignment of the MAC address is not completed, the determination in S48 is No, the target entry is changed to the next entry, and the process returns to S42.
  • the CPU 11 transmits all the MAC addresses read in S47 to the SVP 21 of the mainframe device 2 as the processing result of the movement acquisition command.
  • the MAC address movement assignment process ends thereafter.
  • the shift from S42 to S49 means that all the MAC addresses requested by the movement acquisition command have not been allocated.
  • the CPU 11 executes a MAC address return process. After executing the MAC address return process, the MAC address management process ends.
  • the MAC address return process is a process for deallocating the MAC address designated by the return command upon receipt of the return command.
  • the MAC address return process will be described in detail with reference to the flowchart shown in FIG.
  • the return command stores the MAC address that requests the deallocation.
  • the CPU 11 extracts information such as a MAC address from the received return command (S61).
  • the CPU 11 determines whether or not the search has been performed up to the end entry of the MAC address management table 13a. If the target entry does not remain in the MAC address management table 13a, the determination in S62 is Yes, and after notifying the SVP 21 of the mainframe device 2 that transmitted the return command that the designated MAC address does not exist, The MAC address return process is terminated. When the target entry remains in the MAC address management table 13a, the determination in S62 is No and the process proceeds to S63.
  • the CPU 11 determines whether or not the MAC address stored in the target entry matches the MAC address extracted in S61. If they match, the determination in S63 is Yes and the process proceeds to S64. If they do not match, the determination in S63 is No, the target entry is changed to the next entry, and the process returns to S62.
  • the CPU 11 updates the target entry and deletes the data of the model type of the target entry and the device serial number.
  • the mainframe device 2 that has transmitted the return command is notified that the deassignment of the designated MAC address has been completed (S64). Thereafter, the MAC address return process ends.
  • the CPU 11 of the MAC address management server 1 responds to the request of each mainframe device 2 by executing the MAC address management process.
  • FIGS. 12 to 15 the operations of the console, the mainframe device, and the MAC address management server when transmitting the command for each type of command transmitted by the mainframe device 2 will be described in detail. explain.
  • FIG. 12 to FIG. 15 for convenience, it is assumed that the operator who operates the console 5 also performs the attaching / detaching work of the ONA card 25 in the mainframe device 2, and the work performed by the operator is also represented as the operation of the console 5. .
  • FIG. 12 is a flowchart showing an example of the flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits an acquisition command.
  • a description will be given including the operation of the console 5 for transmitting the acquisition command to the mainframe device 2 or the operation of the operator operating the console 5.
  • the operator When the operator newly installs the ONA card 25, the operator performs an operation of mounting the ONA card 25 on the mainframe device 2 on which the ONA card 25 is to be mounted (SA1). After the operation is performed, the operator operates the console 5 in the state where the SVP 21 of the mainframe device 2 on which the ONA card 25 is newly mounted and the console 5 are connected to instruct acquisition of the MAC address (SA2 ).
  • the data for the instruction is received by the interface card 214 of the SVP 21 and passed to the CPU 211.
  • the CPU 211 reads the number of MAC addresses for each ONA card 25 according to the instruction represented by the data, calculates the necessary number of MACs by accumulating the number of read MAC addresses. (SB1). After that, the CPU 211 creates an acquisition command storing the model type and device serial number in addition to the calculated required number of MACs, and transmits the created acquisition command to the interface card 215 (SB2).
  • the ONA card 25 is recognized, and the CPU 211 of the SVP 21 updates the own device information table 226 according to the recognition result. For this reason, the acquisition command transmitted by SB1 also requests the assignment of the MAC address to be assigned to the newly installed ONA card 25.
  • the acquisition command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address assignment process of S2 in the MAC address management process shown in FIG. As a result of executing the MAC address assignment processing, the CPU 11 transmits all assigned MAC addresses to the SVP 21 of the mainframe device 2 (SC1).
  • the MAC address transmitted from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211 (SB3).
  • the CPU 211 updates the own apparatus information table 226 using the MAC address received from the MAC address management server 1.
  • the update is performed by storing a MAC address that is not stored in the own device information table 226 among the received MAC addresses as the MAC address of the ONA card 25 to which no MAC address is assigned.
  • the newly acquired MAC address is assigned to the newly installed ONA card 25 by transmitting the acquisition command.
  • the MAC address actually assigned to the ONA card 25 is sent from the CPU 211 of the SVP 21 to the CPU 253 of the ONA card 25 via the switch group 27 and stored in the SDRAM 252.
  • FIG. 13 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement registration command.
  • a description will be given including the console 5 for transmitting the movement registration command to the mainframe device 2 and the operation of the operator who operates the console 5.
  • the movement of the MAC address is performed when the MAC address becomes unnecessary in the main frame device 2 as the movement source.
  • a typical example of the situation in which the MAC address is unnecessary is removal of the ONA card 25. Therefore, when moving the MAC address, the operator performs an operation of removing one or more ONA cards 25 from the mainframe device 2 that is the movement source of the MAC address (SA11). After performing the work, the operator operates the console 5 to instruct to move the MAC address in a state where the SVP 21 of the mainframe apparatus 2 from which the ONA card 25 is removed and the console 5 are connected (SA12).
  • the data for the instruction includes the model type of the mainframe device 2 to which the MAC address is moved and the device serial number.
  • This data is received by the interface card 214 of the SVP 21 and passed to the CPU 211.
  • the CPU 211 refers to its own device information table 226 according to the instruction represented by the data, identifies the MAC address to be moved, and identifies the specified MAC address and the model type of the mainframe device 2 designated as the movement destination. Then, a movement registration command storing the device serial number is created. The created movement registration command is transmitted to the MAC address management server 1 via the interface card 215 (SB11).
  • the specified MAC address is each MAC address of the entry in which the data of the ONA mounting position is erased and the MAC address is stored.
  • the movement registration command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address movement registration process of S5 in the MAC address management process shown in FIG. As a result of executing the MAC address movement registration process, the CPU 11 shifts the MAC address designated by the movement registration command to a reservation state as shown in FIG. 5C. The CPU 11 notifies the SVP 21 of the mainframe apparatus 2 that has transmitted the movement registration command that the command has been processed (SC11).
  • the notification from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211.
  • the CPU 211 deletes the corresponding MAC address from the own device information table 226 (SB12).
  • FIG. 14 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement acquisition command.
  • a description will be given including the operation of the console 5 for transmitting the movement acquisition command to the mainframe device 2 or the operation of the operator operating the console 5.
  • the operator performs an operation of newly installing the ONA card 25 in the destination mainframe device 2 to which the MAC address is to be moved (SA21). After performing the work, the operator operates the console 5 in a state where the SVP 21 of the mainframe device 2 on which the ONA card 25 is newly mounted and the console 5 are connected, and obtains an already reserved MAC address. (SA22).
  • the data for the instruction is received by the interface card 214 of the SVP 21 and passed to the CPU 211.
  • the CPU 211 refers to the own device information table 226, identifies the ONA card 25 in which no MAC address is stored, and reads the number of MAC addresses of the ONA card 25 (SB21). Thereafter, the CPU 211 uses the read MAC address number as the required MAC number, creates a movement acquisition command that stores the necessary MAC number, model type, and device serial number, and transmits the generated movement acquisition command to the interface card 215. (SB22).
  • the movement acquisition command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address movement allocation process of S6 in the MAC address management process shown in FIG. As a result of executing the MAC address movement assignment process, the CPU 11 transmits the assigned MAC address from among the reserved MAC addresses to the SVP 21 of the mainframe device 2 (SC21).
  • the MAC address transmitted from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211 (SB23).
  • the CPU 211 updates the own apparatus information table 226 using the MAC address received from the MAC address management server 1.
  • the update is performed by storing the received MAC address as the MAC address of the ONA card 25 to which no MAC address is assigned.
  • the newly installed ONA card 25 is assigned the MAC address assigned to another mainframe device 2 by transmitting the movement acquisition command.
  • FIG. 15 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a return command.
  • the return of the MAC address is performed by removing the ONA card 25. Therefore, when returning the MAC address, the operator performs an operation of removing the ONA card 25 to which the MAC address is assigned from the mainframe device 2 (SA31). After performing the work, the operator operates the console 5 and instructs the return of the MAC address while the console 5 is connected to the SVP 21 of the mainframe device 2 from which the ONA card 25 is removed (SA32).
  • the data for the instruction is received by the interface card 214 of the SVP 21 and passed to the CPU 211.
  • the CPU 211 refers to the own device information table 226, identifies the MAC address to be returned, and creates a return command storing the identified MAC address.
  • the created return command is transmitted to the MAC address management server 1 via the interface card 215 (SB31).
  • the MAC address to be returned is the MAC address of the entry that does not store the ONA mounting position data.
  • the return command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address return process of S7 in the MAC address management process shown in FIG. As a result of executing the MAC address return processing, the CPU 11 shifts the entry of the MAC address designated by the return command from the state shown in FIG. 5D to the state shown in FIG. 5E. The CPU 11 notifies the SVP 21 of the mainframe device 2 that has transmitted the return command that the command has been processed (SC31).
  • the notification from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211.
  • the CPU 211 deletes the corresponding MAC address from the own device information table 226 (SB12).
  • the MAC address management device is realized as one MC address management server 1, but may be realized using a plurality of servers. For example, you may provide the MAC address management apparatus which processes the command according to the kind of command.
  • the MAC address management device for example, installs one or more MAC address management devices for each data center, and installs a higher-level MAC address management device that assigns MAC addresses to be managed by the MAC address management device of each data center As such, a plurality of units may be installed.
  • the various commands are transmitted from the mainframe device 2 in which the required number of MAC addresses fluctuates, but may be transmitted from devices other than the mainframe device 2. This is because if the mainframe device 2 in which the number of necessary MAC addresses fluctuates and the contents of the fluctuation can be specified, the management of the MAC address in the mainframe device 2 can be performed appropriately. Thereby, various commands may be transmitted from a device operated by an operator, for example.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A system in which the present invention is applied has: a communication means enabling communication over a network; a memory means storing address group information representing allocatable media access control (MAC) addresses; and a management means for referencing the address group information stored in the memory means, selecting a MAC address to be allocated to a first external device connected to the network, and communicating the selected MAC address to the first external device using the communication means, when the communication means has received request information requesting allocation of a MAC address from the first external device.

Description

MACアドレス管理装置、及び方法MAC address management apparatus and method
 本発明は、ネットワークを介して接続される装置間のデータの送受信に用いられるMAC(Media Access Control)アドレスを管理するための技術に関する。 The present invention relates to a technique for managing a MAC (Media Access Control) address used for transmitting and receiving data between devices connected via a network.
 ネットワークに接続された装置は、NIC(Network Interface Card)等の通信用ハードウェアを用いてデータの送受信を行う。その通信用ハードウェアには、MACアドレスと呼ばれるアドレスが割り当てられている。このMACアドレスは、通信用ハードウェアを一意に識別するために割り当てられた物理アドレスである。このため、MACアドレスを用いることにより、通信相手を特定したデータの送受信を行うことができる。 The device connected to the network transmits and receives data using communication hardware such as NIC (Network Interface Card). An address called a MAC address is assigned to the communication hardware. This MAC address is a physical address assigned to uniquely identify communication hardware. For this reason, by using the MAC address, data specifying the communication partner can be transmitted and received.
 通信用ハードウェアのなかには、それぞれが1つの通信用ハードウェアとして機能する通信資源を複数、備えているものがある。通信用ハードウェアが備える各通信資源を使用するには、それぞれMACアドレスが必要である。しかし、複数の通信資源を備えた通信用ハードウェアでは、実際に使用される通信資源の数を予め特定できないこともあり、全ての通信資源に予めMACアドレスを割り当てていないのが普通である。 Some communication hardware includes a plurality of communication resources each functioning as one communication hardware. In order to use each communication resource included in the communication hardware, a MAC address is required. However, in communication hardware provided with a plurality of communication resources, the number of communication resources actually used may not be specified in advance, and generally MAC addresses are not assigned to all communication resources in advance.
 通信用ハードウェアには、割り当てられたMACアドレスを表すアドレスデータを保存するための記憶装置が搭載されている。通信用ハードウェアを交換する場合、取り外す通信用ハードウェアの記憶装置に保存されているアドレスデータを、新たに搭載する通信用ハードウェアの記憶装置に新たに書き込むことにより、同じMACアドレスを使用することができる。その際、取り外す通信用ハードウェアの記憶装置に保存されているアドレスデータは消去される。 The communication hardware is equipped with a storage device for storing address data representing the assigned MAC address. When exchanging the communication hardware, the same MAC address is used by newly writing the address data stored in the storage device of the communication hardware to be removed to the storage device of the newly installed communication hardware. be able to. At that time, the address data stored in the storage device of the communication hardware to be removed is deleted.
 通信資源数がより多い通信用ハードウェアに交換する場合、上記のようなアドレスデータの書き込みを行っても、交換後の通信用ハードウェアの全通信資源にMACアドレスを割り当てられるとは限らない。例えば交換前の通信用ハードウェアの通信資源の数が1、交換後の通信用ハードウェアの通信資源の数が8、交換後の通信用ハードウェアに予め割り当てられているMACアドレスの数が1である場合、6通信資源のMACアドレスが不足することになる。全ての通信資源にMACアドレスが割り当てられていない通信用ハードウェアを新たに装置に搭載させる場合も、MACアドレスの不足により、全ての通信資源を使用することができない。 When exchanging with communication hardware having a larger number of communication resources, even if the address data is written as described above, MAC addresses are not always assigned to all communication resources of the communication hardware after the exchange. For example, the number of communication resources of the communication hardware before replacement is 1, the number of communication resources of the communication hardware after replacement is 8, and the number of MAC addresses assigned in advance to the communication hardware after replacement is 1. In this case, the MAC address of 6 communication resources is insufficient. Even when communication hardware in which MAC addresses are not assigned to all communication resources is newly installed in the apparatus, all communication resources cannot be used due to lack of MAC addresses.
 一方、通信資源数がより少ない通信用ハードウェアに交換する場合、及び通信用ハードウェアを取り外す場合、MACアドレスが不足することはない。しかし、使用されないMACアドレスが発生する。そのため、資源であるMACアドレスを浪費する形となる。 On the other hand, there is no shortage of MAC addresses when the communication hardware is replaced with a smaller number of communication resources and when the communication hardware is removed. However, an unused MAC address is generated. Therefore, the resource MAC address is wasted.
 通信が可能な装置の殆どは、通信用ハードウェアの着脱を行うことができる。そのため、必要なMACアドレス数の増減は随時、発生しうる。また、通信用ハードウェアを搭載したサーバの増設も随時、行われる。増設されたサーバでは、搭載される通信用ハードウェアに応じた数のMACアドレスが必要である。このようなことから、MACアドレスを必要とする装置では、必要なMACアドレスの数の変動に容易に対応できるようにするのが望ましいと思われる。 Most of the devices capable of communication can attach and detach communication hardware. Therefore, an increase or decrease in the number of necessary MAC addresses can occur at any time. In addition, the addition of servers equipped with communication hardware is also performed as needed. In the added server, the number of MAC addresses corresponding to the installed communication hardware is required. For this reason, it may be desirable for an apparatus that requires MAC addresses to easily cope with fluctuations in the number of necessary MAC addresses.
特開2003-134118号公報JP 2003-134118 A 特開2005-293110号公報JP 2005-293110 A 特開平9-130421号公報Japanese Patent Laid-Open No. 9-130421
 1側面では、本発明は、通信用ハードウェアを搭載する装置が、必要とするMACアドレスの数の変動に容易に対応できるようにするための技術を提供することを目的とする。 In one aspect, an object of the present invention is to provide a technique for enabling a device equipped with communication hardware to easily cope with a change in the number of required MAC addresses.
 本発明を適用した1システムは、ネットワークを介した通信を可能にする通信手段と、割り当て可能なMAC(Media Access Control)アドレスを表すアドレス群情報を格納した記憶手段と、ネットワークに接続された第1の外部装置からMACアドレスの割り当てを要求する要求情報を通信手段が受信した場合に、記憶手段に格納されたアドレス群情報を参照し、第1の外部装置に割り当てるMACアドレスを選択して、該選択したMACアドレスを通信手段により第1の外部装置に通知する管理手段と、を有する。 One system to which the present invention is applied includes a communication unit that enables communication via a network, a storage unit that stores address group information representing an assignable MAC (Media Access Control) address, and a first unit connected to the network. When the communication unit receives request information for requesting assignment of a MAC address from one external device, refer to the address group information stored in the storage unit, select the MAC address to be assigned to the first external device, and Management means for notifying the selected MAC address to the first external device by means of communication means.
 本発明を適用した1システムでは、通信用ハードウェアを搭載する装置が、必要とするMACアドレスの数の変動に容易に対応することができる。 In one system to which the present invention is applied, a device equipped with communication hardware can easily cope with fluctuations in the number of necessary MAC addresses.
本実施形態によるMACアドレス管理装置が適用されたデータ処理システムの構成例を表す図である。It is a figure showing the example of a structure of the data processing system to which the MAC address management apparatus by this embodiment was applied. メインフレーム装置のより詳細な構成を説明する図である。It is a figure explaining the more detailed structure of a mainframe apparatus. ONAカードが提供する通信環境を説明する図である。It is a figure explaining the communication environment which an ONA card provides. MACアドレス管理サーバ、及びメインフレーム装置のMACアドレスの管理に係わる機能構成例を説明する図である。It is a figure explaining an example of functional composition concerning management of a MAC address of a MAC address management server and a mainframe device. MACアドレス管理テーブルの構成例、及びその内容例を説明する図である(初期状態)。It is a figure explaining the structural example of a MAC address management table, and the example of the content (initial state). MACアドレス管理テーブルの構成例、及びその内容例を説明する図である(取得コマンド処理時)。It is a figure explaining the structural example of a MAC address management table, and the example of the content (at the time of acquisition command processing). MACアドレス管理テーブルの構成例、及びその内容例を説明する図である(移動登録コマンド処理時)。It is a figure explaining the structural example of a MAC address management table, and the example of the content (at the time of a movement registration command process). MACアドレス管理テーブルの構成例、及びその内容例を説明する図である(移動取得コマンド処理時)。It is a figure explaining the structural example of a MAC address management table, and the example of the content (at the time of a movement acquisition command process). MACアドレス管理テーブルの構成例、及びその内容例を説明する図である(返却コマンド処理時)。It is a figure explaining the structural example of a MAC address management table, and the example of the content (at the time of a return command process). 自装置情報テーブルの構成例を説明する図である。It is a figure explaining the structural example of an own apparatus information table. MACアドレス管理処理のフローチャートである。It is a flowchart of a MAC address management process. MACアドレス割当処理のフローチャートである。It is a flowchart of a MAC address allocation process. MACアドレス移動登録処理のフローチャートである。It is a flowchart of a MAC address movement registration process. MACアドレス移動割当処理のフローチャートである。It is a flowchart of a MAC address movement allocation process. MACアドレス返却処理のフローチャートである。It is a flowchart of a MAC address return process. メインフレーム装置が取得コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。10 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits an acquisition command. メインフレーム装置が移動登録コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。10 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement registration command. メインフレーム装置が移動取得コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。10 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement acquisition command. メインフレーム装置が返却コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。It is a flowchart showing the example of the flow of the process which each of a console, its mainframe apparatus, and a MAC address management server performs when a mainframe apparatus transmits a return command.
 以下、本発明の実施形態について、図面を参照しながら詳細に説明する。
 図1は、本実施形態によるMACアドレス管理装置が適用されたデータ処理システムの構成例を表す図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration example of a data processing system to which a MAC address management device according to the present embodiment is applied.
 データ処理システムは、図1に表すように、MACアドレス管理サーバ1と、複数台のメインフレーム装置2(2-1、2-2)とをネットワーク3に接続した構成となっている。メインフレーム装置2間はネットワーク4によって接続され、各メインフレーム装置2はコンソール5を接続することが可能である。本実施形態によるMACアドレス管理装置は、MACアドレス管理サーバ1として実現されている。 As shown in FIG. 1, the data processing system has a configuration in which a MAC address management server 1 and a plurality of mainframe devices 2 (2-1, 2-2) are connected to a network 3. The mainframe devices 2 are connected by a network 4, and each mainframe device 2 can be connected to a console 5. The MAC address management device according to the present embodiment is realized as the MAC address management server 1.
 MACアドレス管理サーバ1は、1台のコンピュータ(データ処理装置)である。図1に表すように、CPU(Central Processing Unit)11、メモリ12、ハードディスク装置13、及びインターフェースカード(図1中「I/F」と表記)14を備えている。メモリ12は、例えば1つ以上のメモリモジュールである。 The MAC address management server 1 is a single computer (data processing device). As shown in FIG. 1, a CPU (Central Processing Unit) 11, a memory 12, a hard disk device 13, and an interface card (indicated as “I / F” in FIG. 1) 14 are provided. The memory 12 is, for example, one or more memory modules.
 ハードディスク装置13には、CPU11が実行するプログラム13bの他に、後述するMACアドレス管理テーブル13aが格納されている。本実施形態によるMACアドレス管理装置であるMACアドレス管理サーバ1は、CPU11がプログラム13bを実行することで実現される。インターフェースカード14は、例えばNIC(Network Interface Card)である。 The hard disk device 13 stores a MAC address management table 13a, which will be described later, in addition to a program 13b executed by the CPU 11. The MAC address management server 1 which is a MAC address management device according to the present embodiment is realized by the CPU 11 executing the program 13b. The interface card 14 is, for example, a NIC (Network Interface Card).
 各メインフレーム装置2は、SVP(SerVice Processor)21、及び複数のPCI(Peripheral Components Interconnect)ボックス22を備えている。図1では、各メインフレーム装置2に3つのPCIボックス22-0~22-2を表している。 Each mainframe device 2 includes a SVP (SerVice Processor) 21 and a plurality of PCI (Peripheral Components Interconnect) boxes 22. In FIG. 1, three PCI boxes 22-0 to 22-2 are shown for each mainframe device 2.
 SVP21は、搭載されたメインフレーム装置2の制御、及び監視を行うための専用の装置である。各メインフレーム装置2のSVP21、及びMACアドレス管理サーバ1のインターフェースカード14は、上記ネットワーク3と接続されている。 The SVP 21 is a dedicated device for controlling and monitoring the mounted mainframe device 2. The SVP 21 of each mainframe device 2 and the interface card 14 of the MAC address management server 1 are connected to the network 3.
 PCIボックス22は、PCIスロットを増設するための装置である。図1では、PCIボックス22のPCIスロットに接続されたPCIエクスプレス・カードとして、ONA(Open Network Adapter)カード25を表している。このONAカード25は、NICの1種であり、ネットワーク4を介した通信を可能にする。それにより、各メインフレーム装置2に搭載されたONAカード25はネットワーク4と接続されている。 The PCI box 22 is a device for adding a PCI slot. In FIG. 1, an ONA (Open Network Adapter) card 25 is shown as a PCI express card connected to the PCI slot of the PCI box 22. The ONA card 25 is a type of NIC and enables communication via the network 4. Thereby, the ONA card 25 mounted on each mainframe device 2 is connected to the network 4.
 PCIエクスプレス・カードとして実現された通信用ハードウェアには、ONAカード25以外のものも存在する。しかし、ここでは、混乱を避けるために、通信用ハードウェとしてONAカード25のみを想定する。通信用ハードウェアは、ONAカード25以外の装置であっても良い。 There are other hardware than the ONA card 25 as communication hardware realized as a PCI Express card. However, here, in order to avoid confusion, only the ONA card 25 is assumed as communication hardware. The communication hardware may be a device other than the ONA card 25.
 図1に表すように、メインフレーム装置2-1には「GS21 1600」「シリアル 00001」が表記されている。「GS21 1600」は、メインフレーム装置2-1の種類データであるモデル種別データを表し、「シリアル 00001」は識別情報である装置シリアル番号が「00001」であることを表している。これは、メインフレーム装置2-2に表記の「GS21 200A」「シリアル 00002」も同様である。各メインフレーム装置2は、モデル種別データと装置シリアル番号により、一意に特定することができる。 As shown in FIG. 1, “GS21 1600” and “Serial 00001” are written on the mainframe device 2-1. “GS21 1600” represents model type data that is the type data of the mainframe device 2-1, and “Serial 00001” represents that the device serial number that is identification information is “00001”. The same applies to “GS21 200A” and “Serial 00002” written on the mainframe device 2-2. Each mainframe device 2 can be uniquely identified by the model type data and the device serial number.
 図2は、メインフレーム装置のより詳細な構成を説明する図である。図2では、説明上、便宜的に、SVP21、及びONAカード25のより詳細な構成を表している。
 各メインフレーム装置2は、図2に表すように、本体200を備える。この本体200は、例えば1つ以上のCPUを備えたデータ処理用の装置であるシステムボード、及びデータの入出力用の装置であるI/O(Input/Output)ユニットをそれぞれ1枚以上、有する。それにより、本体200は、複数のVM(Virtual Machine)を作成可能な環境となっている。各PCIボックス22は、何れかのI/Oユニットと接続される。
FIG. 2 is a diagram illustrating a more detailed configuration of the mainframe device. In FIG. 2, for the sake of convenience, more detailed configurations of the SVP 21 and the ONA card 25 are shown.
Each mainframe device 2 includes a main body 200 as shown in FIG. The main body 200 has, for example, a system board that is a data processing device including one or more CPUs, and at least one I / O (Input / Output) unit that is a data input / output device. . Thereby, the main body 200 is an environment in which a plurality of VMs (Virtual Machines) can be created. Each PCI box 22 is connected to any I / O unit.
 各PCIボックス22には、1つ以上のPCIエクスプレス・スイッチが存在する。I/Oユニットにも、このようなPCIエクスプレス・スイッチが1つ以上、存在する。それにより、本体200、及びSVP21は、1つ以上のスイッチを介してONAカード25と接続される。図2に表記のスイッチ群27は、SVP21がONAカード25との間でデータの送受信のために用いられるスイッチの集まりを表している。 Each PCI box 22 has one or more PCI express switches. One or more such PCI express switches also exist in the I / O unit. Thereby, the main body 200 and the SVP 21 are connected to the ONA card 25 via one or more switches. A switch group 27 shown in FIG. 2 represents a group of switches used for data transmission / reception between the SVP 21 and the ONA card 25.
 ONAカード25は、図2に表すように、ONA本体251、SDRAM(Synchronous Dynamic Random Access Memory)252、CPU253、及びROM(Read Only Memory)254を備える。ROM254には、CPU253が実行するプログラム256が格納されている。 As shown in FIG. 2, the ONA card 25 includes an ONA main body 251, an SDRAM (Synchronous Dynamic Random Access Memory) 252, a CPU 253, and a ROM (Read Only Memory) 254. The ROM 254 stores a program 256 executed by the CPU 253.
 図3は、ONAカードが提供する通信環境を説明する図である。ここで図3を参照し、ONAカード25によって提供される通信環境について具体的に説明する。
 ONAカード25は1枚のカードである。しかし、ONAカード25は、OS(Operating System)から複数枚のカードとして認識させることができる。図3に表す各通信資源258(258-0~258-7)は全て1枚のカードとしてOSに認識される。図3中に表記の「060」~「06F」は、仮想ポート番号を表している。各通信資源には、それぞれ2つの仮想ポート番号が割り当てられる。それにより、図3に表す例では、ONAカード25は8枚のカードとして、対応する番号の仮想ポートを用いて使用することができる。
FIG. 3 is a diagram for explaining a communication environment provided by the ONA card. Here, the communication environment provided by the ONA card 25 will be described in detail with reference to FIG.
The ONA card 25 is a single card. However, the ONA card 25 can be recognized as a plurality of cards by the OS (Operating System). Each communication resource 258 (258-0 to 258-7) shown in FIG. 3 is recognized by the OS as one card. In FIG. 3, “060” to “06F” represent virtual port numbers. Two virtual port numbers are assigned to each communication resource. Thereby, in the example shown in FIG. 3, the ONA card 25 can be used as eight cards by using the virtual port of the corresponding number.
 図3に表す例では、本体200上に計4台のVM202(202-1~202-4)が作成されている。各VM202には、OSI(Open Systems Interconnection)規格、TCP/IP(Transmission Control Protocol/Internet Protocol)をサポートする通信ソフトウェア(図3中「通信ソフト」と表記)204が動作する。ONAカード25は、VM202毎、及び通信方式毎に、通信資源258を割り当てることができる。 In the example shown in FIG. 3, a total of four VMs 202 (202-1 to 202-4) are created on the main body 200. Each VM 202 operates communication software (indicated as “communication software” in FIG. 3) 204 that supports the OSI (Open Systems Interconnection) standard and TCP / IP (Transmission Control Protocol / Internet Protocol). The ONA card 25 can allocate communication resources 258 for each VM 202 and for each communication method.
 各通信資源258を用いた通信には、MACアドレスが必要である。SDRAM252は、各通信資源258に割り当てられたMACアドレスを表すアドレスデータの保存に用いられる。図3では、スイッチ群27からSDRAM252に向けた矢印を表記しているが、SDRAM252へのアクセスは、実際にはCPU253によって行われる。CPU253は、SVP21からの指示に従って、SDRAM252へのアクセス、つまりアドレスデータの書き込み、或いは消去を行う。 A MAC address is required for communication using each communication resource 258. The SDRAM 252 is used for storing address data representing a MAC address assigned to each communication resource 258. In FIG. 3, an arrow from the switch group 27 to the SDRAM 252 is shown, but the access to the SDRAM 252 is actually performed by the CPU 253. The CPU 253 accesses the SDRAM 252 according to the instruction from the SVP 21, that is, writes or erases address data.
 ONA本体251は、SDRAM252にアドレスデータが保存されたMACアドレスを用いて、複数の通信資源258を提供する。それにより、ONAカード25は、通信資源258の提供にMACアドレスの割り当てを必要とするものとなっている。 The ONA body 251 provides a plurality of communication resources 258 using a MAC address in which address data is stored in the SDRAM 252. As a result, the ONA card 25 needs to assign a MAC address to provide the communication resource 258.
 SVP21は、CPU211、記録媒体212、ハードディスク装置(図2中「SVP-HDD」と表記)213、及び2つのインターフェースカード(図2中「I/F」と表記)214、215を備えている。 The SVP 21 includes a CPU 211, a recording medium 212, a hard disk device (denoted as “SVP-HDD” in FIG. 2) 213, and two interface cards (denoted as “I / F” in FIG. 2) 214, 215.
 上記記録媒体212は、CPU211が実行するプログラム217が格納された記憶装置である。CPU211は、記憶媒体212に格納されたプログラム217を読み出して実行することにより、自メインフレーム装置2の制御、及び管理を行う。2つのインターフェースカード214、及び215は、一方はネットワーク3と接続され、他方はコンソール5との接続に用いられる。ここでは、コンソール5との接続にインターフェースカード214が使用され、ネットワーク3との通信にインターフェースカード215が使用されると想定する。 The recording medium 212 is a storage device in which a program 217 executed by the CPU 211 is stored. The CPU 211 reads and executes the program 217 stored in the storage medium 212, thereby controlling and managing the own mainframe device 2. One of the two interface cards 214 and 215 is connected to the network 3 and the other is used to connect to the console 5. Here, it is assumed that the interface card 214 is used for connection with the console 5 and the interface card 215 is used for communication with the network 3.
 PCIボックス22は、必要に応じて増設される装置である。PCIボックス22に搭載させるONAカード25の数も任意に増減させることができる。PCIボックス22が搭載されるメインフレーム装置2は、非常に多く存在し、増設も随時、行われる。これらは、システム全体として、膨大な数のMACアドレスが使用される可能性がある、実際に使用されるMACアドレスの数が大きく増減する可能性がある、ということを意味する。このようなことから、本実施形態では、各メインフレーム装置2で使用されるMACアドレスを一元的に管理するために、MACアドレス管理サーバ1を設置している。各メインフレーム装置2のSVP21は、自メインフレーム装置2で使用するMACアドレスの管理を行うようになっている。 The PCI box 22 is a device that is added as necessary. The number of ONA cards 25 mounted on the PCI box 22 can be arbitrarily increased or decreased. There are a large number of mainframe devices 2 on which the PCI boxes 22 are mounted, and expansion is performed as needed. These mean that an enormous number of MAC addresses may be used as a whole system, and the number of MAC addresses actually used may greatly increase or decrease. For this reason, in the present embodiment, the MAC address management server 1 is installed in order to centrally manage the MAC addresses used in each mainframe device 2. The SVP 21 of each mainframe device 2 manages the MAC address used by the mainframe device 2 itself.
 MACアドレス管理サーバ1を各メインフレーム装置2とネットワーク3を介して接続させたことにより、各メインフレーム装置2は、新たに必要となったMACアドレスを随時、取得することができる。各メインフレーム装置2は、不要となったMACアドレスの割り当てを解除させることができる。このようなことから、各メインフレーム装置2は、MACアドレスを浪費することなく、必要なMACアドレスの数の増減に迅速、且つ容易に対応することができる。 By connecting the MAC address management server 1 to each mainframe device 2 via the network 3, each mainframe device 2 can acquire a newly required MAC address at any time. Each mainframe device 2 can cancel the assignment of the MAC address that is no longer necessary. For this reason, each mainframe device 2 can quickly and easily respond to an increase or decrease in the number of necessary MAC addresses without wasting MAC addresses.
 図4は、MACアドレス管理サーバ、及びメインフレーム装置のMACアドレスの管理に係わる機能構成例を説明する図である。
 各メインフレーム装置2でのMACアドレスの管理はSVP21が行うようになっている。このことから、メインフレーム装置2では、SVP21のみ機能構成例を表している。
FIG. 4 is a diagram illustrating an example of a functional configuration related to MAC address management of the MAC address management server and the mainframe device.
Management of the MAC address in each mainframe device 2 is performed by the SVP 21. Therefore, in the mainframe device 2, only the SVP 21 represents a functional configuration example.
 MACアドレス管理サーバ1は、各メインフレーム装置2のSVP21からの要求に応じて、対象とするMACアドレスを一元的に管理する。そのために、割り当て判断部100、データ送受信部110、及び記憶部120を備える。 The MAC address management server 1 centrally manages target MAC addresses in response to requests from the SVP 21 of each mainframe device 2. For this purpose, an allocation determination unit 100, a data transmission / reception unit 110, and a storage unit 120 are provided.
 データ送受信部110は、図1に表すインターフェースカード14に相当する。割り当て判断部100は、ハードディスク装置13に格納されたプログラム13bをCPU11がメモリ12に読み出して実行することで実現される。そのため、割り当て判断部100は、例えばCPU11、及びプログラム13bが読み出されたメモリ12が相当する。記憶部120は、ハードディスク装置13が相当する。 The data transmission / reception unit 110 corresponds to the interface card 14 shown in FIG. The assignment determination unit 100 is realized by the CPU 11 reading the program 13b stored in the hard disk device 13 into the memory 12 and executing it. Therefore, the assignment determination unit 100 corresponds to, for example, the CPU 11 and the memory 12 from which the program 13b is read. The storage unit 120 corresponds to the hard disk device 13.
 MACアドレス管理サーバ1は、各メインフレーム装置2のSVP21からの要求に応じて、MACアドレスの割り当て、MACアドレスの割り当て解除、或いはMACアドレスの移動を行う。MACアドレスの移動とは、或るメインフレーム装置2で使用しているMACアドレスの割り当てを解除し、割り当てを解除したMACアドレスを、指定された他のメインフレーム装置2に新たに割り当てることである。このMACアドレスの移動を可能とすることにより、メインフレーム装置2間でのVM202の移動、つまり負荷の分算等もより容易に行えるようになる。 The MAC address management server 1 performs MAC address allocation, MAC address deallocation, or MAC address migration in response to a request from the SVP 21 of each mainframe device 2. The movement of the MAC address is to cancel the assignment of the MAC address used in a certain mainframe device 2 and newly assign the released MAC address to another designated mainframe device 2. . By enabling the movement of the MAC address, the movement of the VM 202 between the mainframe devices 2, that is, the load division and the like can be performed more easily.
 ハードディスク装置13には、MACアドレス管理テーブル13aが格納されている。このMACアドレス管理テーブル13aは、図5A~図5Eにそれぞれ表すような構成となっている。MACアドレス管理テーブル13aの各エントリ(レコード)には、MACアドレス、モデル種別、装置シリアル番号、移動先装置のモデル種別、移動先装置の装置シリアル番号、の各データが格納される。 The hard disk device 13 stores a MAC address management table 13a. The MAC address management table 13a is configured as shown in FIGS. 5A to 5E. Each entry (record) of the MAC address management table 13a stores data of a MAC address, a model type, a device serial number, a model type of the destination device, and a device serial number of the destination device.
 モデル種別、及び装置シリアル番号は、対応するMACアドレスが割り当てられたメインフレーム装置2を一意に特定するためのデータである。そのため、MACアドレスが割り当てられていないエントリでは、対応するデータが存在しない。図5A~図5Eではデータが存在しない欄は「未使用(使用可)」と表記している。移動先装置のモデル種別、移動先装置の装置シリアル番号として表記の「未使用(使用可)」も、対応するデータが存在しないことを表している。図5A~図5Eにおいて、各エントリの先頭に表記の「1」~「3」はエントリ(レコード)番号を表している。 The model type and device serial number are data for uniquely identifying the mainframe device 2 to which the corresponding MAC address is assigned. Therefore, there is no corresponding data in an entry to which no MAC address is assigned. In FIG. 5A to FIG. 5E, a column in which no data exists is described as “unused (usable)”. “Unused (usable)” written as the model type of the destination device and the device serial number of the destination device also indicates that there is no corresponding data. In FIG. 5A to FIG. 5E, “1” to “3” written at the head of each entry represent entry (record) numbers.
 図5A~図5Eは、図5Aに表す内容を初期状態とし、MACアドレスの割り当て、MACアドレスの移動、MACアドレスの割り当て解除、を順次、行った場合のMACアドレス管理テーブル13aの操作例を表している。MACアドレス管理テーブル13aの操作、つまりその内容の更新は、割り当て判断部100がメインフレーム装置2からの要求に応じて行う。 5A to 5E show examples of operations of the MAC address management table 13a in the case where the contents shown in FIG. 5A are in an initial state, and MAC address assignment, MAC address movement, and MAC address deallocation are sequentially performed. ing. The operation of the MAC address management table 13a, that is, the update of the contents is performed by the assignment determination unit 100 in response to a request from the mainframe device 2.
 各メインフレーム装置2のSVP21は、図4に表すように、機能構成として、データ送受信部221、MACアドレス管理部222、コマンド指示部223、MACアドレス通知部224、及び記憶部225を備える。 As shown in FIG. 4, the SVP 21 of each mainframe device 2 includes a data transmission / reception unit 221, a MAC address management unit 222, a command instruction unit 223, a MAC address notification unit 224, and a storage unit 225 as functional configurations.
 データ送受信部221は、MACアドレス管理サーバ1とネットワーク3を介して通信を行うための機能であり、実際はインターフェースカード215である。記憶部225は、ハードディスク装置213である。記憶部225には、自メインフレーム装置2でMACアドレスを管理するために用いられる自装置情報テーブル226が格納されている。 The data transmission / reception unit 221 is a function for communicating with the MAC address management server 1 via the network 3, and is actually an interface card 215. The storage unit 225 is a hard disk device 213. The storage unit 225 stores a local apparatus information table 226 used for managing the MAC address in the local mainframe apparatus 2.
 図6は、自装置情報テーブルの構成例を説明する図である。図6に表すように、自装置情報テーブルには、モデル種別、装置シリアル番号、ONAシリアル番号、MACアドレス数、MACアドレス、及びONA実装位置の各データが格納される。 FIG. 6 is a diagram illustrating a configuration example of the own device information table. As shown in FIG. 6, the own device information table stores model type, device serial number, ONA serial number, number of MAC addresses, MAC address, and ONA mounting position data.
 モデル種別、及び装置シリアル番号は、自メインフレーム装置2に割り当てられたデータである。ONAシリアル番号は、ONAカード25の識別データであり、図6中に表記の「000001」~「000004」はそれぞれその内容例を表している。 The model type and device serial number are data assigned to the main frame device 2 itself. The ONA serial number is identification data of the ONA card 25, and “000001” to “000004” shown in FIG.
 MACアドレス数は、対応するONAカード25に割り当て可能なMACアドレスの最大数を表す。MACアドレスは、対応するONAカード25に実際に割り当てられたMACアドレスを表す。図6中に表記の例えば「00-0A-E4-9F-00~00-0A-E4-9F-00-07」は、ONAシリアル番号が「000001」のONAカード25に「00-0A-E4-9F-00」~「00-0A-E4-9F-00-07」の計8つのMACアドレスが割り当てられていることを表している。ONA実装位置は、対応するONAカード25が実装された場所を表すデータである。そのデータ例として図6に表記の「PCIBox#0 Slot0」は、ボックス番号が0のPCIボックス22-0のスロット番号が0のスロットを表している。 The number of MAC addresses represents the maximum number of MAC addresses that can be assigned to the corresponding ONA card 25. The MAC address represents a MAC address actually assigned to the corresponding ONA card 25. For example, “00-0A-E4-9F-00 to 00-0A-E4-9F-00-07” shown in FIG. 6 is “00-0A-E4” in the ONA card 25 whose ONA serial number is “000001”. This indicates that a total of eight MAC addresses of “-9F-00” to “00-0A-E4-9F-00-07” are allocated. The ONA mounting position is data representing a place where the corresponding ONA card 25 is mounted. As an example of the data, “PCIBox # 0 Slot 0” shown in FIG. 6 represents a slot whose slot number is 0 in the PCI box 22-0 whose box number is 0.
 ONAカード25をPCIボックス22の空きスロットに新たに接続させると、そのPCIボックス22に搭載のPCIエクスプレス・スイッチが接続されたONAカード25を認識する。PCIエクスプレス・スイッチは、その認識結果をONAカードの接続場所を表すデータ、つまりONA実装位置データと共に出力する。これらのデータはスイッチ群27を介してSVP21に入力され、MACアドレス管理部222によって処理される。その結果、MACアドレス管理部222は、自装置情報テーブル226に1枚のONAカード25分のエントリを追加し、追加したエントリに、ONAシリアル番号、MACアドレス数、ONA実装位置の各データを格納する。 When the ONA card 25 is newly connected to an empty slot of the PCI box 22, the ONA card 25 connected to the PCI express switch mounted in the PCI box 22 is recognized. The PCI express switch outputs the recognition result together with data representing the connection location of the ONA card, that is, ONA mounting position data. These data are input to the SVP 21 via the switch group 27 and processed by the MAC address management unit 222. As a result, the MAC address management unit 222 adds an entry for one ONA card 25 to the own device information table 226, and stores the ONA serial number, the number of MAC addresses, and the ONA mounting position data in the added entry. To do.
 ONAカード25を取り外した場合、その取り外しはPCIボックス22のPCIエクスプレス・スイッチによって認識され、SVP21に通知される。その通知には、ONA実装位置データが含まれる。MACアドレス管理部222は、その通知により、自装置情報テーブル226の対応するエントリのONA実装位置のデータを更新、例えば消去する。ONAカード25の取り外しにより、そのONAカード25に割り当てられたMACアドレスの割り当てを解除しないのは、ONAカード25の一時的な取り外しを想定しているためである。 When the ONA card 25 is removed, the removal is recognized by the PCI express switch of the PCI box 22 and notified to the SVP 21. The notification includes ONA mounting position data. In response to the notification, the MAC address management unit 222 updates, for example, deletes the data of the ONA mounting position of the corresponding entry in the own device information table 226. The removal of the ONA card 25 does not cancel the assignment of the MAC address assigned to the ONA card 25 because it is assumed that the ONA card 25 is temporarily removed.
 本実施形態では、MACアドレスの割り当て、その割り当て解除等のMACアドレスに係わる操作は、コンソール5からの指示により行わせるようにしている。コマンド指示部223は、コンソール5に行ったオペレータの操作内容に応じたコマンドの実行を実現させるインターフェース機能である。MACアドレス管理部222は、コマンド指示部223からの指示に従って、コマンドの発行を行う。ここでは、発行されるコマンドとして、取得コマンド、移動登録コマンド、移動取得コマンド、及び返却コマンドの4種類を想定する。これらのコマンドは、それぞれ以下のような要求のためのものである。 In the present embodiment, operations related to the MAC address, such as assignment of MAC addresses and release of the assignment, are performed according to instructions from the console 5. The command instruction unit 223 is an interface function that realizes execution of a command corresponding to the operation content of the operator performed on the console 5. The MAC address management unit 222 issues a command in accordance with an instruction from the command instruction unit 223. Here, four types of commands to be issued are assumed: an acquisition command, a movement registration command, a movement acquisition command, and a return command. Each of these commands is for the following requests:
 取得コマンドは、MACアドレスの割り当てを要求するためのコマンドである。本実施形態では、メインフレーム装置2が必要とするMACアドレスを全て取得するためのコマンドとしている。これは、メインフレーム装置2の新設(増設)を想定しているためである。取得コマンドは、ONAカード25の着脱等に応じて、必要な数のMACアドレスの割り当てを要求するためのコマンドとしても良い。 The acquisition command is a command for requesting assignment of a MAC address. In the present embodiment, the command is used to acquire all the MAC addresses required by the mainframe device 2. This is because it is assumed that the mainframe device 2 is newly installed (added). The acquisition command may be a command for requesting allocation of a necessary number of MAC addresses in accordance with attachment / detachment of the ONA card 25 or the like.
 移動登録コマンド、及び移動取得コマンドは、MACアドレスの移動に係わるコマンドである。移動登録コマンドは、移動対象とするMACアドレスの登録(予約)を要求するためのコマンドであり、移動取得コマンドは、登録されたMACアドレスの割り当てを要求するためのコマンドである。返却コマンドは、MACアドレスの割り当て解除を要求するためのコマンドである。以降、移動登録コマンド、及び移動取得コマンドは「移動コマンド」と総称する。 The movement registration command and movement acquisition command are commands related to movement of the MAC address. The movement registration command is a command for requesting registration (reservation) of a MAC address to be moved, and the movement acquisition command is a command for requesting assignment of a registered MAC address. The return command is a command for requesting the deallocation of the MAC address. Hereinafter, the movement registration command and the movement acquisition command are collectively referred to as “movement command”.
 図5A~図5Eに表すように、MACアドレス管理サーバ1は、各メインフレーム装置2をモデル種別、及び装置シリアル番号により管理する。このことから、MACアドレス管理部221が作成する各コマンドには、コマンドの種類を表すコマンドコード、モデル種別、及び装置シリアル番号が含まれる。取得コマンドには、その他に、割り当てを要求するMACアドレスの数(以降「必要MAC数」と呼ぶ)が含まれる。移動登録コマンドには、その他に、移動対象となるMACアドレス、そのMACアドレスの移動先を指定するモデル種別、及び装置シリアル番号が含まれる。移動取得コマンドには、その他に、登録されたMACアドレスのなかで割り当てを要求するMACアドレスの数(以降「必要MAC数」と呼ぶ)が含まれる。返却コマンドには、その他に、割り当て解除を要求するMACアドレスが含まれる。割り当ての解除はその対象となるMACアドレスを特定できれば良いことから、返却コマンドでは、モデル種別、及び装置シリアル番号は格納しなくとも良い。 As shown in FIGS. 5A to 5E, the MAC address management server 1 manages each mainframe device 2 by model type and device serial number. Therefore, each command created by the MAC address management unit 221 includes a command code indicating a command type, a model type, and a device serial number. In addition, the acquisition command includes the number of MAC addresses for which allocation is requested (hereinafter referred to as “necessary MAC number”). In addition, the movement registration command includes a MAC address to be moved, a model type for designating a movement destination of the MAC address, and a device serial number. In addition, the movement acquisition command includes the number of MAC addresses for which allocation is requested among the registered MAC addresses (hereinafter referred to as “necessary MAC number”). In addition, the return command includes a MAC address for requesting deallocation. Since it is only necessary to specify the MAC address to be deallocated, the return command does not need to store the model type and device serial number.
 MACアドレス管理部222が発行したコマンドは、データ送受信部221を介してMACアドレス管理サーバ1に送信される。MACアドレス管理サーバ1は、メインフレーム装置2から受信したコマンドを処理し、その処理結果を送信する。MACアドレス管理部222は、データ送受信部221を介してその処理結果を受け取り、自装置情報テーブル226の更新を行う。 The command issued by the MAC address management unit 222 is transmitted to the MAC address management server 1 via the data transmission / reception unit 221. The MAC address management server 1 processes the command received from the mainframe device 2 and transmits the processing result. The MAC address management unit 222 receives the processing result via the data transmission / reception unit 221 and updates the own device information table 226.
 取得コマンド、或いは移動取得コマンドを発行する場合、そのコマンドで要求された数のMACアドレスが新たに割り当てられる、このことから、自装置情報テーブル226の対応するエントリでは、新たに割り当てられたMACアドレスがデータとして格納される。移動登録コマンド、或いは返却コマンドを発行する場合、そのコマンドで指定されるMACアドレスは使用しないようにしなければならない。このことから、自装置情報テーブル226の対応するエントリでは、指定されたMACアドレスが消去される。 When an acquisition command or a movement acquisition command is issued, the number of MAC addresses requested by the command is newly assigned. Therefore, in the corresponding entry of the own device information table 226, the newly assigned MAC address Is stored as data. When a movement registration command or a return command is issued, the MAC address specified by the command must not be used. For this reason, the specified MAC address is deleted from the corresponding entry in the own device information table 226.
 このような使用可能なMACアドレスの変更結果は、MACアドレス管理部222からMACアドレス通知部224に通知される。本体200上にVM202が作成される場合、本体200上ではホストOS、或いはスーパーバイザが実行される。その本体200上でホストOS201が実行される場合、MACアドレス通知部225は、そのホストOS201に、使用可能なMACアドレスの変更内容を通知する。それにより、本体200上に作成される各VM202は、使用可能なMACアドレスを用いて通信を行うことができる。図4中の206は、ホストOS201上で動作する通信管理ソフトウェアである。 The change result of the usable MAC address is notified from the MAC address management unit 222 to the MAC address notification unit 224. When the VM 202 is created on the main body 200, a host OS or a supervisor is executed on the main body 200. When the host OS 201 is executed on the main body 200, the MAC address notification unit 225 notifies the host OS 201 of the change contents of the usable MAC address. Thereby, each VM 202 created on the main body 200 can perform communication using an available MAC address. Reference numeral 206 in FIG. 4 denotes communication management software that operates on the host OS 201.
 上記のように、インターフェースカード214がコンソール5との接続に使用されるとの想定では、コマンド指示部223は、例えばCPU211、記録媒体212、及びインターフェースカード214によって実現される。MACアドレス管理部222、及びMACアドレス通知部224は、例えばCPU211、及び記録媒体212によって実現される。 As described above, assuming that the interface card 214 is used for connection with the console 5, the command instruction unit 223 is realized by the CPU 211, the recording medium 212, and the interface card 214, for example. The MAC address management unit 222 and the MAC address notification unit 224 are realized by the CPU 211 and the recording medium 212, for example.
 各メインフレーム装置2のSVP21が上記のような4種類のコマンドを必要に応じて送信する場合、MACアドレス管理サーバ1の割り当て判断部100は、受信したコマンドを処理することで、MACアドレス管理テーブル13aを更新する。それにより、割り当て判断部100は、図5Aの初期状態から、図5B~図5Eに表す状態へのMACアドレス管理テーブル13aの更新を可能とさせる。この結果、各メインフレーム装置2は、搭載するONAカード25の数を増減させても、必要な数のMACアドレスのみを使用することができる。 When the SVP 21 of each mainframe device 2 transmits the four types of commands as described above as necessary, the assignment determination unit 100 of the MAC address management server 1 processes the received command to obtain a MAC address management table. 13a is updated. As a result, the assignment determining unit 100 enables the MAC address management table 13a to be updated from the initial state of FIG. 5A to the states shown in FIGS. 5B to 5E. As a result, each mainframe device 2 can use only a necessary number of MAC addresses even if the number of mounted ONA cards 25 is increased or decreased.
 図5Bは、図5Aに表す初期状態から、「00-01-E4-9F-00-00」「00-01-E4-9F-00-10」の2つのMACアドレスをモデル種別が「GS21 1600」、装置シリアル番号が「0001」のメインフレーム装置2に割り当てた後の状態である。この割り当ては、取得コマンドの受信により行われる。 FIG. 5B shows two MAC addresses “00-01-E4-9F-00-00” and “00-01-E4-9F-00-10” from the initial state shown in FIG. 5A. The model type is “GS21 1600”. ”, After the device serial number is assigned to the mainframe device 2 with“ 0001 ”. This assignment is performed by receiving an acquisition command.
 図5Cは、図5Bに表す状態時に、「00-01-E4-9F-00-10」のMACアドレスを対象にした移動登録コマンドを受信することで移行される状態である。そのMACアドレスのエントリの移動先装置のモデル種別、移動先装置の装置シリアル番号として、移動登録コマンドに格納されていた「GS21 1600」、「0002」が書き込まれている。 FIG. 5C shows a state in which, in the state shown in FIG. 5B, a transition is made by receiving a movement registration command targeting the MAC address “00-01-E4-9F-00-10”. “GS21 1600” and “0002” stored in the movement registration command are written as the model type of the movement destination apparatus of the entry of the MAC address and the apparatus serial number of the movement destination apparatus.
 図5Dは、図5Cに表す状態から、「00-01-E4-9F-00-10」のMACアドレスを対象にした移動取得コマンドを受信することで移行される状態である。そのMACアドレスのエントリのモデル種別、装置シリアル番号として、図5Cでの移動先装置のモデル種別、移動先装置の装置シリアル番号が格納され、この時点での移動先装置のモデル種別、移動先装置の装置シリアル番号の各データは消去され存在しない。 FIG. 5D shows a state where the state shown in FIG. 5C is shifted to by receiving a movement acquisition command targeting the MAC address “00-01-E4-9F-00-10”. The model type of the destination device and the device serial number of the destination device in FIG. 5C are stored as the model type and the device serial number of the entry of the MAC address. The model type of the destination device at this time, the destination device Each device serial number data is erased and does not exist.
 図5Eは、図5Dに表す状態から、「00-01-E4-9F-00-00」のMACアドレスを対象にした返却コマンドを受信することで移行される状態である。その返却コマンドの受信により、そのMACアドレスの割り当ては解除されることから、そのエントリのモデル種別、装置シリアル番号の各データは消去され存在しない。 FIG. 5E shows a state in which the state shown in FIG. 5D is shifted by receiving a return command for the MAC address “00-01-E4-9F-00-00”. When the return command is received, the assignment of the MAC address is released, so that the model type and device serial number data of the entry are erased and do not exist.
 このように、MACアドレス管理テーブル13aは、各メインフレーム装置2から受信するコマンドに応じて、順次、更新される。この更新を通して、MACアドレス管理サーバ1は、割り当て可能なMACアドレスを一元的に管理する。 As described above, the MAC address management table 13a is sequentially updated according to the command received from each mainframe device 2. Through this update, the MAC address management server 1 centrally manages the assignable MAC addresses.
 なお、本実施形態では、各メインフレーム装置2のSVP21は、コンソール5を用いたオペレータの指示に従って、MACアドレス管理サーバ1に送信すべきコマンドを送信するようになっているが、送信すべきコマンドを自動的に決定して送信させるようにしても良い。送信すべきコマンドの決定は、ONAカード25の搭載、或いは取り外しを契機に行わせれば良い。MACアドレスの移動を行うか否かは、オペレータが判断する必要があることから、移動登録コマンド、及び移動取得コマンドの送信は、オペレータの指示に従って行わせれば良い。 In the present embodiment, the SVP 21 of each mainframe device 2 transmits a command to be transmitted to the MAC address management server 1 in accordance with an operator instruction using the console 5. May be automatically determined and transmitted. The command to be transmitted may be determined when the ONA card 25 is mounted or removed. Since it is necessary for the operator to determine whether or not to move the MAC address, the movement registration command and the movement acquisition command may be transmitted in accordance with the instruction of the operator.
 次に、図7~図11に表すフローチャートを参照し、MACアドレス管理サーバ1の動作について詳細に説明する。
 図7は、MACアドレス管理処理のフローチャートである。このMACアドレス管理処理は、メインフレーム装置2から送信されるコマンドの処理を通して、各メインフレーム装置2に使用させるMACアドレスを管理するための処理であり、CPU11が、ハードディスク装置13に格納されたプログラム13bを実行することで実現される。図4に表す割り当て判断部100は、CPU11がそのMACアドレス管理処理を実行することで実現される。図7では、説明上、便宜的に、メインフレーム装置2から1コマンドの受信により実行される処理の流れ、つまり1コマンドの受信を契機に実行される一連の処理を表している。
Next, the operation of the MAC address management server 1 will be described in detail with reference to the flowcharts shown in FIGS.
FIG. 7 is a flowchart of the MAC address management process. This MAC address management process is a process for managing the MAC address used by each mainframe apparatus 2 through the process of the command transmitted from the mainframe apparatus 2, and the CPU 11 stores a program stored in the hard disk apparatus 13. This is realized by executing 13b. The assignment determination unit 100 illustrated in FIG. 4 is realized by the CPU 11 executing the MAC address management process. For convenience of explanation, FIG. 7 shows a flow of processing executed by receiving one command from the mainframe device 2, that is, a series of processing executed when receiving one command.
 先ず、CPU11は、インターフェースカード14から、受信されたコマンドを受け取り、そのコマンドが取得コマンドか否か判定する(S1)。インターフェースカード14が取得コマンドを受信した場合、S1の判定はYesとなってS2に移行する。インターフェースカード14が取得コマンド以外のコマンドを受信した場合、S1の判定はNoとなってS3に移行する。 First, the CPU 11 receives a received command from the interface card 14 and determines whether or not the command is an acquisition command (S1). When the interface card 14 receives the acquisition command, the determination in S1 is Yes and the process proceeds to S2. When the interface card 14 receives a command other than the acquisition command, the determination in S1 is No and the process proceeds to S3.
 S2では、CPU11は、MACアドレス割当処理を実行する。このMACアドレス割当処理は、取得コマンドを送信したメインフレーム装置2に対し、その取得コマンドで要求された数のMACアドレスを新たに割り当てる処理である。そのMACアドレス割当処理を実行した後、MACアドレス管理処理が終了する。 In S2, the CPU 11 executes a MAC address assignment process. This MAC address allocation process is a process for newly allocating the number of MAC addresses requested by the acquisition command to the mainframe device 2 that has transmitted the acquisition command. After executing the MAC address assignment process, the MAC address management process ends.
 ここで、そのMACアドレス割当処理について、図8に表すそのフローチャートを参照し、詳細に説明する。
 取得コマンドには、上記のように、その取得コマンドを送信したメインフレーム装置2のモデル種別、装置シリアル番号、及び必要MAC数といった情報が格納されている。このMACアドレス割当処理では、先ず、CPU11は、インターフェースカード14から受け取った取得コマンド中から、それらの情報を抽出し、割り当てを行ったMACアドレス数をカウントするための変数に初期値として1を代入する(S11)。その変数は以降「アドレス数」と表記する。
Here, the MAC address assignment processing will be described in detail with reference to the flowchart shown in FIG.
As described above, the acquisition command stores information such as the model type, the device serial number, and the required number of MACs of the mainframe device 2 that has transmitted the acquisition command. In this MAC address assignment process, first, the CPU 11 extracts information from the acquisition command received from the interface card 14 and assigns 1 as an initial value to a variable for counting the number of assigned MAC addresses. (S11). The variable is hereinafter referred to as “number of addresses”.
 S11以降のS12~S18では、MACアドレス管理テーブル13aのなかで対象とするエントリを順次、変更しながら、取得コマンドを送信したメインフレーム装置2に使用させるMACアドレスを選択するための処理が行われる。 In S12 to S18 after S11, processing for selecting the MAC address to be used by the mainframe device 2 that has transmitted the acquisition command is performed while sequentially changing the target entry in the MAC address management table 13a. .
 本実施形態では、上記のように、取得コマンドは、メインフレーム装置2が必要とするMACアドレスを全て取得するためのコマンドとしている。MACアドレス管理サーバ1は、取得コマンドを送信したメインフレーム装置2に、その取得コマンドで指定した数のMACアドレスを処理結果として通知する。このため、既に割り当て済みのMACアドレスも通知の対象となる。 In the present embodiment, as described above, the acquisition command is a command for acquiring all the MAC addresses required by the mainframe device 2. The MAC address management server 1 notifies the mainframe device 2 that has transmitted the acquisition command of the number of MAC addresses specified by the acquisition command as a processing result. For this reason, already assigned MAC addresses are also subject to notification.
 S12では、CPU11は、MACアドレス管理テーブル13aの終わりのエントリまで検索したか否か判定する。対象とするエントリがMACアドレス管理テーブル13aに残っていない場合、S12の判定はYesとなってS19に移行する。対象とするエントリがMACアドレス管理テーブル13aに残っている場合、S12の判定はNoとなってS13に移行する。 In S12, the CPU 11 determines whether or not it has searched up to the end entry of the MAC address management table 13a. If the target entry does not remain in the MAC address management table 13a, the determination in S12 is Yes and the process proceeds to S19. If the target entry remains in the MAC address management table 13a, the determination in S12 is No and the process proceeds to S13.
 S13では、CPU11は、対象とするエントリのモデル種別が、S11で抽出したモデル種別と一致するか否か判定する。それらが一致する場合、S13の判定はYesとなってS14に移行する。それらが一致しない場合、S13の判定はNoとなってS15に移行する。 In S13, the CPU 11 determines whether or not the model type of the target entry matches the model type extracted in S11. If they match, the determination in S13 is Yes and the process proceeds to S14. If they do not match, the determination in S13 is No and the process proceeds to S15.
 S14では、CPU11は、対象とするエントリの装置シリアル番号が、S11で抽出した装置シリアル番号と一致するか否か判定する。それらが一致する場合、S14の判定はYesとなってS17に移行する。それらが一致しない場合、S14の判定はNoとなってS15に移行する。S14でのYesの判定は、対象とするエントリに格納されているMACアドレスが、取得コマンドを送信したメインフレーム装置2に既に割り当てられていることを意味している。 In S14, the CPU 11 determines whether or not the device serial number of the target entry matches the device serial number extracted in S11. If they match, the determination in S14 is Yes and the process proceeds to S17. If they do not match, the determination in S14 is No and the process proceeds to S15. The determination of Yes in S14 means that the MAC address stored in the target entry has already been assigned to the mainframe device 2 that has transmitted the acquisition command.
 S15では、CPU11は、対象とするエントリのモデル種別のデータが存在しないか否か判定する。そのモデル種別のデータが存在しない場合、つまり、そのモデル種別のデータが図5A等に「未使用(使用可)」と表記した内容であった場合、S15の判定はYesとなってS16に移行する。そのモデル種別のデータが存在する場合、S15の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S12に戻る。S15でのNoの判定は、対象とするエントリに格納されているMACアドレスが別のメインフレーム装置2に割り当てられていることを意味する。 In S15, the CPU 11 determines whether or not there is model type data of the target entry. If the data of the model type does not exist, that is, if the data of the model type is the content described as “unused (can be used)” in FIG. 5A or the like, the determination in S15 is Yes and the process proceeds to S16. To do. If there is data of that model type, the determination in S15 is No, the target entry is changed to the next entry, and the process returns to S12. The determination of No in S15 means that the MAC address stored in the target entry is assigned to another mainframe device 2.
 S16では、CPU11は、取得コマンドを送信したメインフレーム装置2に、対象とするエントリに格納されているMACアドレスを割り当てる。そのために、CPU11は、対象とするエントリの更新を行い、そのモデル種別、及び装置シリアル番号の各データとして、S11で取得したモデル種別、及び装置シリアル番号の各データを格納する。その後はS17に移行する。 In S16, the CPU 11 assigns the MAC address stored in the target entry to the mainframe device 2 that has transmitted the acquisition command. For this purpose, the CPU 11 updates the target entry, and stores the model type and device serial number data acquired in S11 as the model type and device serial number data. Thereafter, the process proceeds to S17.
 S17では、CPU11は、対象とするエントリに格納されているMACアドレスを、取得コマンドを送信したメインフレーム装置2に通知するMACアドレスとして読み出し、上記変数であるアドレス数をインクリメントする。次にCPU11は、インクリメント後のアドレス数の値が必要MAC数より大きいか否か判定する(S18)。アドレス数の初期値は1であることから、取得コマンドで要求された数のMACアドレスの割り当てが完了した場合、アドレス数の値は必要MAC数よりも大きくなる。それにより、MACアドレスの割り当てが完了した場合、S18の判定はYesとなってS19に移行する。MACアドレスの割り当てが完了していない場合、S18の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S12に戻る。 In S17, the CPU 11 reads out the MAC address stored in the target entry as a MAC address to be notified to the mainframe device 2 that has transmitted the acquisition command, and increments the number of addresses as the variable. Next, the CPU 11 determines whether or not the value of the incremented address number is larger than the necessary MAC number (S18). Since the initial value of the number of addresses is 1, when the assignment of the number of MAC addresses requested by the acquisition command is completed, the value of the number of addresses becomes larger than the necessary number of MACs. Thereby, when the assignment of the MAC address is completed, the determination in S18 is Yes and the process proceeds to S19. If the assignment of the MAC address is not completed, the determination in S18 is No, the target entry is changed to the next entry, and the process returns to S12.
 S19では、CPU11は、S17で読み出した全てのMACアドレスを取得コマンドの処理結果としてメインフレーム装置2のSVP21に送信させる。MACアドレス割当処理は、その後に終了する。S12からS19への移行は、取得コマンドで要求された数のMACアドレスを全て割り当てられなかったことを意味する。 In S19, the CPU 11 causes all the MAC addresses read in S17 to be transmitted to the SVP 21 of the mainframe device 2 as the processing result of the acquisition command. The MAC address assignment process ends thereafter. The shift from S12 to S19 means that all the MAC addresses requested by the acquisition command have not been allocated.
 図7の説明に戻る。
 上記S1の判定がNoとなって移行するS3では、CPU11は、インターフェースカード14から受け取ったコマンドが移動コマンドか否か判定する。インターフェースカード14が移動コマンドを受信した場合、S3の判定はYesとなってS4に移行する。インターフェースカード14が移動コマンド以外のコマンド、つまり返却コマンドを受信した場合、S3の判定はNoとなってS7に移行する。
Returning to the description of FIG.
In S3 in which the determination in S1 is No and the process proceeds, the CPU 11 determines whether or not the command received from the interface card 14 is a movement command. When the interface card 14 receives the movement command, the determination in S3 is Yes and the process proceeds to S4. When the interface card 14 receives a command other than the movement command, that is, a return command, the determination in S3 is No and the process proceeds to S7.
 S4では、CPU11は、移動コマンドが移動登録コマンドか否か判定する。インターフェースカード14から受け取った移動コマンドが移動登録コマンドであった場合、S4の判定はYesとなり、S5でMACアドレス移動登録処理を実行する。その移動コマンドが移動取得コマンドであった場合、S4の判定はNoとなり、S6でMACアドレス移動割当処理を実行する。S5のMACアドレス移動登録処理、或いはS6のMACアドレス移動割当処理を実行した後、MACアドレス管理処理が終了する。 In S4, the CPU 11 determines whether or not the movement command is a movement registration command. If the movement command received from the interface card 14 is a movement registration command, the determination in S4 is Yes, and the MAC address movement registration process is executed in S5. If the movement command is a movement acquisition command, the determination in S4 is No, and the MAC address movement allocation process is executed in S6. After executing the MAC address movement registration process of S5 or the MAC address movement allocation process of S6, the MAC address management process ends.
 ここで、図9及び図10の各フローチャートを参照し、上記MACアドレス移動登録処理、及びMACアドレス移動割当処理について詳細に説明する。
 図9は、MACアドレス移動登録処理のフローチャートである。このMACアドレス移動登録処理は、移動対象とするMACアドレスと、そのMACアドレスの移動先となるメインフレーム装置2とを特定するために行われる処理である。MACアドレス管理テーブル13aの図5Bに表す状態から図5Cに表す状態への更新は、このMACアドレス移動登録処理を実行することにより実現される。
Here, the MAC address movement registration process and the MAC address movement allocation process will be described in detail with reference to the flowcharts of FIGS. 9 and 10.
FIG. 9 is a flowchart of the MAC address movement registration process. This MAC address movement registration process is a process performed to identify the MAC address to be moved and the mainframe device 2 to which the MAC address is moved. Update of the MAC address management table 13a from the state shown in FIG. 5B to the state shown in FIG. 5C is realized by executing this MAC address movement registration process.
 移動登録コマンドには、上記のように、移動対象となるMACアドレス、そのMACアドレスの移動先となるメインフレーム装置2のモデル種別、装置シリアル番号といった情報が格納されている。MACアドレス移動登録処理では、先ず、CPU11は、受信した移動登録コマンド中から、それらの情報を抽出する(S31)。 As described above, information such as the MAC address to be moved, the model type of the mainframe device 2 to which the MAC address is moved, and the device serial number are stored in the movement registration command. In the MAC address movement registration process, first, the CPU 11 extracts the information from the received movement registration command (S31).
 S31以降のS32~S34では、MACアドレス管理テーブル13aのなかで対象とするエントリを順次、変更しながら、移動登録コマンドで指定されたMACアドレスを格納したエントリを特定し、特定したエントリを更新するための処理が行われる。 In S32 to S34 after S31, the entry that stores the MAC address specified by the movement registration command is specified while sequentially changing the target entry in the MAC address management table 13a, and the specified entry is updated. Processing is performed.
 S32では、CPU11は、MACアドレス管理テーブル13aの終わりのエントリまで検索したか否か判定する。対象とするエントリがMACアドレス管理テーブル13aに残っていない場合、S32の判定はYesとなり、移動登録コマンドを送信したメインフレーム装置2のSVP21に、指定されたMACアドレスが存在しないことを通知した後、MACアドレス移動登録処理を終了する。対象とするエントリがMACアドレス管理テーブル13aに残っている場合、S32の判定はNoとなってS33に移行する。 In S32, the CPU 11 determines whether or not it has searched up to the end entry of the MAC address management table 13a. If the target entry does not remain in the MAC address management table 13a, the determination in S32 is Yes, after notifying the SVP 21 of the mainframe device 2 that has transmitted the movement registration command that the designated MAC address does not exist. Then, the MAC address movement registration process is terminated. If the target entry remains in the MAC address management table 13a, the determination in S32 is No and the process proceeds to S33.
 S33では、CPU11は、対象とするエントリに格納されているMACアドレスが、S31で抽出したMACアドレスと一致するか否か判定する。それらが一致する場合、S33の判定はYesとなってS34に移行する。それらが一致しない場合、S33の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S32に戻る。 In S33, the CPU 11 determines whether or not the MAC address stored in the target entry matches the MAC address extracted in S31. If they match, the determination in S33 is Yes and the process proceeds to S34. If they do not match, the determination in S33 is No, the target entry is changed to the next entry, and the process returns to S32.
 S34では、CPU11は、対象とするエントリを更新し、対象とするエントリの移動先装置のモデル種別、及び装置シリアル番号の各データとして、S31で抽出したモデル種別、及び装置シリアル番号の各データを格納する。移動登録コマンドを送信したメインフレーム装置2には、指定されたMACアドレスの移動のための予約が完了した旨を通知する(以上S34)。その後、MACアドレス移動管理処理が終了する。 In S34, the CPU 11 updates the target entry, and uses the model type and device serial number data extracted in S31 as the model type and device serial number data of the destination device of the target entry. Store. The mainframe apparatus 2 that has transmitted the movement registration command is notified that the reservation for movement of the designated MAC address has been completed (S34). Thereafter, the MAC address movement management process ends.
 図10は、MACアドレス移動割当処理のフローチャートである。このMACアドレス移動割当登録処理は、移動登録コマンドによって指定されたMACアドレスを、その移動登録コマンドによって指定されたメインフレーム装置2に割り当てるための処理である。MACアドレス管理テーブル13aの図5Cに表す状態から図5Dに表す状態への更新は、このMACアドレス移動割当処理を実行することにより実現される。 FIG. 10 is a flowchart of the MAC address movement allocation process. This MAC address movement allocation registration process is a process for allocating the MAC address designated by the movement registration command to the mainframe device 2 designated by the movement registration command. The update of the MAC address management table 13a from the state shown in FIG. 5C to the state shown in FIG. 5D is realized by executing this MAC address movement allocation process.
 移動割当コマンドには、上記のように、必要MAC数、その移動割当コマンドを送信したメインフレーム装置2のモデル種別、装置シリアル番号といった情報が格納されている。MACアドレス移動割当処理では、先ず、CPU11は、受信した移動割当コマンド中から、それらの情報を抽出し、割り当てを行ったMACアドレス数をカウントするための変数に初期値として1を代入する(S41)。その変数はここでも「アドレス数」と表記する。 As described above, the movement assignment command stores information such as the required number of MACs, the model type of the mainframe device 2 that transmitted the movement assignment command, and the device serial number. In the MAC address move assignment process, first, the CPU 11 extracts information from the received move assignment command, and substitutes 1 as an initial value for a variable for counting the number of assigned MAC addresses (S41). ). The variable is denoted as “number of addresses” here.
 S41以降のS42~S48では、MACアドレス管理テーブル13aのなかで対象とするエントリを順次、変更しながら、予約されたMACアドレスを割り当てるための処理が行われる。 In S42 to S48 after S41, a process for allocating a reserved MAC address is performed while sequentially changing the target entry in the MAC address management table 13a.
 S42では、CPU11は、MACアドレス管理テーブル13aの終わりのエントリまで検索したか否か判定する。対象とするエントリがMACアドレス管理テーブル13aに残っていない場合、S42の判定はYesとなってS49に移行する。対象とするエントリがMACアドレス管理テーブル13aに残っている場合、S42の判定はNoとなってS43に移行する。 In S42, the CPU 11 determines whether or not the end entry of the MAC address management table 13a has been searched. If the target entry does not remain in the MAC address management table 13a, the determination in S42 is Yes and the process proceeds to S49. If the target entry remains in the MAC address management table 13a, the determination in S42 is No and the process proceeds to S43.
 S43では、CPU11は、対象とするエントリの移動先装置のモデル種別が、S41で抽出したモデル種別と一致するか否か判定する。それらが一致する場合、S43の判定はYesとなってS44に移行する。それらが一致しない場合、S43の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S42に戻る。 In S43, the CPU 11 determines whether or not the model type of the destination device of the target entry matches the model type extracted in S41. If they match, the determination in S43 is Yes and the process proceeds to S44. If they do not match, the determination in S43 is No, the target entry is changed to the next entry, and the process returns to S42.
 S44では、CPU11は、対象とするエントリの移動先装置の装置シリアル番号が、S41で抽出した装置シリアル番号と一致するか否か判定する。それらが一致する場合、S44の判定はYesとなってS45に移行する。それらが一致しない場合、S44の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S42に戻る。S44でのYesの判定は、対象とするエントリに格納されているMACアドレスが、移動割当コマンドを送信したメインフレーム装置2に割り当てるべきMACアドレスであることを意味している。 In S44, the CPU 11 determines whether or not the device serial number of the destination device of the target entry matches the device serial number extracted in S41. If they match, the determination in S44 is Yes and the process proceeds to S45. If they do not match, the determination in S44 is No, the target entry is changed to the next entry, and the process returns to S42. The determination of Yes in S44 means that the MAC address stored in the target entry is the MAC address to be assigned to the mainframe device 2 that has transmitted the movement assignment command.
 S45では、CPU11は、対象とするエントリのモデル種別、装置シリアル番号の各データを、S41で抽出したモデル種別、装置シリアル番号の各データに更新する。次のS46では、CPU11は、対象とするエントリの移動先装置のモデル種別、装置シリアル番号の各データを消去することで更新する。その後、S47に移行する。 In S45, the CPU 11 updates the model type and device serial number data of the target entry with the model type and device serial number data extracted in S41. In the next S46, the CPU 11 updates the target entry by deleting the data of the model type and device serial number of the destination device of the entry. Thereafter, the process proceeds to S47.
 S47では、CPU11は、対象とするエントリに格納されているMACアドレスを、移動取得コマンドを送信したメインフレーム装置2に通知するMACアドレスとして読み出し、上記変数であるアドレス数をインクリメントする。次にCPU11は、インクリメント後のアドレス数の値が必要MAC数より大きいか否か判定する(S48)。アドレス数の初期値は1であることから、移動取得コマンドで要求された数のMACアドレスの割り当てが完了した場合、アドレス数の値は必要MAC数よりも大きくなる。それにより、MACアドレスの割り当てが完了した場合、S48の判定はYesとなってS49に移行する。MACアドレスの割り当てが完了していない場合、S48の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S42に戻る。 In S47, the CPU 11 reads the MAC address stored in the target entry as a MAC address to be notified to the mainframe device 2 that has transmitted the movement acquisition command, and increments the number of addresses as the variable. Next, the CPU 11 determines whether or not the value of the incremented address number is larger than the necessary MAC number (S48). Since the initial value of the number of addresses is 1, when the assignment of the number of MAC addresses requested by the movement acquisition command is completed, the value of the number of addresses becomes larger than the necessary number of MACs. Thereby, when the assignment of the MAC address is completed, the determination in S48 is Yes and the process proceeds to S49. If the assignment of the MAC address is not completed, the determination in S48 is No, the target entry is changed to the next entry, and the process returns to S42.
 S49では、CPU11は、S47で読み出した全てのMACアドレスを移動取得コマンドの処理結果としてメインフレーム装置2のSVP21に送信させる。MACアドレス移動割当処理は、その後に終了する。S42からS49への移行は、移動取得コマンドで要求された数のMACアドレスを全て割り当てられなかったことを意味する。 In S49, the CPU 11 transmits all the MAC addresses read in S47 to the SVP 21 of the mainframe device 2 as the processing result of the movement acquisition command. The MAC address movement assignment process ends thereafter. The shift from S42 to S49 means that all the MAC addresses requested by the movement acquisition command have not been allocated.
 図7の説明に戻る。
 上記S3の判定がNoとなって移行するS7では、CPU11は、MACアドレス返却処理を実行する。このMACアドレス返却処理の実行後、MACアドレス管理処理が終了する。
Returning to the description of FIG.
In S7, in which the determination in S3 is No and the process proceeds, the CPU 11 executes a MAC address return process. After executing the MAC address return process, the MAC address management process ends.
 上記MACアドレス返却処理は、返却コマンドの受信により、その返却コマンドで指定されたMACアドレスの割り当てを解除するための処理である。ここで、このMACアドレス返却処理について、図11に表すそのフローチャートを参照して詳細に説明する。 The MAC address return process is a process for deallocating the MAC address designated by the return command upon receipt of the return command. Here, the MAC address return process will be described in detail with reference to the flowchart shown in FIG.
 返却コマンドには、上記のように、割り当ての解除を要求するMACアドレスが格納される。MACアドレス返却処理では、先ず、CPU11は、受信した返却コマンド中からMACアドレス等の情報を抽出する(S61)。 As described above, the return command stores the MAC address that requests the deallocation. In the MAC address return process, first, the CPU 11 extracts information such as a MAC address from the received return command (S61).
 S61以降のS62~S64では、MACアドレス管理テーブル13aのなかで対象とするエントリを順次、変更しながら、返却コマンドで指定されたMACアドレスを格納したエントリを特定し、特定したエントリを更新するための処理が行われる。 In S62 to S64 after S61, in order to specify the entry storing the MAC address specified by the return command while sequentially changing the target entry in the MAC address management table 13a, and to update the specified entry. Is performed.
 S62では、CPU11は、MACアドレス管理テーブル13aの終わりのエントリまで検索したか否か判定する。対象とするエントリがMACアドレス管理テーブル13aに残っていない場合、S62の判定はYesとなり、返却コマンドを送信したメインフレーム装置2のSVP21に、指定されたMACアドレスが存在しないことを通知した後、MACアドレス返却処理を終了する。対象とするエントリがMACアドレス管理テーブル13aに残っている場合、S62の判定はNoとなってS63に移行する。 In S62, the CPU 11 determines whether or not the search has been performed up to the end entry of the MAC address management table 13a. If the target entry does not remain in the MAC address management table 13a, the determination in S62 is Yes, and after notifying the SVP 21 of the mainframe device 2 that transmitted the return command that the designated MAC address does not exist, The MAC address return process is terminated. When the target entry remains in the MAC address management table 13a, the determination in S62 is No and the process proceeds to S63.
 S63では、CPU11は、対象とするエントリに格納されているMACアドレスが、S61で抽出したMACアドレスと一致するか否か判定する。それらが一致する場合、S63の判定はYesとなってS64に移行する。それらが一致しない場合、S63の判定はNoとなり、対象とするエントリを次のエントリに変更した後、上記S62に戻る。 In S63, the CPU 11 determines whether or not the MAC address stored in the target entry matches the MAC address extracted in S61. If they match, the determination in S63 is Yes and the process proceeds to S64. If they do not match, the determination in S63 is No, the target entry is changed to the next entry, and the process returns to S62.
 S64では、CPU11は、対象とするエントリを更新し、対象とするエントリのモデル種別、及び装置シリアル番号の各データを消去する。返却コマンドを送信したメインフレーム装置2には、指定されたMACアドレスの割り当て解除が完了した旨を通知する(以上S64)。その後、MACアドレス返却処理が終了する。 In S64, the CPU 11 updates the target entry and deletes the data of the model type of the target entry and the device serial number. The mainframe device 2 that has transmitted the return command is notified that the deassignment of the designated MAC address has been completed (S64). Thereafter, the MAC address return process ends.
 MACアドレス管理サーバ1のCPU11は、上記MACアドレス管理処理を実行することにより、各メインフレーム装置2の要求に対応する。以降は、図12~図15を参照し、メインフレーム装置2が送信するコマンドの種類別に、そのコマンドを送信する場合におけるコンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれの動作について詳細に説明する。図12~図15では、便宜的に、コンソール5を操作するオペレータがメインフレーム装置2でのONAカード25の着脱作業も行うと想定し、そのオペレータが行う作業もコンソール5の動作として表している。 The CPU 11 of the MAC address management server 1 responds to the request of each mainframe device 2 by executing the MAC address management process. Hereinafter, with reference to FIGS. 12 to 15, the operations of the console, the mainframe device, and the MAC address management server when transmitting the command for each type of command transmitted by the mainframe device 2 will be described in detail. explain. In FIG. 12 to FIG. 15, for convenience, it is assumed that the operator who operates the console 5 also performs the attaching / detaching work of the ONA card 25 in the mainframe device 2, and the work performed by the operator is also represented as the operation of the console 5. .
 図12は、メインフレーム装置が取得コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。始めに図12を参照して、取得コマンドをメインフレーム装置2に送信させるコンソール5或いはそのコンソール5を操作するオペレータの動作を含め説明する。 FIG. 12 is a flowchart showing an example of the flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits an acquisition command. First, with reference to FIG. 12, a description will be given including the operation of the console 5 for transmitting the acquisition command to the mainframe device 2 or the operation of the operator operating the console 5.
 オペレータは、ONAカード25を新たに搭載させる場合、そのONAカード25を搭載すべきメインフレーム装置2にONAカード25を搭載する作業を行う(SA1)。オペレータは、その作業を行った後、ONAカード25を新たに搭載させたメインフレーム装置2のSVP21とコンソール5を接続させた状態で、コンソール5を操作してMACアドレスの取得を指示する(SA2)。 When the operator newly installs the ONA card 25, the operator performs an operation of mounting the ONA card 25 on the mainframe device 2 on which the ONA card 25 is to be mounted (SA1). After the operation is performed, the operator operates the console 5 in the state where the SVP 21 of the mainframe device 2 on which the ONA card 25 is newly mounted and the console 5 are connected to instruct acquisition of the MAC address (SA2 ).
 その指示のためのデータは、SVP21のインターフェースカード214によって受信され、CPU211に渡される。CPU211は、そのデータによって表される指示に従い、自装置情報テーブル226を参照して、ONAカード25毎にMACアドレス数を読み出し、読み出したMACアドレス数を累算することにより必要MAC数を算出する(SB1)。その後、CPU211は、算出した必要MAC数の他に、モデル種別、及び装置シリアル番号を格納した取得コマンドを作成し、作成した取得コマンドをインターフェースカード215に送信させる(SB2)。 The data for the instruction is received by the interface card 214 of the SVP 21 and passed to the CPU 211. The CPU 211 reads the number of MAC addresses for each ONA card 25 according to the instruction represented by the data, calculates the necessary number of MACs by accumulating the number of read MAC addresses. (SB1). After that, the CPU 211 creates an acquisition command storing the model type and device serial number in addition to the calculated required number of MACs, and transmits the created acquisition command to the interface card 215 (SB2).
 ONAカード25が新たに搭載されたメインフレーム装置2では、そのONAカード25が認識され、SVP21のCPU211は、その認識結果に応じて自装置情報テーブル226を更新する。そのため、SB1で送信される取得コマンドは、新たに搭載されたONAカード25に割り当てるべきMACアドレスの割り当ても要求するものとなる。 In the mainframe device 2 in which the ONA card 25 is newly mounted, the ONA card 25 is recognized, and the CPU 211 of the SVP 21 updates the own device information table 226 according to the recognition result. For this reason, the acquisition command transmitted by SB1 also requests the assignment of the MAC address to be assigned to the newly installed ONA card 25.
 メインフレーム装置2のSVP21から送信された取得コマンドはMACアドレス管理サーバ1のインターフェースカード14によって受信され、CPU11に渡される。それにより、CPU11は、図7に表すMACアドレス管理処理内でS2のMACアドレス割当処理を実行することになる。そのMACアドレス割当処理を実行する結果、CPU11は、割り当てた全てのMACアドレスをメインフレーム装置2のSVP21に送信することとなる(SC1)。 The acquisition command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address assignment process of S2 in the MAC address management process shown in FIG. As a result of executing the MAC address assignment processing, the CPU 11 transmits all assigned MAC addresses to the SVP 21 of the mainframe device 2 (SC1).
 MACアドレス管理サーバ1から送信されたMACアドレスは、メインフレーム装置2のSVP21のインターフェースカード215によって受信され、CPU211に渡される(SB3)。CPU211は、MACアドレス管理サーバ1から受信したMACアドレスを用いて、自装置情報テーブル226を更新する。その更新は、受信したMACアドレスのなかで自装置情報テーブル226に保存されていないMACアドレスを、MACアドレスが割り当てられていないONAカード25のMACアドレスとして保存することで行われる。それにより、新たに搭載されたONAカード25には、取得コマンドの送信により、新たに取得したMACアドレスが割り当てられることとなる。実際にONAカード25に割り当てられたMACアドレスは、SVP21のCPU211からスイッチ群27を介してそのONAカード25のCPU253に送出され、SDRAM252に保存される。 The MAC address transmitted from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211 (SB3). The CPU 211 updates the own apparatus information table 226 using the MAC address received from the MAC address management server 1. The update is performed by storing a MAC address that is not stored in the own device information table 226 among the received MAC addresses as the MAC address of the ONA card 25 to which no MAC address is assigned. Thereby, the newly acquired MAC address is assigned to the newly installed ONA card 25 by transmitting the acquisition command. The MAC address actually assigned to the ONA card 25 is sent from the CPU 211 of the SVP 21 to the CPU 253 of the ONA card 25 via the switch group 27 and stored in the SDRAM 252.
 図13は、メインフレーム装置が移動登録コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。次に図13を参照して、移動登録コマンドをメインフレーム装置2に送信させるコンソール5及びそのコンソール5を操作するオペレータの動作を含め説明する。 FIG. 13 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement registration command. Next, with reference to FIG. 13, a description will be given including the console 5 for transmitting the movement registration command to the mainframe device 2 and the operation of the operator who operates the console 5.
 MACアドレスの移動は、移動元のメインフレーム装置2でMACアドレスが不要になる状況時に行われる。MACアドレスが不要になる状況の代表例は、ONAカード25の抜き去りである。このことから、オペレータは、MACアドレスを移動させる場合、そのMACアドレスの移動元となるメインフレーム装置2から1枚以上のONAカード25を取り外す作業を行う(SA11)。オペレータは、その作業を行った後、ONAカード25を取り外したメインフレーム装置2のSVP21とコンソール5を接続させた状態で、コンソール5を操作してMACアドレスの移動を指示する(SA12)。 The movement of the MAC address is performed when the MAC address becomes unnecessary in the main frame device 2 as the movement source. A typical example of the situation in which the MAC address is unnecessary is removal of the ONA card 25. Therefore, when moving the MAC address, the operator performs an operation of removing one or more ONA cards 25 from the mainframe device 2 that is the movement source of the MAC address (SA11). After performing the work, the operator operates the console 5 to instruct to move the MAC address in a state where the SVP 21 of the mainframe apparatus 2 from which the ONA card 25 is removed and the console 5 are connected (SA12).
 その指示のためのデータには、MACアドレスの移動先となるメインフレーム装置2のモデル種別、及び装置シリアル番号が含まれる。このデータは、SVP21のインターフェースカード214によって受信され、CPU211に渡される。CPU211は、そのデータによって表される指示に従い、自装置情報テーブル226を参照して、移動対象となるMACアドレスを特定し、特定したMACアドレス、移動先と指定されたメインフレーム装置2のモデル種別、装置シリアル番号を格納した移動登録コマンドを作成する。作成した移動登録コマンドは、インターフェースカード215を介してMACアドレス管理サーバ1に送信される(SB11)。 The data for the instruction includes the model type of the mainframe device 2 to which the MAC address is moved and the device serial number. This data is received by the interface card 214 of the SVP 21 and passed to the CPU 211. The CPU 211 refers to its own device information table 226 according to the instruction represented by the data, identifies the MAC address to be moved, and identifies the specified MAC address and the model type of the mainframe device 2 designated as the movement destination. Then, a movement registration command storing the device serial number is created. The created movement registration command is transmitted to the MAC address management server 1 via the interface card 215 (SB11).
 ONAカード25が取り外されたメインフレーム装置2では、その取り外しが認識され、自装置情報テーブル226の取り外されたONAカード25のエントリでは、ONA実装位置のデータが消去される。特定されるMACアドレスは、ONA実装位置のデータが消去され、且つMACアドレスが格納されているエントリの各MACアドレスである。そのエントリに複数のMACアドレスが格納されている場合、MACアドレスの数分、移動登録コマンドが作成され送信される。 In the mainframe device 2 from which the ONA card 25 has been removed, the removal is recognized, and the data of the ONA mounting position is erased in the entry of the removed ONA card 25 in the own device information table 226. The specified MAC address is each MAC address of the entry in which the data of the ONA mounting position is erased and the MAC address is stored. When a plurality of MAC addresses are stored in the entry, movement registration commands are created and transmitted for the number of MAC addresses.
 メインフレーム装置2のSVP21から送信された移動登録コマンドはMACアドレス管理サーバ1のインターフェースカード14によって受信され、CPU11に渡される。それにより、CPU11は、図7に表すMACアドレス管理処理内でS5のMACアドレス移動登録処理を実行することになる。そのMACアドレス移動登録処理を実行する結果、CPU11は、移動登録コマンドで指定されたMACアドレスを図5Cに表すような予約状態に移行させる。CPU11は、移動登録コマンドを送信したメインフレーム装置2のSVP21に、そのコマンドを処理した旨を通知する(以上SC11)。 The movement registration command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address movement registration process of S5 in the MAC address management process shown in FIG. As a result of executing the MAC address movement registration process, the CPU 11 shifts the MAC address designated by the movement registration command to a reservation state as shown in FIG. 5C. The CPU 11 notifies the SVP 21 of the mainframe apparatus 2 that has transmitted the movement registration command that the command has been processed (SC11).
 MACアドレス管理サーバ1からの通知は、メインフレーム装置2のSVP21のインターフェースカード215によって受信され、CPU211に渡される。CPU211は、その通知により、対応するMACアドレスを自装置情報テーブル226から消去する(SB12)。 The notification from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211. In response to the notification, the CPU 211 deletes the corresponding MAC address from the own device information table 226 (SB12).
 図14は、メインフレーム装置が移動取得コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。次に図14を参照して、移動取得コマンドをメインフレーム装置2に送信させるコンソール5或いはそのコンソール5を操作するオペレータの動作を含め説明する。 FIG. 14 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a movement acquisition command. Next, with reference to FIG. 14, a description will be given including the operation of the console 5 for transmitting the movement acquisition command to the mainframe device 2 or the operation of the operator operating the console 5.
 オペレータは、MACアドレスを移動させる移動先のメインフレーム装置2にONAカード25を新たに搭載する作業を行う(SA21)。オペレータは、その作業を行った後、ONAカード25を新たに搭載させたメインフレーム装置2のSVP21とコンソール5を接続させた状態で、コンソール5を操作して、既に予約済みのMACアドレスの取得を指示する(SA22)。 The operator performs an operation of newly installing the ONA card 25 in the destination mainframe device 2 to which the MAC address is to be moved (SA21). After performing the work, the operator operates the console 5 in a state where the SVP 21 of the mainframe device 2 on which the ONA card 25 is newly mounted and the console 5 are connected, and obtains an already reserved MAC address. (SA22).
 その指示のためのデータは、SVP21のインターフェースカード214によって受信され、CPU211に渡される。CPU211は、そのデータによって表される指示に従い、自装置情報テーブル226を参照して、MACアドレスが格納されていないONAカード25を特定し、そのONAカード25のMACアドレス数を読み出す(SB21)。その後、CPU211は、読み出したMACアドレス数を必要MAC数として、その必要MAC数、モデル種別、及び装置シリアル番号を格納した移動取得コマンドを作成し、作成した移動取得コマンドをインターフェースカード215に送信させる(SB22)。 The data for the instruction is received by the interface card 214 of the SVP 21 and passed to the CPU 211. In accordance with the instruction represented by the data, the CPU 211 refers to the own device information table 226, identifies the ONA card 25 in which no MAC address is stored, and reads the number of MAC addresses of the ONA card 25 (SB21). Thereafter, the CPU 211 uses the read MAC address number as the required MAC number, creates a movement acquisition command that stores the necessary MAC number, model type, and device serial number, and transmits the generated movement acquisition command to the interface card 215. (SB22).
 メインフレーム装置2のSVP21から送信された移動取得コマンドはMACアドレス管理サーバ1のインターフェースカード14によって受信され、CPU11に渡される。それにより、CPU11は、図7に表すMACアドレス管理処理内でS6のMACアドレス移動割当処理を実行することになる。そのMACアドレス移動割当処理を実行する結果、CPU11は、予約されたMACアドレスのなかから割り当てたMACアドレスをメインフレーム装置2のSVP21に送信することとなる(SC21)。 The movement acquisition command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address movement allocation process of S6 in the MAC address management process shown in FIG. As a result of executing the MAC address movement assignment process, the CPU 11 transmits the assigned MAC address from among the reserved MAC addresses to the SVP 21 of the mainframe device 2 (SC21).
 MACアドレス管理サーバ1から送信されたMACアドレスは、メインフレーム装置2のSVP21のインターフェースカード215によって受信され、CPU211に渡される(SB23)。CPU211は、MACアドレス管理サーバ1から受信したMACアドレスを用いて、自装置情報テーブル226を更新する。その更新は、受信したMACアドレスを、MACアドレスが割り当てられていないONAカード25のMACアドレスとして保存することで行われる。それにより、新たに搭載されたONAカード25には、移動取得コマンドの送信により、別のメインフレーム装置2に割り当てられていたMACアドレスが割り当てられることとなる。 The MAC address transmitted from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211 (SB23). The CPU 211 updates the own apparatus information table 226 using the MAC address received from the MAC address management server 1. The update is performed by storing the received MAC address as the MAC address of the ONA card 25 to which no MAC address is assigned. As a result, the newly installed ONA card 25 is assigned the MAC address assigned to another mainframe device 2 by transmitting the movement acquisition command.
 図15は、メインフレーム装置が返却コマンドを送信する場合に、コンソール、そのメインフレーム装置、及びMACアドレス管理サーバのそれぞれが実行する処理の流れの例を表すフローチャートである。最後に図15を参照して、返却コマンドをメインフレーム装置2に送信させるコンソール5及びそのコンソール5を操作するオペレータの動作を含め説明する。 FIG. 15 is a flowchart illustrating an example of a flow of processing executed by each of the console, the mainframe device, and the MAC address management server when the mainframe device transmits a return command. Finally, with reference to FIG. 15, the console 5 that transmits the return command to the mainframe device 2 and the operation of the operator who operates the console 5 will be described.
 MACアドレスの返却は、ONAカード25の取り外しにより行うようにしている。このことから、オペレータは、MACアドレスを返却させる場合、そのMACアドレスが割り当てられているONAカード25をメインフレーム装置2から抜き去る作業を行う(SA31)。オペレータは、その作業を行った後、ONAカード25を取り外したメインフレーム装置2のSVP21とコンソール5を接続させた状態で、コンソール5を操作してMACアドレスの返却を指示する(SA32)。 The return of the MAC address is performed by removing the ONA card 25. Therefore, when returning the MAC address, the operator performs an operation of removing the ONA card 25 to which the MAC address is assigned from the mainframe device 2 (SA31). After performing the work, the operator operates the console 5 and instructs the return of the MAC address while the console 5 is connected to the SVP 21 of the mainframe device 2 from which the ONA card 25 is removed (SA32).
 その指示のためのデータは、SVP21のインターフェースカード214によって受信され、CPU211に渡される。CPU211は、そのデータによって表される指示に従い、自装置情報テーブル226を参照して、返却対象となるMACアドレスを特定し、特定したMACアドレスを格納した返却コマンドを作成する。作成した返却コマンドは、インターフェースカード215を介してMACアドレス管理サーバ1に送信される(SB31)。返却対象となるMACアドレスは、ONA実装位置のデータが格納されていないエントリのMACアドレスである。そのエントリに複数のMACアドレスが格納されている場合、MACアドレスの数分、返却コマンドが作成され送信される。 The data for the instruction is received by the interface card 214 of the SVP 21 and passed to the CPU 211. In accordance with the instruction represented by the data, the CPU 211 refers to the own device information table 226, identifies the MAC address to be returned, and creates a return command storing the identified MAC address. The created return command is transmitted to the MAC address management server 1 via the interface card 215 (SB31). The MAC address to be returned is the MAC address of the entry that does not store the ONA mounting position data. When a plurality of MAC addresses are stored in the entry, return commands are created and transmitted for the number of MAC addresses.
 メインフレーム装置2のSVP21から送信された返却コマンドはMACアドレス管理サーバ1のインターフェースカード14によって受信され、CPU11に渡される。それにより、CPU11は、図7に表すMACアドレス管理処理内でS7のMACアドレス返却処理を実行することになる。そのMACアドレス返却処理を実行する結果、CPU11は、返却コマンドで指定されたMACアドレスのエントリは図5Dに表す状態から図5Eに表すような状態に移行させる。CPU11は、返却コマンドを送信したメインフレーム装置2のSVP21に、そのコマンドを処理した旨を通知する(以上SC31)。 The return command transmitted from the SVP 21 of the mainframe device 2 is received by the interface card 14 of the MAC address management server 1 and passed to the CPU 11. Thereby, the CPU 11 executes the MAC address return process of S7 in the MAC address management process shown in FIG. As a result of executing the MAC address return processing, the CPU 11 shifts the entry of the MAC address designated by the return command from the state shown in FIG. 5D to the state shown in FIG. 5E. The CPU 11 notifies the SVP 21 of the mainframe device 2 that has transmitted the return command that the command has been processed (SC31).
 MACアドレス管理サーバ1からの通知は、メインフレーム装置2のSVP21のインターフェースカード215によって受信され、CPU211に渡される。CPU211は、その通知により、対応するMACアドレスを自装置情報テーブル226から消去する(SB12)。 The notification from the MAC address management server 1 is received by the interface card 215 of the SVP 21 of the mainframe device 2 and passed to the CPU 211. In response to the notification, the CPU 211 deletes the corresponding MAC address from the own device information table 226 (SB12).
 なお、本実施形態では、MACアドレス管理装置は、1台のMCアドレス管理サーバ1として実現させているが、複数台のサーバを用いて実現させても良い。例えばコマンドの種類別に、そのコマンドを処理させるMACアドレス管理装置を設けても良い。また、MACアドレス管理装置は、例えばデータセンター毎に1台以上のMACアドレス管理装置を設置し、各データセンターのMACアドレス管理装置に管理させるMACアドレスを割り当てる上位のMACアドレス管理装置を設置するといったように、複数台、設置しても良い。 In the present embodiment, the MAC address management device is realized as one MC address management server 1, but may be realized using a plurality of servers. For example, you may provide the MAC address management apparatus which processes the command according to the kind of command. In addition, the MAC address management device, for example, installs one or more MAC address management devices for each data center, and installs a higher-level MAC address management device that assigns MAC addresses to be managed by the MAC address management device of each data center As such, a plurality of units may be installed.
 各種コマンドは、必要なMACアドレスの数に変動が発生したメインフレーム装置2から送信させているが、そのメインフレーム装置2以外の装置から送信させても良い。これは、必要なMACアドレスの数に変動が発生したメインフレーム装置2、及びその変動内容が特定できれば、そのメインフレーム装置2でのMACアドレスの管理を適切に行えるからである。それにより、各種コマンドは、例えばオペレータの操作する装置から送信させるようにしても良い。 The various commands are transmitted from the mainframe device 2 in which the required number of MAC addresses fluctuates, but may be transmitted from devices other than the mainframe device 2. This is because if the mainframe device 2 in which the number of necessary MAC addresses fluctuates and the contents of the fluctuation can be specified, the management of the MAC address in the mainframe device 2 can be performed appropriately. Thereby, various commands may be transmitted from a device operated by an operator, for example.

Claims (5)

  1.  ネットワークを介した通信を可能にする通信手段と、
     割り当て可能なMAC(Media Access Control)アドレスを表すアドレス群情報を格納した記憶手段と、
     前記ネットワークに接続された第1の外部装置からMACアドレスの割り当てを要求する要求情報を前記通信手段が受信した場合に、前記記憶手段に格納された前記アドレス群情報を参照し、前記第1の外部装置に割り当てるMACアドレスを選択して、該選択したMACアドレスを前記通信手段により前記第1の外部装置に通知する管理手段と、
     を有することを特徴とするMACアドレス管理装置。
    A communication means for enabling communication via a network;
    Storage means for storing address group information representing an assignable MAC (Media Access Control) address;
    When the communication means receives request information for requesting assignment of a MAC address from a first external device connected to the network, the address group information stored in the storage means is referred to, and the first Management means for selecting a MAC address to be assigned to an external device, and notifying the selected MAC address to the first external device by the communication means;
    A MAC address management device comprising:
  2.  前記管理手段は、前記ネットワークに接続された第2の外部装置から不要とするMACアドレスを表すアドレス情報を前記通信手段が受信した場合に、前記アドレス情報が表すMACアドレスを、前記割り当て可能なMACアドレスとして前記アドレス群情報を更新する、
     ことを特徴とする請求項1記載のMACアドレス管理装置。
    The management unit, when the communication unit receives address information indicating an unnecessary MAC address from a second external device connected to the network, the MAC address represented by the address information is assigned to the assignable MAC Updating the address group information as an address;
    The MAC address management device according to claim 1, wherein:
  3.  前記管理手段は、前記アドレス情報と共に、前記アドレス情報が表すMACアドレスを新たに割り当てるべき外部装置である第3の外部装置を表す装置情報を前記通信手段が受信した場合、前記第3の外部装置からの前記要求情報の受信により、前記アドレス情報が表すMACアドレスを前記第3の外部装置に割り当てる、
     ことを特徴とする請求項2記載のMACアドレス管理装置。
    When the communication unit receives device information representing a third external device which is an external device to which a MAC address represented by the address information is to be newly assigned together with the address information, the management unit receives the third external device. A MAC address represented by the address information is assigned to the third external device by receiving the request information from
    The MAC address management device according to claim 2, wherein:
  4.  ネットワークを介した通信を可能にする通信手段と、
     割り当て可能なMAC(Media Access Control)アドレスを表すアドレス群情報を格納した記憶手段と、
     前記ネットワークに接続された第1の外部装置から不要とするMACアドレスを表すアドレス情報を前記通信手段が受信した場合に、前記アドレス情報が表すMACアドレスを、前記割り当て可能なMACアドレスとして前記アドレス群情報を更新する管理手段と、
     を有することを特徴とするMACアドレス管理装置。
    A communication means for enabling communication via a network;
    Storage means for storing address group information representing an assignable MAC (Media Access Control) address;
    When the communication unit receives address information indicating an unnecessary MAC address from the first external device connected to the network, the MAC address indicated by the address information is used as the assignable MAC address as the address group. A management means for updating the information;
    A MAC address management device comprising:
  5.  ネットワークに、MAC(Media Access Control)アドレスを管理させるMACアドレス管理装置を接続し、
     前記ネットワークと接続されたデータ処理装置が必要とするMACアドレスの数に変動が発生した場合に、該変動に伴う要求を前記MACアドレス管理装置に処理させ、
     前記必要とするMACアドレスの数に変動が発生したデータ処理装置に、必要な数のMACアドレスを使用させる、
     ことを特徴とするMACアドレス管理方法。
    Connect a MAC address management device that manages MAC (Media Access Control) addresses to the network,
    When a change occurs in the number of MAC addresses required by the data processing device connected to the network, the MAC address management device processes a request associated with the change,
    Causing the data processing device in which the number of necessary MAC addresses fluctuates to use a necessary number of MAC addresses;
    And a MAC address management method.
PCT/JP2012/071104 2012-08-21 2012-08-21 Mac address management device and method WO2014030213A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/071104 WO2014030213A1 (en) 2012-08-21 2012-08-21 Mac address management device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/071104 WO2014030213A1 (en) 2012-08-21 2012-08-21 Mac address management device and method

Publications (1)

Publication Number Publication Date
WO2014030213A1 true WO2014030213A1 (en) 2014-02-27

Family

ID=50149549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/071104 WO2014030213A1 (en) 2012-08-21 2012-08-21 Mac address management device and method

Country Status (1)

Country Link
WO (1) WO2014030213A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020125524A1 (en) * 2018-12-20 2020-06-25 京信通信系统(中国)有限公司 Distributed optical fiber access system and management method therefor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008098990A (en) * 2006-10-12 2008-04-24 Kddi Corp Address management system, address management method and program
JP2010147929A (en) * 2008-12-19 2010-07-01 Fujitsu Ltd Address allocation method, computer, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008098990A (en) * 2006-10-12 2008-04-24 Kddi Corp Address management system, address management method and program
JP2010147929A (en) * 2008-12-19 2010-07-01 Fujitsu Ltd Address allocation method, computer, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020125524A1 (en) * 2018-12-20 2020-06-25 京信通信系统(中国)有限公司 Distributed optical fiber access system and management method therefor

Similar Documents

Publication Publication Date Title
KR102444832B1 (en) On-demand storage provisioning using distributed and virtual namespace management
US9760497B2 (en) Hierarchy memory management
US20180189109A1 (en) Management system and management method for computer system
JP5039947B2 (en) System and method for distributing virtual input / output operations across multiple logical partitions
US8019962B2 (en) System and method for tracking the memory state of a migrating logical partition
US9588787B2 (en) Runtime virtual process creation for load sharing
US10289564B2 (en) Computer and memory region management method
US20160134584A1 (en) Dynamically assigning network addresses
JP2010237737A (en) Apparatus for dynamically migrating lpar with pass-through i/o device, method and program thereof
JP2005031929A (en) Management server for assigning storage area to server, storage device system, and program
KR101585160B1 (en) Distributed Computing System providing stand-alone environment and controll method therefor
US8352702B2 (en) Data processing system memory allocation
US10496444B2 (en) Computer and control method for computer
JP5457916B2 (en) Memory sharing device
JP2007122268A (en) Computer system, storage region allocation method and management computer
US9015418B2 (en) Self-sizing dynamic cache for virtualized environments
WO2014030213A1 (en) Mac address management device and method
JP2012079245A (en) Volume assignment method of virtual machine and computer system using method thereof
US10664393B2 (en) Storage control apparatus for managing pages of cache and computer-readable storage medium storing program
JP5235751B2 (en) Physical computer with virtual computer
US10909044B2 (en) Access control device, access control method, and recording medium containing access control program
KR20150095978A (en) Distributed Storage System using Local Disk of Computing Node on Cloud Computing
JP2008310610A (en) System configuration management method
WO2014041664A1 (en) Information processing system, information processing device, transition control program and transition control method
WO2018173300A1 (en) I/o control method and i/o control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12883118

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12883118

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP