CN109728924A - The method and apparatus for obtaining the configuration information of host - Google Patents
The method and apparatus for obtaining the configuration information of host Download PDFInfo
- Publication number
- CN109728924A CN109728924A CN201711032200.5A CN201711032200A CN109728924A CN 109728924 A CN109728924 A CN 109728924A CN 201711032200 A CN201711032200 A CN 201711032200A CN 109728924 A CN109728924 A CN 109728924A
- Authority
- CN
- China
- Prior art keywords
- host
- configuration information
- storage array
- software
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
This application provides a kind of mthods, systems and devices of transmission of configuration information, this method comprises: host obtains the configuration information of the host, the configuration information of the host is the attribute information of the element in the host;The host sends the configuration information of the host to storage array;The storage array stores the configuration information of the host;Supervisor obtains the configuration information of the host from the storage array.In the embodiment of the present application, directly the configuration information of host is sent in storage array by host, in order to which maintenance personnel directly passes through the configuration information that supervisor obtains host from storage array, it avoids in the prior art, maintenance personnel needs to input the login username and password of host in supervisor, to obtain the configuration information of host.To a certain extent, reduce the workload that maintenance personnel obtains the configuration information of host, reduce the complexity that supervisor obtains the configuration information of host.
Description
Technical field
This application involves field of storage, and more particularly, to the method and apparatus for the configuration information for obtaining host.
Background technique
Currently, in order to improve user experience, usually using the mode upgraded online in storage control in storage array
Software upgraded, that is to say, that during the software to storage control upgrades, user can still pass through
The host (Host) being connected with storage array sends access request to storage array, to access the data stored in storage array.
But the version for the software installed in host or the version of hardware may not support the software in online upgrading storage control,
Therefore, before the carry out online upgrading to the software in storage control, maintenance personnel needs to inquire in supervisor current
The attribute for the hardware that the attribute information and host for the software that the configuration information of host, i.e. host are currently installed on are currently installed on is believed
Breath, to determine whether the configuration of current hosts is supported to carry out online upgrading to the software in storage control.
In the prior art, maintenance personnel can be obtained by the login username and password of the input host on supervisor
The configuration information of host, but with the extensive use of storage array, the quantity for accessing the host of storage array increasingly increases, dimension
Shield personnel need to input the login username and password of each host, to obtain the configuration information of current each host.It is above-mentioned this
The mode of the configuration information of kind acquisition host is more complicated.
Summary of the invention
The embodiment of the present application provides a kind of mthods, systems and devices of configuration information for obtaining host, to reduce maintenance people
Member obtains the complexity of the configuration information of host by supervisor.
In a first aspect, a kind of method of configuration information for obtaining host is provided, this method comprises: host obtains the host
Configuration information, the configuration information of the host is the attribute information of the element in the host;The host is to storage array
Send the configuration information of the host;The storage array stores the configuration information of the host;Supervisor is from the storage battle array
The configuration information of the host is obtained in column.
In the embodiment of the present application, directly the configuration information of host is sent in storage array by host, in order to tie up
Shield personnel directly pass through the configuration information that supervisor obtains host from storage array, avoid in the prior art, maintenance personnel
Need to input the login username and password of host in supervisor, to obtain the configuration information of host.To a certain extent, subtract
Lack the workload that maintenance personnel obtains the configuration information of host, reduces the complexity that supervisor obtains the configuration information of host
Degree.
With reference to first aspect, in a kind of possible implementation of first aspect, the storage array stores the master
The configuration information of machine, comprising: the configuration information of the host is stored in the corresponding running log of the host by the storage array
In;The supervisor obtains the configuration information of the host from the storage array, comprising: the storage array is deposited from described
The corresponding running log of the host is obtained in storage array, and obtains the configuration information of the host from the running log.
In the embodiment of the present application, by the way that the configuration information of host to be stored in the corresponding running log of host, so as to
Running log is checked on supervisor in maintenance personnel, it, can also be directly from operation day while maintenance to storage array
The configuration information that host is obtained in will, so that maintenance personnel in running log more intuitively by that can patrol storage array
Examine and consult the configuration information of host.
With reference to first aspect, in a kind of possible implementation of first aspect, the element in the host is storage
The element that array is used when upgrading.
In the embodiment of the present application, added by the attribute information of the original part for the host used when the process of upgrading storage array
It is added in the configuration information of host, so that maintenance personnel is before carrying out online upgrading to storage array, confidence is matched by host
It ceases and determines whether the configuration of current hosts can support online upgrading storage array, advantageously reduce online upgrading storage array and make
At the probability of transmission access request obstruction.
With reference to first aspect, in a kind of possible implementation of first aspect, the element in the host includes fortune
For row in the software and hardware of the host, the attribute information of the software includes the version information of the software, and/or described soft
The title of part, the attribute information of the hardware include the model of the hardware.
With reference to first aspect, in a kind of possible implementation of first aspect, the configuration information of the host passes through
The privately owned order of small computer system interface SCSI protocol is transmitted.
In the embodiment of the present application, the configuration information of host is sent to by storage array by scsi command, can be based on
Existing SCSI encapsulation format, the configuration information of host is encapsulated in scsi command, without improving the encapsulation of existing SCSI
Format advantageously reduces the complexity of scheme realization.
Second aspect provides a kind of method of configuration information for obtaining host, comprising: host obtains the configuration of the host
Information, the configuration information of the host are the attribute information of the element in the host;The host sends institute to storage array
State the configuration information of host.
In the embodiment of the present application, directly the configuration information of host is sent in storage array by host, in order to tie up
Shield personnel directly pass through the configuration information that supervisor obtains host from storage array, avoid in the prior art, maintenance personnel
Need to input the login username and password of host in supervisor, to obtain the configuration information of host.To a certain extent, subtract
Lack the workload that maintenance personnel obtains the configuration information of host, reduces the complexity that supervisor obtains the configuration information of host
Degree.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the element in the host is storage
The element that array is used when upgrading.
In the embodiment of the present application, added by the attribute information of the original part for the host used when the process of upgrading storage array
It is added in the configuration information of host, so that maintenance personnel is before carrying out online upgrading to storage array, confidence is matched by host
It ceases and determines whether the configuration of current hosts can support online upgrading storage array, advantageously reduce online upgrading storage array and make
At the probability of transmission access request obstruction.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the element in the host includes fortune
For row in the software and hardware of the host, the attribute information of the software includes the version information of the software, and/or described soft
The title of part, the attribute information of the hardware include the model of the hardware.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the configuration information of the host passes through
The privately owned order of small computer system interface SCSI protocol is transmitted.
In the embodiment of the present application, the configuration information of host is sent to by storage array by scsi command, can be based on
Existing SCSI encapsulation format, the configuration information of host is encapsulated in scsi command, without improving the encapsulation of existing SCSI
Format advantageously reduces the complexity of scheme realization.
The third aspect, provide it is a kind of obtain host configuration information system, the system comprises host, storage array and
Supervisor communicates to connect between the host and the storage array and the supervisor, executes the method in first aspect.
Fourth aspect, provides a kind of host, and the storage array includes the unit for executing the method in second aspect.
5th aspect, provides a kind of host, the storage array includes: memory, processor and input/output interface.
Wherein, between memory, processor and input/output interface exist communication connection, the memory for storing instruction, the processing
Device is used to execute the instruction of memory storage, and when executed, the processor simultaneously controls input/output interface
Receive the data and information of input, the data such as output operating result, the method for executing second aspect.
6th aspect, provides a kind of computer-readable medium, the computer-readable medium storage is held for terminal device
Capable program code, said program code include the instruction for executing method described in above-mentioned various aspects.
7th aspect, provides a kind of computer program product comprising instruction, when run on a computer, makes to succeed in one's scheme
Calculation machine executes method described in above-mentioned various aspects.
Detailed description of the invention
Fig. 1 is the schematic block diagram of the system architecture of the applicable SAN of the embodiment of the present application.
Fig. 2 is the schematic flow chart of the method for the transmission of configuration information of the embodiment of the present application.
Fig. 3 is the schematic block diagram of the system of the configuration information of the acquisition host of the embodiment of the present application.
Fig. 4 is the schematic block diagram of the host of the embodiment of the present application.
Fig. 5 is the schematic block diagram of the host of another embodiment of the application.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the application is described.
In order to make it easy to understand, first simply introducing the schematic block diagram of the framework of the applicable data center of the embodiment of the present application.
Data center shown in FIG. 1 includes at least one host 110, interchanger 120, storage array 130 and supervisor 140.
Host 110, is connected with interchanger, for receiving the access request of user's input, to pass through interchanger to storage battle array
Column access.
Multiple hardwares and software can be installed on host 110, for example, the software installed in host includes application program
111, database software 112, cluster system management software 113, multi-path software 114 and small computer system interface
(Small Computer System Interface, SCSI) operating system 115 etc., the hardware installed in host may include
Host bus adaptor (Host Bus Adapter, HBA) 116 etc..
Application program can provide different business accesses for user.For example, it may be the online withdrawal system of bank
It unites, the video monitoring system of public security.
Database receives the access request that application program is sent, and determines data that access request is requested access in data
Position in structure.
Cluster system management software, the access request for sending database are sent to multi-path software.
Multi-path software, according to multipath strategy, one access of selection from a plurality of access path of access storage array
Destination channel of the channel as transmission access request, and access request is sent to by SCSI operating system by the destination channel.
SCSI operating system, for being packaged to access request, and will by the destination channel that multi-path software determines
Access request is sent to HBA card.
HBA card can provide input/output (Input/Output, I/O) processing and object between host and storage array
The circuit board or integrated circuit adapter of connection are managed, the access request for sending multi-path software is sent to storage array.
It should be understood that above-mentioned HBA card can pass through interchanger and storage battle array in data center systems framework shown in Fig. 1
Column are connected.
Interchanger 120, is connected with host and storage array, for providing access passage for host and storage array, so that
The access request that host is sent can be transmitted to storage array.
Storage array 130, is connected with supervisor, for providing memory space for data.
Supervisor 140, is connected with host, for safeguarding to host and storage array.
The maintenance personnel of data center is before safeguarding or upgrading to storage array, it is also necessary to be obtained by supervisor
The configuration information of host, the configuration information of Intrusion Detection based on host determine whether the configuration of current hosts matches with storage array, or
Whether the configuration of current hosts is supported to carry out online upgrading to storage array.
Below by taking the control software in the first storage control to storage array carries out the scene of online upgrading as an example, it is situated between
The supervisor that continues obtains the reason of host configuration information.
During upgrading to the software in the first storage control, the first storage control needs are restarted, and are handed over
The connection between the first storage control of changing planes temporarily disconnects, and HBA card breaks the access passage for reaching the first storage control
The instruction information that the instruction information reporting opened is reported to multi-path software, multi-path software based on HBA card determines that reaching first deposits
The access passage for storing up controller interrupts, and the access passage between host and storage array is switched to the second storage of arrival and is controlled
The access passage of device.
General HBA can wait for a period of time after perceiving access passage and disconnecting, such as equal 15-30 seconds reporting links again
The instruction information of disconnection, that is to say, that access request needs to wait could be transmitted at least 15-30 seconds, at this point, asking in the access
The access request transmitted after asking can not also be transmitted, and can only wait, so that application program, database, cluster system management are soft
The access request of part needs to block 15-30 seconds.
If the duration that the access request that above-mentioned application program, database, cluster system management software are tolerated is blocked
The time of the instruction information to be reported less than HBA card etc., for example, 10 seconds, then transmission access request may be abandoned, is caused
The loss of the data packet carried in access request or user can not read data by access request from storage array.
On the other hand, the multi-path software version installed in host may not be supported in the first storage control of online upgrading
Software.Specifically, the access being connected with the first storage control is logical during the first storage control of online upgrading
Road can temporarily interrupt (referring to the access path being represented by dashed line in Fig. 1), but in host multi-path software version can accidentally will be upper
The access passage temporarily interrupted is stated labeled as the access passage to fail, even if soft in the first storage control of subsequent online upgrading
Part is completed, and the above-mentioned access passage for being marked as failure, which restores communication, can transmit access request, and multi-path software version is not yet
The access passage transmission access request for being marked as failure can be reused.
Therefore, during to software upgrading in the first storage control, in order to avoid due to the software in host
The delay of the transmission access request of support is shorter, and causes to abandon access request;Or it avoids due to the first storage control
In software carry out online upgrading, cause access passage not to be available permanently.Maintenance personnel is in the first storage control
It before software carries out online upgrading, needs to obtain the configuration information of host, determines the HBA perception access passage in current host
Time needed for interrupting;Whether multi-path software can switch to normal work from the access passage of interruption for access request to be sent
The access passage of work is transmitted;After the completion of to on-line software updating in the first storage control, the access passage of interruption
Whether can restore to work normally;The factors such as the maximum delay of transmission access request of above-mentioned software support installed in host, with
Judge whether software or hardware in current hosts are supported to carry out online upgrading to the software in the first storage control.
In the prior art, maintenance personnel can be checked by configuration information of the supervisor to host, but need to tie up
Shield personnel input the login username and password of host on supervisor, and supervisor could obtain the configuration information of host.However,
With the extensive use of storage array, the quantity for accessing the host of storage array is increasing, and maintenance personnel needs in supervisor
The login username and password of the upper each host of input, so that the larger workload of maintenance personnel, leads to the configuration for obtaining host
Information is more complicated.
Also, the login username and password of above-mentioned host need be the super keepe of higher-rights login username
And password, the considerations of user is in terms of information security issue, be usually reluctant to inform the login username of maintenance personnel's host and
Password increases the difficulty that maintenance personnel obtains the configuration information of host by supervisor.
In order to simplify maintenance personnel by the process of the configuration information of supervisor acquisition host, the embodiment of the present application is provided
A kind of method and apparatus for the configuration information transmitting host.Below in conjunction with Fig. 2 to the transmission of configuration information of the embodiment of the present application
Method is introduced.
Fig. 2 is the schematic flow chart of the method for the transmission of configuration information of the embodiment of the present application.It should be understood that shown in Fig. 2
Method can specifically be realized by the multi-path software of host, can also be that the other software installed in host are realized, this Shen
Please embodiment this is not especially limited.Method shown in Fig. 2 includes step 210 to step 240.
210, host obtains the configuration information of the host, and the configuration information of the host is the element in the host
Attribute information.
Specifically, the attribute information of element can be the attribute information of software in host and/or hardware in above-mentioned host
Attribute information.The attribute information of software can be the description information of the software, for example, it may be the title of software, the version of software
This information (for example, version number) etc..The attribute information of hardware can be the description information of the hardware, for example, the title of hardware, firmly
The model of part.
It should be understood that the software in above-mentioned host can be the software installed in host described in Fig. 1, under can also including
At least one of column software: the firmware etc. in drive software, the host in the host.Hardware in above-mentioned host can
To be other hardware devices installed in HBA or host shown in Fig. 1.
Optionally, the element in the host is the element used when storage array upgrades.
Specifically, the element that above-mentioned storage array is used when upgrading, it can be understood as to the storage control in storage array
During device processed carries out online upgrading, the element of online upgrading is not supported in host, or to the storage control in storage array
During device processed carries out online upgrading, the element that access request obstruction is transmitted in host will lead to.
It should be understood that above-mentioned upgrading storage array can be understood as upgrading the storage control in storage array.
In the embodiment of the present application, added by the attribute information of the original part for the host used when the process of upgrading storage array
It is added in the configuration information of host, so that maintenance personnel is before carrying out online upgrading to storage array, confidence is matched by host
It ceases and determines whether the configuration of current hosts can support online upgrading storage array, advantageously reduce online upgrading storage array and make
At the probability of transmission access request obstruction.
220, host sends the configuration information of the host to storage array.
Optionally, the configuration information of the host passes through small computer system interface (Small Computer System
Interface, SCSI) the privately owned order in order is sent to storage array, and the privately owned order is to reserve in SCSI protocol
User customized can order.
It should be understood that the specific encapsulation format of the scsi command of the configuration information of the host of above-mentioned carrying may refer in table 1
The code listed is model selection page (Mode Select Page) neutron operation code (Sub Operation Code) of 0xXX
The description as described in scsi command encapsulation format in 0xXX should when table 1 illustrates that the value of byte in scsi command is with reference to value
The meaning of the information of byte instruction.
It should be noted that only illustratively listing instruction when byte value is with reference to value in scsi command in table 1
Meaning of Information, the embodiment of the present application can also be by being in addition to byte is assigned shown in the table 1 with reference to value in scsi command
Value carrys out the meaning of the information of the byte instruction when byte value is with reference to value in dial gauge 1, that is to say, that the application is real
Example is applied to the specific mapping relations of the value of byte in the meaning and scsi command of information without limitation.
It should also be understood that the embodiment of the present application is not done the corresponding relationship between byte and the meaning of byte representation specifically yet
It limits, table 1 is only that one kind for listing the corresponding relationship between a kind of byte and the meaning of byte representation of example is possible
Implementation.
It should also be understood that table 1 only lists field relevant to the embodiment of the present application in scsi command, other and the application
Embodiment incoherent field does not do specific introduction in table 1, wherein the usage mode with the incoherent field of the embodiment of the present application
It is referred to the encapsulation format of SCSI in the prior art, the embodiment of the present application does not limit this.
It include command description block in the model selection page (Mode Select Page) of scsi command shown in table 1
(Command Descriptor Block, CDB) and be used to indicate host configuration information reference value.Wherein, in CDB
The reference value of different bytes is used to indicate the description information of scsi command, in scsi command after the byte of CDB
The reference value of byte be used to indicate the configuration information of host, the reference value of byte is corresponding with the configuration information of host to close
System is referring to table 1.
Table 1
In the embodiment of the present application, the configuration information of host is sent to by storage array by scsi command, can be based on
Existing SCSI encapsulation format, the configuration information of host is encapsulated in scsi command, without improving the encapsulation of existing SCSI
Format advantageously reduces the complexity of scheme realization.
230, the storage array stores the configuration information of the host.
240, supervisor obtains the configuration information of the host from the storage array.
It should be noted that maintenance personnel obtains the configuration information of host by supervisor in different application scenarios
Purposes it is also different.
For example, when maintenance personnel carries out inspection or upgrading to storage array by supervisor, it can also be simultaneously from management
The configuration information of host is obtained in machine, and host is safeguarded, it can determines the need for carrying out the software in host
Upgrading, or the hardware for whether needing that user is notified to replace in host.
Alternatively, before maintenance personnel prepares to carry out online upgrading to the software in storage control, maintenance personnel can be with
The online upgrading to software in storage control whether is supported by determining the configuration of current hosts in supervisor, and supervisor can be with
The configuration information and prestored information of host are compared, and generates assessment result, above-mentioned prestored information, which is used to indicate, not to be supported to rise online
The configuration of the host of software in grade storage control, that is to say, that above-mentioned prestored information includes not supporting online upgrading storage control
The configuration information of the host of software in device processed, assessment result is used to indicate target software in the configuration of current hosts or target is hard
Part does not support the software in online upgrading storage control, in order to which maintenance personnel is by checking that assessment result determines current master
Whether the configuration of machine supports the software in online upgrading storage control.
It should be noted that maintenance personnel needs matching for the host obtained by supervisor based on above-mentioned different scene
The type of confidence breath may be different, and maintenance personnel can be sent to host by supervisor and be requested, and referred to by the request to host
Show the type for needing the configuration information of the host sent to storage array.Whole hosts once can also be matched confidence by host
Breath all by being transmitted to supervisor to storage array, maintenance personnel can be carried out on supervisor artificial screening determine it is required
The configuration information of host.The embodiment of the present application determines that the concrete mode for needing the configuration information of the host transmitted does not limit to host
It is fixed.
It should also be understood that above-mentioned host to storage array sends the configuration information of host, can be periodically can be with right and wrong
Periodically, i.e., host can periodically send the configuration information of host with the preset period to storage array;Or host
The configuration information of host can also be automatically sent to storage array when detecting that the element in host has update, with
Update storage the configuration information of the host saved in array.The embodiment of the present application sends the configuration of host to host to storage array
The concrete mode of information is without limitation.
In the embodiment of the present application, directly the configuration information of host is sent in storage array by host, in order to tie up
Shield personnel directly pass through the configuration information that supervisor obtains host from storage array, avoid in the prior art, maintenance personnel
Need to input the login username and password of host in supervisor, to obtain the configuration information of host.To a certain extent, subtract
Lack the workload that maintenance personnel obtains the configuration information of host, reduces the complexity that supervisor obtains the configuration information of host
Degree.
Optionally, as one embodiment, above-mentioned steps 230 further include: the storage array is by the configuration of the host
Information is stored in the corresponding running log of the host;Above-mentioned steps 240 further include: the storage array is from the storage array
It is middle to obtain the corresponding running log of the host, and obtain from the running log configuration information of the host.
Specifically, the above-mentioned corresponding running log of configuration information deposit host by host, can refer in storage array
The configuration information of host is added in attribute information in running log for describing the host.The attribute information of above-mentioned host can be with
Refer to title, the IP address of host, the type of host, the mark of host etc. of host.
A kind of implementation of configuration information that host is added in the corresponding running log of host is listed below.
Originally be stored in the running log of storage array the number (for example, Host 0) of host, the mark (Id) of host,
The type (Operating System Type, Os Type) of operating system, host sequence number in Hostname (Name), host
(Host Serial number, Host Sn), host Internet protocol address (Internet Protocol Address,
IP), the type of the port (Host Port) number, the channel connecting with the port of host is (for example, it may be optical-fibre channel
(Fibre Channel, FC)) and host port the information such as unique name (World Wide Name, WWN) in the whole world.
In the embodiment of the present application, the configuration information of host can be added on the basis of the above-described information, it specifically can be with
It is multi-path software type (MultiPath Type), database (DataBase) name of running log addition described below
Title, HBA model (HBA model), HBA firmware version (HBA Firmware Version, HBA Firmware Ver) number,
The information such as HBA driving version (HBA driver Version, HBA driver Ver) number.
It should be noted that the implementation of the above-mentioned configuration information for adding host in running log, is only with number
It is illustrated for the host of Host0, other hosts that access storage array can also be added in running log (such as are numbered
For the host of Host 1) configuration information, specific addition manner be referred to for number be Host 0 host add host
Configuration information method, for sake of simplicity, details are not described herein.
In the embodiment of the present application, by the way that the configuration information of host to be stored in the corresponding running log of host, so as to
Running log is checked on supervisor in maintenance personnel, it, can also be directly from operation day while maintenance to storage array
The configuration information that host is obtained in will, so that maintenance personnel in running log more intuitively by that can patrol storage array
Examine and consult the configuration information of host.
The method of the configuration information of the acquisition host of the embodiment of the present application is described in detail above in association with Fig. 1 and Fig. 2, under
Text describes the device of the configuration information of the acquisition host of the embodiment of the present application in detail in conjunction with Fig. 3 to Fig. 5.It should be noted that
Each step in the above method may be implemented to device shown in fig. 5 in Fig. 3, for sake of simplicity, details are not described herein.
Fig. 3 is the schematic block diagram of the system of the configuration information of the acquisition host of the embodiment of the present application.Device shown in Fig. 3
300 include host 310, storage array 320 and supervisor 330.
The host, for obtaining the configuration information of the host, the configuration information of the host is in the host
The attribute information of element;
The host is also used to send the configuration information of the host to storage array;
The storage array, for storing the configuration information of the host;
The supervisor, for obtaining the configuration information of the host from the storage array.
Optionally, as one embodiment, the storage array, specifically for the configuration information of the host is stored in institute
It states in the corresponding running log of host;The supervisor, it is corresponding specifically for obtaining the host from the storage unit
Running log, and obtain from the running log configuration information of the host.
Optionally, as one embodiment, the element in the host is the element used when storage array upgrades.
Optionally, as one embodiment, the element in the host includes the software and hardware for running on the host,
The attribute information of the software includes the version information of the software, and/or the title of the software, the attribute letter of the hardware
Breath includes the model of the hardware.
Optionally, as one embodiment, the configuration information of the host is assisted by small computer system interface SCSI
The privately owned order transmission of view.
Fig. 4 is the schematic block diagram of the host of the embodiment of the present application, and host 400 shown in Fig. 4 includes: acquiring unit 410
With transmission unit 420.
Acquiring unit 410, for obtaining the configuration information of the host, the configuration information of the host is in the host
Element attribute information;
Transmission unit 420, for sending the configuration information of the host to storage array.
Optionally, as one embodiment, the element in the host is the element used when storage array upgrades.
Optionally, as one embodiment, the element in the host includes the software and hardware of operation with the host,
The attribute information of the software includes the version information of the software, and/or the title of the software, the attribute letter of the hardware
Breath includes the model of the hardware.
Optionally, as one embodiment, the configuration information of the host is assisted by small computer system interface SCSI
In the privately owned order of view.
In optionally embodiment, the acquiring unit 410 and the transmission unit 420 can be defeated for the input in host
Outgoing interface 530, the storage array can also be specific as shown in Figure 5 including memory 510 and processor 520.
Fig. 5 is the schematic block diagram of the host of another embodiment of the application.Host 500 shown in fig. 5 may include: storage
Device 510, processor 520, input/output interface 530.Wherein, memory 510, processor 520 and input/output interface 530 are logical
It crosses internal connecting path to be connected, the memory 510 is for storing program instruction, and the processor 520 is for executing the memory 520
The program instruction of storage, to control the data and information that input/output interface 530 receives input, the data such as output operating result.
It should be understood that in the embodiment of the present application, which can use general central processing unit (Central
Processing Unit, CPU), microprocessor, application specific integrated circuit (Application Specific
Integrated Circuit, ASIC), or one or more integrated circuits, for executing relative program, to realize the application
Technical solution provided by embodiment.
The memory 510 may include read-only memory and random access memory, and to processor 520 provide instruction and
Data.The a part of of processor 520 can also include nonvolatile RAM.For example, processor 520 can also be deposited
Store up the information of device type.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor 520
Or the instruction of software form is completed.The method that the configuration information of host is obtained in conjunction with disclosed in the embodiment of the present application can be straight
Connect and be presented as that hardware processor executes completion, or in processor hardware and software module combination execute completion.Software mould
Block can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory 510, and processor 520 reads memory
Information in 510, in conjunction with the step of its hardware completion above method.To avoid repeating, it is not detailed herein.
It should be understood that the processor can be central processing unit (central processing in the embodiment of the present application
Unit, CPU), which can also be other general processors, digital signal processor (digital signal
Processor, DSP), it is specific integrated circuit (application specific integrated circuit, ASIC), existing
At programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also
To be any conventional processor etc..
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another
Web-site, computer, server or data center are transmitted.The computer readable storage medium can be computer capacity
Any usable medium enough read either includes that the data such as one or more usable mediums integrated server, data center are deposited
Store up equipment.The usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium are (for example, digital universal
CD (Digital Video Disc, DVD) or semiconductor medium (for example, solid state hard disk (Solid State Disk,
SSD)) etc..
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.
Claims (10)
1. a kind of method for the configuration information for obtaining host characterized by comprising
Host obtains the configuration information of the host, and the configuration information of the host is the attribute letter of the element in the host
Breath;
The host sends the configuration information of the host to storage array;
The storage array stores the configuration information of the host;
Supervisor obtains the configuration information of the host from the storage array.
2. the method as described in claim 1, which is characterized in that the storage array stores the configuration information of the host, packet
It includes:
The configuration information of the host is stored in the corresponding running log of the host by the storage array;
The supervisor obtains the configuration information of the host from the storage array, comprising:
The storage array obtains the corresponding running log of the host from the storage array, and from the running log
Obtain the configuration information of the host.
3. method according to claim 1 or 2, which is characterized in that the host passes through the privately owned order hair in SCSI protocol
Send the configuration information to the storage array.
4. method as claimed in any one of claims 1-3, which is characterized in that the element in the host is storage array liter
The element used when grade.
5. such as method of any of claims 1-4, which is characterized in that the element in the host includes running on institute
The software and hardware of host are stated, the attribute information of the software includes the version information of the software, and/or the name of the software
Claim, the attribute information of the hardware includes the model of the hardware.
6. a kind of method for the configuration information for obtaining host characterized by comprising
Host obtains the configuration information of the host, and the configuration information of the host is the attribute letter of the element in the host
Breath;
The host sends the configuration information of the host to storage array.
7. method as claimed in claim 6, which is characterized in that the element in the host is that storage array is used when upgrading
Element.
8. a kind of host characterized by comprising
Acquiring unit, for obtaining the configuration information of the host, the configuration information of the host is the element in the host
Attribute information;
Transmission unit, for sending the configuration information of the host to storage array.
9. host as claimed in claim 8, which is characterized in that the element in the host is that storage array is used when upgrading
Element.
10. host as claimed in claim 8 or 9, which is characterized in that the element in the host includes running on the host
Software and hardware, the attribute information of the software includes the version information of the software, and/or the title of the software, institute
The attribute information for stating hardware includes the model of the hardware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711032200.5A CN109728924A (en) | 2017-10-30 | 2017-10-30 | The method and apparatus for obtaining the configuration information of host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711032200.5A CN109728924A (en) | 2017-10-30 | 2017-10-30 | The method and apparatus for obtaining the configuration information of host |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109728924A true CN109728924A (en) | 2019-05-07 |
Family
ID=66291232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711032200.5A Pending CN109728924A (en) | 2017-10-30 | 2017-10-30 | The method and apparatus for obtaining the configuration information of host |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109728924A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826102A (en) * | 2019-11-07 | 2020-02-21 | 深圳市四季宏胜科技有限公司 | Anti-copy file management method, device, equipment and readable storage medium |
CN111193677A (en) * | 2019-12-17 | 2020-05-22 | 苏州浪潮智能科技有限公司 | Method, device and medium for attributing FC (fiber channel) port of host to corresponding host |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110125894A1 (en) * | 2009-11-25 | 2011-05-26 | Novell, Inc. | System and method for intelligent workload management |
CN103399714A (en) * | 2013-08-06 | 2013-11-20 | 安徽安庆瀚科莱德信息科技有限公司 | Maintenance system for storage device configuration information and application method of maintenance system |
CN104461687A (en) * | 2014-11-20 | 2015-03-25 | 华为技术有限公司 | Virtual machine configuration information storage method and device |
-
2017
- 2017-10-30 CN CN201711032200.5A patent/CN109728924A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110125894A1 (en) * | 2009-11-25 | 2011-05-26 | Novell, Inc. | System and method for intelligent workload management |
CN103399714A (en) * | 2013-08-06 | 2013-11-20 | 安徽安庆瀚科莱德信息科技有限公司 | Maintenance system for storage device configuration information and application method of maintenance system |
CN104461687A (en) * | 2014-11-20 | 2015-03-25 | 华为技术有限公司 | Virtual machine configuration information storage method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826102A (en) * | 2019-11-07 | 2020-02-21 | 深圳市四季宏胜科技有限公司 | Anti-copy file management method, device, equipment and readable storage medium |
CN111193677A (en) * | 2019-12-17 | 2020-05-22 | 苏州浪潮智能科技有限公司 | Method, device and medium for attributing FC (fiber channel) port of host to corresponding host |
CN111193677B (en) * | 2019-12-17 | 2022-03-22 | 苏州浪潮智能科技有限公司 | Method, device and medium for attributing FC (fiber channel) port of host to corresponding host |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10606725B2 (en) | Monitor peripheral device based on imported data | |
US8924521B2 (en) | Automated deployment of software for managed hardware in a storage area network | |
US10657232B2 (en) | Information processing apparatus and method of controlling information processing apparatus | |
US10404690B2 (en) | Authentication-free configuration for service controllers | |
US9542249B2 (en) | System redundancy verification method and computer system | |
US9934050B2 (en) | System and method for network-based ISCSI boot parameter deployment | |
US11068616B2 (en) | Secure message handling | |
JP5129770B2 (en) | Network equipment | |
US20120233399A1 (en) | Storage apparatus and method of controlling the same | |
EP3070633B1 (en) | Network interface devices with remote storage control | |
CN109189627B (en) | Hard disk fault monitoring and detecting method, device, terminal and storage medium | |
CN110618918A (en) | Control method, control device and control equipment for hard disk status lamp in PCH | |
US10826785B2 (en) | Data traffic monitoring tool | |
US7805734B2 (en) | Platform management of high-availability computer systems | |
CN109728924A (en) | The method and apparatus for obtaining the configuration information of host | |
CN114185603B (en) | Control method of intelligent accelerator card, server and intelligent accelerator card | |
US20160197994A1 (en) | Storage array confirmation of use of a path | |
US8954631B2 (en) | Continuously transferring data using a USB mass storage device | |
US9003068B2 (en) | Service channel for connecting a host computer to peripheral devices | |
US20060080399A1 (en) | Remote configuration management for data processing units | |
JP2005202919A (en) | Method and apparatus for limiting access to storage system | |
US10977069B2 (en) | Systems and methods for performing virtual machine updates without rebuild of distributed databases thereon | |
CN112650440B (en) | Path replacing method and device | |
US20150195366A1 (en) | Switching device, non-transitory computer readable medium and zoning setting method | |
US20200387410A1 (en) | Input output adapter error recovery concurrent diagnostics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190507 |