CN106708881A - Interaction method and device based on network file system - Google Patents
Interaction method and device based on network file system Download PDFInfo
- Publication number
- CN106708881A CN106708881A CN201510788424.3A CN201510788424A CN106708881A CN 106708881 A CN106708881 A CN 106708881A CN 201510788424 A CN201510788424 A CN 201510788424A CN 106708881 A CN106708881 A CN 106708881A
- Authority
- CN
- China
- Prior art keywords
- nfs
- request
- state value
- service nodes
- request response
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
- G06F16/1824—Distributed file systems implemented using Network-attached Storage [NAS] architecture
- G06F16/183—Provision of network file services by network file servers, e.g. by using NFS, CIFS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The invention provides an interaction method and device based on a network file system (NFS). The NFS comprises a mainframe and at least two NFS service nodes, wherein the mainframe comprises an NFS client and a client plug-in, and at least two communication links are arranged between the mainframe and each NFS service node. The method includes: the client plug-in receives an NFS request transmitted by the NFS client; the client plug-in clones the NFS request to generate at least two cloned NFS requests; the client plug-in respectively transmits the cloned NFS requests to the NFS service nodes through the communication links, wherein the NFS service nodes have consistent NFS data. By the method, NFS reliability can be guaranteed effectively.
Description
Technical field
The present embodiments relate to NFS (Network File System, abbreviation NFS) skill
Art, more particularly to a kind of exchange method and device based on NFS.
Background technology
NFS is a kind of technology for shared file resource between network computer, and NFS includes client
End and service end, client by network by service end share out it is file system mounted to locally be
On system so that client can access the file for being stored in service end as accessing local file.
Fig. 1 is the NFS networking structure schematic diagrames of prior art.As illustrated, NFS includes main frame 1
With NFS service nodes 2, main frame 1 include NFS clients 3, ip protocol layer 4 and network interface card (Network
Interface Card, abbreviation NIC) 5, NFS service nodes 2 include NFS service ends 7, IP association
View layer 6, NIC8, NIC9 and NIC10, wherein, NIC8, NIC9 and NIC10 binding are same
Individual IP address.NIC5 constitutes 3 links, NFS between NIC8, NIC9, NIC10 respectively
Client 3 is communicated by a link therein with NFS service ends 7, if wherein one chain
Road is disconnected, and NFS clients 3 can also be led to using other both links with NFS service ends 7
Letter.
But, the NFS networking structures of prior art, when NFS service nodes 2 delay machine, NFS
Client 3 cannot be communicated with NFS service ends 7, cause the poor reliability of NFS.
The content of the invention
The embodiment of the present invention provides a kind of exchange method and device based on NFS, it is ensured that
The reliability of NFS.
In a first aspect, the embodiment of the present invention provides a kind of exchange method of NFS, the NFS includes main frame
With at least two NFS service nodes, the main frame include NFS clients and client plug-in, the master
At least include two communication links between machine and each NFS service node, methods described includes:The visitor
Family end plug-in unit receives the NFS request that the NFS clients send;The client plug-in clone is described
NFS request is cloned in NFS request, generation at least two;The client plug-in passes through the communication link,
Described at least two clone's NFS requests are sent respectively at least two NFS service nodes;Wherein,
At least two NFS service nodes have consistent NFS data.The method of this implementation, due to multiple
NFS service nodes provide service to main frame simultaneously, when certain NFS service node therein delays machine, its
His NFS service nodes still can provide service for main frame, it is ensured that the reliability of NFS.
With reference in a first aspect, in the first possible implementation of first aspect, the client plug-in
Described at least two clone's NFS requests are sent respectively to after at least two NFS service nodes,
Methods described also includes:The client plug-in is obtained by default call back function and returns to error code;Its
In, the default call back function be used for obtain at least two NFS service nodes operation conditions and
Send the communications link condition of clone's NFS request;The client plug-in returns to mistake according to described
Whether the communication link that errorcode decision sends clone's NFS request breaks down;If the client is inserted
Part determines that the communication link of the NFS request breaks down, then the client plug-in passes through the main frame
Other any communication links between target NFS service nodes send clone's NFS request;Wherein,
The target NFS service nodes are the corresponding NFS service nodes of the communication link for breaking down.This implementation
In the method for example, if the communication link for sending clone's NFS request breaks down, by client plug-in
Other any links between target NFS service nodes send clone's NFS request, so as to ensure NFS
The reliability of communication link between service node and main frame.
With reference to the first possible implementation of first aspect, second in first aspect may realization side
In formula, if all communication links between the main frame and target NFS service nodes break down,
The target NFS service nodes are labeled as malfunctioning node by the client plug-in, and are alerted, from
And the convenient NFS service nodes timely to breaking down are safeguarded.
With reference to first aspect the first or second may implementation, the third in first aspect can
In energy implementation, if the NFS includes a NFS service nodes and the 2nd NFS service nodes,
Then described at least two clone's NFS requests are sent respectively to described at least two by the client plug-in
After NFS service nodes, methods described also includes:The client plug-in receives a NFS respectively
The second request that the first request response and the 2nd NFS service nodes that service node sends send rings
Should;Wherein, the first request response includes being processed into work(message or processing failure message, described second
Request response includes being processed into work(message or processing failure message;The client plug-in please to described first
Ask response and the described second request response to be processed, and result is returned to the NFS clients.
In the present embodiment, success message or failed message of the client plug-in in request response judge that NFS takes
Whether business device is reachable, if wherein certain nfs server is unreachable, other nfs servers still can be with
For main frame provides service, it is ensured that the reliability of NFS.
With reference to the third possible implementation of first aspect, the 4th kind in first aspect may realization side
It is described that described first request response and the described second request response are processed in formula, and to the NFS
Client returns to result, including:If the first request response and the second request response include institute
Treatment success message is stated, then the client plug-in returns to treatment success response to the NFS clients;
Or, if the first request response and the second request response include the processing failure message, institute
State client plug-in and return to processing failure response to the NFS clients;Or, if first request
A request response in response and the second request response includes the treatment success message, and another please
Ask response include the processing failure message, then the client plug-in to the NFS clients return at
Reason success response.In the present embodiment, client plug-in is according to the success message asked in response or unsuccessfully disappears
Breath judges whether nfs server is reachable, if wherein certain nfs server is unreachable, other NFS
Server still can provide service for main frame, it is ensured that the reliability of NFS.
With reference to the third or the 4th kind of possible implementation of first aspect, the 5th kind in first aspect can
In energy implementation, the first request response includes first state value, and the second request response bag
Include the second state value;Then before the return result to the NFS clients, methods described is also wrapped
Include:The client plug-in generates virtual state value according to the first state value and second state value,
And preserve the corresponding pass between the virtual state value and the first state value and second state value
System;It is then described to return to result to the NFS clients, including:The client plug-in is to described
NFS clients are returned includes the result of the virtual state value.
With reference to the 5th kind of possible implementation of first aspect, the 6th kind in first aspect may realization side
In formula, the NFS request includes the virtual state value, then the client plug-in clones the NFS
NFS request is cloned in request, generation at least two, including:The client plug-in clones the NFS
NFS request and second clone's NFS request are cloned in request, generation first;The client plug-in is according to institute
The corresponding relation between virtual state value and the first state value and second state value is stated, institute is obtained
State first state value and second state value;The client plug-in replaces institute with the first state value
The virtual state value in first clone's NFS request is stated, described second is replaced with second state value
The virtual state value in clone's NFS request;Then the client plug-in is cloned described at least two
NFS request is sent respectively at least two NFS service nodes, including:The client plug-in will
The first NFS request after replacement is sent to a NFS service nodes, by replacement after the 2nd NFS
Request is sent to the 2nd NFS service nodes.The method of the present embodiment, real state value is carried
In NFS request so that NFS service nodes can receive real state value, when real state value
When invalid, NFS service nodes return to error message, it is ensured that the reliability of NFS.
With reference to any one possible implementation of first aspect, the 7th kind in first aspect may realization side
In formula, before the client plug-in receives the NFS request that the NFS clients send, methods described
Also include:The client plug-in obtains networking configuration information from the configuration file of the main frame;Wherein,
The networking configuration information includes the attribute information of at least two NFS service nodes and the master
Link information between machine and each NFS service node.The method of the present embodiment, each NFS service sections
Point provides multiple IP address to NFS clients, when main IP links are unavailable, uses other standby IP
Link, so as to the reliability of communication link in NFS is effectively ensured.
Second aspect, the embodiment of the present invention provides a kind of interactive device based on NFS, and the NFS includes
Main frame and at least two NFS service nodes, the main frame include NFS clients and the interactive device,
At least include two communication links, the interactive device bag between the main frame and each NFS service node
Include:Interface module, for receiving the NFS request that the NFS clients send;Processing module, is used for
The NFS request is cloned, NFS request is cloned in generation at least two;Sending module, for by described
Described at least two clone's NFS requests are sent respectively at least two NFS services by communication link
Node;Wherein, at least two NFS service nodes have consistent NFS data.
With reference to second aspect, in the first possible implementation of second aspect, the processing module is also
Error code is returned for being obtained by default call back function;Wherein, the default call back function is used for
The operation conditions for obtaining at least two NFS service nodes and the communication for sending clone's NFS request
Link circuit condition;And judge that the communication link for sending clone's NFS request is according to the return error code
No failure;If it is determined that the communication link of the NFS request breaks down, then the transmission mould is triggered
Block sends the clone by other any communication links between the main frame and target NFS service nodes
NFS request;Wherein, the target NFS service nodes are the corresponding NFS of the communication link for breaking down
Service node.
With reference to the first possible implementation of second aspect, second in second aspect may realization side
In formula, if all communication links between the main frame and target NFS service nodes break down,
The target NFS service nodes are labeled as malfunctioning node by the processing module, and are alerted.
With reference to second aspect the first or second may implementation, the third in second aspect can
In energy implementation, described device also includes receiver module, if the NFS includes that a NFS services section
Point and the 2nd NFS service nodes;Then the receiver module is used to receive the NFS services section respectively
The second request response that the first request response and the 2nd NFS service nodes that point sends send;Wherein,
The first request response includes being processed into work(message or processing failure message, the second request response bag
Include treatment success message or processing failure message;The processing module is additionally operable to the described first request response
Processed with the described second request response, and triggered the interface module and returned to the NFS clients
Result.
With reference to the third possible implementation of second aspect, the 4th kind in second aspect may realization side
In formula, the processing module is processed the described first request response and the described second request response, and
Trigger the interface module and return to result to the NFS clients, including:If first request
Response and the second request response include the treatment success message, then connect described in the processing module triggering
Mouth mold block returns to treatment success response to the NFS clients;Or, if it is described first request response and
Second request response includes the processing failure message, then the processing module triggers the interface module
Processing failure is returned to the NFS clients to respond;Or, if the first request response and second please
Asking one in response request response includes the treatment success message, and another request response includes institute
Processing failure message is stated, then the processing module triggers the interface module and returned to the NFS clients
Treatment success response.
With reference to the third or the 4th kind of possible implementation of second aspect, the 5th kind in second aspect can
In energy implementation, the first request response includes first state value, and the second request response bag
Include the second state value;Then the processing module is additionally operable to according to the first state value and second state
Value generation virtual state value, and the virtual state value is preserved with the first state value and second shape
Corresponding relation between state value;The processing module is returned by the interface module to the NFS clients
Returning includes the result of the virtual state value.
With reference to the 5th kind of possible implementation of second aspect, the 6th kind in second aspect may realization side
In formula, the NFS request includes the virtual state value, then the processing module clones the NFS
NFS request is cloned in request, generation at least two, including:The processing module clones the NFS request,
NFS request and second clone's NFS request are cloned in generation first;According to the virtual state value and described
Corresponding relation between one state value and second state value, obtains the first state value and described the
Two-state value;And replace the described virtual shape in the first clone NFS request with the first state value
State value, the virtual state value in the second clone NFS request is replaced with second state value;
Then described at least two clone's NFS requests are sent respectively at least two NFS by the sending module
Service node, including:The sending module by replacement after the first NFS request be sent to described first
NFS service nodes, by replacement after the second NFS request be sent to the 2nd NFS service nodes.
With reference to any one possible implementation of second aspect, the 7th kind in second aspect may realization side
In formula, the processing module is additionally operable to obtain networking configuration information from the configuration file of the main frame;Its
In, the networking configuration information includes attribute information, the Yi Jisuo of at least two NFS service nodes
State the link information between main frame and each NFS service node.
The interactive device based on NFS that second aspect is provided, the embodiment of the method for performing first aspect
Technical scheme, its realization principle and beneficial effect class this, here is omitted.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality
The accompanying drawing to be used needed for example or description of the prior art is applied to be briefly described, it should be apparent that, under
Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the NFS networking structure schematic diagrames of prior art;
Fig. 2 is the application scenarios schematic diagram of the exchange method based on NFS provided in an embodiment of the present invention;
Fig. 3 is the exchange method flow chart based on NFS that the embodiment of the present invention one is provided;
Fig. 4 is the exchange method flow chart based on NFS that the embodiment of the present invention two is provided;
Fig. 5 is the exchange method flow chart based on NFS that the embodiment of the present invention three is provided;
Fig. 6 is the mapping table of a kind of virtual state value and real state value;
Fig. 7 is the exchange method flow chart based on NFS that the embodiment of the present invention four is provided;
Fig. 8 is the structural representation of the interactive device based on NFS that the embodiment of the present invention five is provided;
Fig. 9 is the structural representation of the interactive device that the embodiment of the present invention six is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with this hair
Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made
The every other embodiment for obtaining, belongs to the scope of protection of the invention.
Fig. 2 is the application scenarios schematic diagram of the exchange method based on NFS provided in an embodiment of the present invention.Such as
Shown in Fig. 2, the scene includes main frame 11, nfs server node 12 and nfs server node 13,
Main frame includes NFS clients 14, plug-in unit 15 and NIC16, and nfs server node 12 includes NFS
Service end 17, NIC18, NIC19, nfs server node 13 include NFS service ends 22, NIC20,
NIC21, nfs server node 12 and the synchronization of nfs server node 13 to main frame 11 provide NFS
Service, also, there are multiple communication links between each NFS service node and main frame 11, when wherein
Certain communication link when disconnecting, it is possible to use other links are communicated, also, when therein one
Individual NFS service nodes delay machine when, another NFS service node still can to main frame 11 provide clothes
Business.More nfs server nodes can also be included in the scene, each NFS service node is to main frame
One or more IP address for differing, also, the IP ground that NFS service nodes are provided to main frame are provided
Location can have active and standby point, select one of IP address as primary ip address, and main frame takes with NFS
When business node communicates, the corresponding link of first-selected primary ip address is communicated, when the corresponding chain of primary ip address
During the failure of road, other standby corresponding links of IP address can be selected to be communicated.
Fig. 3 is the exchange method flow chart based on NFS that the embodiment of the present invention one is provided.The method application
In NFS, NFS includes main frame and at least two NFS service nodes, main frame include NFS clients and
Client plug-in, at least includes two communication links, such as Fig. 3 between main frame and each NFS service node
Shown, the method is comprised the following steps:
Step 101, client plug-in receive the NFS request that NFS clients send.
In the present embodiment, client call request sends function and sends NFS request to client plug-in,
Client plug-in sends function by customized treatment function replacement request, so that NFS request is intercepted and captured,
Client plug-in carries out turning for NFS request by the customized treatment function effective communication link of selection
Hair.
NFS request is cloned in step 102, client plug-in clone's NFS request, generation at least two.
In the present embodiment, because client needs to send NFS request to multiple NFS service nodes simultaneously,
Accordingly, it would be desirable to NFS request is cloned, the multiple NFS requests of generation.
Step 103, client plug-in are sent out at least two clone's NFS requests by communication link respectively
Give at least two NFS service nodes.
Wherein, at least two NFS service nodes have consistent NFS data.
In the present embodiment, before service is provided to client, for same main frame provides NFS services
Multiple NFS service nodes are needed first to ensure to possess consistent exported file system data, and subsequent client is inserted
Part can clone the NFS request of intercepting and capturing, and NFS request is transmitted to multiple NFS service nodes respectively,
To ensure the uniformity of file system data and NFS protocol state on multiple NFS service nodes.
The exchange method based on NFS that the present embodiment is provided, client plug-in receives NFS clients and sends
NFS request, client plug-in clone NFS request, generation at least two clone NFS requests, visitor
At least two clone's NFS requests are sent respectively at least two NFS by family end plug-in unit by communication link
Service node, because multiple NFS service nodes provide service to main frame simultaneously, as certain NFS therein
Service node delay machine when, other NFS service nodes still can provide service for main frame, it is ensured that
The reliability of NFS.
Fig. 4 is the exchange method flow chart based on NFS that the embodiment of the present invention two is provided.In above-mentioned Fig. 3
On the basis of illustrated embodiment, in step, " client plug-in sends out at least two clone's NFS requests respectively
After giving at least two NFS service nodes ", as shown in figure 4, the method is further comprising the steps of:
Step 201, client plug-in are obtained by default call back function and return to error code.
Wherein, default call back function is used to obtain the operation conditions and hair of at least two NFS service nodes
Send clone the communications link condition of NFS request.
In the present embodiment, clone's NFS request is transmitted to after NFS service nodes, whenever NFS
Request is completed, and no matter NFS request succeeds or failure, can all return to default call back function, passes through
Call back function, client plug-in can obtain the performance of each NFS request, be returned such that it is able to basis
Return error code and judge whether service node or transmission link break down, if need the toggle path to carry out
The forwarding of NFS request.
Step 202, client plug-in judge to send the communication chain of clone's NFS request according to error code is returned
Whether break down on road;If so, i.e. client plug-in determines that the communication link of NFS request breaks down,
Step 203 is then performed, if it is not, i.e. client plug-in determines that the communication link of NFS request is normal, is then held
Row step 204.
In the present embodiment, judge whether communication link fails occur according to the type for returning to error code, if
The return error code is the error code of communication link fails type, then explanation sends the logical of clone's NFS request
Whether letter link breaks down.
Step 203, client plug-in are by other any chains between main frame and target NFS service nodes
Road sends clone's NFS request.
In the present embodiment, when certain communication link breaks down, client plug-in can be from other
Communication link arbitrarily selection one resends clone's NFS request.For example, main frame and one of those
Multiple communication links are deposited between NFS service nodes, when client plug-in sends NFS using main IP links
During request, main IP links break down, then other between main frame and the NFS service nodes are for IP
One link forwarding NFS request of any selection in link.
Alternatively, if all communication links between main frame and target NFS service nodes break down,
Then target NFS service nodes are labeled as malfunctioning node by client plug-in, and are alerted.
In the present embodiment, if client plug-in retried one by one main frame and target NFS service nodes it
Between all links send NFS request, but all send failure, then these links all break down, then
Target NFS service nodes are labeled as malfunctioning node by client plug-in, and are alerted, for example, passing through
Display interface sends prompt message to user, convenient timely to notify user's NFS service node failures
Failed services node is repaired.
Wherein, target NFS service nodes are the corresponding NFS service nodes of the communication link for breaking down.
Step 204, client plug-in are continuing with original communication link and send clone's NFS request.
The exchange method based on NFS that the present embodiment is provided, after transmission clone's NFS request, client
Plug-in unit is obtained by default call back function and returns to error code, judges to send clone according to error code is returned
Whether the communication link of NFS request breaks down, if event occurs in the communication link for sending clone's NFS request
Barrier, then send clone by other any links between client plug-in and target NFS service nodes
NFS request, so as to ensure the reliability of communication link between NFS service nodes and main frame.
Fig. 5 is the exchange method flow chart based on NFS that the embodiment of the present invention three is provided.The present embodiment with
NFS includes as a example by a NFS service nodes and the 2nd NFS service nodes, detailed description Fig. 3 or
The specific implementation of embodiment illustrated in fig. 4.On the basis of embodiment illustrated in fig. 3, in step " visitor
Be sent respectively at least two clone's NFS requests after at least two NFS service nodes by family end plug-in unit "
Afterwards, the method also includes:
Step 301, client plug-in receive the first request response of NFS service nodes transmission respectively
The the second request response sent with the 2nd NFS service nodes.
Wherein, the first request response includes being processed into work(message or processing failure message, the second request response
Including treatment success message or processing failure message.
In the present embodiment, NFS service nodes receive client plug-in transmission clone's NFS request after,
Request response can be returned to client plug-in, the request is responded for representing whether NFS request is processed successfully.
It should be noted that failed message can be disappearing for the first expression processing failure of NFS service nodes generation
Breath, or client plug-in are not received at the appointed time after it have sent NFS request
When the request that NFS service nodes are returned is responded, then it is assumed that send NFS request failure.
Step 302, client plug-in are processed the first request response and the second request response.
In the present embodiment, client plug-in will clone NFS request be transmitted to NFS service nodes it
Afterwards, it is necessary to after waiting the corresponding request response of all of clone's NFS request all to receive, could basis
All of respond request judges the completion result of NFS request, so as to return to treatment knot to upper strata client
Really.Because clone's NFS request is independently transmitted by each self-corresponding communication link, so existing several
Possible request response results combination is planted, client plug-in is needed according to these combinations to correspondingly upper strata
Client returns to result, particularly may be divided into following three kinds of situations:
The first situation:If the first request response and the second request response include treatment success message,
Client plug-in returns to treatment success response to NFS clients.
In the present embodiment, if the first request response and the second request response include treatment success message,
Link then between explanation main frame and two NFS service nodes is normal, also, two NFS service nodes
Also normal operation, can provide service for main frame.
Second situation:If the first request response and the second request response include processing failure message,
Client plug-in returns to processing failure and responds to NFS clients.
The third situation:If a request response in the first request response and the second request response includes place
Reason success message, and another request response includes processing failure message, then client plug-in is to NFS visitors
Family end returns to treatment success response.
In the present embodiment, if a request response in the first request response and the second request response includes
Treatment success message, and another request response includes processing failure message, for example, a NFS is serviced
The first request response that one communication link of node is returned includes processing success message, the 2nd NFS clothes
Include processing failure message in the second request response that all communication links of business node are returned, then illustrate
First NFS service node normal operations, therefore, client plug-in is to the success of NFS clients transmission processe
Response.
It should be noted that in second and the third situation, if NFS request processing failure, first
To judge that the reason for causing unsuccessfully is that communication link fails or NFS services occur according to error code is returned
It is abnormal, if the processing failure message that the reason for causing NFS request processing failure returns for NFS service nodes,
Other communication links need not then be retried;If the reason for causing NFS request processing failure is communication link
Failure, then client plug-in need to attempt one by one other all communications between main frame and NFS service nodes
Link, if other communication links break down, illustrates that the NFS service nodes are unreachable, it is impossible to
For main frame provides service.
Alternatively, the first request response includes first state value, and the second request response includes second
State value, then after step 302, to NFS clients return result before, can also include
Following steps:
Step 303, client plug-in generate virtual state value according to first state value and the second state value,
And preserve the corresponding relation between virtual state value and first state value and the second state value.
Step 304, client plug-in are returned to NFS clients includes the result of virtual state value.
In the present embodiment, result includes that virtual state value, treatment success response or processing failure are rung
Should.For v3 and former NFS protocol version, because being stateless agreement, it is not related to shape
State treatment, and v4 protocol versions introduce State concept, and one can be carried in the request that NFS clients send
A little status informations, NFS service ends can be verified after receiving status information, so as to judge an operation
Validity, status information generates by NFS service ends and safeguarded (such as FileHandle, StateID etc.),
The status information of different NFS service ends generations can be variant, so client plug-in is needed according to state
Information carries out specially treated to state.The status information can be the state value in the present embodiment, i.e., first
State value is the information of the validity for verification operation of the service end generation in a NFS service nodes
Value, the second state value is the service end generation in the 2nd NFS service nodes for the effective of verification operation
The value of information of property.
In addition, the state value that each NFS service nodes return to client plug-in is actual value, client is inserted
Part needs the real state value returned according to each NFS service nodes to generate virtual state value, then will be virtual
State value is sent to client also, client plug-in also needs to be virtual state value and real state value
Between corresponding relation safeguarded.Virtual state value can be deposited with Hash sheet forms, each Hash
List item includes the pointer for pointing to real state value pair.Fig. 6 is a kind of virtual state value and real state
The mapping table of value.As shown in fig. 6, depositing virtual state value and real state value in the form of Hash tables
Between corresponding relation, each virtual state value correspond to two real state values.
Alternatively, step 303 can also be performed before step 302, and step 303 can also be with step
301 perform simultaneously, are not any limitation as in the present invention.
The exchange method based on NFS that the present embodiment is provided, client plug-in receives a NFS respectively
The second request response that the first request response and the 2nd NFS service nodes that service node sends send, it is right
First request response and the second request response are processed, so as to differentiate communication link and NFS service sections
Whether point is broken down, and result is returned into NFS clients, in order to faulty link and event
Barrier node is timely safeguarded.If the first request response includes first state value, and second request
Response includes the second state value, then client plug-in is virtual according to first state value and the generation of the second state value
State value, and the corresponding relation between virtual state value and first state value and the second state value is preserved, visitor
Virtual state value is sent to NFS clients by family end plug-in unit, in order in the follow-up NFS request for sending
Carrier state value so that NFS service ends judge whether operation is effective according to state value.
Fig. 7 is the exchange method flow chart based on NFS that the embodiment of the present invention four is provided.The embodiment is related to
And be when NFS request includes status information, client plug-in to NFS service nodes send NFS
The detailed process of request.As shown in fig. 7, the method is comprised the following steps:
Step 401, client plug-in receive the NFS request that NFS clients send;NFS request includes
Virtual state value.
NFS request and second gram are cloned in step 402, client plug-in clone's NFS request, generation first
Grand NFS request.
Step 403, client plug-in are according between virtual state value and first state value and the second state value
Corresponding relation, obtain first state value and the second state value.
Step 404, client plug-in first state value replace the first virtual shape cloned in NFS request
State value, the virtual state value in second clone's NFS request is replaced with the second state value.
Step 405, client plug-in by replacement after the first NFS request be sent to a NFS service section
Point, by replacement after the second NFS request be sent to the 2nd NFS service nodes.
In the present embodiment, because the state value that client plug-in returns to NFS clients is a virtual value,
Therefore, NFS clients to NFS service nodes send NFS request when, use it is necessarily virtual
Value, is not the value of the true generation of NFS service nodes, therefore client plug-in is needed in forwarding clone NFS
State value conversion is carried out before request, the mapping table according to above-mentioned Fig. 6 is converted to respectively virtual state value
The time of day value of NFS service nodes.
The exchange method based on NFS that the present embodiment is provided, client plug-in receives NFS clients and sends
The NFS request including virtual state value, generation first clone NFS request and second clone NFS please
Ask, according to the corresponding relation between virtual state value and first state value and the second state value, obtain first
State value and the second state value, the virtual state value in first clone's NFS request is replaced with first state value,
With the second state value replace second clone NFS request in virtual state value, by replacement after a NFS
Request be sent to a NFS service nodes, by replacement after the second NFS request be sent to a NFS
Service node so that NFS service nodes can receive real state value, when real state value is invalid
When, NFS service nodes return to error message, it is ensured that the reliability of NFS.
Alternatively, before client plug-in receives the NFS request that NFS clients send, method also includes:
Client plug-in obtains networking configuration information from the configuration file of main frame;Wherein, networking configuration information bag
Include between the attribute information and main frame of at least two NFS service nodes and each NFS service node
Link information.
In the present embodiment, when system initialization or client plug-in receive acquisition instruction, from master
Networking configuration information is read in the configuration file of machine, so as to obtain NFS entirety mesh informations, and then is determined
Available NFS service nodes, and the connecting link with each service node.Shown below is a kind of specific
Configuration format:
[NFS Server 1]
The main IP of Master_IP=10.0.0.1 #
Slave_IP1=10.0.0.2 # are for IP1
…
Slave_IPn=10.0.0.n # are for IPn
[NFS Server 2]
Master_IP=10.0.1.1
…
Slave_IPn=10.0.1.n
Each configuration section is divided with NFS service nodes, and each NFS service node is provided to NFS clients
Multiple IP address, connected reference NFS services are set up for NFS clients.Each NFS service node
IP address is divided into primary ip address and standby IP address, and link where primary ip address is client plug-in forwarding
The first-selected link of NFS request, when only the link is unavailable, can just use other standby IP links, from
And the reliability of NFS links is effectively ensured.
Fig. 8 is the structural representation of the interactive device based on NFS that the embodiment of the present invention five is provided.NFS
Including main frame and at least two NFS service nodes, main frame includes NFS clients and interactive device, main frame
At least include two communication links between each NFS service node, as shown in figure 8, interactive device bag
Include:Interface module 31, processing module 32 and sending module 33.Interface module 31 is used to receive NFS
The NFS request that client sends;Processing module 32 is used to clone NFS request, generates at least two grams
Grand NFS request;Sending module 33 is used for by communication link, by least two clone's NFS requests point
At least two NFS service nodes are not sent to;Wherein, at least two NFS service nodes have consistent
NFS data.
The device of the present embodiment, can be used to perform the technical scheme of embodiment of the method shown in Fig. 3, its realization
Principle is similar with beneficial effect, and here is omitted.
Alternatively, processing module 32 is additionally operable to be obtained by default call back function and returns to error code;Wherein,
Default call back function is used to obtain the operation conditions of at least two NFS service nodes and sends clone NFS
The communications link condition of request;And judge to send the communication link of clone's NFS request according to error code is returned
Whether break down;If it is determined that the communication link of NFS request breaks down, then sending module 33 is triggered
Clone's NFS request is sent by other any communication links between main frame and target NFS service nodes;
Wherein, target NFS service nodes are the corresponding NFS service nodes of the communication link for breaking down.
Alternatively, if all communication links between main frame and target NFS service nodes break down,
Then target NFS service nodes are labeled as malfunctioning node by processing module 32, and are alerted.
The device of the present embodiment, can be used to perform the technical scheme of embodiment of the method shown in Fig. 4, its realization
Principle is similar with beneficial effect, and here is omitted.
Alternatively, on the basis of embodiment illustrated in fig. 8, the device can also include receiver module (figure
Not shown in), receiver module is connected with processing module 32, if NFS includes a NFS service nodes
With the 2nd NFS service nodes;Then receiver module is additionally operable to receive NFS service nodes transmission respectively
The second request response that first request response and the 2nd NFS service nodes send;Wherein, the first request rings
Treatment success message or processing failure message should be included, the second request response includes being processed into work(message or place
Reason failed message;Processing module 32 is additionally operable to process the first request response and the second request response,
And interface module 31 is triggered to NFS clients return result.
Alternatively, 32 pairs first request responses of processing module and the second request response are processed, and are triggered
Interface module 31 returns to result to NFS clients, including:If the first request response and second please
Asking response includes treatment success message, then processing module 32 triggers interface module 31 to NFS clients
Return to treatment success response;Or, if the first request response and the second request response include processing failure
Message, then the triggering interface module 31 of processing module 32 is to the return processing failure response of NFS clients;Or
Person, if a request response in the first request response and the second request response includes being processed into work(message,
And another request response includes processing failure message, then processing module 32 triggers interface module 31 to NFS
Client returns to treatment success response.
Alternatively, the first request response includes first state value, and the second request response includes the second state
Value;Then processing module 32 is additionally operable to according to first state value and the second state value generation virtual state value, and
Preserve virtual state value and the corresponding relation between first state value and the second state value;Processing module 32 is led to
Crossing interface module 31 and being returned to NFS clients includes the result of virtual state value.
The device of the present embodiment, can be used to perform the technical scheme of embodiment of the method shown in Fig. 5, its realization
Principle is similar with beneficial effect, and here is omitted.
Alternatively, NFS request includes virtual state value, then the clone of processing module 32 NFS request, raw
Into at least two clone's NFS requests, including:Processing module 32 clones NFS request, generates first gram
Grand NFS request and second clone's NFS request;According to virtual state value and first state value and the second state
Corresponding relation between value, obtains first state value and the second state value;And replace the with first state value
Virtual state value in one clone's NFS request, with the second state value replacement the second clone NFS request
Virtual state value;Then at least two clone's NFS requests are sent respectively at least two by sending module 33
NFS service nodes, including:Sending module 33 by replacement after the first NFS request be sent to a NFS
Service node, by replacement after the second NFS request be sent to the 2nd NFS service nodes.
Alternatively, processing module 32 is additionally operable to obtain networking configuration information from the configuration file of main frame;Its
In, the attribute information and main frame of networking configuration information including at least two NFS service nodes and each
Link information between NFS service nodes.
The device of the present embodiment, can be used to perform the technical scheme of embodiment of the method shown in Fig. 7, its realization
Principle is similar with beneficial effect, and here is omitted.
Fig. 9 is the structural representation of the interactive device that the embodiment of the present invention six is provided.The equipment can be with integrated
In the inside of above-mentioned main frame, as shown in figure 9, the interactive device includes transmitter 41, processor 42, leads to
Letter port 43.COM1 43 is used to receive the NFS request of NFS clients transmission;Processor 42
For cloning NFS request, NFS request is cloned in generation at least two;Transmitter 41 is used for by communication
At least two clone's NFS requests are sent respectively at least two NFS service nodes by link;Wherein,
At least two NFS service nodes have consistent NFS data.
Alternatively, processor 42 is additionally operable to be obtained by default call back function and returns to error code;Wherein,
Default call back function is used to obtain the operation conditions of at least two NFS service nodes and sends clone NFS
The communications link condition of request;Judge to send the communication link of clone's NFS request according to error code is returned
Whether break down;If client plug-in determines that the communication link of NFS request breaks down, triggering hair
Emitter 41 sends clone by other any communication links between main frame and target NFS service nodes
NFS request;Wherein, target NFS service nodes are the corresponding NFS clothes of the communication link for breaking down
Business node.
Alternatively, if all communication links between main frame and target NFS service nodes break down,
Then target NFS service nodes are labeled as malfunctioning node by processor 42, and are alerted.
Alternatively, the equipment can also include receiver (not shown), receiver and processor coupling
Connect, if NFS includes a NFS service nodes and the 2nd NFS service nodes, receiver is used to divide
Not Jie Shou the first request response for sending of a NFS service nodes and the 2nd NFS service nodes send the
Two request responses;Wherein, the first request response includes being processed into work(message or processing failure message, second
Request response includes being processed into work(message or processing failure message;Processor 42 is additionally operable to ring the first request
Should with second request response be processed, and trigger by COM1 43 to NFS client returns at
Reason result.
Alternatively, 42 pairs first request responses of processor and the second request response is processed, and by logical
Letter port 43 returns to result to NFS clients, including:If the first request response and the second request
Response includes treatment success message, then returned to NFS clients by COM1 43 and processed successfully
Response;Or, if the first request response and the second request response include processing failure message, pass through
COM1 43 returns to processing failure and responds to NFS clients;Or, if the first request response and the
A request response in two request responses includes being processed into work(message, and another request response includes place
Reason failed message, then return to treatment success response by COM1 43 to NFS clients.
Alternatively, the first request response includes first state value, and the second request response includes the second state
Value;Then processor 42 is additionally operable to according to first state value and the second state value generation virtual state value, and is protected
Deposit the corresponding relation between virtual state value and first state value and the second state value;Transmitter 41 is additionally operable to
Being returned to NFS clients includes the result of virtual state value.
Alternatively, NFS request includes virtual state value, then the clone of processor 42 NFS request, generation
At least two clone's NFS requests, including:Processor 42 clones NFS request, and NFS is cloned in generation first
Request and second clone's NFS request;According between virtual state value and first state value and the second state value
Corresponding relation, obtain first state value and the second state value;First is replaced with first state value clone NFS
Virtual state value in request, the virtual state value in second clone's NFS request is replaced with the second state value;
Then at least two clone's NFS requests are sent respectively at least two NFS service nodes by transmitter 41,
Including:Transmitter 41 by replacement after the first NFS request be sent to a NFS service nodes, will replace
The second NFS request after changing is sent to the 2nd NFS service nodes.
Alternatively, processor 42 is additionally operable to obtain networking configuration information from the configuration file of main frame;Wherein,
Networking configuration information includes the attribute information and main frame of at least two NFS service nodes and each NFS
Link information between service node.
The device of the present embodiment, can be used for performing the technology of any shown embodiments of the method for Fig. 3 to Fig. 7
Scheme, its realization principle is similar with technique effect, and here is omitted.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the related hardware of programmed instruction.Foregoing program can be stored in a computer can
In reading storage medium.The program upon execution, performs the step of including above-mentioned each method embodiment;And
Foregoing storage medium includes:It is read-only storage (Read-Only Memory, abbreviation ROM), random
Access memory (random access memory, abbreviation RAM), magnetic disc or CD etc. are various can be with
The medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right
Its limitation;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common
Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments,
Or equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and
The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.
Claims (16)
1. a kind of exchange method based on NFS NFS, it is characterised in that the NFS bags
Main frame and at least two NFS service nodes are included, the main frame includes NFS clients and client plug-in,
At least include two communication links between the main frame and each NFS service node, methods described includes:
The client plug-in receives the NFS request that the NFS clients send;
The client plug-in clones the NFS request, and NFS request is cloned in generation at least two;
The client plug-in is distinguished described at least two clone's NFS requests by the communication link
It is sent at least two NFS service nodes;Wherein, at least two NFS service nodes have
Consistent NFS data.
2. method according to claim 1, it is characterised in that the client plug-in will described in extremely
Few two clones NFS request is sent respectively to after at least two NFS service nodes, methods described
Also include:
The client plug-in is obtained by default call back function and returns to error code;Wherein, it is described default
Call back function be used to obtain the operation conditions of at least two NFS service nodes and send the clone
The communications link condition of NFS request;
The client plug-in judges to send the communication of clone's NFS request according to the return error code
Whether link breaks down;
If the client plug-in determines that the communication link of the NFS request breaks down, the client
End plug-in unit sends described by other any communication links between the main frame and target NFS service nodes
Clone's NFS request;Wherein, the target NFS service nodes are that the communication link for breaking down is corresponding
NFS service nodes.
3. method according to claim 2, it is characterised in that if the main frame and target NFS
All communication links between service node break down, then the client plug-in is by the target
NFS service nodes are labeled as malfunctioning node, and are alerted.
4. the method according to claim any one of 1-3, it is characterised in that if the NFS includes
First NFS service nodes and the 2nd NFS service nodes, then the client plug-in is by described at least two
Clone's NFS request is sent respectively to after at least two NFS service nodes, and methods described also includes:
The client plug-in receive respectively the first request response that the NFS service nodes send and
The second request response that the 2nd NFS service nodes send;Wherein, the first request response includes
Treatment success message or processing failure message, the second request response include being processed into work(message or treatment
Failed message;
The client plug-in is processed the described first request response and the described second request response, and
Result is returned to the NFS clients.
5. method according to claim 4, it is characterised in that described to the described first request response
Processed with the described second request response, and result is returned to the NFS clients, including:
If the first request response and the second request response include the treatment success message, described
Client plug-in returns to treatment success response to the NFS clients;
Or,
If the first request response and the second request response include the processing failure message, described
Client plug-in returns to processing failure and responds to the NFS clients;
Or,
If a request response in the first request response and the second request response includes described being processed into
Work(message, and another request response includes the processing failure message, then the client plug-in is to institute
State NFS clients and return to treatment success response.
6. the method according to claim 4 or 5, it is characterised in that the first request response bag
First state value is included, and the second request response includes the second state value;It is then described to NFS visitors
Before family end returns to result, methods described also includes:
The client plug-in is according to the first state value and second state value generation virtual state
Value, and preserve corresponding between the virtual state value and the first state value and second state value
Relation;
It is then described to return to result to the NFS clients, including:
The client plug-in is returned to the NFS clients includes the treatment knot of the virtual state value
Really.
7. method according to claim 6, it is characterised in that the NFS request includes described
Virtual state value, then the client plug-in clone NFS request, generates at least two and clones NFS
Request, including:
The client plug-in clones the NFS request, and NFS request and the second clone are cloned in generation first
NFS request;
The client plug-in is according to the virtual state value and the first state value and second state
Corresponding relation between value, obtains the first state value and second state value;
The client plug-in with the first state value replace it is described first clone NFS request in it is described
Virtual state value, the described virtual shape in the second clone NFS request is replaced with second state value
State value;
Then described at least two clone's NFS requests are sent respectively to described at least two by the client plug-in
Individual NFS service nodes, including:
The client plug-in by replacement after the first NFS request be sent to NFS service section
Point, by replacement after the second NFS request be sent to the 2nd NFS service nodes.
8. the method according to claim any one of 1-7, it is characterised in that the client plug-in
Before receiving the NFS request that the NFS clients send, methods described also includes:
The client plug-in obtains networking configuration information from the configuration file of the main frame;Wherein, institute
State attribute information and the main frame of the networking configuration information including at least two NFS service nodes
With the link information between each NFS service node.
9. a kind of interactive device based on NFS NFS, it is characterised in that the NFS bags
Main frame and at least two NFS service nodes are included, the main frame includes NFS clients and the interactive device,
At least include two communication links, the interactive device bag between the main frame and each NFS service node
Include:
Interface module, for receiving the NFS request that the NFS clients send;
Processing module, for cloning the NFS request, NFS request is cloned in generation at least two;
Sending module, for by the communication link, by described at least two clone's NFS request difference
It is sent at least two NFS service nodes;Wherein, at least two NFS service nodes have
Consistent NFS data.
10. device according to claim 9, it is characterised in that the processing module is additionally operable to lead to
Cross default call back function and obtain return error code;Wherein, the default call back function is used to obtain institute
The operation conditions for stating at least two NFS service nodes and the communication link shape for sending clone's NFS request
Condition;And judge whether the communication link for sending clone's NFS request occurs according to the return error code
Failure;If it is determined that the communication link of the NFS request breaks down, then trigger the sending module and pass through
Other any communication links between the main frame and target NFS service nodes send the clone NFS
Request;Wherein, the target NFS service nodes are the corresponding NFS services of the communication link for breaking down
Node.
11. devices according to claim 10, it is characterised in that if the main frame and target NFS
All communication links between service node break down, then the processing module is by the target NFS
Service node is labeled as malfunctioning node, and is alerted.
12. device according to claim any one of 9-11, it is characterised in that described device is also wrapped
Receiver module is included, if the NFS includes a NFS service nodes and the 2nd NFS service nodes;Then
The receiver module is used to receive the first request response and the institute that a NFS service nodes send respectively
State the second request response of the 2nd NFS service nodes transmission;Wherein, the first request response includes place
Reason success message or processing failure message, the second request response include that being processed into work(message or treatment loses
Lose message;
The processing module is additionally operable to at the described first request response and the described second request response
Reason, and the interface module is triggered to NFS clients return result.
13. devices according to claim 12, it is characterised in that the processing module is to described
One request response and the described second request response are processed, and trigger the interface module to the NFS
Client returns to result, including:
If the first request response and the second request response include the treatment success message, described
Processing module triggers the interface module and returns to treatment success response to the NFS clients;
Or,
If the first request response and the second request response include the processing failure message, described
Processing module triggers the interface module and returns to processing failure response to the NFS clients;
Or,
If a request response in the first request response and the second request response includes described being processed into
Work(message, and another request response includes the processing failure message, then the processing module triggers institute
State interface module and return to treatment success response to the NFS clients.
14. device according to claim 12 or 13, it is characterised in that first request rings
First state value should be included, and the second request response includes the second state value;The then processing module
It is additionally operable to according to the first state value and second state value generation virtual state value, and preserves described
Corresponding relation between virtual state value and the first state value and second state value;
The processing module is returned by the interface module to the NFS clients includes the virtual shape
The result of state value.
15. devices according to claim 14, it is characterised in that the NFS request includes institute
Virtual state value is stated, then the processing module clones the NFS request, NFS is cloned in generation at least two
Request, including:
The processing module clones the NFS request, and NFS request and the second clone are cloned in generation first
NFS request;According between the virtual state value and the first state value and second state value
Corresponding relation, obtains the first state value and second state value;And replaced with the first state value
The virtual state value changed in the first clone NFS request, replaces described with second state value
The virtual state value in second clone's NFS request;
Then described at least two clone's NFS requests are sent respectively to described at least two by the sending module
NFS service nodes, including:
The sending module by replacement after the first NFS request be sent to a NFS service nodes,
The second NFS request after by replacement is sent to the 2nd NFS service nodes.
16. device according to claim any one of 9-15, it is characterised in that the processing module
It is additionally operable to obtain networking configuration information from the configuration file of the main frame;Wherein, confidence is matched somebody with somebody in the networking
Breath includes the attribute information and the main frame of at least two NFS service nodes and each NFS
Link information between service node.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510788424.3A CN106708881B (en) | 2015-11-17 | 2015-11-17 | Interaction method and device based on network file system |
PCT/CN2016/106135 WO2017084587A1 (en) | 2015-11-17 | 2016-11-16 | Interactive method and apparatus based on network file system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510788424.3A CN106708881B (en) | 2015-11-17 | 2015-11-17 | Interaction method and device based on network file system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106708881A true CN106708881A (en) | 2017-05-24 |
CN106708881B CN106708881B (en) | 2020-08-25 |
Family
ID=58717380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510788424.3A Active CN106708881B (en) | 2015-11-17 | 2015-11-17 | Interaction method and device based on network file system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106708881B (en) |
WO (1) | WO2017084587A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198245A (en) * | 2019-07-05 | 2019-09-03 | 珠海格力电器股份有限公司 | A kind of equipment fault self checking method |
CN110493038A (en) * | 2019-08-01 | 2019-11-22 | 苏州浪潮智能科技有限公司 | A kind of traffic model optimization method and device |
CN113297148A (en) * | 2021-06-18 | 2021-08-24 | 杭州安恒信息安全技术有限公司 | Method, device and equipment for acquiring service log data and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1554055A (en) * | 2001-07-23 | 2004-12-08 | �Ƚ�װ�ù�˾ | High-availability cluster virtual server system |
US20140082154A1 (en) * | 2012-08-31 | 2014-03-20 | Tencent Technology (Shenzhen) Company Limited | File sharing method, terminal and relay server |
CN103713974A (en) * | 2014-01-07 | 2014-04-09 | 浪潮(北京)电子信息产业有限公司 | High-performance job scheduling management node dual-computer reinforcement method and device |
CN103986789A (en) * | 2014-06-05 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Method for realizing dual redundant of NFS (network file system) nodes in HADOOP HA (home address) cluster based on NFS |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8533171B2 (en) * | 2011-04-08 | 2013-09-10 | Symantec Corporation | Method and system for restarting file lock services at an adoptive node during a network filesystem server migration or failover |
CN104636441B (en) * | 2015-01-07 | 2018-02-06 | 浪潮(北京)电子信息产业有限公司 | NFS implementation method and device |
-
2015
- 2015-11-17 CN CN201510788424.3A patent/CN106708881B/en active Active
-
2016
- 2016-11-16 WO PCT/CN2016/106135 patent/WO2017084587A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1554055A (en) * | 2001-07-23 | 2004-12-08 | �Ƚ�װ�ù�˾ | High-availability cluster virtual server system |
US20140082154A1 (en) * | 2012-08-31 | 2014-03-20 | Tencent Technology (Shenzhen) Company Limited | File sharing method, terminal and relay server |
CN103713974A (en) * | 2014-01-07 | 2014-04-09 | 浪潮(北京)电子信息产业有限公司 | High-performance job scheduling management node dual-computer reinforcement method and device |
CN103986789A (en) * | 2014-06-05 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Method for realizing dual redundant of NFS (network file system) nodes in HADOOP HA (home address) cluster based on NFS |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198245A (en) * | 2019-07-05 | 2019-09-03 | 珠海格力电器股份有限公司 | A kind of equipment fault self checking method |
CN110493038A (en) * | 2019-08-01 | 2019-11-22 | 苏州浪潮智能科技有限公司 | A kind of traffic model optimization method and device |
CN110493038B (en) * | 2019-08-01 | 2021-10-01 | 苏州浪潮智能科技有限公司 | Communication model optimization method and device |
CN113297148A (en) * | 2021-06-18 | 2021-08-24 | 杭州安恒信息安全技术有限公司 | Method, device and equipment for acquiring service log data and readable storage medium |
CN113297148B (en) * | 2021-06-18 | 2023-06-06 | 杭州安恒信息安全技术有限公司 | Method, device and equipment for collecting service log data and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017084587A1 (en) | 2017-05-26 |
CN106708881B (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9774697B2 (en) | Method, apparatus, and system for pushing notification | |
CN104539743B (en) | A kind of cloud computing system and its control method | |
US8761001B2 (en) | Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server | |
CN108650262A (en) | A kind of cloud platform extended method and system based on micro services framework | |
US8880703B2 (en) | Address distribution method, device and system thereof | |
CN104811476B (en) | A kind of High Availabitity deployment implementation method of application-oriented service | |
CN110351246A (en) | Server cluster system Socket management method and device | |
CN106464746A (en) | Computer system to support failover in event stream processing system | |
CN106911728A (en) | The choosing method and device of host node in distributed system | |
CN110417915A (en) | A kind of PUSH message transmission method, device, storage medium and electronic equipment | |
CN106911648B (en) | Environment isolation method and equipment | |
CN103581276A (en) | Cluster management device and system, service client side and corresponding method | |
US10341138B2 (en) | Spanning tree protocol enabled N-node link aggregation system | |
CN105939365A (en) | Method and device for obtaining data from service panel kernel mode by main control panel user mode | |
CN104468151A (en) | System and method for keeping TCP (Transmission Control Protocol) session during cluster switching | |
CN106708881A (en) | Interaction method and device based on network file system | |
CN113783910B (en) | Data forwarding method, device and system | |
CN113708979A (en) | Network acceleration method and device | |
CN106487598B (en) | The more examples of isomery redundancy Snmp agreements realize system and its implementation | |
US20220060560A1 (en) | Cloud communication method and apparatus | |
CN105933352B (en) | Method of data synchronization, client and system between client-based server | |
CN113949631A (en) | Client disaster tolerance processing method and system and electronic equipment | |
CN104301240B (en) | Data transmission method and system | |
CN108900575B (en) | Long connection hierarchical communication method and system based on mobile terminal | |
CN114301763A (en) | Distributed cluster fault processing method and system, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |