EP1430399A1 - Techniques for storing data based upon storage policies - Google Patents

Techniques for storing data based upon storage policies

Info

Publication number
EP1430399A1
EP1430399A1 EP02757504A EP02757504A EP1430399A1 EP 1430399 A1 EP1430399 A1 EP 1430399A1 EP 02757504 A EP02757504 A EP 02757504A EP 02757504 A EP02757504 A EP 02757504A EP 1430399 A1 EP1430399 A1 EP 1430399A1
Authority
EP
European Patent Office
Prior art keywords
storage device
placement
data unit
storage
rale
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.)
Withdrawn
Application number
EP02757504A
Other languages
German (de)
French (fr)
Inventor
Albert Leung
Giovanni Paliska
Bruce Greenblatt
Claudia Chandra
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.)
Arkivio Inc
Original Assignee
Arkivio Inc
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 Arkivio Inc filed Critical Arkivio Inc
Publication of EP1430399A1 publication Critical patent/EP1430399A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F2003/0697Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers device management, e.g. handlers, drivers, I/O schedulers

Definitions

  • the present invention relates generally to the field of data storage and management, and more particularly to techniques for determining storage locations for data in a storage environment based upon storage policies configured for the storage environment.
  • Heterogeneous and complex storage environments comprising storage systems and devices with different cost, capacity, bandwidth, and other performance characteristics are rapidly replacing conventional homogeneous data storage environments. Due to their heterogeneous nature, managing storage of data in such environments is a difficult and complex task. An important information management function in such heterogeneous data storage environments is to determine where to store the data among the various available storage devices in a manner that reduces costs associated with the data storage while providing efficient data access.
  • the decision where to store the data is generally manually determined by a user (e.g., a system administrator) of the data storage environment.
  • the user may make the decision based upon data usage patterns and upon characteristics of the storage devices available in the storage environment for storing the data.
  • the system administrator has to gather frequency and data usage information, data access and performance requirements, and frequency of access information from users or consumers of the data.
  • the administrator also has to detennine characteristics (e.g., cost, capacity, other performance characteristics) of storage devices available for storing the data.
  • the administrator then typically makes an educated guess as to where the data is to be stored. While the manual approach described above may be feasible in simple homogeneous storage environments supporting a small number of data consumers, such an approach is impractical for today's large and heterogeneous storage environments.
  • Embodiments of the present invention provide automated techniques for determining storage locations for data in a storage environment based upon storage policies configured for the storage environment.
  • the storage location is determined in a manner that enables efficient data access while optimizing the available storage resources with minimum human intervention.
  • the storage locations are determined based upon characteristics associated with the data to be stored, based upon characteristics of the storage devices, and based upon storage policies configured for the storage environment.
  • a storage device for storing data in a storage environment comprising a plurality of storage devices.
  • An embodiment of the present invention receives a signal to store a data file.
  • the present invention embodiment identifies a set of one or more placement rules configured for the storage environment, each placement rule comprising data-related criteria identifying one or more conditions related to one or more characteristics of the data to be stored and device-related criteria identifying one or more conditions related to one or more storage device characteristics.
  • a data value score (DVS) is calculated for each placement rule in the set of placement rules based upon the data-related criteria of the placement rule and characteristics of the data file.
  • the present invention embodiment determines a storage device, from the plurality of storage devices, for storing the data file based upon the set of placement rules and their associated DVSs, characteristics of the plurality of storage devices, and characteristics of the data file to be stored.
  • FIG. 1 is a simplified block diagram of a distributed system that may incorporate an embodiment of the present invention.
  • FIG. 2 is a simplified block diagram of a data management server according to an embodiment of the present invention
  • Fig. 3 depicts examples of placement rules according to an embodiment of the present invention
  • FIG. 4 is a simplified high-level flowchart depicting a method of selecting a storage device from a storage environment for storing a data file based upon a storage policy configured for the storage environment according to an embodiment of the present invention
  • FIGs. 5A and 5B depict a simplified high-level flowchart showing processing performed for identifying a storage device for storing the data file based upon the ranked placement rules and based upon characteristics of the storage devices and the data file according to an embodiment of the present invention.
  • Embodiments of the present invention provide automated techniques for storing data in a data storage environment. According to an embodiment of the present invention, techniques are provided for determining storage locations for data in a heterogeneous storage environment based upon storage policies configured for the storage environment. Embodiments of the present invention thus facilitate storage of data in a manner that enables efficient data access while optimizing the use of available storage resources with minimum human intervention.
  • a data management system coupled to a heterogeneous data storage environment is configured to automate data management and storage functions. In this embodiment, the data management system is configured to monitor and analyze data and storage resource usage patterns and determine optimal storage locations for the data based upon the usage patterns.
  • the data management system is also configured to determine storage locations for the data based upon characteristics of the data and the storage devices and based upon storage policies configured for the storage environment.
  • the storage policies may be configured by a user (e.g., an end- user, a system administrator, a manager, etc.) of the storage environment.
  • Fig. 1 is a simplified block diagram of a distributed system 100 that may incorporate an embodiment of the present invention.
  • Distributed system 100 comprises a plurality of computer systems and storage devices coupled to one or more communication networks via a plurality of communication links. As depicted in Fig.
  • distributed system 100 comprises a plurality of computer systems including one or more user (client) systems 102 coupled to communication network 112, a plurality of server systems including a data management server (DMS) 104, an application service provider (ASP) server 106, a server 108 providing connectivity to a communication network 110 such as the Internet, a file server 122, a database server 124, and various other types of servers.
  • DMS data management server
  • ASP application service provider
  • the communication networks depicted in Fig. 1 such as communication networks 112 and 110 provide a mechanism for allowing communication and exchange of information between the various computer systems and storage devices depicted in Fig. 1.
  • the communication networks may themselves be comprised of many interconnected computer systems and communication links.
  • communication network 112 may be a LAN (as depicted in Fig. 1), a wide area network (WAN), a wireless network, an Intranet, a private network, a public network, a switched network, or any other suitable communication network.
  • communication network 110 may also be any other communication network such as the Internet (as depicted in Fig. 1), or any other computer network.
  • the communication links used to connect the various systems depicted in Fig. 1 may be of various types including hardwire links, optical links, satellite or other wireless communications links, wave propagation links, or any other mechanisms for communication of information.
  • Various communication protocols may be used to facilitate communication of information via the communication links. These communication protocols may include TCP/IP, HTTP protocols, extensible markup language (XML), wireless application protocol (WAP), Fiber Channel protocols, protocols under development by industry standard organizations, vendor-specific protocols, customized protocols, and others.
  • Computer systems connected to a distributed system such as system 100 depicted in Fig. 1 may be classified as "clients" or "servers" depending on the roles the computer systems play with respect to requesting information or a service or storing/providing information or a service.
  • Computers systems that are used by users to configure information requests or service requests are typically referred to as "client" computers.
  • Computer systems that receive information requests and/or service requests from client systems, perform processing required to satisfy the requests, and forward the results/information corresponding to the requests back to the requesting client systems are usually referred to as "server” systems.
  • the processing required to satisfy a client request may be performed by a single server system or may alternatively be delegated to other servers.
  • the server systems depicted in Fig. 1 are configured to provide information and/or provide a service requested by requests received from one. or more client computers. It should however be understood that a particular computer system might function both as a server and a client.
  • Users of distributed system 100 may use user systems 102 to access data stored by one or more computer systems or storage devices depicted in Fig. 1. As depicted in Fig. 1, user systems 102 may be coupled to communication network 112 via one or more communication links. A user system 102 generally functions as a client requesting data and services from the server systems. A user may also interact with other systems depicted in Fig. 1 via user system 102. For example, a user may use client system 102 to interact with data management server 104.
  • User systems 102 may be of different types including a personal computer, a portable computer, a workstation, a computer terminal, a network computer, a mainframe, a kiosk, a personal digital assistant (PDA), a communication device such as a cell phone, or any other data processing system.
  • a personal computer a portable computer
  • a workstation a computer terminal
  • a network computer a mainframe
  • a kiosk a personal digital assistant (PDA)
  • PDA personal digital assistant
  • communication device such as a cell phone, or any other data processing system.
  • DMS 104 is configured to perform processing to provide automated techniques for determining storage locations for data in the storage environment depicted in Fig. 1.
  • SSP server 108 is configured to provide access to communication network 110.
  • File server 122 may be configured to manage directories and file systems.
  • Database server 124 may be configured to store a database and process database queries.
  • ASP server 106 may be configured to provide an application service.
  • DMS 104 is configured to perform processing to automate data store and manage . data in distributed system 100.
  • the processing may be performed by software modules executed by DMS 104, by hardware modules coupled to DMS 104, or combinations thereof.
  • DMS 104 determines storage locations for the data based upon characteristics associated with the data to be stored, characteristics of storage devices available for storing the data, and based upon storage policies configured for the storage enviromnent.
  • the storage policies may be configured by a user (e.g., end-user, system administrator, manager, etc.) of the storage environment.
  • Information used by DMS 104 to perform processing according to the teachings of the present invention may be stored in a memory location accessible to DMS 104.
  • information related to the data, the storage devices, and the storage policies that is used by DMS 104 may be stored in a storage repository or database 126 accessible to DMS 104.
  • the information stored in database 126 may include information related to one or more storage policies 128 that may be configured by a system administrator, device characteristics information 130, data characteristics information 132, and other information 134. Details related to storage policies information 128, device characteristics information 130, and data characteristics information 132 are provided below.
  • the information may be stored in a single database as shown in Fig.
  • infonnation may be stored on storage devices such as memory drives, disks, tapes, in the memory of computer systems, or the like.
  • distributed system 100 comprises a plurality of storage devices that can be used to store and/or backup data.
  • the storage device include various dedicated storage devices 116, one or more computer systems depicted in Fig. 1, devices included in storage networks such as storage area network (SAN) 114, network attached storage (NAS) (not shown), and others.
  • Examples of storage devices include tapes, disk drives, optical disks, RAID structures, solid state storage, and other types of computer-readable storage media.
  • storage device is intended to refer to any system, subsystem, device, computer medium, network, or other like system or mechanism that is capable of storing data in digital or electronic form.
  • the storage devices may be directly coupled to DMS 104, coupled to DMS 104 via a communication network such as communication network 112, coupled to DMS 104 via storage networks (e.g., storage area network (SAN) 114), and via other techniques.
  • storage devices may be characterized by the amount of time required to access data (referred to as "data access time") stored by the storage devices.
  • data access time referred to as "data access time”
  • storage devices may be characterized as on-line storage devices, near-line storage devices, off-line storage devices, and others.
  • the data access time for an on-line storage device is generally shorter than the access time for a near- line storage device.
  • the access time for an off-line storage is generally longer than the access time for a near-line storage device.
  • An off-line storage device is generally a device that is not readily accessible to DMS 104.
  • Examples of off-line storage devices include computer- readable storage media such as tapes, optical devices, and the like.
  • User interaction may be required to access data from an off-line storage device. For example, if a tape is used as an off-line device, the user may have to malce the tape accessible to DMS 104 before data stored on the tape can be restored by DMS 104.
  • DMS 104 is configured to perform processing to store and manage data according to the teachings of the present invention.
  • Fig. 2 is a simplified block diagram of DMS 104 according to an embodiment of the present invention.
  • DMS 104 includes at least one processor 202, which communicates with a number of peripheral devices via a bus subsystem 204.
  • peripheral devices may include a storage subsystem 206, comprising a memory subsystem 208 and a file storage subsystem 210, user interface input devices 212, user interface output devices 214, and a network interface subsystem 216.
  • the input and output devices allow user interaction with DMS 104.
  • a user may be a human user, a device, a process, another computer, and the like.
  • Network interface subsystem 216 provides an interface to other computer systems, networks, and devices.
  • Embodiments of network interface subsystem 216 include an Ethernet card, a modem (telephone, satellite, cable, ISDN, etc.), (asynchronous) digital subscriber line (DSL) units, and the like.
  • User interface input devices 212 may include a keyboard, pointing devices such as a mouse, trackball, touchpad, or graphics tablet, a scanner, a barcode seamier, a touchscreen incorporated into the display, audio input devices such as voice recognition systems, microphones, and other types of input devices.
  • pointing devices such as a mouse, trackball, touchpad, or graphics tablet
  • audio input devices such as voice recognition systems, microphones, and other types of input devices.
  • use of the term "input device” is intended to include all possible types of devices and ways to input information to DMS 104.
  • User interface output devices 214 may include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices.
  • the display subsystem may be a cathode ray tube (CRT), a flat-panel device such as a liquid crystal display (LCD), or a projection device.
  • the display subsystem may also provide non- visual display such as via audio output devices.
  • output device is intended to include all possible types of devices and ways to output information from DMS 104.
  • Storage subsystem 206 may be configured to store the basic programming and data constructs that provide the functionality of DMS 104.
  • software modules implementing the functionality of the present invention may be stored in storage subsystem 206. These software modules may be executed by processor(s) 202. In a distributed environment, the software modules may be stored on a plurality of computer systems and executed by processors of the plurality of computer systems.
  • Storage subsystem 206 may also provide a repository for storing data and various databases that may be used to store information according to the teachings of the present invention. For example, storage policies information 128, device characteristics information 130, and data characteristics information 132 may be stored in storage subsystem 206.
  • Storage subsystem 206 may comprise memory subsystem 208 and file/disk storage subsystem 210.
  • Memory subsystem 208 may include a number of memories including a main random access memory (RAM) 218 for storage of instructions and data during program execution and a read only memory (ROM) 220 in which fixed instructions are stored.
  • File storage subsystem 210 provides persistent (non- volatile) storage for program and data files, and may include a hard disk drive, a floppy disk drive along with associated removable media, a Compact Disk Read Only Memory (CD-ROM) drive, an optical drive, removable media cartridges, and other like storage media.
  • One or more of the drives may be located at remote locations on other connected computers.
  • Bus subsystem 204 provides a mechanism for letting the various components and subsystems of DMS 104 communicate with each other as intended.
  • the various subsystems and components of DMS 104 need not be at the same physical location but may be distributed at various locations within network 100.
  • bus subsystem 204 is shown schematically as a single bus, alternative embodiments of the bus subsystem may utilize multiple busses.
  • DMS 104 itself can be of varying types including a personal computer, a portable computer, a workstation, a network computer, a mainframe, a kiosk, a personal digital assistant (PDA), a communication device such as a cell phone, or any other data processing system. Due to the ever-changing nature of computers and networks, the description of DMS 104 depicted in Fig. 2 is intended only as a specific example for purposes of illustrating the preferred embodiment of the computer system.
  • processors such as the AthlonTM class microprocessors from AMD, the PentiumTM -class or CeleronTM-class microprocessors from Intel Corporation, PowerPCTM G3 or G4 microprocessors from Motorola, Inc., CrusoeTM processors from Transmeta, Inc. and the like.
  • other types of operating systems are contemplated in alternative embodiments including WindowsNTTM from Microsoft, Solaris from Sun Microsystems, LINUX, UNIX, MAC OS X from Apple Computer Corporation, and the like. Many other configurations having more or fewer components than the system depicted in Fig. 2 are possible.
  • DMS 104 determines locations for storing data in distributed network 100 based upon one or more storage policies configured for the storage environment, based upon information identifying characteristics of the data to be stored, and based upon information identifying characteristics of the storage devices available for storing the data in the storage environment.
  • a storage policy specifies when and how data is to be stored and/or migrated.
  • a storage policy may comprise one or more rules that may be configured by an administrator of the storage environment. These rules may include rules that specify when data is to be stored in the storage environment or when data is to be migrated from one storage location to another. The rules may also include rules specifying the storage location where the data is to be stored.
  • the storage location may identify a storage device to be used for storing the data and may also identify where on the storage device (e.g., volume, directory, etc.) the data is to be stored.
  • a storage policy includes one or more "placement rules" and "migration rules".
  • a placement rule identifies the criteria to be ⁇ sed for selecting a storage device for storing the data.
  • each placement rule is implemented as an IF. . .THEN clause in the policy engine. This clause describes the conditions associated with the IF clause that need to be evaluated and the actions to be performed when the IF clause is satisfied.
  • Various conditions and properties of the data e.g., type of data,.size of a data file, owner of the file, etc.
  • storage devices for storing the data e.g., available capacity of a storage device, bandwidth capability of a storage device, cost of storing data on a storage device, etc.
  • the actions typically include storing data in a particular storage location or migrating data from a first storage location to another storage location.
  • a migration rule describes when one or more placement rules are to be evaluated.
  • each migration rule is implemented as a WHEN clause in the policy engine.
  • the WHEN clause generally specifies one or more events (e.g., temporal events that change with time) that can be monitored by DMS 104. Examples of events that may be specified in a WHEN clause include: a data file is created, a data file is modified, usage of a storage volume exceeds or falls below a certain threshold, a time related event has occurred, and the like.
  • a WHEN clause is satisfied or evaluates to TRUE when one or more events specified in the WHEN occur or evaluate to true.
  • the rules associated with a storage policy are evaluated when DMS 104 receives a signal to determine a storage location for some data such as a file being managed by DMS 104.
  • the signal may be triggered manually by a user of the present invention or may be triggered in response to a signal received from another application or process.
  • the storage policy rules may also be evaluated when files are to be selected for migration from one device to another while performing capacity balancing, for load balancing purposes, or for performing other storage management tasks such as increasing data and/or space availability.
  • DMS 104 may perform capacity balancing in response to a signal triggered by a user of the storage environment in response to a signal received from another application or process.
  • information such as device characteristics information 130 and data characteristics information 132 is used as input parameter for evaluating one or more storage rules specified by a storage policy.
  • device characteristics 130 and data characteristics 132 are used as inputs to evaluate the WHEN and IF. . .THEN clauses.
  • device characteristics information 130 includes information related to storage devices available in the storage environment for storing data and other information.
  • DMS 104 uses the device characteristics information 130 to evaluate rules defined in a storage policy to determine optimal locations for storing data.
  • device characteristics information 130 for a storage device may include:
  • Available capacity information indicates the available storage capacity of the storage device. This value is usually expressed as a percentage of the total storage capacity of the storage device. For example, if the total storage capacity of a storage device is 100 Mbytes, and if 40 Mbytes are free for storage (i.e., 60 Mbytes are already used), then the available capacity of the storage device may be expressed as 40% available. The value may also be expressed as the amount of free storage capacity (e.g., in Mbytes, GBytes, etc.) This information may be dynamically monitored and tracked by DMS 104 for a storage device by examining the actual usage of the storage device.
  • Cost information This information indicates the cost of storing data on a storage device.
  • the cost may be measured as number of dollars per unit of memory (e.g., doUars-per-Gigabyte, dollars-per-Megabyte, etc). A system administrator or user of the present invention may configure this information.
  • Supported bandwidth information This information is usually measured as a unit of data per unit of time (e.g., Mbps -> megabits-per-second, etc.) and expresses the bandwidth capability of a storage device.
  • qualitative classifications may also be used to represent this information. For example, supported bandwidth for a storage device may be classified as "high”, “medium”, or "low”. Each qualitative classification may correspond to a range of preset unit-of-data per unit-of- time values. A system administrator or user of the present invention may configure this information.
  • Desired threshold information This information identifies one or more thresholds that may be configured by a system administrator or user for storing data on a device.
  • a system administrator may specify a storage capacity threshold for a device.
  • Each threshold may be expressed as a percentage of the total capacity of the storage device.
  • thresholds may also be defined for particular types of data to be stored on the device.
  • Each threshold associated with a data type may indicate the percentage of total capacity of the device that the user desires to allocate for storing data of the particular type.
  • a user may configure that only up to 15% of the total capacity of a storage device may be used for storing MS Office files, or only up to 25% of the total capacity of the storage device capacity may be used for storing electronic mail data, etc.
  • the file size requirement information may indicate that a file has to be at least a certain size before it can be stored on the device, or that any file above a particular size cannot be stored on the storage device, or the like.
  • a user of the present invention may configure the file size requirement for a device.
  • Availability characteristics This is a qualitative value that represents the administrator's perception of the relative availability of the device (e.g., high, medium, or low). For example, the qualitative value may be set based upon the degree of replication of the device (e.g., RAID levels: RAID 10, RAID 5 is high, RAID 0, RAID 1 is medium etc). Other factors that may influence the availability characteristics include hardware availability features such as number of redundant power supplies, redundant controllers, multiple access paths to the device, etc.
  • device characteristics information 130 may include more information or less information than that described above.
  • a system administrator may also group one or more storage devices into volumes or volume groups.
  • a volume may represent an identifiable unit of storage space based upon one or more storage devices. For example, storage devices that have the similar static characteristics may be grouped into a volume group or set.
  • a storage device may also be divided into one or more separately identifiable volumes. It should be understood that information such as the available capacity information may be different for each volume (or storage device) in a volume group. Accordingly, each volume in a volume group may be individually monitored by DMS 104.
  • data characteristics information 132 is also used as a parameter for evaluating one or more storage rules specified in a storage policy.
  • data characteristics information 132 includes information related to the data to be stored. For purposes of describing an embodiment of the present invention, it is assumed that the data is stored in the form of files ("data files"). It should be understood that in alternative embodiments of the present invention, various other techniques or methods may be used to store the data. According to an embodiment of the present invention, for each data file, data characteristics information 132 associated with the data file may include:
  • relevance score This information represents a value indicating a priority assigned by the administrator to the data file.
  • the user or administrator may assign a number in the range of 0 and 1, with 0 being least important and 1 being most important.
  • the relevance score can be assigned to any combination of file types and ownership, with a default relevance score used when the administrator makes no explicit assignment.
  • a content provider may assign a higher score to all JPEG files and files owned by the authoring group than to other files.
  • File Size information This indicates the size of a data file.
  • File type information This indicates the type of data stored by the data file.
  • a data file may be of various different types. These types may be defined by a user of the storage environment or may alternatively be defined by the storage environment. Examples of file types include image files, email files, MS Office file, etc.
  • File ownership information This information indicates the owner of the data file. Generally, the creator of a data file is designated as the owner of the file.
  • Data bandwidth requirement information This information indicates the bandwidth requirement for a data file. This information is used for determining a storage location for the file. A user or system administrator of the storage environment generally configures this information.
  • File access information indicates the file access pattern associated with a data file. For example, this information may include information related to when a file was created or accessed, identity of the person accessing the file, last access time of the file, and other like information. This infonnation may be automatically monitored by DMS 104.
  • data characteristics information 132 may include more information or less information than that described above.
  • a system administrator may also define data groups. Each data group may comprise one or more data files that share similar characteristics.
  • data characteristics information 132 and device characteristics information 130 serve as parameters to migration and placement rules defined according to a storage policy. As described above, a placement rule is evaluated only after conditions specified by a migration rule are satisfied. According to an embodiment of the present invention, each placement rule may comprise the following portions: (1) Data usage criteria information
  • data-related criteria may be used to refer to data use criteria information and file selection criteria information since they comprise conditions associated with the data to be stored.
  • device-related criteria may be used to refer to local constraint information since it comprises conditions related to storage devices.
  • Fig. 3 depicts examples of placement rules according to an embodiment of the present invention.
  • each row 308 of table 300 specifies a placement rule.
  • Column 302 of table 300 identifies the file selection criteria information for each rule
  • column 304 of table 300 identifies the data usage criteria information for each placement rule
  • column 306 of table 300 identifies the location constraint criteria information for each rule.
  • the "file selection criteria information” specifies information identifying a set of data files that is eligible for the specific placement rule.
  • the selection criteria information for a placement rules specifies one or more clauses (or conditions) related to a data characteristics parameter such as file type, relevance score of file, file owner, etc.
  • Each clause may be expressed as an absolute value (e.g., File type is "Office files”) or as an inequality (e.g., Relevance score of file > 0.5).
  • Multiple clauses may be connected by Boolean connectors (e.g., File type is "Email files” AND File owner is "John Doe”) to form a Boolean expression.
  • the file selection criteria information may also be left empty (i.e., not configured or set to NULL value), e.g., file selection criteria for placement rules 308-6 and 308-7 depicted in Fig. 3. According to an embodiment of the present invention, the file selection criteria information defaults to a NULL value. An empty or NULL file selection criterion is valid and indicates that all files are selected or are eligible for the placement rule.
  • the "data usage criteria information” specifies criteria related to file access infonnation associated with a data file. For example, for a particular placement rule, this information may specify a time (e.g., timestamp) associated with a data file that falls within specific date ranges. The timestamp can conespond to a creation date, the date a file was last modified, the date when a file was last accessed, and the like.
  • the criteria may be specified using one or more clauses or conditions related to file access information connected using Boolean connectors.
  • the data usage criteria clauses may be specified as equality conditions or inequality conditions.
  • An example of data usage criteria is "file last accessed between 7 days to 30 days ago" (corresponding to placement rule 308-2 depicted in Fig. 3). The administrator or user of the present invention may set this criterion.
  • location constraint information for a particular placement rule specifies one or more constraints that must be satisfied by a storage device selected for storing data based upon the particular placement rule. Accordingly, location constraint information generally specifies parameters associated with a storage device. The location constraint information may be left empty or may be set to NULL to indicate that no constraints are applicable to the placement rule (e.g., location constraint infonnation corresponding to placement rule 308-3 depicted in Fig. 3).
  • the constraint information may be set to LOCAL (e.g., location constraint information for placement rules 308-1 and 308-6) which implies that data file will be stored on a local storage device (local to the device used to create the data file) and will not be moved or migrated to another storage device.
  • LOCAL location constraint information for placement rules 308-1 and 308-6
  • a specific volume group, or a specific device may be specified in the location constraint information for storing the data file.
  • Various other constraints or requirements may also be specified (e.g., constraints related to file size, availability, etc.).
  • the constraints specified by the location constraint information are generally hard constraints implying that a data file cannot be stored on a device that does not satisfy the location constraints.
  • Fig. 4 is a simplified high-level flowchart 400 depicting a method of selecting a storage device from a storage environment for storing a data file based upon a storage policy configured for the storage environment according to an embodiment of the present invention.
  • the method may be performed by DMS 104, or by DMS 104 in association with other data processing systems. In the embodiment described below the method is performed by DMS 104.
  • the method may be performed by software modules executed by processors) 202 of DMS 104, or by hardware modules coupled to DMS 104, or combinations thereof.
  • Flowchart 400 depicted in Fig. 4 is merely illustrative of an embodiment incorporating the present invention and does not limit the scope of the invention as recited in the claims.
  • One of ordinary skill in the art would recognize variations, modifications, and alternatives.
  • processing is initiated when DMS 104 receives a signal that triggers evaluation of a storage policy (step 402).
  • the signal may be automatically received from another system or application or may be manually generated by a user (e.g., a system administrator of the storage environment) of the present invention.
  • a user e.g., a system administrator of the storage environment
  • Various different events may trigger generation of the signal.
  • the signal may be generated when a storage capacity threshold has been reached and/or one or more data files are to be stored in the storage environment.
  • the signal may also be generated when one or more data files stored in the storage environment are to be relocated to another storage location within the storage environment.
  • the signal may also be generated when a storage management application needs to migrate a set of data files from one storage location to another in order to free up storage capacity, perform capacity balancing, load balancing, or other storage management tasks.
  • a storage management application For purposes of explaining flowchart 400 depicted in Fig. 4, it is assumed that the signal is generated when a particular data file is to be stored in the storage environment depicted in Fig. 1.
  • DMS 104 determines a set of one or more migration rules that evaluate to TRUE based upon the signal received in step 402 (step 404).
  • each migration rule may be implemented as a WHEN clause. Accordingly, in step 404, DMS 104 determines a set of one or more WHEN clauses that evaluate to TRUE.
  • DMS 104 determines a set of one or more placement rules, conesponding to the migration rules determined in step 404 (step 406).
  • each placement rule identifies criteria to be used for selecting a storage device for storing the particular data file.
  • DMS 104 then generates a score for each placement rule determined in step 406 (step 408).
  • a numerical score (refened to as the Data Value Score or DVS) is generated for each placement rule.
  • the DVS generated for the placement rule indicates the level of suitability or applicability of the placement rule for the data set (e.g., the data file) to be stored.
  • the value of the DVS for a particular placement rule is based upon the characteristics of the data file to be stored. For example, according to an embodiment of the present invention, higher scores are generated for placement rules that are deemed more suitable or relevant to the data file to be stored.
  • DVS file_selection_score* data_usage_score
  • the file_selection_score (also referred to as the "data characteristics score") for a placement rule is calculated based upon the file selection criteria information specified for the placement rule and the data_usage_score for the placement rule is calculated based upon the data usage criteria information specified for the placement rule.
  • the file selection criteria infonnation and the data usage criteria information specified for the placement rule may comprise one or more clauses involving one or more parameters connected by Boolean connectors (see Fig. 3). Accordingly, calculation of the file_selection_score involves calculating numerical values for the individual clauses that make up the file selection criteria information for the placement rule and then combining the individual clause scores to calculate the file_selection_score for the placement rule.
  • calculation of the data_usage_score involves calculating numerical values for the individual clauses that make up the data usage criteria information for the placement rule and then combining the individual clause scores to calculate the data_usage_score for the placement rule. [80] According to an embodiment of the present invention, the following rules are used to combine score generated for the individual clauses to calculate a file_selection_score or data_usage_score:
  • Rule 1 For an N-way AND operation (i.e., for N clauses connected by an AND com ector), the resultant value is the sum of all the individual values (i.e., values calculated for the individual clauses) divided by N.
  • Rule 2 For an N-way OR operation (i.e., for N clauses connected by an OR connector), the resultant value is the largest value calculated for the N clauses.
  • rule 3 According to an embodiment of the present invention, the file_selection_score and the data_usage_score are between 0 and 1 (both inclusive). [84] According to an embodiment of the present invention, the value for each clause specified in the file selection criteria' is scored using the following guidelines:
  • the file_selection_score for placement rule 308-7 depicted in Fig. 3 is set to 1.
  • a score of 1 is assigned if the parameter criteria are met, else a score of 0 is assigned.
  • the file_selection_score for placement rule 308-4 depicted in Fig. 3 if the data file to be stored is of type "Email Files", then a score of 1 is assigned for the clause, and the file_selection_score for placement rule 308-4 is also set to 1.
  • the data file to be stored is not an email file, then a score of 0 is assigned for the clause and accordingly the file_selection_score is also set to 0.
  • RelScore RU i e Relevance score specified in the file selection criteria information
  • Delta abs(RelScoreData - RelScoreR U ⁇ e )
  • Score 1 - (Delta/RelScoreR U ⁇ e )
  • the Score is set to 1 if the parameter inequality is satisfied.
  • RelScoreo ata Relevance score of the data file (from the data characteristics for the file)
  • RelScore Ru i e Relevance score specified in the file selection criteria information
  • the file_selection_score is then calculated based on the individual scores for the clauses in the file selection criteria information using Rules 1, 2, and 3, as described above.
  • the file_selection_score represents the degree of matching (or suitability) between the file selection criteria information for a particular placement rule and the data file to be stored.
  • the score for each clause specified in the data usage criteria information for a placement rule is scored using the following guidelines:
  • the score for the clause is set to 1 if the parameter condition of the clause is met.
  • Date Data Relevant date information in the data file.
  • Date Ru i e Relevant date information in the rule.
  • Delta abs(Dateoata - Date U ⁇ e )
  • Score 1 - (Delta/DateR U ⁇ e )
  • the Score is reset to 0 if it is negative.
  • a date range is specified in the clause (e.g., last 7 days)
  • the data_usage_score is then calculated based upon scores for the individual clauses specified in the file selection criteria information using Rules 1, 2, and 3, as described above. It should be evident that various other techniques may also be used to calculate the data_usage_score in alternative embodiments of the present invention.
  • the data_usage_score represents the degree of matching (or suitability) between the data usage criteria infonnation for a particular placement rule and the data file to be stored.
  • the DVS is then calculated based upon the file_selection_score and data_usage_score.
  • the DVS for a placement rale thus quantifies the degree of matching (or suitability) between the conditions specified in the file selection criteria information and the data usage criteria information for the placement rule and the characteristics of the data file to be stored as described by the data characteristics information for the data file.
  • a DVS is calculated in step 408 for each placement rule determined in step 406 based upon the f ⁇ le_selection_score and the data_usage_score for the rule. It should be evident that various other techniques may also be used to calculate DVSs for placement rules in alternative embodiments of the present invention.
  • the placement rules are then ranked (or ordered) based upon the DVSs calculated for the rules in step 408 (step 410).
  • a DVS generated for a placement rule indicates the suitability of the placement rule for the data file to be stored. For example, according to an embodiment of the present invention, higher scores are generated for placement rules that are deemed more suitable (or are more relevant) for the data file to be stored. Accordingly, the ranked list of placement rules generated in step 410 represents a list of placement rules ranked according to their suitability or relevancy to the data file to be stored.
  • the rules are initially ranked based upon DVSs calculated for the placement rules. According to an embodiment of the present invention, if two or more placement rules have the same DVS value, then the following tie-breaking rules may be used:
  • the placement rules are ranked based upon priorities assigned to the placement rules by a user (e.g., system administrator) of the storage environment.
  • DMS 104 identifies a storage device for storing the data file based upon the ranked placement rules, based upon data characteristics associated with the particular data file to be stored, and based upon device characteristics associated with storage devices in the storage environment that are available for storing the data file (step 412).
  • the storage device selected in step 412 represents a storage device that is optimal or well suited for storing the data file given the characteristics of the data file, the available storage devices, and the storage policy configured for the storage environment by a system administrator. Further details related to processing performed in step 412 according to an embodiment of the present invention are described below.
  • the data file is then stored on the storage device identified in step 412 (step 414).
  • FIGs. 5A and 5B depict a simplified high-level flowchart 500 showing processing performed in step 412 of Fig. 4 for identifying a storage device for storing the data file based upon the ranked placement rules and based upon characteristics of the storage devices and the data file according to an embodiment of the present invention.
  • the method may be performed by DMS 104, or by DMS 104 in association with other data processing systems. In the embodiment described below the method is performed by DMS 104.
  • the method may be performed by software modules executed by processor(s) 202 of DMS 104, or by hardware modules coupled to DMS 104, or combinations thereof.
  • Flowchart 500 depicted in Figs. 5 A and 5B is merely illustrative of an embodiment incorporating the present invention and does not limit the scope of the invention as recited in the claims.
  • One of ordinary skill in the art would recognize variations, modifications, and alternatives.
  • DMS 104 selects a previously unprocessed placement rule (i.e., a placement rule that has not already been selected in step 502) with the highest ranking from the ranked list of placement rules (step 502). For example, during the first pass through the flowchart, the highest ranked placement rule is selected, during the second pass the second highest ranked placement rule is selected (since the highest ranked placement rule has been previously processed), during the third pass the third highest ranked placement rule is selected (since the highest and second highest ranked placement rales have been previously processed), and so on.
  • a previously unprocessed placement rule i.e., a placement rule that has not already been selected in step 502
  • the highest ranked placement rule is selected
  • the second pass the second highest ranked placement rule is selected (since the highest ranked placement rule has been previously processed)
  • the third highest ranked placement rule is selected (since the highest and second highest ranked placement rales have been previously processed), and so on.
  • DMS 104 determines if the location constraint criteria information for the placement rule selected in step 502 specifically identifies one or more storage devices for storing the data file (step 504). If the location constraint information identifies one or more storage devices, then processing continues with step 532 depicted in Fig. 5B and explained below. If the location constraint information does not specifically identify any storage devices for storing the data file, then based upon the characteristics of the data file to be stored, and the current rule selected in step 502, DMS 104 identifies a set of one or more storage devices whose device requirements are met (step 506). As previously described, according to an embodiment of the present invention, the device requirements for a storage device may be specified in the device characteristics information associated with the storage device.
  • the device characteristics information for a particular storage device may indicate a file size requirement indicating the threshold size of a data file before the file can be stored on the particular storage device, and the like. Accordingly, in step 506, the particular device is selected only if the size of the data file to be stored is above the threshold size indicated by the file size requirement infonnation for the particular storage device. Other device requirements may likewise be evaluated.
  • DMS 104 determines if at least one storage device was identified in step 506 (step 508). If it is determined in step 508 that not even one storage device was identified in step 506, it indicates that the data file does not satisfy the device requirements for any storage device in the storage environment. In this case, an enor message may be output (step 510) to the user indicating that the device requirements for the storage devices are not satisfied by the data file. The user may then take appropriate action such as manually selecting a storage device for storing the file (even though the device requirements for the selected device are not satisfied.)
  • DMS 104 calculates a relative storage value score (RSVS) for each storage device identified in step 506 (step 512).
  • RSVS relative storage value score
  • a "Bandwidth_factor" variable is set to zero (0) if the bandwidth supported by the storage device (indicated by the supported bandwidth information included in the device characteristics infonnation for the device) is less than the bandwidth requirement, if any, specified in the location constraints criteria specified for the placement rale selected in step 502.
  • the location constraint criteria for placement rale 308-2 depicted in Fig. 3 specifies that the bandwidth of the storage device should be greater than 40 MB. Accordingly, if the bandwidth supported by the storage device is less than 40 MB, then the "Bandwidthjactor" variable is set to 0. [108] Otherwise, the value of "Bandwidthjactor" is set as follows:
  • Bandwidth_factor ((Bandwidth supported by the device) - (Bandwidth required by the location constraint of the selected placement rule)) + K where K is set to some constant integer. According to an embodiment of the present invention, K is set to 1. Accordingly, the value of Bandwidthjactor is set to a non-negative value.
  • RSVS Bandwidth_factor * (desired Jhreshold_% - current_usage_%)/cost
  • desired_threshold_% for a storage device is usually set by a system administrator and included in the device characteristics information.
  • the current_usage_% value is monitored by DMS 104 and also included in the device characteristics information.
  • the "cost" value may be set by the system administrator and included in the device characteristics infonnation.
  • the formula for calculating RSVS shown above is representative of one embodiment of the present invention and is not meant to reduce the scope of the present invention.
  • Various other factors may be used for calculating the RSVS in alternative embodiments of the present invention.
  • the availability of a storage device may also be used to determine RSVS for the device.
  • availability of a storage device indicates the amount of time that the storage device s available during those time periods when it is expected to be available. Availability may be measured as a percentage of an elapsed year in certain embodiments.
  • RSVS RSVS
  • [Ill] STEP 3 Various adjustments may be made to the RSVS calculated according to the above steps.
  • the administrator may want to group "similar" files together in one storage device. In other environments, the administrator may want to distribute files among different storage devices.
  • the RSVS may be adjusted to accommodate the policy adopted by the administrator. Performance characteristics associated with a network that is used to transfer data from the storage devices may also be used to adjust the RSVSs for the storage devices. For example, the access time (i.e., the time required to provide data stored on a storage device to a user) of a storage device may be used to adjust the RSVS for the storage device.
  • the throughput of a storage device may also be used to adjust the RSVS value for the storage device.
  • the RSVS value is calculated such that it is directly proportional to the desirability of the device for storing the specific data file.
  • a higher RSVS value represents a more desirable storage device for storing the data file.
  • the RSVS value is directly proportional to the available capacity percentage. Accordingly, a device with higher available capacity is more desirable for storing the data file.
  • the RSVS value is inversely proportional to the cost of storing data on the storage device.
  • a storage device with lower storage costs is more desirable for storing the data file.
  • the RSVS value is directly proportional to the bandwidth requirement. Accordingly, a device supporting a higher bandwidth is more desirable for storing the data file.
  • RSVS is zero if the bandwidth requirements are not satisfied. Accordingly, the RSVS formula for a particular storage device combines the various device characteristics to generate a score that represents the degree of desirability of storing data on the particular storage device.
  • RSVS is zero (0) if the value of Bandwidthjactor is zero.
  • Bandwidthjactor is set to zero if the bandwidth supported by the storage device (indicated by the supported bandwidth information included in the device characteristics information for the device) is less than the bandwidth requirement, if any, specified in the location constraints criteria information specified for the selected placement rule. Accordingly, if the value of RSVS for a particular storage device is zero (0) it implies that bandwidth supported by the storage device is less than the bandwidth required by the placement rule, or the device is already at or exceeds the desired capacity threshold.
  • RSVS is zero (0) if the desired_threshold_% is equal to the current_usage_%.
  • the RSVS for a device is positive, it indicates that the device meets both the bandwidth requirements (i.e., Bandwidth_factor is non zero) and also has enough capacity for storing the data file (i.e., desiredJhreshold_% is greater than the cunent_usage_%).
  • Bandwidth_factor is non zero
  • desiredJhreshold_% is greater than the cunent_usage_%.
  • the higher the RSVS value the more suitable (or desirable) the device is for storing the data file.
  • the device with the highest positive RSVS is the most desirable candidate for storing the data file.
  • the RSVS for a particular device thus provides a measure for determining the degree of desirability for storing data on the particular device relative to other storage devices for the particular placement rale being processed.
  • the RSVS in conjunction with the placement rules and their rankings is used to determine an optimal storage location for storing the data file.
  • the RSVS for a particular device may be negative when the device meets the bandwidth requirements but the device's usage is above the intended threshold (i.e., cunent_usage_% is greater than the desired _threshold_%).
  • the relative magnitude of the negative value indicates the degree of over-capacity of the device. For devices with negative RSVSs, the closer the RSVS is to zero (0) and the device has capacity for storing the data, the more desirable the device is for storing the data file. For example, the over-capacity of a device having RSVS of -0.9 is more than the over-capacity of a second device having RSVS -0.1.
  • the second device is a more attractive candidate for storing the data file as compared to the first device. Accordingly, the RSVS, even if negative, can be used in ranking the storage devices relative to each other for purposes of storing the data file.
  • the RSVS for a particular device thus serves as a measure for determining the degree of desirability or suitability of the particular device for storing the data file relative to other storage devices.
  • a device having a positive RSVS value is a better candidate for storing the data file than a device with a negative RSVS value, since a positive value indicates that the storage device meets the bandwidth requirements for the data file and also possesses sufficient capacity for storing the data file.
  • a device with a higher positive RSVS is a more desirable candidate for storing the data file than a device with a lower RSVS value, i.e., the storage device having the highest positive RSVS value is the most desirable device for storing the data file.
  • a storage device with a positive RSVS value is not available, then devices with negative RSVS values are more desirable than devices with an RSVS value of zero (0).
  • the rationale here is that it is better to select a device that satisfies the bandwidth requirements (although the device is over capacity) than a device that does not meet the bandwidth requirements (i.e., has a RSVS of zero).
  • a device with a higher RSVS value i.e., RSVS closer to 0
  • the device with the highest RSVS value i.e., RSVS closest to 0
  • the most desirable candidate for storing the data file is the most desirable candidate for storing the data file.
  • DMS 104 identifies, from the devices identified in step 506, a storage device with the highest positive RSVS value (step 514).
  • the storage device with the highest positive RSVS value is the most suitable device for storing the data file for the placement rale selected in step 502.
  • DMS 104 determines if a storage device was identified in step 514 (step 516). If a storage device was identified in step 514, then the device identified in step 514 is selected for storing the data file (step 518). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the device selected in step 518.
  • step 516 If it is determined in step 516 that no device was identified in step 514, it indicates that none of the devices selected in step 506 have a positive RSVS value, which implies that the one or more devices selected in step 506 have a negative or a zero RSVS value.
  • DMS 104 then detennines, from the devices identified in step 506, a storage device with the highest (i.e., closest to zero) negative RSVS value (step 520). As described above, among storage devices with negative RSVS values, the device with the highest negative RSVS value (i.e., RSVS closest to 0) is the most suitable candidate for storing the data file.
  • DMS 104 determines if a "candidate" device has been previously identified (step 521). If a candidate device has been previously identified, DMS 104 then determines if the RSVS value of the storage device identified in step 520 is greater (i.e., closer to zero) than the RSVS value of the previously identified "candidate” device (step 522). If it is determined in step 522 that the RSVS value of the storage device identified in step 520 is greater than the RSVS value of the previously identified "candidate” device, it implies that storage device identified in step 520 is a better candidate for storing the data file than the previously identified "candidate” device and accordingly the storage device identified in step 520 is marked as the "candidate” device (step 524). Processing then continues with step 526.
  • step 521 If it is determined in step 521 that no candidate device has been previously identified, then processing continues with step 524 wherein the storage device identified in step 520 is marked as the "candidate” device. If it is determined in step 522 that the RSVS value of the storage device identified in step 520 is not greater than the RSVS value of the previously identified "candidate” device, then processing continues with step 526.
  • step 526 DMS 104 determines if all the placement rules in the ranked list of placement rales have been processed (step 526). If it is determined that all the placement rales have not been processed, processing continues with step 502 wherein an unprocessed placement rale with the highest ranking is selected for processing.
  • DMS 104 determines if a candidate device has been identified (step 528). If a candidate device has been identified, the candidate device is then selected for storing the data file (step 530). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the candidate device selected in step 530.
  • step 528 If it is determined in step 528 that no candidate device has been identified, then an enor message is output to the user (step 510) indicating that a storage device could not be automatically selected for storing the data file based upon the placement rales, data file characteristics, and storage device characteristics. The user may then take appropriate actions such as manually selecting a storage device for storing the data file.
  • step 502 if the location constraint information of the placement rale selected in step 502 specifically identifies one or more devices for storing the data file, then processing continues with step 532 depicted in Fig. 5B.
  • the location constraint information may identify a volume group comprising multiple volumes spanning one or multiple storage devices for storing the data file.
  • the location constraint information associated with placement rale 308-4 depicted in Fig. 3 specifies that the data file is to be stored on a storage device corresponding to a volume included in the volume group "New_volumes" .
  • DMS 104 upon determining that the location constraint information of the placement rule selected in step 502 specifically identifies one or more devices for storing the data file, DMS 104 then identifies the devices specified by the location constraint information (step 532). For example, DMS 104 may identify all the storage devices conesponding to volumes included in a volume group specified in the location constraint information.
  • DMS 104 determines if the location constraint specifies a single device or multiple devices (step 534). If it is determined in step 534 that only a single storage device has been specified, DMS 104 then determines if the device requirements of the single specified device are met (step 536).
  • device requirements for a device may be specified in the device characteristics infonnation for the device. For example, the device characteristics information for a particular device may indicate a file size requirement indicating the threshold size of a data file before the file can be stored on the particular storage device, or the maximum file size of the type of the file.
  • step 536 If it is determined in step 536 that the device requirements for the single device specified in the location constraint information of the placement rale are satisfied, the single storage device is selected for storing the data file (step 538). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the single storage device selected in step 538. If it is determined in step 536 that the device requirements are not satisfied, then processing continues with step 526 depicted in Fig. 5A.
  • step 534 If it is determined in step 534 that multiple storage devices are specified by the location constraint information (e.g., devices conesponding to volumes belonging to a volume group) of the placement rule, DMS 104 then, based upon the characteristics of the data file to be stored and the placement rale, identifies a set of one or more storage devices from the multiple devices specified by the location constraint information whose device requirements are met (step 540). DMS 104 then calculates a RSVS for each storage device identified in step 540 (step 542). According to an embodiment of the present invention, the RSVSs are calculated according to the steps described above.
  • the location constraint information e.g., devices conesponding to volumes belonging to a volume group
  • DMS 104 then identifies, from the storage devices identified in step 540, a storage device with the highest positive RSVS value (step 544). As described above, the storage device with the highest positive RSVS value is the most suitable storage device for storing the data file for the placement rale selected in step 502. [133] DMS 104 then determines if a storage device was identified in step 544 (step 546). If a storage device was identified in step 544, then the storage device identified in step 544 is selected for storing the data file (step 548). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the storage device selected in step 548.
  • step 546 If it is determined in step 546 that no storage device was identified in step 544, it indicates that none of the devices selected in step 540 have a positive RSVS value (i.e., the one or more devices selected in step 540 have a negative or a zero RSVS value). DMS 104 then determines, from the storage devices identified in step 540, a storage device with the highest (i.e., closest to zero) negative RSVS value (step 550). As described above, among devices with negative RSVS values, the device with the highest RSVS value (i.e., RSVS closest to 0) is the most suitable device for storing the data file.
  • DMS 104 determines if a "candidate" device has been previously identified (step 551). If a candidate device has been identified, DMS 104 then determines if the RSVS value of the storage device identified in step 550 is greater (i.e., closer to 0) than the RSVS value of the previously identified "candidate” device (step 552). If it is determined in step 552 that the RSVS value of the storage device identified in step 550 is greater (i.e., closer to zero) than the RSVS value of the previously identified "candidate” device, then the storage device identified in step 550 is marked as the "candidate” device (step 554). Processing then continues with step 526 depicted in Fig. 5A.
  • step 551 If it is determined in step 551 that no candidate device has been identified, then processing continues with step 554 wherein the storage device identified in step 550 is marked as the "candidate” device. If it is determined in step 552 that the RSVS value of the storage device identified in step 550 is not greater than the RSVS value of the previously identified "candidate” device, then processing continues with step 526 depicted in Fig. 5A.
  • DMS 104 iterates through the ranked placement rules to identify a suitable placement rule and a corresponding suitable storage device for storing the data file.
  • the present invention describes techniques for determining storage locations for data in a heterogeneous storage environment based upon storage policies configured for the storage environment such that the storage locations enable efficient data access while optimizing the available storage resources with minimum human intervention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Automated techniques for storing data in a data storage environment (100). Techniques are provided for determining storage locations for data in a heterogeneous storage environment based upon storage policies (128) configured for the storage environment. The data is stored in storage locations (116) that enable efficient data access while optimizing the use of available storage resources with minimum human intervention.

Description

TECHNIQUES FOR STORING DATA BASED UPON STORAGE
POLICIES
CROSS-REFERENCES TO RELATED APPLICATIONS [01] This application claims priority from and is a non-provisional of the following applications, the entire contents of which are herein incorporated by reference for all purposes:
[02] (1) U.S. Provisional Patent Application No. 60/316,764 (Attorney Docket No. 21154-000200US) filed August 31, 2001; and [03] (2) U.S. Provisional Patent Application No. 60/358,915 (Attorney
Docket No. 21154-000400US) filed February 21, 2002.
[04] This application also incorporates by reference for all purposes the entire contents of the following applications:
[05] (1) U.S. Provisional Patent Application No. 60/340,227 (Attorney Docket No. 21154-000300US) filed December 14, 2001; and
[06] (2) U.S . Non-Provisional Patent Application No. 10/133, 123 (Attorney Docket No. 21154-000310US) filed April 25, 2002.
BACKGROUND OF THE INVENTION [07] The present invention relates generally to the field of data storage and management, and more particularly to techniques for determining storage locations for data in a storage environment based upon storage policies configured for the storage environment. [08] Heterogeneous and complex storage environments comprising storage systems and devices with different cost, capacity, bandwidth, and other performance characteristics are rapidly replacing conventional homogeneous data storage environments. Due to their heterogeneous nature, managing storage of data in such environments is a difficult and complex task. An important information management function in such heterogeneous data storage environments is to determine where to store the data among the various available storage devices in a manner that reduces costs associated with the data storage while providing efficient data access.
[09] In several conventional data storage environments, the decision where to store the data is generally manually determined by a user (e.g., a system administrator) of the data storage environment. The user may make the decision based upon data usage patterns and upon characteristics of the storage devices available in the storage environment for storing the data. Accordingly, in such environments, the system administrator has to gather frequency and data usage information, data access and performance requirements, and frequency of access information from users or consumers of the data. The administrator also has to detennine characteristics (e.g., cost, capacity, other performance characteristics) of storage devices available for storing the data. The administrator then typically makes an educated guess as to where the data is to be stored. While the manual approach described above may be feasible in simple homogeneous storage environments supporting a small number of data consumers, such an approach is impractical for today's large and heterogeneous storage environments.
[10] Presently, several conventional data management systems are available that automate part of the data storage decision making process. For example, automated data backup applications are available that perform hierarchical storage management (HSM) to move data from online to off-line storage (or primary to secondary backup media). However, conventional data management systems do not presently offer the flexibility, control, and automation desired by system administrators for managing large heterogeneous storage environments comprising a large number of data consumers, servers, and hosts.
[11] In light of the above, there is a need for automated techniques that allow data storage administrators to efficiently manage distributed data and storage resources with minimum intervention in a manner the facilitates efficient data access while optimizing the use of available storage resources.
BRIEF SUMMARY OF THE INVENTION [12] Embodiments of the present invention provide automated techniques for determining storage locations for data in a storage environment based upon storage policies configured for the storage environment. The storage location is determined in a manner that enables efficient data access while optimizing the available storage resources with minimum human intervention. The storage locations are determined based upon characteristics associated with the data to be stored, based upon characteristics of the storage devices, and based upon storage policies configured for the storage environment.
[13] According to an embodiment of the present invention, techniques are provided for a storage device for storing data in a storage environment comprising a plurality of storage devices. An embodiment of the present invention receives a signal to store a data file. The present invention embodiment then identifies a set of one or more placement rules configured for the storage environment, each placement rule comprising data-related criteria identifying one or more conditions related to one or more characteristics of the data to be stored and device-related criteria identifying one or more conditions related to one or more storage device characteristics. A data value score (DVS) is calculated for each placement rule in the set of placement rules based upon the data-related criteria of the placement rule and characteristics of the data file. The present invention embodiment then determines a storage device, from the plurality of storage devices, for storing the data file based upon the set of placement rules and their associated DVSs, characteristics of the plurality of storage devices, and characteristics of the data file to be stored.
[14] The foregoing, together with other features, embodiments, and advantages of the present invention, will become more apparent when referring to the following specification, claims, and accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[15] Fig. 1 is a simplified block diagram of a distributed system that may incorporate an embodiment of the present invention; and
[16] Fig. 2 is a simplified block diagram of a data management server according to an embodiment of the present invention; [17] Fig. 3 depicts examples of placement rules according to an embodiment of the present invention;
[18] Fig. 4 is a simplified high-level flowchart depicting a method of selecting a storage device from a storage environment for storing a data file based upon a storage policy configured for the storage environment according to an embodiment of the present invention; and
[19] Figs. 5A and 5B depict a simplified high-level flowchart showing processing performed for identifying a storage device for storing the data file based upon the ranked placement rules and based upon characteristics of the storage devices and the data file according to an embodiment of the present invention.
DETAILED DESCRIPTION OF THE INVENTION [20] Embodiments of the present invention provide automated techniques for storing data in a data storage environment. According to an embodiment of the present invention, techniques are provided for determining storage locations for data in a heterogeneous storage environment based upon storage policies configured for the storage environment. Embodiments of the present invention thus facilitate storage of data in a manner that enables efficient data access while optimizing the use of available storage resources with minimum human intervention. [21] According to an embodiment of the present invention, a data management system coupled to a heterogeneous data storage environment is configured to automate data management and storage functions. In this embodiment, the data management system is configured to monitor and analyze data and storage resource usage patterns and determine optimal storage locations for the data based upon the usage patterns. The data management system is also configured to determine storage locations for the data based upon characteristics of the data and the storage devices and based upon storage policies configured for the storage environment. The storage policies may be configured by a user (e.g., an end- user, a system administrator, a manager, etc.) of the storage environment.
[22] The embodiment of the present invention described below describes techniques for determining storage locations for data stored in the form of data files. It should however be understood that, in addition to data files, the teachings of the present invention may also be used to determine storage locations for other units of data such as block data. Accordingly, the embodiments of the present invention described below are not meant to limit the scope of the present invention. [23] Fig. 1 is a simplified block diagram of a distributed system 100 that may incorporate an embodiment of the present invention. Distributed system 100 comprises a plurality of computer systems and storage devices coupled to one or more communication networks via a plurality of communication links. As depicted in Fig. 1, distributed system 100 comprises a plurality of computer systems including one or more user (client) systems 102 coupled to communication network 112, a plurality of server systems including a data management server (DMS) 104, an application service provider (ASP) server 106, a server 108 providing connectivity to a communication network 110 such as the Internet, a file server 122, a database server 124, and various other types of servers. Distributed computer network 100 depicted in Fig. 1 is merely illustrative of an embodiment incorporating the present invention and does not limit the scope of the invention as recited in the claims. One of ordinary skill in the art would recognize other variations, modifications, and alternatives.
[24] The communication networks depicted in Fig. 1 such as communication networks 112 and 110 provide a mechanism for allowing communication and exchange of information between the various computer systems and storage devices depicted in Fig. 1. The communication networks may themselves be comprised of many interconnected computer systems and communication links. For example, communication network 112 may be a LAN (as depicted in Fig. 1), a wide area network (WAN), a wireless network, an Intranet, a private network, a public network, a switched network, or any other suitable communication network. Likewise, communication network 110 may also be any other communication network such as the Internet (as depicted in Fig. 1), or any other computer network.
[25] The communication links used to connect the various systems depicted in Fig. 1 may be of various types including hardwire links, optical links, satellite or other wireless communications links, wave propagation links, or any other mechanisms for communication of information. Various communication protocols may be used to facilitate communication of information via the communication links. These communication protocols may include TCP/IP, HTTP protocols, extensible markup language (XML), wireless application protocol (WAP), Fiber Channel protocols, protocols under development by industry standard organizations, vendor-specific protocols, customized protocols, and others. [26] Computer systems connected to a distributed system such as system 100 depicted in Fig. 1 may be classified as "clients" or "servers" depending on the roles the computer systems play with respect to requesting information or a service or storing/providing information or a service. Computers systems that are used by users to configure information requests or service requests are typically referred to as "client" computers. Computer systems that receive information requests and/or service requests from client systems, perform processing required to satisfy the requests, and forward the results/information corresponding to the requests back to the requesting client systems are usually referred to as "server" systems. The processing required to satisfy a client request may be performed by a single server system or may alternatively be delegated to other servers. Accordingly, the server systems depicted in Fig. 1 are configured to provide information and/or provide a service requested by requests received from one. or more client computers. It should however be understood that a particular computer system might function both as a server and a client. [27] Users of distributed system 100 may use user systems 102 to access data stored by one or more computer systems or storage devices depicted in Fig. 1. As depicted in Fig. 1, user systems 102 may be coupled to communication network 112 via one or more communication links. A user system 102 generally functions as a client requesting data and services from the server systems. A user may also interact with other systems depicted in Fig. 1 via user system 102. For example, a user may use client system 102 to interact with data management server 104. User systems 102 may be of different types including a personal computer, a portable computer, a workstation, a computer terminal, a network computer, a mainframe, a kiosk, a personal digital assistant (PDA), a communication device such as a cell phone, or any other data processing system.
[28] Among the server systems depicted in Fig. 1, DMS 104 is configured to perform processing to provide automated techniques for determining storage locations for data in the storage environment depicted in Fig. 1. SSP server 108 is configured to provide access to communication network 110. File server 122 may be configured to manage directories and file systems. Database server 124 may be configured to store a database and process database queries. ASP server 106 may be configured to provide an application service.
[29] As indicates above, according to an embodiment of the present invention, DMS 104 is configured to perform processing to automate data store and manage . data in distributed system 100. The processing may be performed by software modules executed by DMS 104, by hardware modules coupled to DMS 104, or combinations thereof. According to an embodiment of the present invention, DMS 104 determines storage locations for the data based upon characteristics associated with the data to be stored, characteristics of storage devices available for storing the data, and based upon storage policies configured for the storage enviromnent. The storage policies may be configured by a user (e.g., end-user, system administrator, manager, etc.) of the storage environment.
[30] Information used by DMS 104 to perform processing according to the teachings of the present invention may be stored in a memory location accessible to DMS 104. For example, as depicted in Fig. 1, information related to the data, the storage devices, and the storage policies that is used by DMS 104 may be stored in a storage repository or database 126 accessible to DMS 104. As depicted in Fig. 1, the information stored in database 126 may include information related to one or more storage policies 128 that may be configured by a system administrator, device characteristics information 130, data characteristics information 132, and other information 134. Details related to storage policies information 128, device characteristics information 130, and data characteristics information 132 are provided below. The information may be stored in a single database as shown in Fig. 1, or may be stored in separate databases. It should be understood that the information might be stored in various other formats known to those skilled in the art. The infonnation may be stored on storage devices such as memory drives, disks, tapes, in the memory of computer systems, or the like.
[31] According to an embodiment of the present invention, distributed system 100 comprises a plurality of storage devices that can be used to store and/or backup data. As depicted in Fig. 1, the storage device include various dedicated storage devices 116, one or more computer systems depicted in Fig. 1, devices included in storage networks such as storage area network (SAN) 114, network attached storage (NAS) (not shown), and others. Examples of storage devices include tapes, disk drives, optical disks, RAID structures, solid state storage, and other types of computer-readable storage media. In general, use of the term "storage device" is intended to refer to any system, subsystem, device, computer medium, network, or other like system or mechanism that is capable of storing data in digital or electronic form. The storage devices may be directly coupled to DMS 104, coupled to DMS 104 via a communication network such as communication network 112, coupled to DMS 104 via storage networks (e.g., storage area network (SAN) 114), and via other techniques. [32] As is known to those skilled in the art, storage devices may be characterized by the amount of time required to access data (referred to as "data access time") stored by the storage devices. For example, storage devices may be characterized as on-line storage devices, near-line storage devices, off-line storage devices, and others. The data access time for an on-line storage device is generally shorter than the access time for a near- line storage device. The access time for an off-line storage is generally longer than the access time for a near-line storage device. An off-line storage device is generally a device that is not readily accessible to DMS 104. Examples of off-line storage devices include computer- readable storage media such as tapes, optical devices, and the like. User interaction may be required to access data from an off-line storage device. For example, if a tape is used as an off-line device, the user may have to malce the tape accessible to DMS 104 before data stored on the tape can be restored by DMS 104.
[33] It should be understood that various other criteria might also be used to classify or characterize storage devices. It should be understood that classification of a storage device is not required by the present invention and should not be construed to limit the scope of the present invention as recited in the claims.
[34] As stated above, according to an embodiment of the present invention, DMS 104 is configured to perform processing to store and manage data according to the teachings of the present invention. Fig. 2 is a simplified block diagram of DMS 104 according to an embodiment of the present invention. As shown in Fig. 2, DMS 104 includes at least one processor 202, which communicates with a number of peripheral devices via a bus subsystem 204. These peripheral devices may include a storage subsystem 206, comprising a memory subsystem 208 and a file storage subsystem 210, user interface input devices 212, user interface output devices 214, and a network interface subsystem 216. The input and output devices allow user interaction with DMS 104. A user may be a human user, a device, a process, another computer, and the like.
[35] Network interface subsystem 216 provides an interface to other computer systems, networks, and devices. Embodiments of network interface subsystem 216 include an Ethernet card, a modem (telephone, satellite, cable, ISDN, etc.), (asynchronous) digital subscriber line (DSL) units, and the like.
[36] User interface input devices 212 may include a keyboard, pointing devices such as a mouse, trackball, touchpad, or graphics tablet, a scanner, a barcode seamier, a touchscreen incorporated into the display, audio input devices such as voice recognition systems, microphones, and other types of input devices. In general, use of the term "input device" is intended to include all possible types of devices and ways to input information to DMS 104.
[37] User interface output devices 214 may include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices. The display subsystem may be a cathode ray tube (CRT), a flat-panel device such as a liquid crystal display (LCD), or a projection device. The display subsystem may also provide non- visual display such as via audio output devices. In general, use of the term "output device" is intended to include all possible types of devices and ways to output information from DMS 104.
[38] Storage subsystem 206 may be configured to store the basic programming and data constructs that provide the functionality of DMS 104. For example, according to an embodiment of the present invention, software modules implementing the functionality of the present invention may be stored in storage subsystem 206. These software modules may be executed by processor(s) 202. In a distributed environment, the software modules may be stored on a plurality of computer systems and executed by processors of the plurality of computer systems. Storage subsystem 206 may also provide a repository for storing data and various databases that may be used to store information according to the teachings of the present invention. For example, storage policies information 128, device characteristics information 130, and data characteristics information 132 may be stored in storage subsystem 206. Storage subsystem 206 may comprise memory subsystem 208 and file/disk storage subsystem 210.
[39] Memory subsystem 208 may include a number of memories including a main random access memory (RAM) 218 for storage of instructions and data during program execution and a read only memory (ROM) 220 in which fixed instructions are stored. File storage subsystem 210 provides persistent (non- volatile) storage for program and data files, and may include a hard disk drive, a floppy disk drive along with associated removable media, a Compact Disk Read Only Memory (CD-ROM) drive, an optical drive, removable media cartridges, and other like storage media. One or more of the drives may be located at remote locations on other connected computers.
[40] Bus subsystem 204 provides a mechanism for letting the various components and subsystems of DMS 104 communicate with each other as intended. The various subsystems and components of DMS 104 need not be at the same physical location but may be distributed at various locations within network 100. Although bus subsystem 204 is shown schematically as a single bus, alternative embodiments of the bus subsystem may utilize multiple busses.
[41] DMS 104 itself can be of varying types including a personal computer, a portable computer, a workstation, a network computer, a mainframe, a kiosk, a personal digital assistant (PDA), a communication device such as a cell phone, or any other data processing system. Due to the ever-changing nature of computers and networks, the description of DMS 104 depicted in Fig. 2 is intended only as a specific example for purposes of illustrating the preferred embodiment of the computer system. For example, other types of processors are contemplated, such as the Athlon™ class microprocessors from AMD, the Pentium™ -class or Celeron™-class microprocessors from Intel Corporation, PowerPC™ G3 or G4 microprocessors from Motorola, Inc., Crusoe™ processors from Transmeta, Inc. and the like. Further, other types of operating systems are contemplated in alternative embodiments including WindowsNT™ from Microsoft, Solaris from Sun Microsystems, LINUX, UNIX, MAC OS X from Apple Computer Corporation, and the like. Many other configurations having more or fewer components than the system depicted in Fig. 2 are possible.
[42] As indicated above, according to the teachings of the present invention, DMS 104 determines locations for storing data in distributed network 100 based upon one or more storage policies configured for the storage environment, based upon information identifying characteristics of the data to be stored, and based upon information identifying characteristics of the storage devices available for storing the data in the storage environment. [43] According to an embodiment of the present invention, a storage policy specifies when and how data is to be stored and/or migrated. A storage policy may comprise one or more rules that may be configured by an administrator of the storage environment. These rules may include rules that specify when data is to be stored in the storage environment or when data is to be migrated from one storage location to another. The rules may also include rules specifying the storage location where the data is to be stored. The storage location may identify a storage device to be used for storing the data and may also identify where on the storage device (e.g., volume, directory, etc.) the data is to be stored.
[44] According to an embodiment of the present invention, a storage policy includes one or more "placement rules" and "migration rules". A placement rule identifies the criteria to be μsed for selecting a storage device for storing the data. In one embodiment, each placement rule is implemented as an IF. . .THEN clause in the policy engine. This clause describes the conditions associated with the IF clause that need to be evaluated and the actions to be performed when the IF clause is satisfied. Various conditions and properties of the data (e.g., type of data,.size of a data file, owner of the file, etc.) and of storage devices for storing the data (e.g., available capacity of a storage device, bandwidth capability of a storage device, cost of storing data on a storage device, etc.) may be specified in the IF clause. For purposes of this invention, the actions typically include storing data in a particular storage location or migrating data from a first storage location to another storage location.
[45] A migration rule describes when one or more placement rules are to be evaluated. In one embodiment, each migration rule is implemented as a WHEN clause in the policy engine. The WHEN clause generally specifies one or more events (e.g., temporal events that change with time) that can be monitored by DMS 104. Examples of events that may be specified in a WHEN clause include: a data file is created, a data file is modified, usage of a storage volume exceeds or falls below a certain threshold, a time related event has occurred, and the like. A WHEN clause is satisfied or evaluates to TRUE when one or more events specified in the WHEN occur or evaluate to true.
[46] Multiple events or conditions may be connected together in a WHEN clause or in an IF clause using one or more logical or Boolean operators. For example, Boolean operators such as AND, OR, NOT, and the like may be used. As described above, an IF clause is evaluated only when a WHEN clause evaluates to TRUE. Further details related to IF. . .THEN clauses and WHEN clauses are described in U.S. Provisional Patent Application No. 60/340,227 (Attorney Docket No. 21154-000300US) filed December 14, 2001, and U.S. Non-Provisional Patent Application No. 10/133,123 (Attorney Docket No. 21154-000310US) filed April 25, 2002, the entire contents of which are herein incorporated by reference for all purposes.
[47] According to an embodiment of the present invention, the rules associated with a storage policy are evaluated when DMS 104 receives a signal to determine a storage location for some data such as a file being managed by DMS 104. The signal may be triggered manually by a user of the present invention or may be triggered in response to a signal received from another application or process. The storage policy rules may also be evaluated when files are to be selected for migration from one device to another while performing capacity balancing, for load balancing purposes, or for performing other storage management tasks such as increasing data and/or space availability. DMS 104 may perform capacity balancing in response to a signal triggered by a user of the storage environment in response to a signal received from another application or process.
[48] According to an embodiment of the present invention, information such as device characteristics information 130 and data characteristics information 132 is used as input parameter for evaluating one or more storage rules specified by a storage policy. For example, device characteristics 130 and data characteristics 132 are used as inputs to evaluate the WHEN and IF. . .THEN clauses.
[49] According to an embodiment of the present invention, device characteristics information 130 includes information related to storage devices available in the storage environment for storing data and other information. DMS 104 uses the device characteristics information 130 to evaluate rules defined in a storage policy to determine optimal locations for storing data. According to an embodiment of the present invention, device characteristics information 130 for a storage device may include:
[50] (1) Available capacity information: This information indicates the available storage capacity of the storage device. This value is usually expressed as a percentage of the total storage capacity of the storage device. For example, if the total storage capacity of a storage device is 100 Mbytes, and if 40 Mbytes are free for storage (i.e., 60 Mbytes are already used), then the available capacity of the storage device may be expressed as 40% available. The value may also be expressed as the amount of free storage capacity (e.g., in Mbytes, GBytes, etc.) This information may be dynamically monitored and tracked by DMS 104 for a storage device by examining the actual usage of the storage device.
[51] (2) Cost information: This information indicates the cost of storing data on a storage device. The cost may be measured as number of dollars per unit of memory (e.g., doUars-per-Gigabyte, dollars-per-Megabyte, etc). A system administrator or user of the present invention may configure this information.
[52] (3) Supported bandwidth information: This information is usually measured as a unit of data per unit of time (e.g., Mbps -> megabits-per-second, etc.) and expresses the bandwidth capability of a storage device. In alternative embodiments, qualitative classifications may also be used to represent this information. For example, supported bandwidth for a storage device may be classified as "high", "medium", or "low". Each qualitative classification may correspond to a range of preset unit-of-data per unit-of- time values. A system administrator or user of the present invention may configure this information. [53] (4) Desired threshold information: This information identifies one or more thresholds that may be configured by a system administrator or user for storing data on a device. For example, a system administrator may specify a storage capacity threshold for a device. Each threshold may be expressed as a percentage of the total capacity of the storage device. For a particular storage device, thresholds may also be defined for particular types of data to be stored on the device. Each threshold associated with a data type may indicate the percentage of total capacity of the device that the user desires to allocate for storing data of the particular type. For example, a user may configure that only up to 15% of the total capacity of a storage device may be used for storing MS Office files, or only up to 25% of the total capacity of the storage device capacity may be used for storing electronic mail data, etc. [54] (5) File size requirement: This information indicates the threshold size
(either minimum threshold or maximum threshold) of a data file before the file can be stored on the storage device. For example, the file size requirement information may indicate that a file has to be at least a certain size before it can be stored on the device, or that any file above a particular size cannot be stored on the storage device, or the like. A user of the present invention may configure the file size requirement for a device.
[55] (6) Availability characteristics. This is a qualitative value that represents the administrator's perception of the relative availability of the device (e.g., high, medium, or low). For example, the qualitative value may be set based upon the degree of replication of the device (e.g., RAID levels: RAID 10, RAID 5 is high, RAID 0, RAID 1 is medium etc). Other factors that may influence the availability characteristics include hardware availability features such as number of redundant power supplies, redundant controllers, multiple access paths to the device, etc.
[56] It should be understood that various other types of information might also be included in device characteristics information 130 in alternative embodiments of the present invention. Further, in alternative embodiments of the present invention, device characteristics information 130 may include more information or less information than that described above.
[57] A system administrator may also group one or more storage devices into volumes or volume groups. A volume may represent an identifiable unit of storage space based upon one or more storage devices. For example, storage devices that have the similar static characteristics may be grouped into a volume group or set. A storage device may also be divided into one or more separately identifiable volumes. It should be understood that information such as the available capacity information may be different for each volume (or storage device) in a volume group. Accordingly, each volume in a volume group may be individually monitored by DMS 104.
[58] As indicated above, in addition to device characteristics information 130, data characteristics information 132 is also used as a parameter for evaluating one or more storage rules specified in a storage policy. According to an embodiment of the present invention, data characteristics information 132 includes information related to the data to be stored. For purposes of describing an embodiment of the present invention, it is assumed that the data is stored in the form of files ("data files"). It should be understood that in alternative embodiments of the present invention, various other techniques or methods may be used to store the data. According to an embodiment of the present invention, for each data file, data characteristics information 132 associated with the data file may include:
[59] (1) Relevance of data information ("relevance score"): This information represents a value indicating a priority assigned by the administrator to the data file. For example, according to an embodiment of the present invention, the user or administrator may assign a number in the range of 0 and 1, with 0 being least important and 1 being most important. The relevance score can be assigned to any combination of file types and ownership, with a default relevance score used when the administrator makes no explicit assignment. For example, a content provider may assign a higher score to all JPEG files and files owned by the authoring group than to other files.
[60] (2) File Size information: This indicates the size of a data file. [61] (3) File type information: This indicates the type of data stored by the data file. A data file may be of various different types. These types may be defined by a user of the storage environment or may alternatively be defined by the storage environment. Examples of file types include image files, email files, MS Office file, etc. [62] (4) File ownership information: This information indicates the owner of the data file. Generally, the creator of a data file is designated as the owner of the file.
[63] (5) Data bandwidth requirement information: This information indicates the bandwidth requirement for a data file. This information is used for determining a storage location for the file. A user or system administrator of the storage environment generally configures this information.
[64] (6) File access information: This information indicates the file access pattern associated with a data file. For example, this information may include information related to when a file was created or accessed, identity of the person accessing the file, last access time of the file, and other like information. This infonnation may be automatically monitored by DMS 104.
[65] (7) Current file location information: This information indicates the current location of the file.
[66] It should be understood that various other types of information might also be included in data characteristics information 132 in alternative embodiments of the present invention. Further, in alternative embodiments of the present invention, data characteristics information 132 may include more information or less information than that described above.
[67] A system administrator may also define data groups. Each data group may comprise one or more data files that share similar characteristics. [68] As indicated above, data characteristics information 132 and device characteristics information 130 serve as parameters to migration and placement rules defined according to a storage policy. As described above, a placement rule is evaluated only after conditions specified by a migration rule are satisfied. According to an embodiment of the present invention, each placement rule may comprise the following portions: (1) Data usage criteria information
(2) File selection criteria infonnation
(3) Location constraint criteria information
The term "data-related criteria" may be used to refer to data use criteria information and file selection criteria information since they comprise conditions associated with the data to be stored. The term "device-related criteria" may be used to refer to local constraint information since it comprises conditions related to storage devices.
[69] Fig. 3 depicts examples of placement rules according to an embodiment of the present invention. In Fig. 3, each row 308 of table 300 specifies a placement rule. Column 302 of table 300 identifies the file selection criteria information for each rule, column 304 of table 300 identifies the data usage criteria information for each placement rule, and column 306 of table 300 identifies the location constraint criteria information for each rule.
[70] The "file selection criteria information" specifies information identifying a set of data files that is eligible for the specific placement rule. According to an embodiment of the present invention, the selection criteria information for a placement rules specifies one or more clauses (or conditions) related to a data characteristics parameter such as file type, relevance score of file, file owner, etc. Each clause may be expressed as an absolute value (e.g., File type is "Office files") or as an inequality (e.g., Relevance score of file > 0.5). Multiple clauses may be connected by Boolean connectors (e.g., File type is "Email files" AND File owner is "John Doe") to form a Boolean expression. The file selection criteria information may also be left empty (i.e., not configured or set to NULL value), e.g., file selection criteria for placement rules 308-6 and 308-7 depicted in Fig. 3. According to an embodiment of the present invention, the file selection criteria information defaults to a NULL value. An empty or NULL file selection criterion is valid and indicates that all files are selected or are eligible for the placement rule.
[71] The "data usage criteria information" specifies criteria related to file access infonnation associated with a data file. For example, for a particular placement rule, this information may specify a time (e.g., timestamp) associated with a data file that falls within specific date ranges. The timestamp can conespond to a creation date, the date a file was last modified, the date when a file was last accessed, and the like. The criteria may be specified using one or more clauses or conditions related to file access information connected using Boolean connectors. The data usage criteria clauses may be specified as equality conditions or inequality conditions. An example of data usage criteria is "file last accessed between 7 days to 30 days ago" (corresponding to placement rule 308-2 depicted in Fig. 3). The administrator or user of the present invention may set this criterion.
[72] The "location constraint information" for a particular placement rule specifies one or more constraints that must be satisfied by a storage device selected for storing data based upon the particular placement rule. Accordingly, location constraint information generally specifies parameters associated with a storage device. The location constraint information may be left empty or may be set to NULL to indicate that no constraints are applicable to the placement rule (e.g., location constraint infonnation corresponding to placement rule 308-3 depicted in Fig. 3). According to an embodiment of the present invention, the constraint information may be set to LOCAL (e.g., location constraint information for placement rules 308-1 and 308-6) which implies that data file will be stored on a local storage device (local to the device used to create the data file) and will not be moved or migrated to another storage device. A specific volume group, or a specific device may be specified in the location constraint information for storing the data file. A minimum bandwidth requirement (e.g., Bandwidth >= 10 MB/s) may be specified indicating that the data can only be stored on a storage device satisfying the constraint. Various other constraints or requirements may also be specified (e.g., constraints related to file size, availability, etc.). The constraints specified by the location constraint information are generally hard constraints implying that a data file cannot be stored on a device that does not satisfy the location constraints.
[73] Fig. 4 is a simplified high-level flowchart 400 depicting a method of selecting a storage device from a storage environment for storing a data file based upon a storage policy configured for the storage environment according to an embodiment of the present invention. The method may be performed by DMS 104, or by DMS 104 in association with other data processing systems. In the embodiment described below the method is performed by DMS 104. The method may be performed by software modules executed by processors) 202 of DMS 104, or by hardware modules coupled to DMS 104, or combinations thereof. Flowchart 400 depicted in Fig. 4 is merely illustrative of an embodiment incorporating the present invention and does not limit the scope of the invention as recited in the claims. One of ordinary skill in the art would recognize variations, modifications, and alternatives.
[74] As depicted in Fig. 4, processing is initiated when DMS 104 receives a signal that triggers evaluation of a storage policy (step 402). The signal may be automatically received from another system or application or may be manually generated by a user (e.g., a system administrator of the storage environment) of the present invention. Various different events may trigger generation of the signal. For example, the signal may be generated when a storage capacity threshold has been reached and/or one or more data files are to be stored in the storage environment. The signal may also be generated when one or more data files stored in the storage environment are to be relocated to another storage location within the storage environment. The signal may also be generated when a storage management application needs to migrate a set of data files from one storage location to another in order to free up storage capacity, perform capacity balancing, load balancing, or other storage management tasks. For purposes of explaining flowchart 400 depicted in Fig. 4, it is assumed that the signal is generated when a particular data file is to be stored in the storage environment depicted in Fig. 1.
[75] Upon receiving the signal, DMS 104 determines a set of one or more migration rules that evaluate to TRUE based upon the signal received in step 402 (step 404). As indicated above, according to an embodiment of the present invention, each migration rule may be implemented as a WHEN clause. Accordingly, in step 404, DMS 104 determines a set of one or more WHEN clauses that evaluate to TRUE.
[76] DMS 104 then determines a set of one or more placement rules, conesponding to the migration rules determined in step 404 (step 406). As previously described, each placement rule identifies criteria to be used for selecting a storage device for storing the particular data file.
[77] DMS 104 then generates a score for each placement rule determined in step 406 (step 408). According to an embodiment of the present invention, a numerical score (refened to as the Data Value Score or DVS) is generated for each placement rule. For each placement rule, the DVS generated for the placement rule indicates the level of suitability or applicability of the placement rule for the data set (e.g., the data file) to be stored. The value of the DVS for a particular placement rule is based upon the characteristics of the data file to be stored. For example, according to an embodiment of the present invention, higher scores are generated for placement rules that are deemed more suitable or relevant to the data file to be stored.
[78] Several different techniques may be used for generating a DVS for a placement rule. According to an embodiment of the present invention, the DVS for a placement rule is a simple product of a "file_selection_score" and a "data_usage_score", i.e., DVS = file_selection_score* data_usage_score In the above formula, it is assumed that the file_selection_score and the data_usage_score are equally weighed in the calculation of DVS. However, in alternative embodiments, differing weights may be allocated to the file_selection_score and the data_usage_score. According to an embodiment of the present invention, the value of DVS is in the range between 0 and 1 (both inclusive). [79] According to an embodiment of the present invention, the file_selection_score (also referred to as the "data characteristics score") for a placement rule is calculated based upon the file selection criteria information specified for the placement rule and the data_usage_score for the placement rule is calculated based upon the data usage criteria information specified for the placement rule. As described above, the file selection criteria infonnation and the data usage criteria information specified for the placement rule may comprise one or more clauses involving one or more parameters connected by Boolean connectors (see Fig. 3). Accordingly, calculation of the file_selection_score involves calculating numerical values for the individual clauses that make up the file selection criteria information for the placement rule and then combining the individual clause scores to calculate the file_selection_score for the placement rule. Likewise, calculation of the data_usage_score involves calculating numerical values for the individual clauses that make up the data usage criteria information for the placement rule and then combining the individual clause scores to calculate the data_usage_score for the placement rule. [80] According to an embodiment of the present invention, the following rules are used to combine score generated for the individual clauses to calculate a file_selection_score or data_usage_score:
[81] Rule 1 : For an N-way AND operation (i.e., for N clauses connected by an AND com ector), the resultant value is the sum of all the individual values (i.e., values calculated for the individual clauses) divided by N.
[82] Rule 2: For an N-way OR operation (i.e., for N clauses connected by an OR connector), the resultant value is the largest value calculated for the N clauses.
[83] Rule 3: According to an embodiment of the present invention, the file_selection_score and the data_usage_score are between 0 and 1 (both inclusive). [84] According to an embodiment of the present invention, the value for each clause specified in the file selection criteria' is scored using the following guidelines:
[85] (a) If a NULL (or empty) value is specified in the file selection criteria information then the NULL or empty value gets a score of 1. For example, the file_selection_score for placement rule 308-7 depicted in Fig. 3 is set to 1. [86] (b) For file type and ownership parameter evaluations, a score of 1 is assigned if the parameter criteria are met, else a score of 0 is assigned. For example, for placement rule 308-4 depicted in Fig. 3, if the data file to be stored is of type "Email Files", then a score of 1 is assigned for the clause, and the file_selection_score for placement rule 308-4 is also set to 1. However, if the data file to be stored is not an email file, then a score of 0 is assigned for the clause and accordingly the file_selection_score is also set to 0.
[87] (c) If the clause involves an equality test of the "relevance score", the score for the clause is calculated using the following equations: RelScoreoata = Relevance score of the data file (from the data characteristics for the file)
RelScoreRUie = Relevance score specified in the file selection criteria information Delta = abs(RelScoreData - RelScoreRUιe) Score = 1 - (Delta/RelScoreRUιe) The Score is reset to 0 if it is negative. [88] (d) If the clause involves an inequality test (i.e., using >, >= < or <=) related to the "relevance score" (e.g., rule 308-5 in Fig. 3), the score for the clause is calculated using the following equations:
The Score is set to 1 if the parameter inequality is satisfied.
RelScoreoata = Relevance score of the data file (from the data characteristics for the file) RelScoreRuie = Relevance score specified in the file selection criteria information
Delta = abs(RelScoreData - RelScoreRUιe) Score = 1 - (Delta/RelScoreRU]e) The Score is reset to 0 if it is negative.
[89] The file_selection_score is then calculated based on the individual scores for the clauses in the file selection criteria information using Rules 1, 2, and 3, as described above. The file_selection_score represents the degree of matching (or suitability) between the file selection criteria information for a particular placement rule and the data file to be stored.
[90] It should be evident that various other techniques may also be used to calculate the file_selection_score in alternative embodiments of the present invention.
[91] According to an embodiment of the present invention, the score for each clause specified in the data usage criteria information for a placement rule is scored using the following guidelines:
The score for the clause is set to 1 if the parameter condition of the clause is met. DateData = Relevant date information in the data file.
DateRuie = Relevant date information in the rule. Delta = abs(Dateoata - Date Uιe) Score = 1 - (Delta/DateRUιe) The Score is reset to 0 if it is negative. [92] If a date range is specified in the clause (e.g., last 7 days), the date range is converted back to the absolute date before the evaluation is made. The data_usage_score is then calculated based upon scores for the individual clauses specified in the file selection criteria information using Rules 1, 2, and 3, as described above. It should be evident that various other techniques may also be used to calculate the data_usage_score in alternative embodiments of the present invention. The data_usage_score represents the degree of matching (or suitability) between the data usage criteria infonnation for a particular placement rule and the data file to be stored.
[93] The DVS is then calculated based upon the file_selection_score and data_usage_score. The DVS for a placement rale thus quantifies the degree of matching (or suitability) between the conditions specified in the file selection criteria information and the data usage criteria information for the placement rule and the characteristics of the data file to be stored as described by the data characteristics information for the data file.
[94] Referring back to Fig. 4, a DVS is calculated in step 408 for each placement rule determined in step 406 based upon the fϊle_selection_score and the data_usage_score for the rule. It should be evident that various other techniques may also be used to calculate DVSs for placement rules in alternative embodiments of the present invention.
[95] The placement rules are then ranked (or ordered) based upon the DVSs calculated for the rules in step 408 (step 410). As indicated above, a DVS generated for a placement rule indicates the suitability of the placement rule for the data file to be stored. For example, according to an embodiment of the present invention, higher scores are generated for placement rules that are deemed more suitable (or are more relevant) for the data file to be stored. Accordingly, the ranked list of placement rules generated in step 410 represents a list of placement rules ranked according to their suitability or relevancy to the data file to be stored.
[96] Several different techniques may be used for ranking the placement rules. The rules are initially ranked based upon DVSs calculated for the placement rules. According to an embodiment of the present invention, if two or more placement rules have the same DVS value, then the following tie-breaking rules may be used:
[97] (a) The placement rules are ranked based upon priorities assigned to the placement rules by a user (e.g., system administrator) of the storage environment.
[98] (b) If the priorities are not set or are equal, then the total number of top level AND operations (i.e., number of clauses connected using AND connectors) used in calculating the file_selection_score and the data_usage_score for a placement rule are used as a tie-breaker. A particular placement rule having a greater number of AND operations that are used in calculating file_selection_score and data_usage_score for the particular rule is ranked higher than another rule having a lesser number of AND operations. The rationale here is that a more specific configuration (indicated by a higher number of clauses connected using AND operations) of the file selection criteria and the data usage criteria is assumed to carry more weight than a general specification.
[99] (c) If neither (a) nor (b) are able to break the tie between placement rules, some other criteria may be used to break the tie. For example, according to an embodiment of the present invention, the order in which the placement rules are encountered maybe used to break the tie. In this embodiment, a placement rule that is encountered earlier is ranked higher than a subsequent placement rule. Various other criteria may also be used to break ties.
[100] It should be evident that various other techniques may also be used to rank the placement rules in alternative embodiments of the present invention.
[101] Referring back to Fig. 4, DMS 104 then identifies a storage device for storing the data file based upon the ranked placement rules, based upon data characteristics associated with the particular data file to be stored, and based upon device characteristics associated with storage devices in the storage environment that are available for storing the data file (step 412). The storage device selected in step 412 represents a storage device that is optimal or well suited for storing the data file given the characteristics of the data file, the available storage devices, and the storage policy configured for the storage environment by a system administrator. Further details related to processing performed in step 412 according to an embodiment of the present invention are described below. The data file is then stored on the storage device identified in step 412 (step 414).
[102] Figs. 5A and 5B depict a simplified high-level flowchart 500 showing processing performed in step 412 of Fig. 4 for identifying a storage device for storing the data file based upon the ranked placement rules and based upon characteristics of the storage devices and the data file according to an embodiment of the present invention. The method may be performed by DMS 104, or by DMS 104 in association with other data processing systems. In the embodiment described below the method is performed by DMS 104. The method may be performed by software modules executed by processor(s) 202 of DMS 104, or by hardware modules coupled to DMS 104, or combinations thereof. Flowchart 500 depicted in Figs. 5 A and 5B is merely illustrative of an embodiment incorporating the present invention and does not limit the scope of the invention as recited in the claims. One of ordinary skill in the art would recognize variations, modifications, and alternatives.
[103] As depicted in Fig. 5 A, after the placement rules have been ranked according to step 410 in Fig. 4, DMS 104 selects a previously unprocessed placement rule (i.e., a placement rule that has not already been selected in step 502) with the highest ranking from the ranked list of placement rules (step 502). For example, during the first pass through the flowchart, the highest ranked placement rule is selected, during the second pass the second highest ranked placement rule is selected (since the highest ranked placement rule has been previously processed), during the third pass the third highest ranked placement rule is selected (since the highest and second highest ranked placement rales have been previously processed), and so on.
[104] DMS 104 then determines if the location constraint criteria information for the placement rule selected in step 502 specifically identifies one or more storage devices for storing the data file (step 504). If the location constraint information identifies one or more storage devices, then processing continues with step 532 depicted in Fig. 5B and explained below. If the location constraint information does not specifically identify any storage devices for storing the data file, then based upon the characteristics of the data file to be stored, and the current rule selected in step 502, DMS 104 identifies a set of one or more storage devices whose device requirements are met (step 506). As previously described, according to an embodiment of the present invention, the device requirements for a storage device may be specified in the device characteristics information associated with the storage device. For example, the device characteristics information for a particular storage device may indicate a file size requirement indicating the threshold size of a data file before the file can be stored on the particular storage device, and the like. Accordingly, in step 506, the particular device is selected only if the size of the data file to be stored is above the threshold size indicated by the file size requirement infonnation for the particular storage device. Other device requirements may likewise be evaluated.
[105] DMS 104 then determines if at least one storage device was identified in step 506 (step 508). If it is determined in step 508 that not even one storage device was identified in step 506, it indicates that the data file does not satisfy the device requirements for any storage device in the storage environment. In this case, an enor message may be output (step 510) to the user indicating that the device requirements for the storage devices are not satisfied by the data file. The user may then take appropriate action such as manually selecting a storage device for storing the file (even though the device requirements for the selected device are not satisfied.)
[106] If it is determined in step 508 that at least one storage device was identified in step 506, DMS 104 then calculates a relative storage value score (RSVS) for each storage device identified in step 506 (step 512). According to an embodiment of the present invention, a RSVS for a device is calculated using the following steps:
[107] STEP 1 : A "Bandwidth_factor" variable is set to zero (0) if the bandwidth supported by the storage device (indicated by the supported bandwidth information included in the device characteristics infonnation for the device) is less than the bandwidth requirement, if any, specified in the location constraints criteria specified for the placement rale selected in step 502. For example, the location constraint criteria for placement rale 308-2 depicted in Fig. 3 specifies that the bandwidth of the storage device should be greater than 40 MB. Accordingly, if the bandwidth supported by the storage device is less than 40 MB, then the "Bandwidthjactor" variable is set to 0. [108] Otherwise, the value of "Bandwidthjactor" is set as follows:
Bandwidth_factor = ((Bandwidth supported by the device) - (Bandwidth required by the location constraint of the selected placement rule)) + K where K is set to some constant integer. According to an embodiment of the present invention, K is set to 1. Accordingly, the value of Bandwidthjactor is set to a non-negative value.
[109] STEP 2: RSVS is calculated as follows: RSVS = Bandwidth_factor * (desired Jhreshold_% - current_usage_%)/cost As described above, the desired_threshold_% for a storage device is usually set by a system administrator and included in the device characteristics information. The current_usage_% value is monitored by DMS 104 and also included in the device characteristics information. The "cost" value may be set by the system administrator and included in the device characteristics infonnation.
[110] It should be understood that the formula for calculating RSVS shown above is representative of one embodiment of the present invention and is not meant to reduce the scope of the present invention. Various other factors may be used for calculating the RSVS in alternative embodiments of the present invention. For example, the availability of a storage device may also be used to determine RSVS for the device. According to an embodiment of the present invention, availability of a storage device indicates the amount of time that the storage device s available during those time periods when it is expected to be available. Availability may be measured as a percentage of an elapsed year in certain embodiments. For example, 99.95% availability equates to 4.38 hours of downtime in a year (0.0005 * 365 * 24 = 4.38) for a storage device that is expected to be available all the time. According to an embodiment of the present invention, the value of RSVS for a storage device is directly proportional to the availability of the storage device.
[Ill] STEP 3: Various adjustments may be made to the RSVS calculated according to the above steps. For example, in some storage environments, the administrator may want to group "similar" files together in one storage device. In other environments, the administrator may want to distribute files among different storage devices. The RSVS may be adjusted to accommodate the policy adopted by the administrator. Performance characteristics associated with a network that is used to transfer data from the storage devices may also be used to adjust the RSVSs for the storage devices. For example, the access time (i.e., the time required to provide data stored on a storage device to a user) of a storage device may be used to adjust the RSVS for the storage device. The throughput of a storage device may also be used to adjust the RSVS value for the storage device. Accordingly, parameters such as the location of the storage device, location of the data source, and other network related parameters might also be used to generate RSVSs. According to an embodiment of the present invention, the RSVS value is calculated such that it is directly proportional to the desirability of the device for storing the specific data file. [112] According to an embodiment of the present invention, based upon the steps described above, a higher RSVS value represents a more desirable storage device for storing the data file. As indicated, the RSVS value is directly proportional to the available capacity percentage. Accordingly, a device with higher available capacity is more desirable for storing the data file. The RSVS value is inversely proportional to the cost of storing data on the storage device. Accordingly, a storage device with lower storage costs is more desirable for storing the data file. The RSVS value is directly proportional to the bandwidth requirement. Accordingly, a device supporting a higher bandwidth is more desirable for storing the data file. RSVS is zero if the bandwidth requirements are not satisfied. Accordingly, the RSVS formula for a particular storage device combines the various device characteristics to generate a score that represents the degree of desirability of storing data on the particular storage device.
[113] According to the above formula, RSVS is zero (0) if the value of Bandwidthjactor is zero. As described above, Bandwidthjactor is set to zero if the bandwidth supported by the storage device (indicated by the supported bandwidth information included in the device characteristics information for the device) is less than the bandwidth requirement, if any, specified in the location constraints criteria information specified for the selected placement rule. Accordingly, if the value of RSVS for a particular storage device is zero (0) it implies that bandwidth supported by the storage device is less than the bandwidth required by the placement rule, or the device is already at or exceeds the desired capacity threshold.
[114] Alternatively, RSVS is zero (0) if the desired_threshold_% is equal to the current_usage_%.
[115] If the RSVS for a device is positive, it indicates that the device meets both the bandwidth requirements (i.e., Bandwidth_factor is non zero) and also has enough capacity for storing the data file (i.e., desiredJhreshold_% is greater than the cunent_usage_%). The higher the RSVS value, the more suitable (or desirable) the device is for storing the data file. For devices with positive RSVSs, the device with the highest positive RSVS is the most desirable candidate for storing the data file. The RSVS for a particular device thus provides a measure for determining the degree of desirability for storing data on the particular device relative to other storage devices for the particular placement rale being processed. The RSVS in conjunction with the placement rules and their rankings is used to determine an optimal storage location for storing the data file.
[116] The RSVS for a particular device may be negative when the device meets the bandwidth requirements but the device's usage is above the intended threshold (i.e., cunent_usage_% is greater than the desired _threshold_%). The relative magnitude of the negative value indicates the degree of over-capacity of the device. For devices with negative RSVSs, the closer the RSVS is to zero (0) and the device has capacity for storing the data, the more desirable the device is for storing the data file. For example, the over-capacity of a device having RSVS of -0.9 is more than the over-capacity of a second device having RSVS -0.1. Accordingly, the second device is a more attractive candidate for storing the data file as compared to the first device. Accordingly, the RSVS, even if negative, can be used in ranking the storage devices relative to each other for purposes of storing the data file. [117] The RSVS for a particular device thus serves as a measure for determining the degree of desirability or suitability of the particular device for storing the data file relative to other storage devices. A device having a positive RSVS value is a better candidate for storing the data file than a device with a negative RSVS value, since a positive value indicates that the storage device meets the bandwidth requirements for the data file and also possesses sufficient capacity for storing the data file. Among storage devices with positive RSVS values, a device with a higher positive RSVS is a more desirable candidate for storing the data file than a device with a lower RSVS value, i.e., the storage device having the highest positive RSVS value is the most desirable device for storing the data file.
[118] If a storage device with a positive RSVS value is not available, then devices with negative RSVS values are more desirable than devices with an RSVS value of zero (0). The rationale here is that it is better to select a device that satisfies the bandwidth requirements (although the device is over capacity) than a device that does not meet the bandwidth requirements (i.e., has a RSVS of zero). Among devices with negative RSVS values, a device with a higher RSVS value (i.e., RSVS closer to 0) is a more desirable candidate for storing the data file than a device with a lesser RSVS value. Accordingly, among devices with negative RSVS values, the device with the highest RSVS value (i.e., RSVS closest to 0) is the most desirable candidate for storing the data file.
[119] Referring back to Fig. 5 A, after an RSVS has been generated for each storage device identified in step 506, DMS 104 then identifies, from the devices identified in step 506, a storage device with the highest positive RSVS value (step 514). As described above, the storage device with the highest positive RSVS value is the most suitable device for storing the data file for the placement rale selected in step 502.
[120] DMS 104 then determines if a storage device was identified in step 514 (step 516). If a storage device was identified in step 514, then the device identified in step 514 is selected for storing the data file (step 518). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the device selected in step 518.
[121] If it is determined in step 516 that no device was identified in step 514, it indicates that none of the devices selected in step 506 have a positive RSVS value, which implies that the one or more devices selected in step 506 have a negative or a zero RSVS value. In this scenario, DMS 104 then detennines, from the devices identified in step 506, a storage device with the highest (i.e., closest to zero) negative RSVS value (step 520). As described above, among storage devices with negative RSVS values, the device with the highest negative RSVS value (i.e., RSVS closest to 0) is the most suitable candidate for storing the data file. [122] DMS 104 then determines if a "candidate" device has been previously identified (step 521). If a candidate device has been previously identified, DMS 104 then determines if the RSVS value of the storage device identified in step 520 is greater (i.e., closer to zero) than the RSVS value of the previously identified "candidate" device (step 522). If it is determined in step 522 that the RSVS value of the storage device identified in step 520 is greater than the RSVS value of the previously identified "candidate" device, it implies that storage device identified in step 520 is a better candidate for storing the data file than the previously identified "candidate" device and accordingly the storage device identified in step 520 is marked as the "candidate" device (step 524). Processing then continues with step 526.
[123] If it is determined in step 521 that no candidate device has been previously identified, then processing continues with step 524 wherein the storage device identified in step 520 is marked as the "candidate" device. If it is determined in step 522 that the RSVS value of the storage device identified in step 520 is not greater than the RSVS value of the previously identified "candidate" device, then processing continues with step 526.
[124] In step 526, DMS 104 determines if all the placement rules in the ranked list of placement rales have been processed (step 526). If it is determined that all the placement rales have not been processed, processing continues with step 502 wherein an unprocessed placement rale with the highest ranking is selected for processing.
[125] If it is determined that all the placement rales in the ranked list have been processed and a suitable storage device has not yet been selected for storing the data file, DMS 104 then determines if a candidate device has been identified (step 528). If a candidate device has been identified, the candidate device is then selected for storing the data file (step 530). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the candidate device selected in step 530.
[126] If it is determined in step 528 that no candidate device has been identified, then an enor message is output to the user (step 510) indicating that a storage device could not be automatically selected for storing the data file based upon the placement rales, data file characteristics, and storage device characteristics. The user may then take appropriate actions such as manually selecting a storage device for storing the data file.
[127] Referring back to step 504, if the location constraint information of the placement rale selected in step 502 specifically identifies one or more devices for storing the data file, then processing continues with step 532 depicted in Fig. 5B. There are various ways in which one or more storage devices for storing the data file may be specified in the location constraint information associated with the placement rale. For example, the location constraint information may identify a volume group comprising multiple volumes spanning one or multiple storage devices for storing the data file. For example, the location constraint information associated with placement rale 308-4 depicted in Fig. 3 specifies that the data file is to be stored on a storage device corresponding to a volume included in the volume group "New_volumes" .
[128] Referring to Fig. 5B, upon determining that the location constraint information of the placement rule selected in step 502 specifically identifies one or more devices for storing the data file, DMS 104 then identifies the devices specified by the location constraint information (step 532). For example, DMS 104 may identify all the storage devices conesponding to volumes included in a volume group specified in the location constraint information.
[129] DMS 104 then determines if the location constraint specifies a single device or multiple devices (step 534). If it is determined in step 534 that only a single storage device has been specified, DMS 104 then determines if the device requirements of the single specified device are met (step 536). As previously described, device requirements for a device may be specified in the device characteristics infonnation for the device. For example, the device characteristics information for a particular device may indicate a file size requirement indicating the threshold size of a data file before the file can be stored on the particular storage device, or the maximum file size of the type of the file.
[130] If it is determined in step 536 that the device requirements for the single device specified in the location constraint information of the placement rale are satisfied, the single storage device is selected for storing the data file (step 538). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the single storage device selected in step 538. If it is determined in step 536 that the device requirements are not satisfied, then processing continues with step 526 depicted in Fig. 5A.
[131] If it is determined in step 534 that multiple storage devices are specified by the location constraint information (e.g., devices conesponding to volumes belonging to a volume group) of the placement rule, DMS 104 then, based upon the characteristics of the data file to be stored and the placement rale, identifies a set of one or more storage devices from the multiple devices specified by the location constraint information whose device requirements are met (step 540). DMS 104 then calculates a RSVS for each storage device identified in step 540 (step 542). According to an embodiment of the present invention, the RSVSs are calculated according to the steps described above. [132] DMS 104 then identifies, from the storage devices identified in step 540, a storage device with the highest positive RSVS value (step 544). As described above, the storage device with the highest positive RSVS value is the most suitable storage device for storing the data file for the placement rale selected in step 502. [133] DMS 104 then determines if a storage device was identified in step 544 (step 546). If a storage device was identified in step 544, then the storage device identified in step 544 is selected for storing the data file (step 548). Processing then continues with step 414 in Fig. 4 wherein the data file is stored on the storage device selected in step 548. [134] If it is determined in step 546 that no storage device was identified in step 544, it indicates that none of the devices selected in step 540 have a positive RSVS value (i.e., the one or more devices selected in step 540 have a negative or a zero RSVS value). DMS 104 then determines, from the storage devices identified in step 540, a storage device with the highest (i.e., closest to zero) negative RSVS value (step 550). As described above, among devices with negative RSVS values, the device with the highest RSVS value (i.e., RSVS closest to 0) is the most suitable device for storing the data file.
[135] DMS 104 then determines if a "candidate" device has been previously identified (step 551). If a candidate device has been identified, DMS 104 then determines if the RSVS value of the storage device identified in step 550 is greater (i.e., closer to 0) than the RSVS value of the previously identified "candidate" device (step 552). If it is determined in step 552 that the RSVS value of the storage device identified in step 550 is greater (i.e., closer to zero) than the RSVS value of the previously identified "candidate" device, then the storage device identified in step 550 is marked as the "candidate" device (step 554). Processing then continues with step 526 depicted in Fig. 5A. [136] If it is determined in step 551 that no candidate device has been identified, then processing continues with step 554 wherein the storage device identified in step 550 is marked as the "candidate" device. If it is determined in step 552 that the RSVS value of the storage device identified in step 550 is not greater than the RSVS value of the previously identified "candidate" device, then processing continues with step 526 depicted in Fig. 5A.
[137] In the embodiment of the present invention described above, DMS 104 iterates through the ranked placement rules to identify a suitable placement rule and a corresponding suitable storage device for storing the data file. The present invention describes techniques for determining storage locations for data in a heterogeneous storage environment based upon storage policies configured for the storage environment such that the storage locations enable efficient data access while optimizing the available storage resources with minimum human intervention.
[138] Although specific embodiments of the invention have been described, various modifications, alterations, alternative constructions, and equivalents are also encompassed within the scope of the invention. The described invention is not restricted to operation within certain specific data processing environments, but is free to operate within a plurality of data processing environments. Additionally, although the present invention has been described using a particular series of transactions and steps, it should be apparent to those skilled in the art that the scope of the present invention is not limited to the described series of transactions and steps. Even though the embodiment described above discusses the use of bandwidths as a factor in calculating RSVS, other factors such as availability of the storage devices may also be used to calculate RSVSs according to other embodiments of the present invention. It should be understood that the equations described above are only illustrative of an embodiment of the present invention and can vary in alternative embodiments of the present invention.
[139] Further, while the present invention has been described using a particular combination of hardware and software, it should be recognized that other combinations of hardware and software are also within the scope of the present invention. The present invention may be implemented only in hardware, or only in software, or using combinations thereof.
[140] The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that additions, subtractions, deletions, and other modifications and changes may be made thereunto without departing from the broader spirit and scope of the invention as set forth in the claims.

Claims

WHAT IS CLAIMED IS:
1. In a storage environment comprising a plurality of storage devices, a method of identifying a storage device from the plurality of storage devices for storing data, the method comprising: receiving a signal to store a data unit; identifying a set of one or more placement rules configured for the storage environment, each placement rule comprising data-related criteria identifying one or more conditions related to one or more characteristics of the data to be stored and device-related criteria identifying one or more conditions related to one or more storage device characteristics; calculating a data value score (DVS) for each placement rale in the set of placement rules based upon the data-related criteria of the placement rale and characteristics of the data unit; and determining a storage device, from the plurality of storage devices, for storing the data unit based upon the set of placement rales and their associated DVSs, characteristics of the plurality of storage devices, and characteristics of the data unit to be stored.
2. The method of claim 1 wherein the DVS for a placement rale provides a measure of the one or more conditions specified in the data-related criteria of the placement rule that are satisfied by characteristics of the data unit to be stored.
3. The method of claim 1 wherein: the data-related criteria for a placement rule comprises: usage criteria comprising one or more conditions related to access information associated with a data unit; and unit selection criteria comprising one or more conditions related to characteristics of a data unit; and calculating a data value score (DVS) for each placement rale in the set of placement rules comprises: generating a usage score for the placement rale based upon the usage criteria for the placement rale and access information associated with the data unit to be stored; generating a unit selection score for the placement rule based upon the unit selection criteria for the placement rale and characteristics of the data unit to be stored; and generating the DVS for the placement rale based upon the usage score and the unit selection score.
4. The method of claim 1 wherein determining the storage device from the plurality of storage devices for storing the data unit comprises: selecting a first placement rule from the set of placement rales based upon the DVSs associated with the set of placement rales; calculating a relative storage value score (RSVS) for each storage device in the plurality of storage devices based upon the device-related criteria of the first placement rule, the characteristics of the data unit, and characteristics of the storage device; and selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices.
5. The method of claim 4 wherein the RSVS for a storage device is directly proportional to the bandwidth supported by the storage device, directly proportional to the extent to which the storage device can store data without exceeding a threshold capacity, and inversely proportional to cost of storing data on the storage device.
6. The method of claim 5 wherein the RSVS for a storage device is directly proportional to availability of the storage device.
7. The method of claim 5 wherein selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices comprises: selecting, from the plurality of storage devices, a storage device having the highest RSVS value.
8. The method of claim 4 wherein the RSVS calculated for a storage device indicates whether the storage device can support a device bandwidth value specified in the device-related criteria of the first placement rale.
9. The method of claim 4 wherein the RSVS calculated for a storage device indicates whether the storage device can store the data unit without exceeding a capacity threshold associated with the storage device.
10. The method of claim 4 wherein selecting the first placement rale comprises selecting a placement rale with the highest DVS as the first placement rule.
11. The method of claim 10 wherein selecting a placement rule with the highest DVS comprises: if the highest DVS is associated with multiple placement rales, using tie- breaking rales to select a placement rule from the multiple placement rules as the first placement rale.
12. The method of claim 1 wherein determining the storage device for storing the data unit comprises: based upon DVSs calculated for the set of placement rules, selecting a first placement rale from the plurality of placement rales; identifying a first set of storage devices from the plurality of storage devices based upon the device-related criteria of the first placement rale; generating, for each storage device in the first set of storage devices, a relative storage value score (RSVS) based upon the device-related criteria of the first placement rule, characteristics of the data unit, and characteristics of the storage device; and selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices.
13. The method of claim 12 wherein: the RSVS for a storage device is calculated based upon bandwidth supported by the storage device, device bandwidth value specified in the device-related criteria of the first placement rule; desired threshold capacity configured for the storage device, the desired threshold capacity indicating a portion of total capacity of the device allocated for storing the data unit, and current usage infonnation for the storage device, the cunent usage information indicates a portion of the storage device that is being used for storing data of a particular type, and
cost of storing data on the storage device; and generating a RSVS for each storage device in the first set of storage devices comprises: generating a RSVS having a value of zero if the storage device is not capable of satisfying the bandwidth requirements specified by the first placement rule; generating a RSVS having a value greater than zero if the storage device is capable of satisfying the bandwidth requirements specified by the first placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device; and generating a RSVS having a value less than zero if the storage device is capable of satisfying the bandwidth requirements specified by the first placement rale and cannot store the data unit without exceeding a capacity threshold associated with the storage device.
14. The method of claim 13 wherein selecting a storage device from the first set for storing the data unit comprises selecting a device with the highest RSVS.
15. The method of claim 1 wherein: the DVS for a placement rule indicates a degree of relevancy of the placement rule to the data unit to be stored; and determining a storage device from the plurality of storage devices for storing the data unit comprises: (a) selecting a placement rale having a DVS indicating the highest degree of relevancy; (b) identifying a first set of storage devices from the plurality of devices based upon the selected placement rale; (c) generating a relative storage value score (RSVS) for each storage device in the first set of storage devices based upon the device-related criteria of the first placement rale, characteristics of the data unit, and characteristics of the storage device, the RSVS for a storage device indicating whether the storage device can satisfy bandwidth requirements specified by the selected placement rale and indicating if the storage device can store the data unit without exceeding a capacity threshold associated with the storage device; (d) determining if at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (e) if it is determined that at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting, based upon RSVSs generated for the storage devices, a storage device that is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device; (f) if no storage device in the first set of devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting another placement rale from the set of placement rales that has a DVS indicating the next highest degree of relevancy; and (g) iterating step (b) through (f) until a storage device is identified for storing the data unit that is capable of satisfying the bandwidth requirements specified by the first placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device.
16. The method of claim 1 wherein: the DVS for a placement rale indicates a degree of relevancy of the placement rule to the data unit to be stored; and determining a storage device from the plurality of storage devices for storing the data unit comprises: (a) selecting a placement rale having a DVS indicating the highest degree of relevancy; (b) identifying a first set of storage devices from the plurality of devices based upon the selected placement rale; (c) generating a relative storage value score (RSVS) for each storage device in the first set of storage devices based upon the device-related criteria of the first placement rale, characteristics of the data unit, and characteristics of the storage device, the RSVS for a storage device indicating a degree of desirability of storing the data unit on the storage device, the RSVS for a storage device indicating whether the storage device can satisfy bandwidth requirements specified by the selected placement rale and indicating if the storage device can store the data unit without exceeding a capacity threshold associated with the storage device; (d) determining if at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device; (e) if it is determined that at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting, based upon RSVSs generated for the storage devices, a storage device that is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device; (f) if no storage device in the first set of devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device: determining a first storage device from the first set of storage devices that can store the storage unit and is more desirable for storing the data unit than other devices in the first set of storage devices as indicated by the RSVSs generated for the devices; determining if a storage device has been identified as a candidate device; if a storage device has been marked as a candidate device: if the first storage device is more desirable for storing the data unit than the marked candidate device as indicated by the RSVSs associated with the first device and the marked candidate device, marking the first storage device as the candidate device; and selecting another placement rale from the set of placement rules that has a DVS indicating the next highest degree of relevancy; and (g) iterating steps (b) through (f) until a storage device is identified for storing the data unit or until all the placement rules in the set of placement rules have been processed; and (h) if all the placement rales in the set of placement rules have been processed and a storage device has not been identified for storing the data unit, selecting the storage device marked as the candidate device for storing the data unit.
17. In a storage environment comprising a plurality of storage devices, a data processing system for identifying a storage device from the plurality of storage devices for storing data, the data processing system comprising: a processor; a memory coupled to the processor, the memory configured to store a plurality of code modules for execution by the processor, the plurality of code modules comprising: a code module for receiving a signal to store a data unit; a code module for identifying a set of one or more placement rales configured for the storage environment, each placement rale comprising data-related criteria identifying one or more conditions related to one or more characteristics of the data to be stored and device-related criteria identifying one or more conditions related to one or more storage device characteristics; a code module for calculating a data value score (DVS) for each placement rule in the set of placement rules based upon the data-related criteria of the placement rule and characteristics of the data unit; and a code module for determining a storage device, from the plurality of storage devices, for storing the data unit based upon the set of placement rules and their associated DVSs, characteristics of the plurality of storage devices, and characteristics of the data unit to be stored.
18. The system of claim 17 wherein the DVS for a placement rale provides a measure of the one or more conditions specified in the data-related criteria of the placement rale that are satisfied by characteristics of the data unit to be stored.
19. The system of claim 17 wherein: the data-related criteria for a placement rale comprises: usage criteria comprising one or more conditions related to access information associated with a data unit; and unit selection criteria comprising one or more conditions related to characteristics of a data unit; and the code module for calculating a data value score (DVS) for each placement rule in the set of placement rules comprises: a code module for generating a usage score for the placement rale based upon the usage criteria for the placement rale and access information associated with the data unit to be stored; a code module for generating a unit selection score for the placement rale based upon the unit selection criteria for the placement rule and characteristics of the data unit to be stored; and a code module for generating the DVS for the placement rale based upon the usage score and the unit selection score.
20. The system of claim 17 wherein the code module for determining the storage device from the plurality of storage devices for storing the data unit comprises: a code module for selecting a first placement rale from the set of placement rules based upon the DVSs associated with the set of placement rales; a code module for calculating a relative storage value score (RSVS) for each storage device in the plurality of storage devices based upon the device-related criteria of the first placement rale, the characteristics of the data unit, and characteristics of the storage device; and a code module for selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices.
21. The system of claim 20 wherein the RSVS for a storage device is directly proportional to the bandwidth supported by the storage device, directly proportional to the extent to which the storage device can store data without exceeding a threshold capacity, and inversely proportional to cost of storing data on the storage device.
22. The system of claim 21 wherein the RSVS for a storage device is directly proportional to availability of the storage device.
23. The system of claim 21 wherein the code module for selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices comprises: a code module for selecting, from the plurality of storage devices, a storage device having the highest RSVS value.
24. The system of claim 20 wherein the RSVS calculated for a storage device indicates whether the storage device can support a device bandwidth value specified in the device-related criteria of the first placement rale.
25. The system of claim 20 wherein the RSVS calculated for a storage device indicates whether the storage device can store the data unit without exceeding a capacity threshold associated with the storage device.
26. The system of claim 20 wherein the code module for selecting the first placement rule comprises a code module for selecting a placement rule with the highest DVS as the first placement rule.
27. The system of claim 26 wherein the code module for selecting a placement rale with the highest DVS comprises: if the highest DVS is associated with multiple placement rales, a code module for using tie-breaking rules to select a placement rale from the multiple placement rales as the first placement rale.
28. The system of claim 17 wherein the code module for determining the storage device for storing the data unit comprises: a code module for, based upon DVSs calculated for the set of placement rales, selecting a first placement rule from the plurality of placement rales; a code module for identifying a first set of storage devices from the plurality of storage devices based upon the device-related criteria of the first placement rale; a code module for generating, for each storage device in the first set of storage devices, a relative storage value score (RSVS) based upon the device-related criteria of the first placement rale, characteristics of the data unit, and characteristics of the storage device; and a code module for selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices.
29. The system of claim 28 wherein: the RSVS for a storage device is calculated based upon bandwidth supported by the storage device, device bandwidth value specified in the device-related criteria of the first placement rale; desired threshold capacity configured for the storage device, the desired threshold capacity indicating a portion of total capacity of the device allocated for storing the data unit, and cunent usage information for the storage device, the current usage information indicates a portion of the storage device that is being used for storing data of a particular type, and cost of storing data on the storage device; and the code module for generating a RSVS for each storage device in the first set of storage devices comprises : a code module for generating a RSVS having a value of zero if the storage device is not capable of satisfying the bandwidth requirements specified by the first placement rale; a code module for generating a RSVS having a value greater than zero if the storage device is capable of satisfying the bandwidth requirements specified by the first placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device; and a code module for generating a RSVS having a value less than zero if the storage device is capable of satisfying the bandwidth requirements specified by the first placement rale and cannot store the data unit without exceeding a capacity threshold associated with the storage device.
30. The system of claim 29 wherein the code module for selecting a storage device from the first set for storing the data unit comprises a code module for selecting a device with the highest RSVS .
31. The system of claim 17 wherein: the DVS for a placement rule indicates a degree of relevancy of the placement rule to the data unit to be stored; and the code module for determining a storage device from the plurality of storage devices for storing the data unit comprises a code module for: (a) selecting a placement rule having a DVS indicating the highest degree of relevancy; (b) identifying a first set of storage devices from the plurality of devices based upon the selected placement rale; (c) generating a relative storage value score (RSVS) for each storage device in the first set of storage devices based upon the device-related criteria of the first placement rule, characteristics of the data unit, and characteristics of the storage device, the RSVS for a storage device indicating whether the storage device can satisfy bandwidth requirements specified by the selected placement rale and indicating if the storage device can store the data unit without exceeding a capacity threshold associated with the storage device; (d) determining if at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (e) if it is detennined that at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting, based upon RSVSs generated for the storage devices, a storage device that is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device; (f) if no storage device in the first set of devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting another placement rale from the set of placement rales that has a DVS indicating the next highest degree of relevancy; and (g) iterating step (b) through (f) until a storage device is identified for storing the data unit that is capable of satisfying the bandwidth requirements specified by the first placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device.
32. The system of claim 17 wherein: the DVS for a placement rale indicates a degree of relevancy of the placement rule to the data unit to be stored; and the code module for determining a storage device from the plurality of storage devices for storing the data unit comprises a code module for: (a) selecting a placement rale having a DVS indicating the highest degree of relevancy; (b) identifying a first set of storage devices from the plurality of devices based upon the selected placement rule; (c) generating a relative storage value score (RSVS) for each storage device in the first set of storage devices based upon the device-related criteria of the first placement rule, characteristics of the data unit, and characteristics of the storage device, the RSVS for a storage device indicating a degree of desirability of storing the data unit on the storage device, the RSVS for a storage device indicating whether the storage device can satisfy bandwidth requirements specified by the selected placement rule and indicating if the storage device can store the data unit without exceeding a capacity threshold associated with the storage device; (d) determining if at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (e) if it is determined that at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting, based upon RSVSs generated for the storage devices, a storage device that is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (f) if no storage device in the first set of devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device: determining a first storage device from the first set of storage devices that can store the storage unit and is more desirable for storing the data unit than other devices in the first set of storage devices as indicated by the RSVSs generated for the devices; determining if a storage device has been identified as a candidate device; if a storage device has been marked as a candidate device: if the first storage device is more desirable for storing the data unit than the marked candidate device as indicated by the RSVSs associated with the first device and the marked candidate device, marking the first storage device as the candidate device; and selecting another placement rule from the set of placement rules that has a DVS indicating the next highest degree of relevancy; and (g) iterating steps (b) through (f) until a storage device is identified for storing the data unit or until all the placement rales in the set of placement rales have been processed; and (h) if all the placement rules in the set of placement rales have been processed and a storage device has not been identified for storing the data unit, selecting the storage device marked as the candidate device for storing the data unit.
33. A computer program product stored on a computer-readable storage medium for identifying a storage device for storing data in a storage environment comprising a plurality of storage devices, the computer program product comprising: code for receiving a signal to store a data unit; code for identifying a set of one or more placement rules configured for the storage environment, each placement rule comprising data-related criteria identifying one or more conditions related to one or more characteristics of the data to be stored and device- related criteria identifying one or more conditions related to one or more storage device characteristics; code for calculating a data value score (DVS) for each placement rale in the set of placement rules based upon the data-related criteria of the placement rale and characteristics of the data unit; and code for determining a storage device, from the plurality of storage devices, for storing the data unit based upon the set of placement rules and their associated DVSs, characteristics of the plurality of storage devices, and characteristics of the data unit to be stored.
34. The computer program product of claim 33 wherein the DVS for a placement rale provides a measure of the one or more conditions specified in the data-related criteria of the placement rale that are satisfied by characteristics of the data unit to be stored.
35. The computer program product of claim 33 wherein: the data-related criteria for a placement rale comprises: usage criteria comprising one or more conditions related to access information associated with a data unit; and unit selection criteria comprising one or more conditions related to characteristics of a data unit; and the code for calculating a data value score (DVS) for each placement rale in the set of placement rules comprises: code for generating a usage score for the placement rule based upon the usage criteria for the placement rale and access information associated with the data unit to be stored; code for generating a unit selection score for the placement rale based upon the unit selection criteria for the placement rale and characteristics of the data unit to be stored; and code for generating the DVS for the placement rale based upon the usage score and the unit selection score.
36. The computer program product of claim 33 wherein the code for determining the storage device from the plurality of storage devices for storing the data unit comprises: code for selecting a first placement rule from the set of placement rales based upon the DVSs associated with the set of placement rales; code for calculating a relative storage value score (RSVS) for each storage device in the plurality of storage devices based upon the device-related criteria of the first placement rale, the characteristics of the data unit, and characteristics of the storage device; and code for selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices.
37. The computer program product of claim 36 wherein the RSVS for a storage device is directly proportional to the bandwidth supported by the storage device, directly proportional to the extent to which the storage device can store data without exceeding a threshold capacity, and inversely proportional to cost of storing data on the storage device.
38. The computer program product of claim 37 wherein the RSVS for a storage device is directly proportional to availability of the storage device.
39. The computer program product of claim 37 wherein the code for selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices comprises: code for selecting, from the plurality of storage devices, a storage device having the highest RSVS value.
40. The computer program product of claim 36 wherein the RSVS calculated for a storage device indicates whether the storage device can support a device bandwidth value specified in the device-related criteria of the first placement rale.
41. The computer program product of claim 36 wherein the RSVS calculated for a storage device indicates whether the storage device can store the data unit without exceeding a capacity threshold associated with the storage device.
42. The computer program product of claim 36 wherein the code for selecting the first placement rale comprises code for selecting a placement rule with the highest DVS as the first placement rule.
43. The computer program product of claim 42 wherein the code for selecting a placement rale with the highest DVS comprises: if the highest DVS is associated with multiple placement rules, code for using tie-breaking rales to select a placement rale from the multiple placement rules as the first placement rule.
44. The computer program product of claim 33 wherein the code for determining the storage device for storing the data unit comprises: code for selecting, based upon DVSs calculated for the set of placement rules, a first placement rule from the plurality of placement rules; code for identifying a first set of storage devices from the plurality of storage devices based upon the device-related criteria of the first placement rale; code for generating, for each storage device in the first set of storage devices, a relative storage value score (RSVS) based upon the device-related criteria of the first placement rale, characteristics of the data unit, and characteristics of the storage device; and code for selecting a storage device from the plurality of storage devices for storing the data unit based upon the RSVSs calculated for the plurality of storage devices.
45. The computer program product of claim 44 wherein: the RSVS for a storage device is calculated based upon bandwidth supported by the storage device, device bandwidth value specified in the device-related criteria of the first placement rule; desired threshold capacity configured for the storage device, the desired threshold capacity indicating a portion of total capacity of the device allocated for storing the data unit, and cunent usage information for the storage device, the current usage information indicates a portion of the storage device that is being used for storing data of a particular type, and cost of storing data on the storage device; and the code for generating a RSVS for each storage device in the first set of storage devices comprises: code for generating a RSVS having a value of zero if the storage device is not capable of satisfying the bandwidth requirements specified by the first placement rule; code for generating a RSVS having a value greater than zero if the storage device is capable of satisfying the bandwidth requirements specified by the first placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; and code for generating a RSVS having a value less than zero if the storage device is capable of satisfying the bandwidth requirements specified by the first placement rule and caimot store the data unit without exceeding a capacity threshold associated with the storage device.
46. The computer program product of claim 45 wherein the code for selecting a storage device from the first set for storing the data unit comprises code for selecting a storage device with the highest RSVS.
47. The computer program product of claim 33 wherein: the DVS for a placement rale indicates a degree of relevancy of the placement rule to the data unit to be stored; and the code for determining a storage device from the plurality of storage devices for storing the data unit comprises code for: (a) selecting a placement rale having a DVS indicating the highest degree of relevancy; (b) identifying a first set of storage devices from the plurality of devices based upon the selected placement rale; (c) generating a relative storage value score (RSVS) for each storage device in the first set of storage devices based upon the device-related criteria of the first placement rule, characteristics of the data unit, and characteristics of the storage device, the RSVS for a storage device indicating whether the storage device can satisfy bandwidth requirements specified by the selected placement rale and indicating if the storage device can store the data unit without exceeding a capacity threshold associated with the storage device; (d) determining if at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (e) if it is determined that at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting, based upon RSVSs generated for the storage devices, a storage device that is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (f) if no storage device in the first set of devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and has can store the data unit without exceeding a capacity threshold associated with the storage device, selecting another placement rale from the set of placement rules that has a DVS indicating the next highest degree of relevancy; and (g) iterating step (b) through (f) until a storage device is identified for storing the data unit that is capable of satisfying the bandwidth requirements specified by the first placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device.
48. The computer program product of claim 33 wherein: the DVS for a placement rale indicates a degree of relevancy of the placement rule to the data unit to be stored; and the code for determining a storage device from the plurality of storage devices for storing the data unit comprises code for: (a) selecting a placement rale having a DVS indicating the highest degree of relevancy; (b) identifying a first set of storage devices from the plurality of devices based upon the selected placement rale; (c) generating a relative storage value score (RSVS) for each storage device in the first set of storage devices based upon the device-related criteria of the first placement rule, characteristics of the data unit, and characteristics of the storage device, the RSVS for a storage device indicating a degree of desirability of storing the data unit on the storage device, the RSVS for a storage device indicating whether the storage device can satisfy bandwidth requirements specified by the selected placement rale and indicating if the storage device can store the data unit without exceeding a capacity threshold associated with the storage device; (d) determining if at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (e) if it is determined that at least one storage device in the first set of storage devices is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device, selecting, based upon RSVSs generated for the storage devices, a storage device that is capable of satisfying the bandwidth requirements specified by the selected placement rule and can store the data unit without exceeding a capacity threshold associated with the storage device; (f) if no storage device in the first set of devices is capable of satisfying the bandwidth requirements specified by the selected placement rale and can store the data unit without exceeding a capacity threshold associated with the storage device: determining a first storage device from the first set of storage devices that can store the storage unit and is more desirable for storing the data unit than other devices in the first set of storage devices as indicated by the RSVSs generated for the devices; determining if a storage device has been identified as a candidate device; if a storage device has been marked as a candidate device: if the first storage device is more desirable for storing the data unit than the marked candidate device as indicated by the RSVSs associated with the first device and the marked candidate device, marking the first storage device as the candidate device; and selecting another placement rale from the set of placement rules that has a DVS indicating the next highest degree of relevancy; and (g) iterating steps (b) through (f) until a storage device is identified for storing the data unit or until all the placement rales in the set of placement rules have been processed; and (h) if all the placement rales in the set of placement rules have been processed and a storage device has not been identified for storing the data unit, selecting the storage device marked as the candidate device for storing the data unit.
49. In a storage environment comprising a plurality of storage devices, a system for identifying a storage device from the plurality of storage devices for storing data, the system comprising: means for receiving a signal to store a data unit; means for identifying a set of one or more placement rules configured for the storage environment, each placement rale comprising data-related criteria identifying one or more conditions related to one or more characteristics of the data to be stored and device- related criteria identifying one or more conditions related to one or more storage device characteristics; means for calculating a data value score (DVS) for each placement rale in the set of placement rules based upon the data-related criteria of the placement rale and characteristics of the data unit; and means for determining a storage device, from the plurality of storage devices, for storing the data unit based upon the set of placement rules and their associated DVSs, characteristics of the plurality of storage devices, and characteristics of the data unit to be stored.
EP02757504A 2001-08-31 2002-08-30 Techniques for storing data based upon storage policies Withdrawn EP1430399A1 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US31676401P 2001-08-31 2001-08-31
US316764P 2001-08-31
US35891502P 2002-02-21 2002-02-21
US358915P 2002-02-21
PCT/US2002/027715 WO2003021441A1 (en) 2001-08-31 2002-08-30 Techniques for storing data based upon storage policies

Publications (1)

Publication Number Publication Date
EP1430399A1 true EP1430399A1 (en) 2004-06-23

Family

ID=26980584

Family Applications (1)

Application Number Title Priority Date Filing Date
EP02757504A Withdrawn EP1430399A1 (en) 2001-08-31 2002-08-30 Techniques for storing data based upon storage policies

Country Status (4)

Country Link
EP (1) EP1430399A1 (en)
JP (1) JP2005502121A (en)
CA (1) CA2458908A1 (en)
WO (1) WO2003021441A1 (en)

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7092977B2 (en) 2001-08-31 2006-08-15 Arkivio, Inc. Techniques for storing data based upon storage policies
JP4322031B2 (en) * 2003-03-27 2009-08-26 株式会社日立製作所 Storage device
US6988110B2 (en) * 2003-04-23 2006-01-17 International Business Machines Corporation Storage system class distinction cues for run-time data management
US7814128B2 (en) * 2003-05-30 2010-10-12 Symantec Operating Corporation Multi-volume file support
WO2005001646A2 (en) 2003-06-25 2005-01-06 Arkivio, Inc. Techniques for performing policy automated operations
JP4371724B2 (en) 2003-07-03 2009-11-25 株式会社日立製作所 Storage system and storage device system
JP2005267546A (en) 2004-03-22 2005-09-29 Hitachi Ltd Disk controller, and system for managing connection of network connection storage in the disk controller
JP2005321913A (en) * 2004-05-07 2005-11-17 Hitachi Ltd Computer system with file sharing device, and transfer method of file sharing device
US7065611B2 (en) * 2004-06-29 2006-06-20 Hitachi, Ltd. Method for controlling storage policy according to volume activity
US7177883B2 (en) * 2004-07-15 2007-02-13 Hitachi, Ltd. Method and apparatus for hierarchical storage management based on data value and user interest
JP4842909B2 (en) * 2004-08-30 2011-12-21 株式会社日立製作所 Storage system and data relocation control device
US7529903B2 (en) * 2005-07-05 2009-05-05 International Business Machines Corporation Systems and methods for memory migration
WO2007034430A2 (en) * 2005-09-26 2007-03-29 Koninklijke Philips Electronics N.V. Storage profile generation for network-connected portable storage devices
US7886111B2 (en) * 2006-05-24 2011-02-08 Compellent Technologies System and method for raid management, reallocation, and restriping
US7610383B2 (en) * 2006-08-11 2009-10-27 Hewlett-Packard Development Company, L.P. Data-object-related-request routing in a dynamic, distributed data-storage system
WO2008103429A1 (en) * 2007-02-22 2008-08-28 Network Appliance, Inc. Data management in a data storage system using data sets
US8024285B2 (en) 2007-12-27 2011-09-20 Microsoft Corporation Determining quality of tier assignments
JP5033041B2 (en) * 2008-04-14 2012-09-26 株式会社日立製作所 Storage system
FR2931968B1 (en) * 2008-06-02 2012-11-30 Alcatel Lucent METHOD AND EQUIPMENT FOR STORING ONLINE DATA
US20100030963A1 (en) * 2008-08-04 2010-02-04 Sandisk Il Ltd. Managing storage of cached content
US8849856B2 (en) 2008-12-16 2014-09-30 Sandisk Il Ltd. Discardable files
US9104686B2 (en) 2008-12-16 2015-08-11 Sandisk Technologies Inc. System and method for host management of discardable objects
US9020993B2 (en) 2008-12-16 2015-04-28 Sandisk Il Ltd. Download management of discardable files
US9015209B2 (en) 2008-12-16 2015-04-21 Sandisk Il Ltd. Download management of discardable files
WO2012127988A1 (en) * 2011-03-18 2012-09-27 日本電気株式会社 Information processing device, distributed file system, client device, information processing method, and computer program
US9396290B2 (en) 2011-06-09 2016-07-19 Cloudian Holdings, Inc. Hybrid data management system and method for managing large, varying datasets
US20130254248A1 (en) * 2012-03-23 2013-09-26 Alcatel-Lucent Usa Inc. Method And Apparatus For A Distributed File System In A Cloud Network
US20130339605A1 (en) * 2012-06-19 2013-12-19 International Business Machines Corporation Uniform storage collaboration and access
WO2014021779A1 (en) * 2012-07-30 2014-02-06 Agency For Science, Technology And Research Servers and methods for controlling a server
GB201509080D0 (en) * 2015-05-27 2015-07-08 Landa Labs 2012 Ltd Coating apparatus
US12039474B2 (en) * 2020-02-28 2024-07-16 Uber Technologies, Inc. Storage location selection according to query evaluation

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5131087A (en) * 1988-12-29 1992-07-14 Storage Technology Corporation Computer system having apparatus for automatically redistributing data records stored therein
JP3448068B2 (en) * 1991-12-24 2003-09-16 富士通株式会社 Data processing system and storage management method
US5506986A (en) * 1992-07-14 1996-04-09 Electronic Data Systems Corporation Media management system using historical data to access data sets from a plurality of data storage devices
AU5987294A (en) * 1993-02-17 1994-09-14 3Com Corporation System for reading dynamically changing data
US5798766A (en) * 1995-10-20 1998-08-25 Fuji Xerox Co., Ltd. Drawing system
US5933603A (en) * 1995-10-27 1999-08-03 Emc Corporation Video file server maintaining sliding windows of a video data set in random access memories of stream server computers for immediate video-on-demand service beginning at any specified location
JP3170455B2 (en) * 1996-05-27 2001-05-28 インターナショナル・ビジネス・マシーンズ・コーポレ−ション Method of relocating data in data storage system, method of accessing data stored in the system, and data storage system
US6154817A (en) * 1996-12-16 2000-11-28 Cheyenne Software International Sales Corp. Device and method for managing storage media
US6269382B1 (en) * 1998-08-31 2001-07-31 Microsoft Corporation Systems and methods for migration and recall of data from local and remote storage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO03021441A1 *

Also Published As

Publication number Publication date
JP2005502121A (en) 2005-01-20
CA2458908A1 (en) 2003-03-13
WO2003021441A1 (en) 2003-03-13

Similar Documents

Publication Publication Date Title
US7092977B2 (en) Techniques for storing data based upon storage policies
US7454446B2 (en) Techniques for storing data based upon storage policies
EP1430399A1 (en) Techniques for storing data based upon storage policies
US7509316B2 (en) Techniques for performing policy automated operations
EP2480974B1 (en) Distributed content storage and retrieval
JP4416821B2 (en) A distributed file system that maintains a fileset namespace accessible to clients over the network
US20040039891A1 (en) Optimizing storage capacity utilization based upon data storage costs
US20070288430A1 (en) Techniques to Control Recalls in Storage Management Applications
US20040054656A1 (en) Techniques for balancing capacity utilization in a storage environment
US20030115204A1 (en) Structure of policy information for storage, network and data management applications
US6832248B1 (en) System and method for managing usage quotas
US7203711B2 (en) Systems and methods for distributed content storage and management
CN101258497A (en) A method for centralized policy based disk-space preallocation in a distributed file system
US20050114611A1 (en) Computerized system, method and program product for managing an enterprise storage system
US20020059471A1 (en) Method and apparatus for handling policies in an enterprise
US6963828B1 (en) Metafarm sizer configuration optimization method for thin client sizing tool
WO2005017783A2 (en) Hierarchical management of the dynamic allocation of resourses in a multi-node system
Verma et al. An architecture for lifecycle management in very large file systems
US20050086430A1 (en) Method, system, and program for designating a storage group preference order
WO2004021224A1 (en) Optimizing storage capacity utilization based upon data storage costs
WO2023287692A1 (en) Virtual warehouse query monitoring, dynamic query allocation, and query alerts generation

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20040308

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR IE IT LI LU MC NL PT SE SK TR

AX Request for extension of the european patent

Extension state: AL LT LV MK RO SI

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20070301