CN101588389B - Method for selecting storage apparatus, application server and storage apparatus - Google Patents

Method for selecting storage apparatus, application server and storage apparatus Download PDF

Info

Publication number
CN101588389B
CN101588389B CN2009100878547A CN200910087854A CN101588389B CN 101588389 B CN101588389 B CN 101588389B CN 2009100878547 A CN2009100878547 A CN 2009100878547A CN 200910087854 A CN200910087854 A CN 200910087854A CN 101588389 B CN101588389 B CN 101588389B
Authority
CN
China
Prior art keywords
memory device
application server
performance index
information
index
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.)
Expired - Fee Related
Application number
CN2009100878547A
Other languages
Chinese (zh)
Other versions
CN101588389A (en
Inventor
夏飞
周迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100878547A priority Critical patent/CN101588389B/en
Publication of CN101588389A publication Critical patent/CN101588389A/en
Application granted granted Critical
Publication of CN101588389B publication Critical patent/CN101588389B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a method for selecting storage apparatus, comprising: according to the preset storage apparatus address list, the application server transmits a first login request message including the storage performance requirement information of the application server and receives a first login answering message including corresponding storage performance information of the storage apparatus returned by each storage apparatus; according to storage performance information of each storage apparatus, the application server selects one storage apparatus to transmit a second login request message to the selected storage apparatus and receives a second login request message returned by the selected storage apparatus, and is connected with the selected storage apparatus. The inventionalso discloses an application server and a storage apparatus. The technical scheme of the invention enables the application server to be capable of automatically selecting the appropriate storage app aratus.

Description

Select method, application server and the memory device of memory device
Technical field
The present invention relates to data communication technology field, refer to a kind of method of memory device, a kind of application server and a kind of memory device selected especially.
Background technology
Storage area network (SAN, Storage Area Network) allows to set up direct express network between memory device and the application server and is connected.And IP SAN is through being carried on transmission control protocol (TCP; The network of the small computer system interface based on the internet (iSCSI, internet Small Computer System Interface) the protocol transmission storage data that Transfer Control Protocol) connect.
Small computer system interface (SCSI, Small Computer System Interface) agreement is a kind of independent processor standard that is used for system-level interface between computer and the smart machine (like hard disk, floppy drive, CD-ROM drive, printer, scanner etc.).ISCSI is a kind of SCSI agreement based on TCP/IP, in order between application server and storage system, to transmit scsi command and data through IP network.
For the current residing information age, the collection of information be treated as decision Business survival and development key, but in the face of the data of magnanimity, many enterprises feel unable to do what one wishes.The feasible function that can on IP network, use SCSI of the realization of iscsi technology; Made full use of the advantage such as maturity and popularization of existing IP network; Allow the user to make up SAN, economical rationality and the memory device being convenient to manage are provided the ability of direct visit for numerous enterprises through the TCP/IP network.
Fig. 1 is the sketch map of the typical application environment of iSCSI agreement in the prior art.As shown in Figure 1, application server is installed a promoter (initiator) module, an integrated target (target) module in the memory device in the storage system.Organizer module in the application server with scsi command and data encapsulation in the iSCSI message; Send to the memory device in the storage system through IP network; Object module in the memory device is handled each iSCSI message, takes out data wherein and is written in the storage medium.Wherein, organizer module and object module are to confirm that through name both sides send out relation, connect then.
Fig. 2 is of the prior art for the sketch map of application server configuration memory device.As shown in Figure 2, each application server is through each memory device communication in IP network and the storage system.Wherein, The name of organizer module A on the application server A is called initiator-A; The name of organizer module B on the application server B is called initiator-B; The name of organizer module C on the application server C is called initiator-C; The name of the object module A that SAN resource X on the memory device 1 is corresponding is called target-A, and the name of the object module B that the SAN resource Y on the memory device 2 is corresponding is called target-B, and the name of the object module C that the SAN resource Z on the memory device 3 is corresponding is called target-C.
In Fig. 2; At first on memory device, manually be configured by the network manager; Give application server with the SAN resource allocation on the memory device; For example, when the SAN resource X on the memory device 1 is distributed to application server A, at the corresponding relation between configuration initiator-A and the target-A on the memory device 1.If application server A hopes to use SAN resource X, then also need be on application server A the IP address and the target-A of configure storage devices 1.Like this, application server A connects through the object module A of organizer module A and memory device 1, and X carries out reading and writing data to the SAN resource.The detailed process that connects is: organizer module A sends logging request (loginrequest) message to object module A; Object module A judges whether and can connect according to the title initiator-A in this request message and from configured corresponding relation on one's body; If comprise the corresponding relation between initiator-A and the target-A in the configured corresponding relation; Then object module A sends login to organizer module A and replys (login response) message, connects.After connecting, transmission application server A will store the data on the SAN resource X between organizer module A and the object module A, and the data that read from SAN resource X of application server A
Fig. 3 is the architecture sketch map of logging request message of the prior art.Fig. 4 is the architecture sketch map of login response message of the prior art.Shown in Fig. 3 and 4, because the restriction that length shows, each row has shown 4 bytes (Byte), and the section start of each row has shown the byte sequence number of first byte in whole message of current line.Can find out logging request message and some reservations of all existence (Reserved) byte of logining in the response message.
Can find out from technique scheme in the existing SAN memory device allocative decision, which memory device which application server uses, fully by network manager's manual configuration.But because the application of application server varies, each memory device is because inner realization is different, to different application; Its performance also has very big difference, therefore, when the quantity of application server and memory device more for a long time; Rely on network manager's manual configuration fully; Be unfavorable for that very the application server selection meets the memory device of performance requirement most, and workload is big, efficient is not high.
Summary of the invention
The invention provides a kind of method of selecting memory device, this method makes application server can select suitable storage equipment automatically, and has improved efficient, has alleviated network manager's work load.
Correspondingly, the present invention also provides a kind of application server and a kind of memory device.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
The invention discloses a kind of method of selecting memory device, dispose storage apparatus address list on the application server, comprise the address of an above memory device in this storage apparatus address list, this method comprises:
Application server sends the first logging request message according to storage apparatus address list to each memory device; The memory property demand information that comprises application server in the said first logging request message;
Application server receives the first login response message that each memory device returns; The memory property information that comprises respective storage devices in the said first login response message;
Application server is selected a memory device according to the memory property information of each memory device;
Application server sends the second logging request message to selected memory device, and receives the second login response message that selected memory device returns, and connects with selected memory device, uses the SAN resource on the selected memory device.
The invention discloses a kind of application server, this application server comprises: memory module, login module and selection module, wherein,
Memory module is used to preserve storage apparatus address list, comprises the address of an above memory device in this storage apparatus address list;
Login module is used for according to storage apparatus address list, sends the first logging request message that comprises application server for storage performance requirement information to each memory device; Be used to receive the first login response message that comprises the memory device, stores performance information that each memory device returns, and be transmitted to the selection module;
Select module, be used for memory device, stores performance information, select a memory device according to each first login response message, and with selected memory device notice login module;
Login module; Be used for to selecting the selected memory device of module to send the second logging request message; And receive the second login response message that selected memory device returns; Connect with selected memory device, make application server use the storage area network SAN resource on the selected memory device.
The invention discloses a kind of memory device, this memory device comprises: login module;
Said login module, be used for receive that application server sends comprise the first logging request message of application server for storage performance requirement information the time, send the first login response message that comprises the memory device, stores performance information to application server; Be used for when receiving the second logging request message of application server transmission, send the second login response message to application server;
Wherein, said application server is according to preset storage apparatus address list, sends first logging request to a plurality of memory devices of comprising said memory device; Said application server is after receiving each first login response message that a plurality of memory devices of comprising said memory device return; According to the memory device, stores performance information in each first login response message; After having selected said memory device, send the second logging request message to said memory device.
Visible by technique scheme; This application server of the present invention is according to preset storage apparatus address list, sends the first logging request message of the memory property demand information that comprises application server to each memory device, receives the first login response message of the memory property information that comprises respective storage devices that each memory device returns then; Memory property information according to each memory device; Select a memory device, send the second logging request message, and receive the second logging request message that selected memory device returns to selected memory device; Connect with selected memory device; Use the technical scheme of the storage area network SAN resource on the selected memory device, make application server can select suitable storage equipment automatically, and do not need network manager's manual configuration in advance; Improve operating efficiency, and alleviated network manager's work load.
Description of drawings
Fig. 1 is the sketch map of the typical application environment of iSCSI agreement in the prior art;
Fig. 2 is of the prior art for the sketch map of application server configuration memory device;
Fig. 3 is the architecture sketch map of logging request message of the prior art;
Fig. 4 is the architecture sketch map of login response message of the prior art;
Fig. 5 is a kind of flow chart of selecting the method for memory device of the embodiment of the invention;
Fig. 6 be in the embodiment of the invention application server according to the flow chart of a memory device of memory property Information Selection of each memory device;
Fig. 7 is the sketch map of the storage area network SAN in the embodiment of the invention;
Fig. 8 is the architecture sketch map of the first logging request message in the present embodiment;
Fig. 9 be the memory device 1 in the embodiment of the invention returned first the login response message the architecture sketch map;
Figure 10 is the composition structured flowchart of a kind of application server of the embodiment of the invention.
Embodiment
Core concept of the present invention is: application server sends the memory property demand information of self according to preset storage apparatus address list to each storage; Each memory device is added up the memory property parameter of self, returns the memory property information of self to application server; Application server is selected a memory device that is fit to oneself according to the memory property information of each memory device, and connects with this memory device.
For making the object of the invention, technical scheme and advantage clearer, below to further explain of the present invention.
Fig. 5 is a kind of flow chart of selecting the method for memory device of the embodiment of the invention.As shown in Figure 5, may further comprise the steps:
Step 501 disposes storage apparatus address list on the application server, comprise the address of an above memory device in this storage apparatus address list; This application server sends the first logging request message according to storage apparatus address list to each memory device; The memory property demand information that comprises application server in this first logging request message.
Step 502, each memory device that receives the first logging request message returns the first login response message to application server respectively; The memory property information that comprises respective storage devices in the first login response message.
Step 503, application server are selected a memory device according to the memory property information of each memory device.
In this step, application server can be according to the strategy of predesignating, according to memory device of memory property Information Selection of each memory device.Back extended meeting provides a kind of selection strategy.
Step 504, application server sends the second logging request message to selected memory device;
Step 505, application server receive the second logging request message that selected memory device returns;
Step 506, application server and selected memory device connect, and the SAN resource on the selected memory device is carried out reading and writing data.
Need to prove that mutual between above-mentioned application server and the memory device is actually mutual between target (target) module of promoter's (initiator) module and memory device on the application server, below identical, no longer repetition.
Method shown in Figure 5 makes application server can select suitable storage equipment automatically, and does not need network manager's manual configuration in advance, has improved operating efficiency, and has alleviated network manager's work load.
In the step 501 of method shown in Figure 5, comprise the memory property demand information of application server in this first logging request message that application server sends, and in step 502, comprise the memory property information of memory device in the first login response message.And can know according to Fig. 3 and Fig. 4, there is a plurality of reservations (Reserved) byte in the architecture of existing logging request message and login response message.In the embodiment of the invention, in these reserve bytes, carry the memory property information of the memory property demand information and the memory device of application server just, below specify.
As stated, the memory property demand information that comprises application server in the first logging request message that application server sends.In one embodiment of the invention; The memory property demand information of this application server can be represented the information that memory device need return to application server, as requires storage facilities to return: the storage size information of reading performance index, write performance index, busy extent index and can using.Correspondingly, the memory property information of the memory device that returns of memory device comprises: read performance index, write performance index, busy extent index and available storage size information.
In another embodiment of the present invention, the memory property demand information of this application server also can comprise: the needed storage size information of application server.At this moment, comprise in the memory property information that memory device returns: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server.
In following embodiment, the memory property demand information of application server comprises: needed storage size information.The memory property information of memory device comprises: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server.In the embodiment of the invention, with the input and output number (IOPS, IO Per Second) of each second as the readwrite performance index; And the busy extent index is the number of the current application server that connects of memory device, if memory device is selected, has received the second logging request message, and then the busy extent index with self adds 1.Memory device can confirm whether oneself can satisfy the needed memory space of application server according to needed storage size information of application server and the free memory of self size.
Referring to Fig. 3, in embodiments of the present invention, utilize the memory property demand information of a reserve bytes record application server in the logging request message to obtain the described first logging request message.The needed storage size information of this reserve bytes record application server.As for utilizing which reserve bytes, can be scheduled to according to actual conditions, under hard-core situation, can specify any reserve bytes.For example, in one embodiment of the present of invention, utilize the 36th the needed storage size information of reserve bytes record application server of logging request message.
Referring to Fig. 4, in embodiments of the present invention, utilize the memory property information of four reserve bytes record memory devices in the login response message to obtain the described first login response message equally.Wherein, A reserve bytes writes down the performance index of reading of memory device; The write performance index of a reserve bytes record memory device; The busy extent index of a reserve bytes record memory device, whether a byte records can satisfy the indication information of the needed memory space of application server.As for utilizing any four reserve bytes, can be scheduled to according to actual conditions, under hard-core situation, can specify any four reserve bytes.For example; In one embodiment of the present of invention; Utilize the 40th, 41,44 and 46 reserve bytes of login response message, write down the indication information of reading performance index, write performance index, busy extent index and whether can satisfying the needed memory space of application server of memory device respectively.
In the step 503 of method shown in Figure 5, application server below provides a kind of selection strategy in the real-time example of the present invention according to memory device of memory property Information Selection of each memory device.
Fig. 6 be in the embodiment of the invention application server according to the flow chart of a memory device of memory property Information Selection of each memory device.As shown in Figure 6, may further comprise the steps:
Step 601; At first; Memory property information searching according to each memory device goes out to satisfy the needed memory space of application server; And read performance index and write performance index, and statistics number respectively more than or equal to the minimum memory device of reading performance index and lowest write performance index of application server; If be 0, then execution in step 605; If greater than 1, then execution in step 602; If equal 1, then select this memory device, process ends.
Step 602, from the memory device that is found out, find out the minimum memory device of busy extent, and the statistics number; If greater than 1, then execution in step 603; If equal 1, then select this memory device, process ends.
Step 603, in the middle of the minimum memory device of the busy extent found out, find out, read the minimum memory device of reading performance index and lowest write performance index that performance index and write performance index approach application server respectively most, and the statistics number; If greater than 1, then execution in step 604; If equal 1, then select this memory device, process ends.
Step 604, from reading of being found out performance index and write performance index approach application server respectively most the minimum memory device of reading performance index and lowest write performance index; Select the minimum or maximum memory device of promoter's session identification ISID, process ends.
Step 605, send prompting, and, select a memory device, process ends according to user's indication then to the memory property information that the user shows each memory device to the user.
In the selection scheme shown in Figure 6, pay the utmost attention to least busy memory device, can improve whole memory device crowd's utilance like this; Consider the immediate memory device of performance then, like this can be so that the more excellent memory device of performance stays in order to the more application server use of high performance demands.This selection scheme has not only improved memory device crowd's utilance as much as possible, and has considered the availability of whole storage system.
Providing a concrete example below explains such scheme.
Fig. 7 is the sketch map of the storage area network SAN in the embodiment of the invention.As shown in Figure 7, this network comprises three application servers (application server A, B and C) and 5 memory devices (memory device 1~5).Wherein, the memory property relevant information of 5 memory devices is as shown in table 1:
Memory device Read performance (IPOS) Write performance (IPOS) Busy extent ISID
Memory device
1 900 700 0 0x01
Memory device
2 1050 850 0 0x02
Memory device
3 1100 900 0 0x03
Memory device
4 1050 850 1 0x04
Memory device
5 1060 1050 2 0x05
Table 1
Referring to Fig. 7, with the example that is chosen as of application server A, describe here:
(1) address that disposes memory device 1~5 on the application server A; The minimum performance index of reading of application server A are 1000IOPS, and the lowest write performance index are 800IOPS.
(2) application server A sends the first logging request message that has carried self memory property demand information to memory device 1~5.Fig. 8 is the architecture sketch map of the first logging request message in the present embodiment.As shown in Figure 8, the needed storage size of application server is 100000M.
(3) after memory device 1~5 is received the first logging request message shown in Figure 8, return the first login response message to application server A.For example, Fig. 9 is the architecture sketch map of the first login response message that returned of memory device 1 in the embodiment of the invention.As shown in Figure 9, the 900IOPS that reads performance index of memory device 1, the write performance index is 700IOPS, this is consistent with table 1; The busy extent index is 0, and the number of representing the current application server that is connected with memory device 1 is 0; The indication information that whether can satisfy the needed memory space of application server A is 1, and expression can be satisfied the needed 100000M memory space of application server A.
(4) application server A is according to selection scheme shown in Figure 6; From memory device 1~5, select; Suppose that the indication information that whether can satisfy the needed memory space of application server A that 5 memory devices all return is 1; The memory device of then at first selecting that satisfies the said condition of step 601 is a memory device 2~5; Therefrom selecting the minimum memory device of the busy extent described in the step 602 then is memory device 2 and 3, therefrom selects the immediate memory device of performance described in the step 603 and application server to be storage 2 again.
(5) application server A sends the second logging request message that the expression affirmation connects to memory device 2.
(6) after memory device 2 is received the second logging request message, return the second login response message, and self busy extent index is added 1 to application server A.
(7) application server A and memory device 2 connect, and memory device 2 is carried out reading and writing data.
In the above embodiment of the present invention, memory device can judge that this logging request message is the first logging request message or the second logging request message according to the memory property demand information that whether comprises application server in the logging request message.Perhaps, in other embodiments of the invention, can also utilize reserve bytes position as a token of, being used to identify the first logging request message still is the second logging request message.In like manner, the login response message also can use the same method and distinguish.
Based on the foregoing description, provide a kind of application server and a kind of composition structure of memory device among the present invention below.
Figure 10 is the composition structured flowchart of a kind of application server of the embodiment of the invention.Shown in figure 10, this application server comprises: memory module 1001, login module 1002 and selection module 1003, wherein:
Memory module 1001 is used to preserve storage apparatus address list, comprises the address of an above memory device in this storage apparatus address list;
Login module 1002 is used for according to storage apparatus address list, sends the first logging request message that comprises application server for storage performance requirement information to each memory device; Be used to receive the first login response message that comprises the memory device, stores performance information that each memory device returns, and be transmitted to selection module 1003;
Select module 1003, be used for memory device, stores performance information, select a memory device according to each first login response message, and with selected memory device notice login module 1002;
Login module 1002; Be used for to selecting module 1003 selected memory devices to send the second logging request message; And receive the second logging request message that selected memory device returns; Connect with selected memory device, make application server use the storage area network SAN resource on the selected memory device.
In Figure 10; Application server for storage performance requirement information in the first logging request message that said login module is sent, the expression memory device need return to application server: read performance index, write performance index, busy extent index, available storage size information; Memory device, stores performance information in the first login response message that correspondingly said login module receives comprises: read performance index, write performance index, busy extent index, available storage size information.
Perhaps, the application server for storage performance requirement information in the first logging request message of login module 1002 transmissions comprises: the needed storage size of application server; Memory device, stores performance information in the first login response message that login module 1002 receives comprises: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server.
In Figure 10, select module 1003, be used for through carrying out following steps, realize selecting a memory device according to the memory device, stores performance information in each first login response message:
A, find out and can satisfy the needed memory space of application server, and read performance index and write performance index respectively more than or equal to the minimum memory device of reading performance index and lowest write performance index of application server, and the statistics number; If be 0, execution in step E then; If greater than 1, execution in step B then; If equal 1, then select this memory device, process ends;
B, from the memory device that is found out, find out the minimum memory device of busy extent, and the statistics number; If greater than 1, execution in step C then; If equal 1, then select this memory device, process ends;
C, in the middle of the minimum memory device of the busy extent found out, find out, read the minimum memory device of reading performance index and lowest write performance index that performance index and write performance index approach application server respectively most, and the statistics number; If greater than 1, execution in step D then; If equal 1, then select this memory device, process ends;
D, from reading of being found out performance index and write performance index approach application server respectively most the minimum memory device of reading performance index and lowest write performance index, select the minimum or maximum memory device of promoter's session identification, process ends;
E, send prompting, and, select a memory device, process ends according to user's indication then to the memory property information that the user shows each memory device to the user.
In Figure 10, login module 1002 is used for sending the first logging request message that reserved field has comprised application server for storage performance requirement information to each memory device; Be used for receiving that each memory device returns has comprised the first login response message of memory device, stores performance information at reserved field.
A kind of memory device in the embodiment of the invention comprises: login module.This login module, be used for receive that application server sends comprise the first logging request message of application server for storage performance requirement information the time, send the first login response message that comprises the memory device, stores performance information to application server; Be used for when receiving the second logging request message of application server transmission, send the second login response message to application server; Wherein, said application server is according to preset storage apparatus address list, sends first logging request to a plurality of memory devices of comprising said memory device; Said application server is after receiving each first login response message that a plurality of memory devices of comprising said memory device return; According to the memory device, stores performance information in each first login response message; After having selected said memory device, send the second logging request message to said memory device.
In above-mentioned memory device; Application server for storage performance requirement information in the first logging request message that said login module is sent, the expression memory device need return to application server: read performance index, write performance index, busy extent index, available storage size information; Memory device, stores performance information in the first login response message that correspondingly said login module receives comprises: read performance index, write performance index, busy extent index, available storage size information.Perhaps, the application server for storage performance requirement information in the first logging request message of said login module reception comprises: the needed storage size of application server; Memory device, stores performance information in the first login response message that said login module is sent comprises: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server.Wherein, the said busy extent index number that is the application server that memory device connected; Said login module is used for after receiving the second logging request message, and the busy extent index that self is belonged to memory device adds 1.
In sum; This application server of the present invention is according to preset storage apparatus address list, sends the memory property demand information first logging request message that comprises application server to each memory device, receives the first login response message of the memory property information that comprises respective storage devices that each memory device returns then; Memory property information according to each memory device; Select a memory device, send the second logging request message, and receive the second logging request message that selected memory device returns to selected memory device; Connect with selected memory device; Use the technical scheme of the storage area network SAN resource on the selected memory device, make application server can select suitable storage equipment automatically, and do not need network manager's manual configuration in advance; Improve operating efficiency, and alleviated network manager's work load.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention, all any modifications of within spirit of the present invention and principle, being made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a method of selecting memory device is characterized in that, disposes storage apparatus address list on the application server, comprises the address of an above memory device in this storage apparatus address list, and this method comprises:
Application server sends the first logging request message according to storage apparatus address list to each memory device; The memory property demand information that comprises application server in the said first logging request message;
Application server receives the first login response message that each memory device returns; The memory property information that comprises respective storage devices in the said first login response message;
Application server is selected a memory device according to the memory property information of each memory device;
Application server sends the second logging request message to selected memory device; And receive the second login response message that selected memory device returns; Connect with selected memory device, use the storage area network SAN resource on the selected memory device.
2. the method for claim 1 is characterized in that,
The memory property demand information of said application server, the expression memory device need return to application server: read performance index, write performance index, busy extent index, available storage size information; Correspondingly, the memory property information of said memory device comprises: read performance index, write performance index, busy extent index, available storage size information;
Perhaps, the memory property demand information of said application server comprises: the needed storage size information of application server; The memory property information of said memory device comprises: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server.
3. method as claimed in claim 2 is characterized in that, said application server selects a memory device to comprise according to the memory property information of each memory device:
A, application server find out and can satisfy the needed memory space of application server, and read performance index and write performance index respectively more than or equal to the minimum memory device of reading performance index and lowest write performance index of application server, and the statistics number; If be 0, execution in step E then; If greater than 1, execution in step B then; If equal 1, then select this memory device, process ends;
B, application server are found out the minimum memory device of busy extent from the memory device that is found out, and the statistics number; If greater than 1, execution in step C then; If equal 1, then select this memory device, process ends;
C, application server find out in the middle of the minimum memory device of the busy extent found out, read the minimum memory device of reading performance index and lowest write performance index that performance index and write performance index approach application server respectively most, and the statistics number; If greater than 1, execution in step D then; If equal 1, then select this memory device, process ends;
D, application server are from reading of being found out performance index and write performance index approach application server respectively most the minimum memory device of reading performance index and lowest write performance index; Select the minimum or maximum memory device of promoter's session identification, process ends;
E, application server send prompting to the user, and to the memory property information that the user shows each memory device, select a memory device, process ends according to user's indication then.
4. like claim 1,2 or 3 described methods, it is characterized in that,
In the reserved field of the said first logging request message, carry the performance requirement information of application server;
In the reserved field of the said first login response message, carry the memory property information of storage.
5. method as claimed in claim 2 is characterized in that,
Said busy extent index is the number of the application server that memory device connected;
Selecteed memory device adds 1 with self busy extent index after receiving the second logging request message.
6. an application server is characterized in that, this application server comprises: memory module, login module and selection module, wherein,
Memory module is used to preserve storage apparatus address list, comprises the address of an above memory device in this storage apparatus address list;
Login module is used for according to storage apparatus address list, sends the first logging request message that comprises application server for storage performance requirement information to each memory device; Be used to receive the first login response message that comprises the memory device, stores performance information that each memory device returns, and be transmitted to the selection module;
Select module, be used for memory device, stores performance information, select a memory device according to each first login response message, and with selected memory device notice login module;
Login module; Be used for to selecting the selected memory device of module to send the second logging request message; And receive the second login response message that selected memory device returns; Connect with selected memory device, make application server use the storage area network SAN resource on the selected memory device.
7. application server as claimed in claim 6 is characterized in that,
Application server for storage performance requirement information in the first logging request message that said login module is sent, the expression memory device need return to application server: read performance index, write performance index, busy extent index, available storage size information; Memory device, stores performance information in the first login response message that correspondingly said login module receives comprises: read performance index, write performance index, busy extent index, available storage size information;
Perhaps, the application server for storage performance requirement information in the first logging request message of said login module transmission comprises: the needed storage size of application server; Memory device, stores performance information in the first login response message that said login module receives comprises: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server.
8. application server as claimed in claim 7 is characterized in that, said selection module is used for through carrying out following steps, realizes selecting a memory device according to the memory device, stores performance information in each first login response message:
A, find out and can satisfy the needed memory space of application server, and read performance index and write performance index respectively more than or equal to the minimum memory device of reading performance index and lowest write performance index of application server, and the statistics number; If be 0, execution in step E then; If greater than 1, execution in step B then; If equal 1, then select this memory device, process ends;
B, from the memory device that is found out, find out the minimum memory device of busy extent, and the statistics number; If greater than 1, execution in step C then; If equal 1, then select this memory device, process ends;
C, in the middle of the minimum memory device of the busy extent found out, find out, read the minimum memory device of reading performance index and lowest write performance index that performance index and write performance index approach application server respectively most, and the statistics number; If greater than 1, execution in step D then; If equal 1, then select this memory device, process ends;
D, from reading of being found out performance index and write performance index approach application server respectively most the minimum memory device of reading performance index and lowest write performance index, select the minimum or maximum memory device of promoter's session identification, process ends;
E, send prompting, and, select a memory device, process ends according to user's indication then to the memory property information that the user shows each memory device to the user.
9. like claim 6,7 or 8 described application servers, it is characterized in that,
Said login module is used for sending the first logging request message that reserved field has comprised application server for storage performance requirement information to each memory device; Be used for receiving that each memory device returns has comprised the first login response message of memory device, stores performance information at reserved field.
10. a memory device is characterized in that, this memory device comprises: login module;
Said login module, be used for receive that application server sends comprise the first logging request message of application server for storage performance requirement information the time, send the first login response message that comprises the memory device, stores performance information to application server; Be used for when receiving the second logging request message of application server transmission, send the second login response message to application server;
Wherein, said application server is according to preset storage apparatus address list, sends first logging request to a plurality of memory devices of comprising said memory device; Said application server is after receiving each first login response message that a plurality of memory devices of comprising said memory device return; According to the memory device, stores performance information in each first login response message; After having selected said memory device, send the second logging request message to said memory device.
11. memory device as claimed in claim 10 is characterized in that,
Application server for storage performance requirement information in the first logging request message that said login module is sent, the expression memory device need return to application server: read performance index, write performance index, busy extent index, available storage size information; Memory device, stores performance information in the first login response message that correspondingly said login module receives comprises: read performance index, write performance index, busy extent index, available storage size information;
Perhaps, the application server for storage performance requirement information in the first logging request message of said login module reception comprises: the needed storage size of application server; Memory device, stores performance information in the first login response message that said login module is sent comprises: read performance index, write performance index, busy extent index, whether can satisfy the indication information of the needed memory space of application server;
Wherein, the said busy extent index number that is the application server that memory device connected;
Said login module is used for after receiving the second logging request message, and the busy extent index that self is belonged to memory device adds 1.
CN2009100878547A 2009-06-24 2009-06-24 Method for selecting storage apparatus, application server and storage apparatus Expired - Fee Related CN101588389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100878547A CN101588389B (en) 2009-06-24 2009-06-24 Method for selecting storage apparatus, application server and storage apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100878547A CN101588389B (en) 2009-06-24 2009-06-24 Method for selecting storage apparatus, application server and storage apparatus

Publications (2)

Publication Number Publication Date
CN101588389A CN101588389A (en) 2009-11-25
CN101588389B true CN101588389B (en) 2012-01-04

Family

ID=41372452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100878547A Expired - Fee Related CN101588389B (en) 2009-06-24 2009-06-24 Method for selecting storage apparatus, application server and storage apparatus

Country Status (1)

Country Link
CN (1) CN101588389B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9571576B2 (en) * 2010-11-30 2017-02-14 International Business Machines Corporation Storage appliance, application server and method thereof
CN103685426B (en) * 2012-09-25 2017-11-03 联想(北京)有限公司 Message processing device and information processing method
CN105930135A (en) * 2016-04-22 2016-09-07 上海海漾软件技术有限公司 Wearable device based control method and apparatus
CN114731173A (en) * 2019-11-20 2022-07-08 京瓷株式会社 Data storage system and data storage method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414564A (en) * 2001-10-26 2003-04-30 三菱电机株式会社 Semiconductor memory capable of implemention high density or high performance
CN1892603A (en) * 2005-07-08 2007-01-10 中国科学院计算技术研究所 Offset distribution optimizing method based on combination parallel algorithm

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414564A (en) * 2001-10-26 2003-04-30 三菱电机株式会社 Semiconductor memory capable of implemention high density or high performance
CN1892603A (en) * 2005-07-08 2007-01-10 中国科学院计算技术研究所 Offset distribution optimizing method based on combination parallel algorithm

Also Published As

Publication number Publication date
CN101588389A (en) 2009-11-25

Similar Documents

Publication Publication Date Title
CN101477511B (en) Method and apparatus for sharing memory medium between multiple operating systems
CN103250143B (en) Data storage method and storage device
CN102685159B (en) Document transmission method and device
EP2284725A1 (en) Client, brokerage server and method for providing cloud storage
CN102413156B (en) Distributed data storage system and method
CN108845877B (en) Method, device and system for managing memory
KR20120102664A (en) Allocating storage memory based on future use estimates
CN103888547A (en) Bill processing method and server
CN101588389B (en) Method for selecting storage apparatus, application server and storage apparatus
CN108319496A (en) resource access method, service server, distributed system and storage medium
CN104077239A (en) IP hard disk, and memory system and data operation method thereof
CN104050248A (en) File storage system and storage method
CN100536472C (en) A method, module and server to control access to network resource
CN101778050A (en) Load balancing method, device and system
JP2004192174A (en) Disk array control device
CN112486888A (en) Market data transmission method, device, equipment and medium
CN103986585A (en) Message preprocessing method and device
CN108347459A (en) A kind of high in the clouds data quick storage method and device
CN103154944A (en) Adaptive content-based publish/subscribe messaging
US20080109442A1 (en) Integrated management computer, storage apparatus management method, and computer system
CN103701720A (en) Communication method with Socket server and online transaction management system
US20080263222A1 (en) Computer system, root node, and log management method for access path conversion
US20140025630A1 (en) Data-store management apparatus, data providing system, and data providing method
CN105426125B (en) A kind of date storage method and device
CN101741861B (en) Data storage method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20200624

CF01 Termination of patent right due to non-payment of annual fee