Claims
- 1. A method for providing features in a logical volume management system, comprising:
loading a set of feature plug-in modules; selecting a first plurality of feature plug-in modules from the set of feature plug-in modules; ordering the first plurality of feature plug-in modules; and applying the first plurality of feature plug-in modules to a first volume.
- 2. The method of claim 1, wherein the first volume comprises at least one aggregate and wherein the step of selecting the first plurality of feature plug-in modules comprises:
receiving logical volume manager data associated with the at least one aggregate; and selecting the first plurality of feature plug-in modules based on the logical volume manager data associated with the at least one aggregate.
- 3. The method of claim 2, wherein the aggregate comprises at least one partition and wherein the step of selecting the first plurality of feature plug-in modules further comprises:
receiving logical volume manager data associated with the at least one partition; and selecting the first plurality of feature plug-in modules based on the logical volume manager data associated with the at least one partition.
- 4. The method of claim 1, wherein the first volume comprises at least one partition and wherein the step of selecting the first plurality of feature plug-in modules comprises:
receiving logical volume manager data associated with the at least one partition; and selecting the first plurality of feature plug-in modules based on the logical volume manager data associated with the at least one partition.
- 5. The method of claim 1, wherein the step of selecting the first plurality of feature plug-in modules comprises:
receiving a selection of feature plug-in modules by a user; and selecting the first plurality of feature plug-in modules based on the selection.
- 6. The method of claim 1, wherein the step of ordering the first plurality of feature plug-in modules comprises:
receiving classification information corresponding to the first plurality of feature plug-in modules, the classification information indicating a class for each feature plug-in module in the first plurality of feature plug-in modules; and ordering the first plurality of feature plug-in modules based on the classification information.
- 7. The method of claim 6, wherein the class for each feature plug-in module in the first plurality of feature plug-in modules comprises one of partition, volume, and aggregate.
- 8. The method of claim 6, wherein at least two feature plug-in modules in the first plurality of feature plug-in modules are in the same class and wherein the step of ordering the first plurality of feature plug-in modules further comprises:
receiving ordering attribute information corresponding to the first plurality of feature plug-in modules, the ordering attribute information indicating an attribute for each class it belongs to; and ordering the first plurality of feature plug-in modules based on the ordering attribute information.
- 9. The method of claim 8, wherein the attribute for each of the at least two feature plug-in modules in the first plurality of feature plug-in modules comprises one of global exclusive, top exclusive, bottom exclusive, class exclusive, and a weight factor.
- 10. The method of claim 6, wherein at least two feature plug-in modules in the first plurality of feature plug-in modules are in the same class and wherein the step of ordering the first plurality of feature plug-in modules further comprises:
receiving order selection information from a user; and ordering the first plurality of feature plug-in modules based on the order selection information.
- 11. The method of claim 1, wherein the first plurality of feature plug-in modules form a feature stack.
- 12. The method of claim 1, further comprising:
selecting a second plurality of feature plug-in modules from the set of feature plug-in modules; ordering the second plurality of feature plug-in modules; and applying the second plurality of feature plug-in modules to a second volume.
- 13. The method of claim 12, wherein at least one feature plug-in module in the second plurality of feature plug-in modules is not in the first plurality of feature plug-in modules.
- 14. The method of claim 12, wherein the first plurality of feature plug-in modules and the second plurality of feature plug-in modules are ordered differently.
- 15. A method for providing features in a logical volume management system, comprising:
loading at least one feature plug-in module; and applying the at least one feature plug-in module to a volume.
- 16. The method of claim 15, further comprising:
receiving a call through an application program interface; and performing an action on the volume using the at least one feature plug-in module in response to the call.
- 17. An apparatus for providing features in a logical volume management system, comprising:
loading means for loading a set of feature plug-in modules; selection means for selecting a plurality of feature plug-in modules from the set of feature plug-in modules; ordering means for ordering the plurality of feature plug-in modules; and application means for applying the plurality of feature plug-in modules to a volume.
- 18. The apparatus of claim 17, wherein the volume comprises at least one aggregate and wherein the selection means comprises:
means for receiving logical volume manager data associated with the at least one aggregate; and means for selecting the plurality of feature plug-in modules based on the logical volume manager data associated with the at least one aggregate.
- 19. The apparatus of claim 18, wherein the aggregate comprises at least one partition and wherein the selection means further comprises:
means for receiving logical volume manager data associated with the at least one partition; and means for selecting the plurality of feature plug-in modules based on the logical volume manager data associated with the at least one partition.
- 20. The apparatus of claim 17, wherein the volume comprises at least one partition and wherein the selection means comprises:
means for receiving logical volume manager data associated with the at least one partition; and means for selecting the plurality of feature plug-in modules based on the logical volume manager data associated with the at least one partition.
- 21. The apparatus of claim 17, wherein the selection means comprises:
means for receiving a selection of a plurality of feature plug-in modules by a user; and means for selecting the plurality of feature plug-in modules based on the selection.
- 22. The apparatus of claim 17, wherein the ordering means comprises:
means for receiving classification information corresponding to the plurality of feature plug-in modules, the classification information indicating a class for each feature plug-in module in the plurality of feature plug-in modules; and means for ordering the plurality of feature plug-in modules based on the classification information.
- 23. The apparatus of claim 22, wherein the class for each of the feature plug-in modules in the plurality of feature plug-in modules comprises one of partition, volume, and aggregate.
- 24. The apparatus of claim 22, wherein at least two feature plug-in modules in the plurality of feature plug-in modules are in the same class and wherein the ordering means further comprises:
means for receiving ordering attribute information corresponding to the plurality of feature plug-in modules, the ordering attribute information indicating an attribute for each class it belongs to; and means for ordering the plurality of feature plug-in modules based on the ordering attribute information.
- 25. The apparatus of claim 24, wherein the attribute for each of the at least two feature plug-in modules in the plurality of feature plug-in modules comprises one of global exclusive, top exclusive, bottom exclusive, class exclusive, and a weight factor.
- 26. The apparatus of claim 22, wherein at least two feature plug-in modules in the plurality of feature plug-in modules are in the same class and wherein the ordering means further comprises:
means for receiving order selection information from a user; and means for ordering the plurality of feature plug-in modules based on the order selection information.
- 27. The apparatus of claim 17, wherein the plurality of feature plug-in modules form a feature stack.
- 28. An apparatus for providing features in a logical volume management system, comprising:
loading means for loading at least one feature plug-in module; and application means for applying the at least one feature plug-in module to a volume.
- 29. The apparatus of claim 28, further comprising:
means for receiving a call through an application program interface; and means for performing an action on the volume using the at least one feature plug-in module in response to the call.
- 30. A computer program product, in a computer readable medium, for providing features in a logical volume management system, comprising:
instructions for loading a set of feature plug-in modules; instructions for selecting a plurality of feature plug-in modules from the set of feature plug-in modules; instructions for ordering the plurality of feature plug-in modules; and instructions for applying the plurality of feature plug-in modules to a volume.
- 31. A computer program product, in a computer readable medium, for providing features in a logical volume management system, comprising:
instructions for loading at least one feature plug-in module; and instructions for applying the at least one feature plug-in module to a volume.
RELATED APPLICATIONS
[0001] The present application is related to commonly assigned and co-pending U.S. patent application Ser. Nos. ______ (Attorney Docket No. AUS9-2000-0297-US1) entitled “A METHOD AND AN APPARATUS FOR DYNAMIC COMMAND LINE PARSING IN THE PRESENCE OF MULTIPLE PLUG-IN COMPONENTS,” (Attorney Docket No. AUS9-2000-0299-US1) entitled “A METHOD AND AN APPARATUS TO DYNAMICALLY ORDER FEATURES AND TO RESOLVE CONFLICTS IN A MULTIPLE-LAYER LOGICAL VOLUME MANAGEMENT ENVIRONMENT”, and ______ (Attorney Docket No. AUS9-2000-0304-US1) entitled “A METHOD AND AN APPARATUS FOR VOLUME CREATION IN THE PRESENCE OF MULTIPLE AGGREGATORS”, filed on ______, and ______ (Attorney Docket No. AUS9-2000-0509-US1) entitled “A METHOD AND AN APPARATUS TO EXTEND THE LOGIC VOLUME MANAGER MODEL TO ALLOW DEVICE MANAGEMENT PLUG-INS”, filed on an even date herewith, hereby incorporated by reference.