PERFORMING ONLINE IN-PLACE UPGRADE OF CLUSTER FILE SYSTEM
First Claim
1. A method of upgrading a version of a shared file system to an upgraded shared filed system without taking the shared file system offline, wherein the shared file system is supported by at least one storage array and accessed by a plurality of host computer systems, each host computer system including a file system driver for accessing data on the at least one storage array stored in accordance with the shared file system, said method comprising:
- transmitting a request to each host computer system to upgrade its respective file system driver to a new file system driver that corresponds to the upgraded shared file system;
upon receiving a notification from each of the host computer systems that the host computer system has upgraded its respective file system driver to the new file system driver, transmitting a request to a selected host computer system to upgrade file system management data structures stored in the shared file system for correspondence with the upgraded shared file system; and
transmitting a request to each host computer system to upgrade, for correspondence with the upgraded shared file system, file descriptors for each file for which the host computer system currently holds a file lock, wherein each file descriptor for any other files whose corresponding file locks are not currently in possession of any of the host computer systems is subsequently upgraded by the new file system driver of a host computer system that next obtains a file lock in order to access the file corresponding to the file descriptor.
1 Assignment
0 Petitions
Accused Products
Abstract
A shared file system for a group of host computer systems is upgraded in-place in a manner that the shared file system can remain online and accessible to the host computer systems. Each host computer system first loads a new file system driver that is backward compatible with a driver that is currently used by them to interact with the file system. Second, one of the host computer systems acquires locks to file system management data structures of the file system, upgrades the file system management data structures, and upon completion thereof, notifies the other host computer system that the upgrade to the file system management data structures is complete.
57 Citations
23 Claims
-
1. A method of upgrading a version of a shared file system to an upgraded shared filed system without taking the shared file system offline, wherein the shared file system is supported by at least one storage array and accessed by a plurality of host computer systems, each host computer system including a file system driver for accessing data on the at least one storage array stored in accordance with the shared file system, said method comprising:
-
transmitting a request to each host computer system to upgrade its respective file system driver to a new file system driver that corresponds to the upgraded shared file system; upon receiving a notification from each of the host computer systems that the host computer system has upgraded its respective file system driver to the new file system driver, transmitting a request to a selected host computer system to upgrade file system management data structures stored in the shared file system for correspondence with the upgraded shared file system; and transmitting a request to each host computer system to upgrade, for correspondence with the upgraded shared file system, file descriptors for each file for which the host computer system currently holds a file lock, wherein each file descriptor for any other files whose corresponding file locks are not currently in possession of any of the host computer systems is subsequently upgraded by the new file system driver of a host computer system that next obtains a file lock in order to access the file corresponding to the file descriptor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of upgrading a version of a shared file system to an upgraded shared filed system without taking the shared file system offline, wherein the shared file system is supported by at least one storage array and accessed by a plurality of host computer systems, each host computer system including an upgraded file system driver compatible with the upgraded shared file system and the at least one storage array storing upgraded file system management data structures compatible with the upgraded shared file system, said method performed in each of the host computer systems and comprising:
-
receiving a request to access a file stored in the shared file system; obtaining access to a file descriptor corresponding to the file and stored in the shared file system; comparing a version identifier in the file descriptor with a version identifier of the upgraded file system driver of the host computer system; upgrading the file descriptor for correspondence with the upgraded shared file system if the comparison step determines a difference between the version identifier in the file descriptor and the version identifier of the upgraded file system driver; and enabling access to the file in accordance with the received request. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer readable storage medium comprising instructions that are to be executed in a host that is part of a computer system configured with a shared file system, wherein the shared file system is supported by at least one storage array and accessed by a plurality of host computer systems, each host computer system including an upgraded file system driver compatible with the upgraded shared file system and the at least one storage array storing upgraded file system management data structures compatible with the upgraded shared file system, wherein the instructions, when executed in the said host, cause said host to carry out the steps of:
-
receiving a request to access a file stored in the shared file system; obtaining access to a file descriptor corresponding to the file and stored in the shared file system; comparing a version identifier in the file descriptor with a version identifier of the upgraded file system driver of the host computer system; upgrading the file descriptor for correspondence with the upgraded shared file system if the comparison step determines a difference between the version identifier in the file descriptor and the version identifier of the upgraded file system driver; and enabling access to the file in accordance with the received request. - View Dependent Claims (19, 20, 21, 22, 23)
-
Specification