WO2009149416A1 - Automated filer technique for use in virtualized appliances and applications - Google Patents

Automated filer technique for use in virtualized appliances and applications Download PDF

Info

Publication number
WO2009149416A1
WO2009149416A1 PCT/US2009/046503 US2009046503W WO2009149416A1 WO 2009149416 A1 WO2009149416 A1 WO 2009149416A1 US 2009046503 W US2009046503 W US 2009046503W WO 2009149416 A1 WO2009149416 A1 WO 2009149416A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
filer
appliance
file system
file
Prior art date
Application number
PCT/US2009/046503
Other languages
French (fr)
Inventor
Peter Nickolov
Leonid Kalev
Eric Tessler
Original Assignee
3Tera, 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
Priority claimed from US12/400,710 external-priority patent/US8429630B2/en
Application filed by 3Tera, Inc. filed Critical 3Tera, Inc.
Priority to US13/003,863 priority Critical patent/US8364638B2/en
Publication of WO2009149416A1 publication Critical patent/WO2009149416A1/en
Priority to US13/747,588 priority patent/US9087076B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/188Virtual file systems

Definitions

  • the present disclosure relates to gaming machines such as slot machines and video poker machines. More particularly, the present disclosure relates to automated techniques for use in virtualized appliances and applications.
  • a grid may be described as a distributed network of computer system, which comprises of heterogeneous and non-dedicated elements.
  • heterogeneity of a grid is not only defined in terms of computing elements and operating systems but also in terms of implementation of policies, policy decisions and the environment.
  • a long-term vision of enterprise grid computing community is non dedicated seamless interoperability of different disparate systems which may be part of the same organization or different organizations.
  • applications and middleware are typically developed for a specific platform (e.g., Windows NT, Linux, UNIX, a mainframe, J2EE, Microsoft NET) that provides a hosting and runtime environment for applications.
  • a specific platform e.g., Windows NT, Linux, UNIX, a mainframe, J2EE, Microsoft NET
  • the capabilities provided by such platforms may range from integrated resource management functions to database integration, clustering services, security, workload management, and problem determination— with different implementations, semantic behaviors, for these functions on different platforms.
  • Figure 1 shows an example embodiment of a filer appliance 100 in accordance with what at least one embodiment.
  • Figure 2 shows an example embodiment of a filer application 200 which includes a filer appliance (e.g., 100).
  • a filer appliance e.g., 100
  • Figure 3 shows an example embodiment of a composite filer appliance 300 in accordance with a specific embodiment.
  • Figure 4 shows an example embodiment of a filer appliance 400 in accordance with a specific embodiment.
  • Figure 5 shows an example embodiment of a filer appliance 500 in accordance with a specific embodiment.
  • Figure 6 shows an example embodiment of a filer application 600 in accordance with a specific embodiment.
  • Figure 7 illustrates an example embodiment of a virtualized distributed computing system 700 which may be used for implementing various aspects described herein.
  • Figure 8 shows an example flow diagram of a Volume Operation Monitor Procedure 800 in accordance with a specific embodiment.
  • Figure 9 shows an example flow diagram of a Filer Operation Procedure (Batch Mode) 900 in accordance with a specific embodiment.
  • Figure 10 shows an example flow diagram of an alternate example of a Filer Operation Procedure (Interactive Mode) 1000 in accordance with a specific embodiment.
  • Figure 11 shows an a specific example embodiment of an interaction diagram between various systems/devices which may be utilized for automated configuration of virtual appliances.
  • FIG. 12 illustrates a specific and specific example embodiment of a graphical user interface (GUI) which may be used for implementing various functionality and/or other aspects described herein.
  • GUI graphical user interface
  • the distributed computing system comprises a first plurality of virtual filer appliances including a first virtual filer appliance operable to perform at least one file system manipulation on at least one file system type.
  • manipulation of a file system on a virtual storage volume may include, but is not limited to, one or more of the following (or combinations thereof):
  • the first virtual filer appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer appliance to be created or instantiated at the distributed computing system;
  • OS operating system
  • OS operating system
  • one or more virtual appliances/applications may be utilized for facilitating remote file access to remotely located virtual storage volumes of a distributed computing network.
  • remote file access to remotely located virtual storage volumes may include, but is not limited to, one or more of the following operations (or combinations thereof):
  • the file system manipulations may include various types of operations such as, for example, file system formatting operations, file read operations, and file write operations, etc.
  • the volume resize operation(s) may be performed by one or more virtual appliances and/or virtual applications while preserving the file system on the virtual storage volume during the volume resize operation.
  • the resizing operations may include, for example, providing a virtual application with access to the source (e.g, original) virtual storage volume (having a first volume size) and a second (e.g., target) virtual storage volume (having a second volume size which differs from the size of the first storage volume).
  • the virtual application may be operable to copy all (or selected) files from the source virtual storage volume to the target virtual storage volume.
  • one or more virtual appliances/applications may be utilized for facilitating automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type.
  • the automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type may include, but are not limited to, one or more of the following operations (or combinations thereof):
  • the performing of the file system conversion operations may include, for example:
  • running instances of the first and/or second virtual appliances may be automatically and dynamically created, on demand (e.g., as needed), in response to real-time condition and/or events.
  • running instances of the first and/or second virtual appliances may be automatically and dynamically created (e.g., on demand) using one or more virtual appliance templates and/or virtual application templates.
  • Some of the virtual appliance/application templates may be dynamically generated (e.g., in real-time) using information relating to the first file system type and the second file system type.
  • Other virtual appliance/application templates may be pre-configured, and selection of a desired pre-configured template may be based, at least in part, using information relating to the first file system type and the second file system type.
  • one or more virtual appliances/applications may be utilized for facilitating file access to online (e.g., in use, mounted, attached, etc.) virtual storage volumes as well as off-line virtual storage volumes (e.g., virtual storage volumes which are not currently in use, mounted or attached to a device).
  • file or volume access operations may include, but are not limited to, one or more of the following (or combinations thereof):
  • a virtual appliance configuration system may be provided for configuring one or more virtual appliances in a distributed computing network.
  • the system may include, for example: a first virtual appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual appliance to be created or instantiated at the distributed computing network; a DHCP server, operable to provide at least one IP address to the first virtual appliance in response to a DHCP request received from the first virtual appliance; an appliance configuration server, operable to facilitate access to a first appliance configuration file associated with the first virtual appliance an agent (or the appliance), operable to request the first appliance configuration file; and/or a web server, operable to provide the first virtual appliance with access to the first appliance configuration file in response to a request received from the first virtual appliance.
  • OS operating system
  • a DHCP server operable to provide at least one IP address to the first virtual appliance in response to a DHCP request received from the first virtual appliance
  • an appliance configuration server operable to facilitate access to a first appliance configuration file associated with the first virtual appliance an agent (or the appliance), operable
  • the first virtual appliance includes an appliance configurator operable to automatically and dynamically configure at least one network interface of the virtual appliance using information obtained from the first appliance configuration file.
  • the first virtual appliance includes a network address map resolver operable to resolve host names to remote network hosts using information obtained from the first appliance configuration file.
  • the first virtual appliance includes a configuration file manipulator operable to automatically update information in at least one appliance configuration file using information obtained from the first appliance configuration file.
  • the first virtual appliance includes a property extractor operable to automatically extract individual configuration parameters from the first appliance configuration file, and operable to provide access to at least a portion of the configuration parameters as separate configuration parameters for use in configuration of software operating in the virtual appliance.
  • the first virtual appliance includes a volume configurator operable to automatically mount at least one virtual storage volume into file system mountpoints using volume configuration information obtained from the first appliance configuration file.
  • Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise.
  • devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
  • At least one example embodiment described herein comprises an application model, a visual method and a system for rapid delivery of distributed applications.
  • the application model defines several abstractions which, taken together, make it possible to express the structures and behavior of complete distributed applications.
  • those abstractions can be grouped in the following way: virtual resources, virtual appliances, composite appliances, catalogs of appliances, and applications.
  • Various embodiments described herein may utilize resource virtualization to abstract the underlying hardware system and to make it possible to define the rest of the application in a hardware -independent way.
  • At least one embodiment described herein defines various types of virtual resources, such as, for example: virtual machines, virtual volumes and virtual network interfaces.
  • the hardware system comprises computing and/or storage nodes interconnected through a suitably fast network, with at least one node acting as a system controller.
  • Each node on the network may preferably expose one or more pools of virtual resources, one pool for each resource type.
  • the system controller aggregates multiple discrete resource pools, exposed by the various nodes in the system, into a single, distributed resource pool. As a result, there is a single system-wide resource pool for each type of virtual resource.
  • virtual resources are allocated/created from their respective system pools and carry a system-wide identification which makes it possible to access a given instance of a virtual resource in a uniform fashion independent of where the resource is actually located.
  • at least some virtual machines may be implemented by a virtual machine management system. Each virtual machine may be capable of booting a general- purpose operating system, and any other software that it may be configured to run.
  • virtual machine managers virtualize access to at least two types of peripheral devices, namely network interfaces and block storage devices.
  • peripheral devices namely network interfaces and block storage devices.
  • some virtual machine managers make it possible to map a virtual device of a given virtual machine to a logical device (network interface or disk volume) implemented by an operating system in another virtual machine.
  • Virtual machine managers may also allow individual virtual machines to be migrated from one host to another, transparently to the software that runs inside the virtual machine.
  • One type of virtual machine manager is available from Xen (www.xen.org).
  • virtual machines may be assigned a set of execution attributes that determine the minimum and maximum amounts of processing power, memory and network bandwidth that can be allocated to a given instance of a virtual machine, as well as to permit or prohibit the migration of the virtual machine.
  • Virtual storage volumes are logical block devices exposed by one or more hosts on the system and accessible from virtual machines running on the same or on other hosts. Virtual volumes are persistent, named objects, the size of which is defined at the time of creation and which reside on the system until explicitly destroyed.
  • a virtual volume defined and exposed by one node is accessible from any node in the system, thereby allowing a virtual machine that uses the volume to be migrated freely to any node.
  • One way to implement virtual volumes is by configuring a network block device (NBD) so that each individual virtual volume is stored in a file on one of the hosts, shared on the network as an NBD volume and accessed from the other hosts using the NBD client.
  • NBD network block device
  • a virtual volume is typically accessed exclusively by a single virtual machine. This makes it possible and desirable to cache volume contents aggressively on the host on which the virtual machine accessing the volume is being executed. Such caching is easily accomplished, for example, by layering on top of the NBD client a block device driver that uses a file on a local physical disk to store copies of blocks recently accessed by the virtual machine.
  • Another aspect described herein is the ability to create multiple instances of the same virtual volume. Those are useful whenever there is a need to share a large set of data among multiple virtual machines in such a way as to permit each virtual machine to make relatively small number of modifications to the common set of data for its own use. Instantiable virtual volumes can be implemented by simply replicating the common volume for each virtual machine.
  • an instantiable volume is implemented by a combination of a "master" virtual volume which is common to all instances and contains the common data, and a "differential" virtual volume for each virtual volume instance, which accumulates the modifications made to the specific instance.
  • the master volume and the differential volume are presented to the client virtual machine as a single block device, for example, by layering an appropriate block device driver over an NBD client that can access both virtual volumes.
  • Virtual network interfaces may be used to abstract the structure of the network interconnect inside the distributed application. For example, a pair of virtual network interfaces may be used to create a "virtual wire" between virtual network adapters which belong to different virtual machines. The virtual wire operates in a manner equivalent to a cross-over cable that connects two physical network interface cards directly: it transfers packets from one of the cards to the other and vice-versa.
  • a virtual wire can be implemented by tunneling application traffic (packets) between two virtual network interfaces through a TCP connection, UDP datagrams, InfiniBand reliable connection, or as direct memory-to-memory transfer, all of which may be completely transparent to the communicating virtual machines. Indeed, it is possible to move the virtual wire from, for example, a TCP connection over Gigabit Ethernet, to a reliable connection over 10 Gigabit InfiniBand on the fly, transparently to the communicating virtual machines.
  • Virtual Appliances application traffic
  • a virtual appliance comprises a boundary, boot volume, and/or interior.
  • the boundary may comprise the execution attributes, the terminals, the properties, and/or the content volume.
  • the interior may comprise an operating system, configuration files, software services and/or the application service.
  • virtual appliances are defined by building a descriptor such as the descriptor illustrated in FIG. of U.S. Pub. No. 20070078988, the entirety of which is incorporated herein by reference for all purposes.
  • virtual appliances are created by first defining a virtual appliance class using one or more descriptors and then creating one or more virtual appliance instances that execute on the target system. The class may be used as a template for creating instances.
  • a composite appliance comprises a boundary and an interior.
  • the boundary of a composite appliance may be defined in the same way as the boundary of a regular virtual appliance, and the interior of a composite appliance may comprise a structure of virtual appliances.
  • one or more aspects and/or features described herein may be implemented in a manner which utilizes 3Tera's AppLogicTM grid operating system for providing a true distributed utility computing services.
  • one or more techniques described and/or referenced herein may enable commodity servers to be converted into scalable grids on which users can visually operate, deploy and scale transactional Web applications, for example, without any modification of code.
  • one or more techniques described and/or referenced herein may be used to enable Software-as-a-Service providers, Web 2.0 companies, enterprises and open source developers to rapidly deploy new online services, for example, by utilizing resources from commodity hosting providers on a pay-as-you-go basis, while maintaining complete control of applications including visual operation, scaling and on-demand resource provisioning.
  • a file system (often also written as filesystem) is a method for storing and organizing computer files and the data they contain to make it easy to find and access them.
  • File systems may use a data storage device such as a hard disk or CD-ROM and involve maintaining the physical location of the files, they might provide access to data on a file server by acting as clients for a network protocol (e.g., NFS, SMB, or 9P clients), or they may be virtual and exist only as an access method for virtual data (e.g., procfs). It is distinguished from a directory service and registry.
  • a file system is a special-purpose database for the storage, organization, manipulation, and retrieval of data. Categories of file systems
  • Disk file systems can be classified into disk file systems, network file systems and special purpose file systems.
  • Disk file systems A disk file system is a file system designed for the storage of files on a data storage device, most commonly a disk drive, which might be directly or indirectly connected to the computer. Examples of disk file systems include FAT (FAT12, FAT16, FAT32, exFAT), NTFS, HFS and HFS+, HPFS, ext2, ext3, ext4, ISO 9660, ODS-5, ZFS and UDF. Some disk file systems are journaling file systems or versioning file systems. Flash file systems
  • a flash file system is a file system designed for storing files on flash memory devices. These are becoming more prevalent as the number of mobile devices are increasing, and the capacity of flash memories increase.
  • Flash memory blocks have to be explicitly erased before they can be rewritten.
  • the time taken to erase blocks can be significant, thus it is beneficial to erase unused blocks while the device is idle.
  • Random access Disk file systems are optimized to avoid disk seeks whenever possible, due to the high cost of seeking. Flash memory devices impose no seek latency.
  • Flash memory devices tend to wear out when a single block is repeatedly overwritten; flash file systems are designed to spread out writes evenly.
  • Log-structured file systems have many of the desirable properties for a flash file system. Such file systems include JFFS2 and YAFFS. Database file systems
  • a new concept for file management is the concept of a database-based file system. Instead of, or in addition to, hierarchical structured management, files are identified by their characteristics, like category of file, topic, author, or similar metadata. Transactional file systems
  • Each disk operation may involve changes to a number of different files and disk structures. In many cases, these changes are related, meaning that it is important that they all be executed at the same time. Take for example a bank sending another bank some money electronically. The bank's computer will "send" the transfer instruction to the other bank and also update its own records to indicate the transfer has occurred. If for some reason the computer crashes before it has had a chance to update its own records, then on reset, there will be no record of the transfer but the bank will be missing some money.
  • Transaction processing introduces the guarantee that at any point while it is running, a transaction can either be finished completely or reverted completely (though not necessarily both at any given point). This means that if there is a crash or power failure, after recovery, the stored state will be consistent. (Either the money will be transferred or it will not be transferred, but it won't ever go missing "in transit”.)
  • This category of file system is designed to be fault tolerant, but may incur additional overhead to do so.
  • Journaling file systems are one technique used to introduce transaction-level consistency to filesystem structures.
  • Network file systems are one technique used to introduce transaction-level consistency to filesystem structures.
  • a network file system is a file system that acts as a client for a remote file access protocol, providing access to files on a server.
  • Examples of network file systems include clients for the NFS, AFS, SMB protocols, and file-system-like clients for FTP and WebDAV. Special purpose file systems
  • a special purpose file system is basically any file system that is not a disk file system or network file system. This includes systems where the files are arranged dynamically by software, intended for such purposes as communication between computer processes or temporary file space.
  • Special purpose file systems are most commonly used by file-centric operating systems such as Unix. Examples include the procfs (/proc) file system used by some Unix variants, which grants access to information about processes and other operating system features.
  • Deep space science exploration craft like Voyager I & II used digital tape -based special file systems.
  • Most modern space exploration craft like Cassini-Huygens used Real-time operating system file systems or RTOS influenced file systems.
  • the Mars Rovers are one such example of an RTOS file system, important in this case because they are implemented in flash memory.
  • Crash counting is a feature of a file system designed as an alternative to journaling. It is claimed that it maintains consistency across crashes without the code complexity of implementing journaling.
  • File systems under Unix-like operating systems
  • Unix-like operating systems create a virtual file system, which makes all the files on all the devices appear to exist in a single hierarchy. This means, in those systems, there is one root directory, and every file existing on the system is located under it somewhere. Unix-like systems can use a RAM disk or network shared resource as its root directory.
  • Unix-like systems assign a device name to each device, but this is not how the files on that device are accessed. Instead, to gain access to files on another device, the operating system must first be informed where in the directory tree those files should appear. This process is called mounting a file system. For example, to access the files on a CD-ROM, one must tell the operating system "Take the file system from this CD-ROM and make it appear under such-and-such directory".
  • the directory given to the operating system is called the mount point - it might, for example, be /media.
  • the /media directory exists on many Unix systems (as specified in the Filesystem Hierarchy Standard) and is intended specifically for use as a mount point for removable media such as CDs, DVDs and like floppy disks. It may be empty, or it may contain subdirectories for mounting individual devices. Generally, only the administrator (i.e. root user) may authorize the mounting of file systems.
  • Unix-like operating systems often include software and tools that assist in the mounting process and provide it new functionality. Some of these strategies have been coined "auto- mounting" as a reflection of their purpose.
  • Removable media have become very common with microcomputer platforms. They allow programs and data to be transferred between machines without a physical connection. Common examples include USB flash drives, CD-ROMs, and DVDs. Utilities have therefore been developed to detect the presence and availability of a medium and then mount that medium without any user intervention.
  • Linux supports many different file systems, but common choices for the system disk include the ext* family (such as ext2 and ext3), XFS, JFS and ReiserFS.
  • ext* family such as ext2 and ext3
  • XFS XFS
  • JFS XFS
  • JFS XFS
  • ReiserFS XFS
  • Kernel extensions were added to Solaris to allow for bootable Veritas VxFS operation. Logging or Journaling was added to UFS in Sun's Solaris 7. Releases of Solaris 10, Solaris Express, OpenSolaris, and other open source variants of the Solaris operating system later supported bootable ZFS.
  • Logical Volume Management allows for spanning a file system across multiple devices for the purpose of adding redundancy, capacity, and/or throughput.
  • Legacy environments in Solaris may use Solaris Volume Manager (formerly known as Solstice DiskSuite.)
  • Multiple operating systems may use Veritas Volume Manager.
  • Modern Solaris based operating systems eclipse the need for Volume Management through leveraging virtual storage pools in ZFS.
  • Mac OS X uses a file system that it inherited from classic Mac OS called HFS Plus.
  • HFS Plus is a metadata-rich and case preserving file system. Due to the Unix roots of Mac OS X, Unix permissions were added to HFS Plus. Later versions of HFS Plus added journaling to prevent corruption of the file system structure and introduced a number of optimizations to the allocation algorithms in an attempt to defragment files automatically without requiring an external defragmenter.
  • Filenames can be up to 255 characters. HFS Plus uses Unicode to store filenames. On Mac OS X, the filetype can come from the category code, stored in file's metadata, or the filename.
  • HFS Plus has three kinds of links: Unix-style hard links, Unix-style symbolic links and aliases. Aliases are designed to maintain a link to their original file even if they are moved or renamed; they are not interpreted by the file system itself, but by the File Manager code in userland.
  • Mac OS X also supports the UFS file system, derived from the BSD Unix Fast File System via NeXTSTEP. However, as of Mac OS X 10.5 (Leopard), Mac OS X can no longer be installed on a UFS volume, nor can a pre-Leopard system installed on a UFS volume be upgraded to Leopard. File systems under Plan 9 from Bell Labs Plan 9 from Bell Labs was originally designed to extend some of Unix's good points, and to introduce some new ideas of its own while fixing the shortcomings of Unix.
  • Everything on a Plan 9 system has an abstraction as a file; networking, graphics, debugging, authentication, capabilities, encryption, and other services are accessed via 1-0 operations on file descriptors. For example, this allows the use of the IP stack of a gateway machine without need of NAT, or provides a network-transparent window system without the need of any extra code.
  • a Plan-9 application receives FTP service by opening an FTP site.
  • the ftpfs server handles the open by essentially mounting the remote FTP site as part of the local file system.
  • the application can now use the usual file-system operations to access the FTP site as if it were part of the local file system.
  • a further example is the mail system which uses file servers that synthesize virtual files and directories to represent a user mailbox as /mail / f s/mbox.
  • the wikifs provides a file system interface to a wiki.
  • file systems are organized with the help of private, per-process namespaces, allowing each process to have a different view of the many file systems that provide resources in a distributed system.
  • the File Allocation Table (FAT) filing system supported by all versions of Microsoft Windows, was an evolution of that used in Microsoft's earlier operating system (MS-DOS which in turn was based on 86-DOS). FAT ultimately traces its roots back to the short-lived M-DOS project and Standalone disk BASIC before it. Over the years various features have been added to it, inspired by similar features found on file systems used by operating systems such as Unix.
  • Older versions of the FAT file system had file name length limits, a limit on the number of entries in the root directory of the file system and had restrictions on the maximum size of FAT-formatted disks or partitions. Specifically, FAT12 and FAT16 had a limit of 8 characters for the file name, and 3 characters for the extension (such as .exe). This is commonly referred to as the 8.3 filename limit.
  • VFAT which was an extension to FAT12 and FAT16 introduced in Windows NT 3.5 and subsequently included in Windows 95, allowed long file names (LFN). FAT32 also addressed many of the limits in FAT 12 and FAT 16, but remains limited compared to NTFS.
  • NTFS introduced with the Windows NT operating system, allowed ACL-based permission control.
  • Hard links, multiple file streams, attribute indexing, quota tracking, compression and mount-points for other file systems (called “junctions") are also supported, though not all these features are well-documented.
  • Windows uses a drive letter abstraction at the user level to distinguish one disk or partition from another.
  • the path C ⁇ WIND0WS represents a directory WINDOWS on the partition represented by the letter C.
  • the C drive is most commonly used for the primary hard disk partition, on which Windows is usually installed and from which it boots. This "tradition" has become so firmly ingrained that bugs came about in older versions of Windows which made assumptions that the drive that the operating system was installed on was C.
  • the tradition of using "C" for the drive letter can be traced to MS-DOS, where the letters A and B were reserved for up to two floppy disk drives. Network drives may also be mapped to drive letters.
  • OSs operating systems
  • distributed computer systems such as, for example, one or more of the following (or combinations thereof): grid computing systems, cloud computing systems, utility computing systems, management systems, etc.
  • the appliance/servers for these volumes may be unavailable (e.g., not yet created, temporarily stopped, failing to start (e.g., due to a corrupted file system or configuration), etc.).
  • various aspects may be directed to different embodiments of filer appliances which may be used for manipulating volumes and/or file systems of one or more different types of operating systems (OSs) associated with various distributed computer systems.
  • OSs operating systems
  • a filer appliance (herein referred to as "filer”, “filer appliance”, or “FA”) may be implemented as a virtual appliance (e.g., a virtual machine with preconfigured OS and software) that includes functionality for performing automated file -level and/or volume- level operations for a selected set of file systems.
  • a filer appliance may be implemented as a virtual machine which is configured or designed to handle managing of one or more volumes.
  • the filer appliance may include one or more virtual interfaces (e.g., slots, ports, etc.) for interfacing with one or more virtual volumes.
  • one or more filer appliances may be dynamically and automatically instantiated for performing file operations at one or more virtual volumes.
  • one or more virtual volumes may be automatically attached, inserted or connected to a given filer appliance to be managed by the filer appliance.
  • the filer appliance may dynamically and/or automatically carry out operations in connection with management of the virtual volume.
  • virtual volumes may also be automatically detached from one or more filer appliances, for example, when it has been detected that the desired file operations have been successfully completed.
  • a least one embodiment of a filer appliance may be likened to a machine on which one is able to perform maintenance for disks. It may have one or more slots connection to one or more disks. If the desktop or server system fails, the disk may be detached from the system and plugged it into one of the filer's slots and repaired. In at least one embodiment, the files on the disk may be copied to a different disk.
  • a filer appliance may be configured or designed to include an image of an operating system supporting at least one file system type.
  • the OS image may be operable to be loaded or booted in a virtual machine (and/or other type of virtual device) to thereby create a first running instance of the virtual appliance.
  • the virtual appliance may also include various drivers and/or tools for performing specific file system operations and/or manipulations.
  • a filer application may include one or more different filer appliances.
  • one or more filer appliances may be configured or designed to operate in one or more different modes of operation.
  • a filer appliance may be operable to facilitate file system manipulation operations according to a batch mode of operation, wherein the filer appliance may be engaged to perform file system manipulation operations on individual files of the virtual storage volume, and/or may be engaged to perform file system manipulation operations on the file system as a whole.
  • Examples of various types of batch mode file system manipulation operations may include, but are not limited to, one or more of the following (or combinations thereof): create file system (e.g., format volume), file system copy, file system consistency check, file system repair, block copy, stream files out, stream files in, backup, restore, upload, download, wipe, etc.).
  • create file system e.g., format volume
  • file system copy e.g., file system consistency check
  • file system repair e.g., block copy
  • stream files out stream files in, backup, restore, upload, download, wipe, etc.
  • a new running instance of a virtual filer appliance may be dynamically and/or automatically created (e.g., on demand and/or in realtime) to perform desired file system manipulations on one or more virtual storage volumes. Once the virtual filer appliance has successfully completed its tasks, the specific running instance of that particular virtual filer appliance may be automatically released, freed or otherwise deleted or destroyed.
  • An example flow diagram of a Filer Operation Procedure operating in batch mode is illustrated in Figure
  • a filer appliance may be operable to facilitate file system manipulation operations according to an interactive mode of operation, wherein, for example, a filer appliance may be utilized to provide file system access to one or more external system(s) and/or entities (e.g., a human operator) for performing one or more file system operations/manipulations on the FS.
  • the interactive mode of operation may be employed to enable an external entity to perform file system manipulation operations on individual files of the virtual storage volume and/or on the file system as a whole.
  • such file system manipulation operations may be accomplished, for example, by the external entity providing appropriate instructions or commands to one or more selected virtual filer appliances, whereupon the virtual filer appliance(s) perform specific file system manipulations in accordance with the received instructions.
  • the interactive mode of operation enables an external entity to interact with the entire file system and/or to change content of the file system.
  • such interactive operation may be performed using a graphical user interface for exploring and manipulating files, directories and symbolic links in the filesystem of the virtual storage volumes.
  • an operator may use secure shell to invoke various operating system commands and tools to modify files in the filesystem; or use secure copy (scp), file transfer protocol (ftp) and/or network protocols such as NFS and CIFS to manipulate the contents of the virtual storage volume through the filer appliance.
  • the interactive mode may be used to provide access over a network file system (network file protocol) such as CIFS or NFS to have a computer program access the file system on the storage volume, for example, to perform an upgrade of the contents or software versions on the storage volume in an automated fashion, and/or check it for computer viruses, perform an automated backup, etc.
  • a network file system network file protocol
  • CIFS network file protocol
  • NFS network file protocol
  • the running instance(s) of the filer appliance(s) used to perform the file system manipulations may be dynamically and/or automatically created (e.g., on demand and/or in real-time) to perform desired file system manipulations on one or more virtual storage volumes.
  • the specific running instance of that particular virtual filer appliance may be automatically released, freed or otherwise deleted or destroyed.
  • the specific running instance of that particular virtual filer appliance may remain active to await additional instructions from the external entity.
  • an external entity may provide appropriate commands and/or instructions to cause a specific running instance of a virtual filer appliance to be released, freed or otherwise deleted or destroyed.
  • An example flow diagram of a Filer Operation Procedure operating in interactive mode is illustrated in Figure 10 of the drawings.
  • a filer appliance may be configured or designed to operate in both batch mode and interactive mode.
  • the filers may be operable to be dynamically provisioned whenever a file system operation is desired or required, may be operable to automatically perform or initiate specific tasks or operations relating to the file system operation, and/or may be operable to be automatically terminated or disposed of once the filer appliance has completed the operations and/or tasks to be performed.
  • a file system operation may be operable to automatically perform or initiate specific tasks or operations relating to the file system operation, and/or may be operable to be automatically terminated or disposed of once the filer appliance has completed the operations and/or tasks to be performed.
  • One advantage of this technique is that each filer can have or be associated with one or more different operating systems, thereby allowing one to choose the preferred OS for manipulating a given file system natively (e.g., Linux for ext3, Windows for NTFS, OpenSolaris for ZFS, etc.).
  • filer appliances including for example, properties/characteristics of filer appliances, implementation design details for Linux and Solaris operating systems, a list of volume-level commands which may be enabled and/or utilized in connection with one or more filer appliances, etc.
  • a framework may be provided for supporting different OS types on AppLogic (TM), along with their associated OS-specific file system formats.
  • TM AppLogic
  • Such a framework may provide, for example, for substantially equal levels of support to all OS types that can theoretically be run within AppLogic (TM) (e.g., those that can be executed in a XEN VM) and/or other virtualization software.
  • a new method for providing file -level access to volumes may be defined, which may be operable to be utilized within such a framework, and may replace the OS-specific method(s) of mounting the file systems on the controller.
  • Described below are various benefits, features, and/or advantages which may be realized or enabled using one or more embodiments which are operable to provide OS -independent support for file systems associated with one or more grids (e.g., utility computing grids). Examples of such benefits, features, and/or advantages, may include, but are not limited to, one or more of the following (or combinations thereof):
  • file -level access to volumes may have all (or selected) features supported by current versions of AppLogic (TM), for any file format that may be declared as "supported” in a given version of AppLogic (TM).
  • TM AppLogic
  • Avoidance of excessive usage of grid resources which, for example, may include one or more of the following (or combinations thereof): o no permanent allocation of any memory and CPU resource; o use of dynamically-allocated resource (e.g., to run a VM with an OS kernel that has drivers for a given file system) may be limited to the minimum necessary and may be de-allocated if not actively used (for example, in one embodiment, 'helper' VMs started for such purposes may be left idle to avoid re-start delays when multiple operations might be requested; but they can be treated as 'discardable' and shut down if the memory/CPU may be needed);
  • dynamically-allocated resource e.g., to run a VM with an OS kernel that has drivers for a given file system
  • volume access may not be limited to a fixed set of file system types, and may be extendable to volume types supported by any OS that can be run under XEN.
  • all interfaces related to volume access may be open and documented, so as to allow customers or third parties to add support for new OS types and new file system formats.
  • UFS e.g., sun_x86 variety
  • NTFS e.g., Windows
  • implementation of OS-neutrality functionality in connection with file-level access(es) may be accomplished, for example, by running a VM with the OS to which the file system may be 'native', or has the same level of support as in its native environment.
  • Linux file systems like ext2/3, ReiserFS, etc. may be supported by a Linux VM; UFS may be supported by a Solaris or a FreeBSD VM, depending on the UFS flavor; NTFS may be supported by a Windows VM, etc.; FAT file systems may be supported by either Linux or Windows, depending upon implementation specific preferences, for example.
  • application startup may be implemented, for example, without requiring volume access beyond the level that can be achieved by Linux-based FS drivers.
  • use of "helper" VMs to obtain the file -level access (which, for example, may take unacceptable amount of resources and/or a lot of time, if they're started one by one) may be avoided.
  • current volume access implementation using mounts into the controller's file space may be replaced with one or more of the following (or combinations thereof):
  • a special "filer" application template e.g., containing a single 'filer' appliance
  • OS type(s) that is/are being added as 'supported' to AppLogic (TM)
  • TM AppLogic
  • the "filer” may be able to run with very little memory (e.g., 16-32MB for Linux, may vary by OS).
  • the filer may be implemented as a 'one-shot' appliance, started for a specific source and target volume (or just a target volume) and stopped once its purpose has been served.
  • the "filer" appliance may be implemented as a bare-bones installation which has not deadweight services in memory that might present a security risk.
  • an filer appliance may be running from a read-only root file system and may be configured or designed to use only a ramdisk or a small instantiable volume for writable data.
  • various features/functionality including for example, one or more of the following (or combinations thereof): (a) volume mount/unmount functionality; (b) backup level (full attribute preservation) cross-volume copy functionality (e.g., cpio for Unix-style file systems or the ntbackup utility for NTFS); (c) tools for user access to volume data; etc.
  • appliances may receive IP configuration via DHCP and complete their setup by retrieving the rest of the configuration data directly from the controller (which, for example, in one embodiment, may be arranged for in a secure manner).
  • the controller-resident appliance configuration script (which, for example, may be part of ABS - the AppLogic (TM) build system) may reside in the appliance itself and run in the appliance's native environment.
  • DomO access may be provided for retrieval of kernel and initrd image(s): o
  • the support for Linux may be retained to support existing appliances; it can also be used for OpenSolaris and FreeBSD (e.g., readonly access to UFS may be available and may be stable).
  • different boot mechanisms may be added or provided in a manner avoids various requirements (such as, for example, a requirement that the boot images be available outside the VM's boot disk).
  • an XEN-ified version of GRUB resident on the boot disk may be used to load the images into memory and start up the OS.
  • this may not limit the functionality in any way, since, for example, the XEN's built-in bootloader (which preferably includes the boot images in DomO) and GRUB both operate exclusively on ELF binaries, therefore whatever XEN can load, can also be loaded by GRUB.
  • operating systems that may be supported as HVMs may use their own built-in boot loader in all (or selected) cases and may not require DomO access to their volumes at boot time.
  • the one or more embodiments of the configuration mechanism(s) described herein may provide faster operation and more flexibility. Additionally, it may also be possible and advantageous to use one or more filer appliance(s) to modify (e.g., "volfix") the appliance boot volumes before the appliances start (e.g., by using currently available AppLogic (TM) -style appliance configuration(s), while providing OS -independent support).
  • modify e.g., "volfix”
  • TM AppLogic
  • FILER APPLIANCE EXAMPLE may be modified to include additional components and/or functionality for facilitating implementation of one or more of the inventive features, techniques, and/or embodiments described herein. Examples of at least some of such modifications are described below.
  • Figure 1 shows an example embodiment of a filer appliance 100 in accordance with what at least one embodiment.
  • the filer appliance may be implemented as a virtual machine which includes virtual interfaces (e.g., "slots") for interfacing with one or more (e.g., two, as illustrated in the example of Figure 1) "installable" volumes.
  • the volumes include a source volume 104 (src) and a destination volume 102 (dst).
  • the filer appliance may include one or more control interface(s) 103 for receiving input information from other appliances/systems such as, for example, control information, status information, etc.
  • the filer appliance may include one or more information output interfaces (which, for example, may be implemented using a bi-directional control interface embodiment) for providing various information to other appliances/systems such as, for example, responses to queries, status information, etc.
  • information output interfaces which, for example, may be implemented using a bi-directional control interface embodiment
  • the filer appliance may include a single appliance of class "filers.ostype" (e.g., where the appliance has no terminals).
  • filers.ostype e.g., where the appliance has no terminals.
  • Figure 2 shows an example embodiment of a filer application 200 which includes a filer appliance (e.g., 100).
  • the filer application 200 is a higher-level construct built upon the basic filer appliance 100 of Figure 1.
  • the filer application may be operable to provide the necessary filer appliance infrastructure in a programmatic and uniform manner, regardless of the particular filer appliances used inside (e.g., whether a single filer or multiple filers are needed to perform the operation). In at least one embodiment, this allows the instantiation of the filer application to be common, while the filer applications can vary to provide the necessary compatibility and functionality.
  • the boundary 202 of the application 200 is preferably the same as for the appliance (e.g., the application is a 1:1 wrapper for the single appliance inside).
  • the src and dst volumes are exposed, as is the control interface and any configuration properties (such as IP addresses). COMPOSITE FILER APPLICATION EXAMPLE
  • Figure 3 shows an example embodiment of a composite filer appliance 300 in accordance with a specific embodiment.
  • the composite filer application 300 may be implemented as a structure of connected filer appliances, where each appliance is responsible for accessing a respective volume.
  • the filer appliance 121 has the source volume attached, and may be operable to feed file data out its "file access" interface 303, to the filer appliance 125, which has the destination volume attached.
  • Some benefits of using a composite filer application include, for example: • the ability to copy files between file systems for which no single operating system has proper drivers (e.g., REISERFS to NTFS),
  • data transfer between the appliances can be arranged in many ways; including, for example, one or more of the following (or combinations thereof):
  • an alternative method for transfer may be for the appliance 121 to write the data to a network pipe, (e.g., in tape archive format (.tar)) and the appliance 125 to read the data and store it on the destination volume.
  • a network pipe e.g., in tape archive format (.tar)
  • the appliance 125 to read the data and store it on the destination volume.
  • the filer appliance 121 may be a Linux appliance that has a source volume attached, with the REISERFS file system; and the filer appliance 125 may be a Windows appliance that has the destination volume attached, with the NTFS file system.
  • the composite filer applications can be pre-existing for all meaningful combinations.
  • one or more filer appliance(s) and/or filer application(s) may be automatically and/or dynamically generated for each particular case, prior to provisioning or starting.
  • each filer may be created as a virtual machine (VM), and configured to talk to each other.
  • VM virtual machine
  • the boundary 302 of the application 300 is preferably similar to the boundary 202 of the application 200. This allows for application-independent instantiation(s).
  • the source volume defined on the boundary 302 may be redirected to the source volume of the filer appliance 121; the destination volume defined on the boundary 302 may be redirected to the destination volume of the filer appliance 125. Properties and other configuration data may be replicated to both the appliances and/or provided to the appropriate appliance(s), as needed (e.g., the target file system may be provided to the appliance 125).
  • the appliances 121 and 125 may have a set of preconfigured parameters, such as, for example, which of them is the source appliance (e.g., 121 in the example of Figure 3) and which of them is the destination appliance (e.g., 125 in the example of Figure 3).
  • the source appliance e.g., 121 in the example of Figure 3
  • the destination appliance e.g., 125 in the example of Figure 3
  • Figure 4 shows an example embodiment of a filer appliance 400 in accordance with a specific embodiment.
  • filer appliance 130 may include a plurality of different disk arrays (e.g., virtual disk arrays 402, 404).
  • one or more of the volumes e.g., source volume 402 and/or destination volume 404
  • the filer appliance 130 may include multiple (e.g., 4) slot interfaces for source volumes 402 (e.g., src_streaml, src_stream2, src_stream3, src_stream4), and may also include multiple (e.g., 4) slot interfaces for destination volumes 404 (e.g., dst_streaml, dst_stream2, dst_stream3, dst_stream4).
  • source volumes 402 e.g., src_streaml, src_stream2, src_stream3, src_stream4
  • destination volumes 404 e.g., dst_streaml, dst_stream2, dst_stream3, dst_stream4
  • the multiple slot interfaces of an filer appliance enables use of composite volumes (e.g., volume arrays or volume pools), where a single logical volume may be built or represented by combining multiple volumes, such as, for example, in the case of RAIDO or volume-span configurations (e.g., where multiple volumes are concatenated sequentially to form a larger volume).
  • composite volumes e.g., volume arrays or volume pools
  • a single logical volume may be built or represented by combining multiple volumes, such as, for example, in the case of RAIDO or volume-span configurations (e.g., where multiple volumes are concatenated sequentially to form a larger volume).
  • such a utility may be used to facilitate increased capacity and/or performance.
  • the filer appliance may be configured with any number of volumes (e.g., "streams") for each of the composite volumes (e.g., 1 source volume and 4 destination volumes).
  • different property configuration(s) or parameter(s) may be used to specify the type of composite volume (RAIDO, span, etc.) and/or other associated parameters/characteristics.
  • the filer appliance may retrieve this data automatically from the volumes' content.
  • Figure 5 shows an example embodiment of a filer appliance 500 in accordance with a specific embodiment.
  • filer appliance 140 may include network transfer/communication functionality.
  • filer appliance 500 may be configured or designed to be compatible for use with non-composite filer application(s) (e.g., as shown in Figure 2, for example) and/or for use with composite filer application(s) (e.g., as shown in Figure 3, for example).
  • the appliance filer appliance 140 may include one or more of the following (or combinations thereof): • a control interface 503 operable for submitting control requests and/or for obtaining status,
  • the input interface 501 and the output interface 505 may be implemented via the use of a single interface (e.g., a physical or virtual network card).
  • filer appliance 500 where the filer appliance 500 is used in a non-composite filer application, its network file server and client interfaces may be omitted or may not be used. In at least one embodiment, it is also possible to create a filer appliance which includes single volume slot (or single array slot) interface, and which also uses the client and/or the server interface(s).
  • Figure 6 shows an example embodiment of a filer application 600 in accordance with a specific embodiment.
  • the filer application may include functionality for performing network transfers in connection with multiple disk arrays.
  • the filer application 600 may be configured or designed as a composite filer application variant, in which each volume array (or selected volume arrays) is configured to interface with a separate or respective filer appliance.
  • the filer appliances may be connected through interfaces in order to transfer data from the source to the destination volume(s).
  • the filer application may include various components (e.g., virtual components) such as, for example, one or more of the following (or combinations thereof):
  • the source filer appliance (e.g., 161) has the source volume array slot(s) 602 and the destination filer (e.g., 163) has the destination volume array slot(s) 604.
  • one or more of the filer appliances may be the same class (e.g., an OpenSolaris filer appliance) and/or of different classes (e.g., one is OpenSolaris, the other is Linux or Windows).
  • Figure 7 illustrates an example embodiment of a virtualized distributed computing system 700 which may be used for implementing various aspects described herein.
  • system 700 may include a catalog/template system (or portion) 701 which includes one or more catalogs of different filer application templates. Additionally, as illustrated in the example of Figure 7, system 700 may also include a runtime system (or portion) 750 where non- template (e.g., instantiated) applications run or are held.
  • non- template e.g., instantiated
  • volume maintenance operations may include, but are not limited to, one or more of the following (or combinations thereof):
  • a virtual machine may be automatically/or dynamically assigned, on demand (and/or in real-time), to perform the desired maintenance action(s) or operation(s) over a particular volume or set of volumes. After the operation(s) have been completed, the virtual machine may be released. In one embodiment, the virtual machine may be automatically and dynamically created or instantiated on demand for each operation and destroyed after the operation completes. In another embodiment, there may be a pool of virtual machines from which one may be allocated to perform a given operation and released back to the pool whenever the operation completes.
  • virtual machines may be operable to run one or more different types of operating systems such as, for example, Linux, Windows, FreeBSD, Solaris, etc., and may include the requisite or associated file system drivers and/or maintenance utilities for one or more of the file systems supported natively by these operating systems.
  • operating systems such as, for example, Linux, Windows, FreeBSD, Solaris, etc.
  • Linux operating system based filer appliance (“Linux filer”) may be configured or designed to include file system drivers and utilities for the ext2, ext3 and REISERFS file systems.
  • a Windows operating system based filer appliance (“Windows filer”) may be configured or designed to include file system drivers and utilities for the FAT32 and NTFS file systems.
  • a filer appliance can access a single volume and perform the maintenance operation over it.
  • a filer appliance can access two or more volumes (e.g., a source volume and a destination volume), and perform the operation across the multiple volumes (e.g., copy files from a smaller to a larger volume).
  • the filer appliance may also provide a file transfer interface, through which it can exchange file system data with other filer appliance(s) and/or filer applications. It will be appreciated that one benefit of such features is that it enables transfers between file systems supported by different operating systems (e.g., by employing the use of different filer appliances, wherein each filer appliance is configured or designed to be compatible for use with a different respective one of the operating systems).
  • an automated entity e.g., runtime system, management system, etc.
  • accepts user-initiated and/or system-initiated commands such as, for example, a resize volume command which involves a volume resize operation.
  • the managing entity may automatically select the appropriate filer appliance (or appliances) to perform the desired volume operation(s) (e.g., volume resize operation), may automatically and dynamically configure the selected filer appliance(s) to access the selected volume(s), and may direct the filer appliance(s) to perform the desired operation(s).
  • the volume resize operation(s) may be performed by one or more virtual filer appliances and/or virtual filer applications while preserving the file system on the virtual storage volume during the volume resize operation.
  • the resizing operations may include, for example, providing a virtual filer application with access to the source (e.g, original) virtual storage volume (having a first volume size) and a second (e.g., target) virtual storage volume (having a second volume size which differs from the size of the first storage volume).
  • the virtual filer application may be operable to copy all (or selected) files from the source virtual storage volume to the target virtual storage volume.
  • the managing entity may monitor or track the status of the volume operation(s), and collect status information from the filer appliance(s). When it has been detected that the volume operation(s) have been successfully completed, the managing entity may automatically release the filer appliance(s) and the volumes, and may also communicate the operation status to the initator.
  • one or more filer appliances and/or filer application(s) may be implemented as AppLogic(TM) based catalog appliances.
  • the AppLogic (TM) catalog(s) may also include a number of differently configured filer applications, each including one or more filer appliances, wherein each different filer application is configured or designed to perform actions between volumes of any (or specifically selected) supported type(s) of file system(s).
  • the AppLogic(TM) runtime system in response to a user-provided command (or system initiated command) regarding one or more volumes, may select one or more appropriate filer application(s) suitable for performing operations relating to the received command(s). Further, in at least one embodiment, the runtime system may provision instance(s) of the selected filer application(s) for the selected volume(s), may configure the selected filer application(s) with the desired operation and resources, and may initiate starting of the selected filer application(s). The runtime system may also periodically monitor the completion status of the operation(s) being performed by the filer application(s). In at least one embodiment, when it has been detected a desired operation has been successfully completed (e.g., that a particular filer application instance has successfully completed the operations it was created to perform) the runtime system may destroy that filer application instance.
  • a desired operation e.g., that a particular filer application instance has successfully completed the operations it was created to perform
  • one or more filer appliances may be implemented as virtual machines created from pre-configured volume templates (e.g., as implemented by virtual machine managers such as VMware VB, Citrix XenServer, Microsoft Virtual Server, or cloud computing services such as Amazon EC2, etc.).
  • a user or a program, appliance or application
  • a management interface e.g., visual, command-line, API, etc.
  • the management system may process the request, and select an appropriate template (e.g., filer appliance template) which is suitable for implementing the requested maintenance operation for the identified volume.
  • the management system may facilitate and/or initiate creation of a virtual machine instance from the template, and automatically and/or dynamically configure the initiated virtual machine instance (e.g., filer appliance instance) to access the identified volume.
  • the management system may wait until the virtual machine (filer appliance instance) completes its operations before destroying the virtual machine.
  • the management system may maintain a pool of one or more ready-to-run or running virtual machines (e.g., filer appliances), so that it can quickly allocate an instance when a maintenance operation may be required.
  • the management system provides multiple virtual machines (e.g., filer appliances) for performing operations between volumes with different file systems.
  • one or more filer appliances/applications may be utilized for facilitating automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type.
  • the automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type may include, but are not limited to, one or more of the following operations (or combinations thereof):
  • the performing of the file system conversion operations may include, for example:
  • running instances of the first and/or second virtual appliances may be automatically and dynamically created, on demand (e.g., as needed), in response to real-time condition and/or events.
  • running instances of the first and/or second virtual appliances may be automatically and dynamically created (e.g., on demand) using one or more virtual appliance templates and/or virtual application templates.
  • Some of the virtual appliance/application templates may be dynamically generated (e.g., in real-time) using information relating to the first file system type and the second file system type.
  • Other virtual appliance/application templates may be pre-configured, and selection of a desired pre-configured template may be based, at least in part, using information relating to the first file system type and the second file system type.
  • FIG. 7 For purposes of illustration, the example embodiment of Figure 7 will be described by way of illustration with reference to a specific example scenario. More specifically, in this specific example, it is assumed that it is desired to perform a volume maintenance operation which includes copying the files from a first volume (e.g., 776a) which utilizes a first file system type (e.g., Linux- based ext3) to a second volume (e.g., 776c) which utilizes a different file system type (e.g., Windows-based NTFS).
  • a first volume e.g., 776a
  • a second volume e.g., 776c
  • a different file system type e.g., Windows-based NTFS
  • system 700 may include, for example, a catalog portion 701, a network portion 740 (e.g., WAN or LAN), and a runtime system portion 750.
  • a catalog portion 701 e.g., a catalog portion 701
  • a network portion 740 e.g., WAN or LAN
  • runtime system portion 750 e.g., a runtime system portion 750.
  • the catalog 701 may be used to store and/or provide access to templates (e.g., classes) of appliances 710 (e.g., virtual machines) and/or applications (e.g., 704a, 704b, 704n).
  • templates e.g., classes
  • appliances 710 e.g., virtual machines
  • applications e.g., 704a, 704b, 704n
  • structures of one or more virtual machines may be combined and/or used together.
  • runtime system 750 may be configured or designed to manage multiple applications in a virtual machine infrastructure.
  • the application (e.g., Application 1) 770 may include multiple appliances (virtual machines), including, for example, appliances 778a, 778b and 778n.
  • the application 770 includes volumes 776a, 776b and 776c, wherein volume 776a utilizes a first file system associated with a first operating system type (e.g., OS-A), and wherein volume 776c utilizes a second file system associated with a second operating system type (e.g., OS-B).
  • the volumes 776a, 776b and 776c may be located or deployed external to the runtime system 750 (e.g., on a FibreChannel or iSCSI SAN). Additionally, in at least some alternate embodiments all (or selected) portions of application 770 may be deployed or instantiated outside (e.g., remotely from) runtime system 750.
  • one or more filer appliances/applications may be utilized for facilitating remote file access to remotely located virtual storage volumes of a distributed computing network.
  • remote file access to remotely located virtual storage volumes may include, but is not limited to, one or more of the following operations (or combinations thereof):
  • the file system manipulations may include various types of operations such as, for example, file system formatting operations, file read operations, and file write operations, etc.
  • FIG. 8 shows an example flow diagram of a Volume Operation Monitor Procedure 800 in accordance with a specific embodiment.
  • the Volume Operation Monitor Procedure 800 of Figure 8 will now be described by way of example with reference to the system illustrated in Figure 7 of the drawings.
  • at least a portion of the Volume Operation Monitor Procedure may be implemented at runtime system portion 750 of Figure 7.
  • a volume maintenance operation which includes copying the files from a first volume (e.g., 776a) which utilizes a first file system associated with a first operating system type (e.g., OS-A), to a second volume (e.g., 776c) which utilizes a second file system associated with a second operating system type (e.g., OS-B).
  • a first volume e.g., 776a
  • a second volume e.g., 776c
  • OS-B second operating system type
  • a determination may be made as to whether one or more condition(s) and/or event(s) have been detected for implementing one or more volume operations.
  • a condition or event may be detected by receiving a command from a human user, a programmatic API request, as a scheduled operation, etc.
  • one or more parameters relating to the requested volume maintenance operation may be identified. Examples of such parameters may include, for example, one or more of the following (or combinations thereof):
  • volume identifier information e.g., relating to the identities of volumes 776a, 776c
  • file system parameter information e.g., type of file system utilized at each volume, associated operating system information, etc.
  • one or more threads of a Filer Operation Procedure may be initiated. In this particular example it is assumed that a single threat of the Filer Operation Procedure is initiated.
  • information relating to at least a portion of the identified volume operation parameters may be passed to (or made accessible to) the Filer Operation Procedure.
  • the runtime system 750 upon recognizing that a volume maintenance operation is desired (e.g., by receiving a command/request from a human user, a programmatic API request, or as a scheduled operation), the runtime system 750 takes appropriate action to carry out the desired volume maintenance operations. For example, in this example it is assumed that the runtime system issues a volume maintenance command and/or other instructions for causing all files to be copied from a Linux file system on the volume 776a to an NTFS file system on the volume 776c.
  • the system 750 may inspect the metadata of the volume 776a, and find it to contain a file system OS-A FS (e.g., Linux ext3); it may also inspects the metadata on the volume 776c, and find it to contain a file system OS-B FS (e.g., Windows NTFS).
  • OS-A FS e.g., Linux ext3
  • OS-B FS e.g., Windows NTFS
  • the system 750 may use parameters of the maintenance command to instruct that OS-B FS may be created on the volume 776c.
  • the file system type information may be provided to the system 750, without it having to inspect the volumes.
  • the system 750 may use the file system types discovered/identified to choose one or more appropriate structure(s) of filer appliances that can perform the requested maintenance operation.
  • the choice may be provided with (or embedded in) the maintenance command (e.g., use filer application template "ext3-to- ntfs").
  • the system 750 may create an instance of the selected filer structure (e.g., an application in AppLogic (TM), a set of virtual machines in VMware, etc.).
  • TM AppLogic
  • the system 750 creates a filer application instance 752 which includes filer appliance 754, and another filer application instance 762 which includes filer appliance 764.
  • a composite filer application instance (as illustrated, for example, in Figure 3) may be created wherein the filer appliance 754 and the filer appliance 764 are both be included within the boundary of the same application template.
  • the filer appliances 754 and 764 may be created together as a single AppLogic (TM) application and included with a common filer application boundary (similar to that illustrated, for example, in Figure 3).
  • TM AppLogic
  • the runtime system 750 is not required to distinguish whether it is creating a single-appliance filer application (e.g., similar to that illustrated in Figure 2), or whether it is creating a multi-appliance application (e.g., similar to that illustrated in Figure 3). Rather, in at least one embodiment, the system may simply provide information about the source and destination volumes to the applicaiton, and allow the application to determine which volume may be attached to what appliance.
  • the filer appliance 754 has a virtual machine executing the OS-A operating system that can access the file system on volume 776a (in this example, OS-A may be Linux and the file system may be ext3).
  • the filer appliance 764 has a virtual machine executing the OS-B operating system that can access the file system for volume 776c (in this example, OS-B may be Microsoft Windows and the file system may be NTFS).
  • the runtime system 750 may configure the filer appliance 754 to access the volume 776a as the filer' s source volume. It may further configure the filer appliance 764 to access the volume 776c as its destination volume. The system 750 may further configure the filer instances to perform or carry out the desired maintenance operation(s) (e.g., in this example, copy files from the source volume to the destination volume).
  • the configuration may be performed through various mechanisms and/or information such as, for example, one or more of the following (or combinations thereof): properties, executing commands, submitting control requests to the filers, etc.
  • the runtime system 750 submits a "start" request to the control interface 757a of the appliance 754.
  • the appliance 754 may be configured or designed to automatically initiate the operation.
  • the appliance 754 in performing its functions, may perform one or more of the following operations (or combinations thereof):
  • the tar data may be received by the appliance 764 though its interface 767b, and written (e.g., through the native file system) to the volume 776c (which may be visible in the appliance 764 as its volume 765).
  • the appliance 754 may send all (or selected) files, with their associated metadata (such as, for example, directory name, filename, timestamp, permissions, streams, etc.) and data, to the filer appliance 764, so that all (or selected) files from the volume 776a are effectively copied to the volume 776c.
  • the system 750 may periodically inquire the progress and status of the operation, through the control interface 757a. It may receive the status of the operation (e.g., ready or pending), progress (e.g., 50% done, lhr remaining), as well as other information (such as, for example, the name of the directory or file currently being copied, disk space left, etc.). In another embodiment, the system 750 receives a notification from the filer appliance 754 when the operation completes.
  • the status of the operation e.g., ready or pending
  • progress e.g., 50% done, lhr remaining
  • other information such as, for example, the name of the directory or file currently being copied, disk space left, etc.
  • the system 750 when the system 750 receives indication that the volume maintenance operation has been successfully completed, it may deactivate the filer appliance 754 and 764. In another embodiment, the system 750 may destroy one or both of the appliances 754 and/or 764, releasing all their resources. In yet another embodiment, the runtime system may provide the volume 776c to an appliance or application that uses the files as the target file system format. As discussed previously, in at least one embodiment, one or more filer appliances (and/or filer applications) may be configured or designed to operate in one or more different modes of operation, such as, for example, a batch mode of operation, an interactive mode of operation, etc. An example flow diagram of a Filer Operation Procedure operating in batch mode is illustrated in Figure 9 of the drawings. An example flow diagram of a Filer Operation Procedure operating in interactive mode is illustrated in Figure 10 of the drawings.
  • Figure 9 shows an example flow diagram of a Filer Operation Procedure (Batch Mode) 900 in accordance with a specific embodiment.
  • a least a portion of the filer operation procedure may be implemented at runtime system portion 750 of Figure 7.
  • Filer Operation Procedure is initiated.
  • one or more Filer Operation Procedure(s) may be initiated by the volume operation monitor procedure (e.g., 806).
  • the Filer Operation Procedure identifies the volume operation(s) to be performed and any parameters associated with the identified operation(s). Examples of such parameters may include, but are not limited to, one or more of the following (or combinations thereof):
  • identifiers of the source and/or target volumes e.g., LUN, volume name, iSCSI target, etc.
  • operation(s) to be performed e.g., interactive, format, file system copy, file system consistency check, file system repair, block copy, stream files out, stream files in, backup, restore, upload, download, wipe, etc.
  • operation attributes such as whether to wipe the disk blocks prior to writing files, whether to fill the unallocated volume blocks as to cause allocation in the virtual storage system, volume name/label to assign to the volume (e.g., for lvm groups and/or zfs pools), RAID- type options, etc.
  • file system attributes for the destination file system such as the allocation cluster size, journaling options (e.g., whether to journal metadata, data or both), small/large files content, flavor of file system (e.g., Solaris-type UFS or FreeBSD UFS), percentage of volume to reserve for writeable snapshots, etc.
  • network interface parameters such as the IP address and other network settings to use for the filer(s), for example, so that the filer can be accessed from an external system (e.g., the operator's notebook) and/or so that the filer can access external systems (e.g., download server, backup service location, etc.)
  • the Filer Operation Procedure selects the suitable or appropriate filer application template(s) that may be capable of performing the identified operation(s).
  • the selection can be performed by a combination of one or more of the following criteria:
  • user-provided identifier e.g., user specified the name/location of the filer application to use
  • table lookup e.g., by looking up the names of the source/destination filesystems in a table and retrieving the application name
  • a Linux filer appliance may support ext3 file system with score of 10 (native) and FAT32 file system with score of 3 (non-native), while a Windows file system can support both NTFS and FAT32 with a score of 10 (native) and ext3 with a score of 0 (not supported)
  • a list or database of filer appliances may be provided in which each (or selected) filer appliance of the database includes associated metadata (and/or other types of associated information) characterizing associations between that particular filer appliance and one or more different file system types.
  • filer appliance metadata may be used to identify and/or select suitable filer appliances for use with a given file system type.
  • One or more tables of selected filer appliances may then be automatically and dynamically generated using the filer appliance metadata information, and subsequently used when performing table lookups for suitable or appropriate filer application template(s).
  • a table or database may be provided which includes predefined associations between specific file system types and specific filer appliances.
  • the database may include a list of different file system types and associated filer appliances which may be suitable for performing various different file system operations for each given file system type.
  • the runtime system may utilize a map (e.g., lookup table) for use in selecting suitable or appropriate filer application template(s) that may be capable of performing the identified operation(s).
  • the runtime system may identify and select multiple different filer appliances for performing desired tasks.
  • the Filer Operation Procedure assigns an instance of a filer to perform the identified operation(s).
  • various operations or activities which may be performed at block 904 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure configures the filer instances and/or application for performing the desired operations.
  • various operations or activities which may be performed at block 906 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure attaches the source volume to the appropriate filer appliance.
  • the Block may be optional and skipped if the operation does not use a source volume (e.g., file system format does may require a source volume).
  • various operations or activities which may be performed at block 908 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure attaches the destination volume to the appropriate filer appliance.
  • the operations and/or activities implemented at block 910 may be performed in a manner similar to those described with respect to block 908. It may also include placing an exclusive lock on the destination volume, preventing other applications from accessing the volume (for read and/or write), so that other applications don't read data that may be in the process of being written and may be in inconsistent state.
  • the Filer Operation Procedure starts the filer application instance.
  • various operations or activities which may be performed at block 912 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure performs the requested maintenance operation on the already running filers.
  • various operations or activities which may be performed at block 908 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure releases the filer application instance.
  • various operations or activities which may be performed at block 922 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure detaches the volumes.
  • various operations or activities which may be performed at block 924 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure destroys the filer instances.
  • various operations or activities which may be performed at block 926 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the operation of attaching the source volume may be optional (some operations may not use a source volume — e.g., format or repair — those need only a target/destination volume).
  • the operation may include creating a link to the desired volume and configuring the filer instance to use the link as its source volume.
  • the operation of attaching the volume may include configuring a reference to an external storage device (physical or virtual), including specifying a device address (e.g., IP address), logical unit number (LUN), disk target, RFC-1737 universal resource name, etc.
  • the operation of attaching the destination volume may be optional (some operations may not need a dst volume — e.g., the source filer appliance in a dual- filer appliance (see figure to come).
  • a separate instance of a 'filer' appliance may be started based on detection of one or more specified conditions and/or events (or combinations thereof).
  • conditions and/or events may include, for example, detection of one or more events/conditions relating to one or more volume operation(s) to be performed.
  • volume operations may include, but are not limited to, one or more of the following (or combinations thereof):
  • a file system-level access operation e.g., format, copy, fsck, fsck+repair
  • the filer application instances may be reused. In other embodiments, it may be preferable that the filer application instances not be reused. For example, in one embodiment, once the task for which a given filer appliance instance was started has been successfully completed or accomplished done, that specific filer appliance instance may be stopped and/or destroyed.
  • one or more filer application templates may be used for handling one or more of the volume operations to be performed.
  • one or more of the filer application templates may be preconfigured to perform specific tasks and/or operations.
  • one or more filer application templates may be named in a manner which connotes an association with one or more OS-type(s).
  • Figure 10 shows an example flow diagram of a Filer Operation Procedure (Interactive Mode) 1000 in accordance with a specific embodiment.
  • a least a portion of the filer operation procedure may be implemented at runtime system portion 750 of Figure 7.
  • the operations of the Filer Operation Procedure (Interactive Mode) 1000 may be similar to corresponding operations of the Filer Operation Procedure (Batch Mode) 900 which have been previously illustrated and described respect to Figure 9. Accordingly, a detailed description of such similar features will not be described again in the description of Figure 10.
  • the Filer Operation Procedure is initiated.
  • one or more Filer Operation Procedure(s) may be initiated by the volume operation monitor procedure (e.g., 806).
  • the Filer Operation Procedure identifies the volume operation(s) to be performed and any parameters associated with the identified operation(s).
  • the Filer Operation Procedure selects the appropriate filer application template(s) that may be capable of performing the identified operation(s).
  • the Filer Operation Procedure assigns an instance of a filer to perform the identified operation(s).
  • the Filer Operation Procedure configures the filer instances and/or application for performing the desired operations.
  • the Filer Operation Procedure attaches the source volume to the appropriate filer appliance.
  • the Block may be optional and skipped if the operation does not use a source volume (e.g., file system format does may require a source volume).
  • the Filer Operation Procedure attaches the destination volume to the appropriate filer appliance.
  • the operations and/or activities implemented at block 1010 may be performed in a manner similar to those described with respect to block 1008. It may also include placing an exclusive lock on the destination volume, preventing other applications from accessing the volume (for read and/or write), so that other applications don't read data that may be in the process of being written and may be in inconsistent state.
  • steps 1006, 1008, and/or 1010 may be performed as part of step 1004.
  • the Filer Operation Procedure starts the filer application instance.
  • the Filer Operation Procedure may wait to receive a command or instructions (e.g., from an external entity such as, for example, a human operator, an external device or system, etc.).
  • a command or instructions e.g., from an external entity such as, for example, a human operator, an external device or system, etc.
  • the Filer Operation Procedure receives a command. Accordingly, as shown in the example embodiment of Figure 10, at 1016 a determination is made as to whether the received command includes a termination request, such as, for example, a termination request for terminating or destroying one or more runtime instance(s) of specific filer appliances. As shown in the example embodiment of Figure 10, if it is determined that the received command does not include a termination request, the Filer application(s) may perform (1020) their appropriate volume operation(s) in accordance with the received command/instructions.
  • a termination request such as, for example, a termination request for terminating or destroying one or more runtime instance(s) of specific filer appliances.
  • the Filer application(s) may perform (1020) their appropriate volume operation(s) in accordance with the received command/instructions.
  • the Filer Operation Procedure may initiate procedures for terminating or releasing one or more filer application instance(s), in accordance with the received command/instructions .
  • various operations or activities which may be performed at block 1022 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure detaches the volumes.
  • various operations or activities which may be performed at block 1024 may include, but are not limited to, one or more of the following (or combinations thereof):
  • the Filer Operation Procedure destroys the filer instance(s).
  • various operations or activities which may be performed at block 1026 may include, but are not limited to, one or more of the following (or combinations thereof):
  • steps 1022 and 1024 may be performed as part of step 1026.
  • the operation of attaching the source volume may be optional (some operations may not use a source volume — e.g., format or repair — those need only a target/destination volume).
  • the operation may include creating a link to the desired volume and configuring the filer instance to use the link as its source volume.
  • the operation of attaching the volume may include configuring a reference to an external storage device (physical or virtual), including specifying a device address (e.g., IP address), logical unit number (LUN), disk target, RFC-1737 universal resource name, etc.
  • the operation of attaching the destination volume may be optional (some operations may not need a dst volume — e.g., the source filer appliance in a dual- filer appliance (see figure to come).
  • a separate instance of a 'filer' appliance may be started based on detection of one or more specified conditions and/or events (or combinations thereof).
  • conditions and/or events may include, for example, detection of one or more events/conditions relating to one or more volume operation(s) to be performed.
  • volume operations may include, but are not limited to, one or more of the following (or combinations thereof):
  • a file system-level access operation e.g., format, copy, fsck, fsck+repair
  • the filer application instances may be reused. In other embodiments, it may be preferable that the filer application instances not be reused. For example, in one embodiment, once the task for which a given filer appliance instance was started has been successfully completed or accomplished done, that specific filer appliance instance may be stopped and/or destroyed.
  • one or more filer application templates may be used for handling one or more of the volume operations to be performed. In at least one embodiment, one or more of the filer application templates may be preconfigured to perform specific tasks and/or operations. In at least one embodiment, one or more filer application templates may be named in a manner which connotes an association with one or more OS-type(s).
  • one or more filer appliances/applications may be utilized for facilitating file access to online (e.g., in use, mounted, attached, etc.) virtual storage volumes as well as off-line virtual storage volumes (e.g., virtual storage volumes which are not currently in use, mounted or attached to a device).
  • file or volume access operations may include, but are not limited to, one or more of the following (or combinations thereof):
  • the first virtual machine may correspond to (or may be configured to function as) a specific virtual appliance (such as, for example, a virtual filer appliance).
  • a specific virtual appliance such as, for example, a virtual filer appliance.
  • one or more filer appliances may have associated therewith one or more different types of properties.
  • properties may include, but are not limited to, one or more of the following (or combinations thereof):
  • the name may be globally unique and for file systems already supported by AppLogic (TM), it may be the same name that may be currently documented in the AppLogic (TM) manuals - e.g., ext2, ext3.
  • it may be preferable to match the name to the one used by the -t option of 'mount'.
  • it may be preferable to use a different name such as, for example, when using the UFS file system, which has different flavors that may be all supported by '-t uf s' but still may require an extra option to differentiate them.
  • a map of f s_type string(s) to filer appliance template(s) may be tracked, recorded, and/or managed using AppLogic ( TM) (e.g., . conf ) and/or other suitable mechanisms.
  • TM AppLogic
  • the map may be built automatically from info collected from the filers themselves.
  • the map can be generated automatically, for example, by extracting attributes from the available filers (e.g., users can create/install a new filer, the system collects from the filer's boundary the list of supported file systems and/or other attributes).
  • filer appliance and/or filer application properties may also be employed, such as, for example, properties relating to file system-specific attributes (e.g., largefiles for ext3), and/or other properties relating to various types of filer appliance and/or filer application features and/or characteristics described herein.
  • file system-specific attributes e.g., largefiles for ext3
  • other properties relating to various types of filer appliance and/or filer application features and/or characteristics described herein may be employed, such as, for example, properties relating to file system-specific attributes (e.g., largefiles for ext3), and/or other properties relating to various types of filer appliance and/or filer application features and/or characteristics described herein.
  • PLACEHOLDER VOLUMES properties relating to file system-specific attributes (e.g., largefiles for ext3), and/or other properties relating to various types of filer appliance and/or filer application features and/or characteristics described herein.
  • an filer appliance may include one or more "placeholder" volumes such as, for example:
  • the names of the data volumes need not be re-configured when provisioning an instance of the filer.
  • the "sym-link" mechanism (described herein) may be used to take care of this.
  • the filer appliance may be configured or designed to include one or more interfaces (e.g., virtual interfaces) such as, for example, an HTTP interface on its 'default' interface, with the following functions available (by URI):
  • interfaces e.g., virtual interfaces
  • HTTP interface on its 'default' interface
  • the "op" parameter may be an operation ID, and may be used when filer appliances start supporting multiple operations.
  • symbolic links may be desirable to allow "wiring" volumes from any application (e.g., data and/or class volumes) into the name space of the filer application, so that it may be started with the current ABS build procedure (which, for example, may specify that any placeholder volumes are to be configured as data volumes in the application instance).
  • the ABS limitation may be addressed, for example, by modifying ABS itself to accept 'absolute' volume names.
  • alternative approaches may be utilized which do not necessarily require the use of symlink volumes.
  • symlink volumes may be implemented as virtual volumes and configured or designed to function in a manner substantially identical to real, physical volumes in some or all operations.
  • one or more symlink volumes may be configured or designed to respond to various types of commands, instructions and/or other input. Examples of such commands/input may include, but are not limited to, one or more of the following (or combinations thereof):
  • broken links may be allowed, volume check operations may report errors (e.g. broken link errors), volume clean operations may remove them (e.g., just like orphans).
  • volume check operations may report errors (e.g. broken link errors)
  • volume clean operations may remove them (e.g., just like orphans).
  • Example of different volume operation related commands for use filer appliances and/or filer applications may include, but are not limited to, one or more of the following (or combinations thereof): vol create vol resize vol copy [ — fscopy]
  • AppLogic (TM) CLI may perform one or more of the following actions (or combinations thereof):
  • the symlinks may be named filer _instance . src and filer _instance . dst as needed for the operation that may be executed.
  • one or more of the above described actions may involve a new filer appliance instance being provisioned, started, stopped and destroyed for each operation.
  • a new filer appliance instance being provisioned for performing multiple different operations, started, stopped and then destroyed once all of the operations have been completed.
  • the 'vol mount' and VoI unmount' commands may be discontinued. Instead a new command may be introduced - vol manage, to do the following:
  • a filer application may be provisioned and configured in manual mode, with the specified volume set up as the target data volume (like for a CLI command - see above).
  • the '3t s sh' command may be executed internally and the user ends up at the command prompt of the filer appliance.
  • vol manage abort from another CLI session instantly terminates the matching SSH session to the filer and destroys the corresponding filer application to release the volume. This may be intended mostly for GUI use (see below). Users may rarely need to invoke this command.
  • the back-end on the controller executes the vol manage command (like for CLI access above) and provides the user with proxy access to the home page of the filer's interactive interface.
  • the 'proxied' page coming from the filer may be displayed inside a controller-provided GUI page, providing "context frame” that matches the overall GUI look of AppLogic (TM) and the necessary control buttons (e.g., like "unmount", to dismiss the file access GUI and release the volume).
  • TM AppLogic
  • the /monitor URL may be forwarded to the appliance named 'mon' in the application, and exploit this to provide the user with a way to open the filer GUI, without integrating it into a frame. All that may be done to achieve this may be to name the filer appliance 'mon'.
  • An example implementation uses a generic proxy mechanism.
  • the SSH session associated with the vol manage command may be left open and may be destroyed upon user request (e.g., with the 'unmount' button on the controller-provided portion of the GUI page).
  • the GUI "mount" (which started the vol manage ) may survive closing the browser and/or logging out and the user may be able to return to the file manager page for a previously-mounted volume.
  • the file manager GUI may be open, the user can request a Web-shell window, which opens a second SSH session to the filer.
  • This second session may be naturally terminated when 'unmount' may be requested from the GUI, as this may terminate the 'vol manage' command and cause the filer to shut down.
  • the GUI file manager may be implemented using any web technology; for example the PHP eXtplorer available from http://extplorer.sourceforge.net/, or any of the number of free/open- source or commercially available web-based file managers. Support for browsing files, adding/removing/editing files, as well as for uploading and downloading files and archives may be desired.
  • Solaris volumes, as well as volumes used by HVM-supported operating systems have a partition table.
  • the UFS magic number may be not enough to distinguish between the flavors of UFS. Therefore the default magic file that comes with the 'file' utility may be not suitable for reliably detecting file system type.
  • a custom descriptor file may be prepared for the 'file' utility, which detects all supported file system types. For the first version, this may be a read-only file prepared and installed with the DomO software (or on the controller, if that may be where FS detection may be done). This may be later modified to support assembling the 'magic' file from individual descriptors collected from the filer appliances, so that installing a new filer also brings the associated file system detection capability into the grid.
  • the single-use application instances pose a problem of synchronizing operations when multiple requests may be made for the same volume. Normally, when the volume was mounted in the controller space, this was resolved by not allowing two read/write mounts for the same volume. With the filer applications, the volume may become 'locked' only after the filer may be started, meaning that two commands for the same volume can clash by each one trying to set up and start an application with the same name.
  • each CLI command that needs to start a 'filer' may perform one or more of the following (or combinations thereof):
  • the appliance configuration may support two modes:
  • the appliance configuration may be done in the following phases:
  • initial network configuration - at least the 'default' interface may be configured, maybe also the IP address of all interfaces, using DHCP.
  • a new entity may be added (preferably to the controller, but it can run elsewhere too), an "appliance configuration server” (ACS). It has the following interfaces:
  • o 'configure' command takes an appliance instance descriptor (UDL) as input and stores it, but does not make it available on the network. This command may be invoked by ABS at the end of a build (in place of the current vol fix).
  • o 'enable' and 'disable' commands take an application name as input, 'enable' exposes the application configuration on the DHCP and HTTP interfaces in a form suitable for being retrieved by the appliance (see the exact format in the original proposal).
  • These commands may be invoked by the application start/stop handlers in CTLD (probably the best place to add the calls may be the 'event' scripts invoked by CTLD on start/stop).
  • the appliance's ' AppLogic ( TM) _appliance' initscript requests the configuration from the server that provided the DHCP response (e.g., the controller) and configures the appliance accordingly.
  • the controller-facing ACS interfaces may be designed as proxies to the back-end (which serves the configuration to the grid) and be capable of distributing it to multiple back-ends, if necessary.
  • each DomO VM can own a config server back-end instance (which serves the appliances on that server only).
  • the currently used boot loader may be replaced by the XEN-style embedded boot-loader (pygrub), which does not require the kernel and initial ramdisk to be available in DomO.
  • Existing appliances may still be supported with the current boot method (but, in at least one embodiment, may be phased out, as appliances may be updated).
  • XEN's hvmloader may be used, which also does not require anything to be read from the boot volume. This (along with not using vol fix in the controller) means that all file -level volume access during configuration may be phased out, when all appliances may be updated.
  • TM Example Embodiments Of Potentially Affected Components in AppLogic
  • Controller modify the appliance start/stop event scripts to invoke enable/disable commands in ACS.
  • AB S - add support for specifying bootloader type (pygrub or hvm) - when bootloader may be specified, ABS assumes dynamic config for the instance and does not do vol fixup, instead it sends the instance descriptor to the 'config' command of ACS.
  • bootloader type prygrub or hvm
  • UI "mounting" of volumes may be discontinued. (Assembling 'md' arrays in the controller may be kept for block-level copy, but this may be replaced with DomO-resident code, to allow better scheduling of such jobs and optimizing them by running them where the data source may be local).
  • UI UI Controller
  • GUI filer Controller
  • Controller add the ACS service (although for now we may run ACS entirely on the controller, note that only the ACS control interface may preferably to reside on the controller, the actual daemons that serve configuration may run elsewhere and exist in more than one instance).
  • Controller re-implementation of all commands that use file-level volume access, to use a filer application instance instead of mounting the volume on the controller.
  • Affected commands vol copy (when used with — fscpy), vol create, vol resize (also, file system check/preen may use the same mechanism).
  • DomO scripts modify volume type detection, to use a custom 'magic' descriptor for the 'file' command, instead of using 'file' with the default magic desc and parsing its verbose output. Add proper detection of the different flavors of UFS volumes (Solaris, Solaris x86, BSD, etc.).
  • VRM/DomO scripts support VM startup with pygrub (in addition to the xen loader and hvm).
  • the changes below may be only needed if pygrub support cannot be used for some reason:
  • DomO scripts add support for 'partitioned' volumes (for reading kernel & ramdisk images).
  • filers that may be certified may be allowed to perform operations on volumes of locked appliances or applications (locked appliances/applications prevent user's access to the data on the volume in order to (a) prevent disclosure of intellectual property/licensed product code/data, and (b) preserve the integrity of a particular appliance/application by preventing modification of the certified/official version).
  • This may include operations like resize; operations that provide access (read-only or modify), such as "vol manage” may be disallowed over locked appliances.
  • filer appliances can provide the full functionality defined for filers, thus allowing users to easily extend the system to support other OS and file systems.
  • Such appliances may be disallowed from performing any operations over volumes of locked appliances, because it may be possible for such custom appliance to perform additional operations (e.g., transfer out to the Internet a copy of the volume being resized).
  • a certification process may be available to allow such appliances to manipulate locked volumes; it may be recommended that absent such certification, custom filer appliances may be not given volumes of locked apps or appliances.
  • filer appliances my include other features and/or push now that such as, for example, one or more of the following (or combinations thereof).
  • the service may be not a regular DNS server that matches a name to single IP address. Instead, it resolves the terminal names to IP addresses, depending on which appliance may be sending the request.
  • the mapping may be updated dynamically from the information provided in the appliance instance descriptors (as given to the 'configure' command of the application config server).
  • TM AppLogic
  • the filers may also provide block-level copy operations, thus allowing to "outsource" the I/O intensive operation to an appliance/VM with its resources and resource quota.
  • This may be a separate appliance (e.g., block-level appliance, that may be file system and OS -independent); or one or more of the other appliances may support block-level operations.
  • Block-level operations may include: copy, wipe/erase, import/export from external storage, encrypt/decrypt, compress/decompress, migrate to/from another system, synchronize with remote volume, etc.
  • the filer may be implemented using a Live -CD or similar version of the operating system that provides the necessary file system drivers, using only read-only boot volumes. This allows the filer to be started quickly, without provisioning a read-write volume.
  • the filer OS configuration may be optimized (e.g., using JeOS - "just enough OS") to remove services that may be not used by the filer operations, so that the filer appliance/VM can start and shutdown faster and require less resources.
  • an open-source OS may be used to support filer operations for a file system that may be native to a licensed OS.
  • Linux with NTFS-3G driver (from http://www.ntfs-3g.org/) may be used to provide filer operations over NTFS volumes, without requiring a license for a Windows appliance/VM.
  • a free and open source implementation of an OS such as ReactOS (http://www.reactos.org) may be used in order to reduce license costs or improve another aspect of the operation (e.g., faster boot, less resources).
  • one or more different filers can have drivers for foreign file systems (e.g., a Linux filer can have NTFS drivers).
  • a Linux filer can have NTFS drivers.
  • More than one filer can support the same file system; the system can pick the fastest or the most appropriate. It may be also possible to provide read-only file system drivers for foreign file systems (e.g., an ntfs driver in Linux, or an ext3 driver in Windows), allowing appliances to copy files from a foreign file system to a file system they fully support
  • filers may be used, for example, to mount a source file system volume on a Windows- based filer and a destination file system volume on a Linux-based filer; the filers can then copy files from one to the other, using a standard network file system protocol, such as nfs or cifs, or a file transfer protocol, such as ftp, rsync, bittorent.
  • a standard network file system protocol such as nfs or cifs
  • a file transfer protocol such as ftp, rsync, bittorent.
  • the filers can provide multiple volume stream slots for each volume, allowing a filer to mount a composite volume including of multiple streams (e.g., RAID-5, RAID-Z, or simply volume spanning (concatenation of volumes to increase total capacity).
  • the filer may have src_streaml, src_stream2, etc.; the filer can then inspect which volume streams were provided to it and construct the composite volume (aka, volume pool, volume set, raid array) and access the file system that spans the multiple streams.
  • Can also be used for recovering mirror and checksum streams (e.g., in RAIDl and RAID5).
  • the filers may allow dynamical addition and removal of volumes. This may allow the system to keep a filer running at all times, and attaching to it volumes dynamically, performing the desired operations, and detaching the volumes. This allows for a faster operation (i.e, without having to provision and start a new filer for every operation).
  • a modification of this approach may have a system keep a dynamic pool of filer appliances of various types, adding and removing "worker” filers to the pool as need for file operations arise (sizing the pool down to 0 if, e.g., no filer ops were performed in an hour; starting multiple filers, of the same or different types, for as long as multiple file system operations may be performed concurrently); when choosing the number of filers in the pool, the system can take into account how much resources may be available in the system (e.g., to still leave resources available for other applications.)
  • a filer may be a virtual machine instance; in VMware, Xen or Parallels, the filer may be a VM that may be started on demand (automatically or on request) when volume access may be required. All the variations apply, including the composite filers (e.g., starting two VMs that transfer files between each other over a network file system protocol or a file transfer protocol).
  • TM AppLogic
  • mapping between file system type and the name of the filer application to use when performing operations over a volume of that type may be a mapping between file system type and the name of the filer application to use when performing operations over a volume of that type.
  • the file system section of AppLogic (TM). conf may have the following format: file systems
  • the system can choose a randomly assigned temporary name (e.g., a globally unique identifier/random number), or a name produced from the name of the target volume (e.g., filer_linux-sample_application- web_server-boot_volume) .
  • a randomly assigned temporary name e.g., a globally unique identifier/random number
  • a name produced from the name of the target volume e.g., filer_linux-sample_application- web_server-boot_volume
  • Some pseudo-file system types may also use a filer that may prepare the volume for a particular OS.
  • AppLogic (TM) may be being modified to perform all file-level volume operations using a new Filer application so as to provide OS-independent support.
  • new volume commands may be being added: manage, fscheck, and fsrepair. Description: 1.
  • the name of the filer application instance may be comprised of a prefix "AppLogic (TM)_Filer_” followed by the destination volume name with all dots replaced by dashes.
  • an error message may be displayed to the user stating that the operation failed and specifies the reason for the error.
  • the error message may be logged to the system log.
  • Create a symbolic link to the source volume - name may be ' ⁇ filer_application>.user.src' - if fails, display error message to user, write message to the system log, destroy the application and fail the operation. If the symbolic link already exists, then reuse the link.
  • Create a symbolic link to the destination volume - name may be ' ⁇ filer_application>.user.dst' - if it fails, display error message to user, write message to the system log, destroy the source symbolic link and the application. If the symbolic link already exists, then reuse the link. g. Start the application i.
  • volume management commands preferably invoke the above helpers as follows: create :
  • FILER LINUX, FILER SOLARIS, FILER WINDOWS03 FILER APPLIANCES FUNCTIONAL OVERVIEW
  • Filer_Linu ⁇ may be an appliance that provides filesystem-level access to a volume with a Linux file system.
  • Filer_Linu ⁇ supports the following Linux file systems: ext2, ext3, fatl ⁇ , fat32, reiserfs, swap, and ext3-snapshot (ext3 over LVM with snapshots) and supports the following modes of operation:
  • format format the volume to the specified filesystem (e.g., execute mkf s)
  • Filer_Linu ⁇ In manual mode, Filer_Linu ⁇ provides GUI access and root shell to the volume through its default interface. In this mode, Filer_Linu ⁇ also optionally provides external network access in order for the user to copy files to and from the volume (manually or programmatically) .
  • Filer_Sola ⁇ s may be a filer appliance that provides filesystem-level access to a volume with a Solaris file system.
  • Filer_Sola ⁇ s supports the following file systems: ufssol and zfs. It supports the same modes of operation as the Filer_Linu ⁇ appliance.
  • Filer_Windows03 may be a filer appliance that provides filesystem-level access to a volume with a Windows file system.
  • Filer_Windows03 supports the following file systems: ntfs and ntfsO3. It supports the same modes of operation as the Filer_Linu ⁇ appliance.
  • the Filer appliances may be used internally by AppLogic(TM), e.g., in response to a volume operation request, or may be provisioned as a regular appliance or applicationand may not be used in regular AppLogic(TM) applications.
  • Filer_Windows03 may be distributed without the windows placeholder volume which may be required for it to boot and perform its operations.
  • one or more filers support manual access mode with both single volume AppLogic(TM) 2.4.7+ supports manual mode operations over and two volumes.
  • the external interface may be enabled. It may be used for incoming and outgoing traffic and its network settings may be configured through properties. It may be preferably may be only used in the manual mode and may not be configured in one or more other modes.
  • the default interface may be enabled. It may be used for maintenance, ssh shell access and for submitting requests for file system operations. Also, in the manual mode, it may be used for accessing the Web GUI that may be preferably provided in the filers.
  • Volume Description src Source volume for filesystem-level volume copy or management of two volumes in AppLogic(TM) 2.4.7+. Always mounted read-only (except may be mounted read-write by the Windows03 filer as may be needed to update the partition unique ID). May be left unattached (e.g., for operations that utilize a single volume, such as, for example fsck). mode be
  • the volume may be mounted on /mnt/vol.
  • the block device may be accessible on /dev/hda4.
  • This section lists the preferred file system options (as specified on f s_options) for at least one the file systems supported by Filer_Linu ⁇ .
  • vol_group_name string, name of the LVM volume group to create on the dst volume. If empty, randomly generate a volume group name. Default: (empty).
  • o data_percentage integer, percentage of the volume that may be used to store data, remaining portion of the volume may be for snapshots. Default: 80 (80% of the volume may be for data).
  • zfs o pool_name: name of the zpool to create on the dst volume. If omitted, the vol_name property value may be used instead.
  • o mountpoint mountpoint of the root dataset of the created zpool.
  • Valid values may be: an absolute path, e.g. /mnt/mypool, legacy and none. Datasets with legacy mounts may not be automatically managed by zfs but may be specified desirable with entries in /etc/vfstab or used with manual mounting. Datasets with mountpoint of none may not be mountable. Default: /pool_name. o autoreplace: controls automatic device replacement.
  • Off device replacement may be manually initiated using zpool replace; if set to on any new device found in the same physical location may be automatically formatted and replaced.
  • Default: off. o delegation controls whether a non-privileged user may be granted access based on permissions defined on datasets. Valid values may be off and on. Default: on. o f ailmode: controls behavior in the event of failure. Valid values may be wait, continue and panic. Default: wait. o version: zpool version. Valid values may be 1 - 10. Default: 10 (current).
  • volume_label the volume label for the dst volume. If empty, the vol_name property value may be used instead.
  • o active create the new partition as active (bootable). Valid values may be yes and no. If omitted, the default value of no may be used during format while the value defaults to the src volume type during f scopy Interface
  • the Filer appliances may provide an HTTP interface on their default interface in order to collect status on non-manual volume operations and to access the Web GUI when in manual mode.
  • the following functions may be available by URL:
  • ⁇ poll integer, recommended status poll interval, in seconds.
  • ⁇ status integer, status of the volume operation. See below for the list of statuses that may be returned by Filer_Linu ⁇ .
  • ⁇ errortxt string, error message, if an error occurred (e.g., non-zero status) o
  • the following may be the list of statuses that Filer_Linu ⁇ may return in the status field for a specific volume operation:
  • the Filer appliances may use a web-based file manager named eXtplorer (e.g., from http://extplorer.sourceforge.net/) to provide the Web GUI access to a volume (accessible preferably only in manual mode).
  • eXtplorer may be released under the GNU GENERAL PUBLIC LICENSE Version 2.
  • the version of eXtplorer used in the filers may be preferably have been modified; t. The following may be the changes to eXtplorer:
  • the user interface may have 3 sections: a directory tree, a button bar and a detail object list.
  • the directory tree may represent the directory structure of the user virtual storage volume.
  • the button bar may include buttons that may be operated to invoke various filesystem operations.
  • the detail object list may show the contents of the selected directory.
  • a link whose target may be defined as a relative path may be shown in the directory tree if the target resolves onto the volume; otherwise it may be shown in the file list as an orphaned link.
  • a link whose target may be defined as an absolute path may be shown in the directory tree if the target resolves onto the volume using the volume basepath; otherwise it may be shown in the file list as an orphaned link.
  • the volume base path indicates the path to the volume when it may be in use within an appliance (where the volume may be mounted within the appliance). For example, if the volume may be normally mounted as /mnt / content / within the appliance, then setting the volume basepath to /mnt/ content/ allows the Volume Browser to resolve absolute links which target /mnt/content /.
  • the volume basepath may be set using the toolbar button for setting the basepath.
  • the button bar may include various buttons representing functions (operations) to be performed, such as, for example, one or more of the following (or combinations thereof):
  • the eXtplorer licenses and the source to the original un-modified eXtplorer may be found on the Filer appliances in /mnt/monitor/ . volume_browser/LICENSES/. ZFS Implementation Specifics
  • Filer_Solaris may supports zfs pools containing a single virtual device to allow users access to zfs volumes in the same manner as volumes using other file systems such as ufssol. More complex pools using multiple devices may be created manually using raw volumes within an AppLogic(TM) appliance, but such volumes may not operatecannot be used with Filer_Solaris. ZFS filer operations may be constrained to the following behaviors.
  • f srepair preferably executes zpool scrub and returns a single line of status on completion; either success or failure.
  • zpool scrub may be executed live on any pool within a running appliance and displays much more information in the event of a problem.
  • f scopy supports only file system datasets (volume, snapshot and clone datasets may not be copied). Administrative permissions may not be preserved by f scopy.
  • the zpool version may be set with f s_options on create, the zfs version of the root dataset may be 2, which may not be backwards compatible with version 1.
  • Solaris 10 appliances use zfs version 1.
  • the Solaris filer does may be disabled not to support root zpools (zfs boot volumes) in order to avoid a possible bug .
  • Filer_Windows03 operations may be limited to: o basic disks only (not dynamic disks) o MBR based partions only (not GUID based partitions) o exactly one primary partition per disk
  • f scopy operations may be performed with the robocopy utility.
  • compressed source files may be un-compressed on the destination volume.
  • When performing a filesystem-level copy of a volume be certain to leave enough room on the destination volume to account for this. If you copy the boot volume of a Windows appliance and the destination volume does not have sufficient free space, Windows will fail to boot (even though the copy operation proceeded without error).
  • the recommended minimum free space for a Windows 2003 Server Standard Edition appliance may be 1.25 GB, although in practice the OS will boot with less, robocopy does not support circular junction point references. If such references exist, the f scopy operation will fail.
  • Filer_Windows03 may boots from a small ext3 volume with GNU GRUB installed. Grub may be used to hide the first primary partition of the src volume during f scopy and of the src and dst volumes during manual operation.
  • the Windows bootloader ntldr may not be equipped to discriminate among mulitple active (bootable) partitions, and so grub may be used to prevent Filer_Windows03 from possibly booting from the wrong active partition.
  • the hidden partition if any, may be un-hidden so that filer operations may proceed. o If Filer_Windows03 abnormally terminates after grub has hidden a partition but before it has been un-hidden, the partition will may be left in a hidden state.
  • Filer_Linu ⁇ preferably executes mkf s over the dst volume, specifying a filesystem type of reiserfs. Formatting an ext3-snapshot volume
  • Filer_Linu ⁇ creates a volume group named VGVOL on the dst volume. It then creates a partition named data in the volume group. This partition uses 75% of the space on the dst volume and may be formatted with ext3. The remaining partition may be for snapshots and may be named snap.
  • Filer_Linu ⁇ formats the dst volume to e ⁇ t3 with mkf s. It then mounts the src volume read-only and mounts the dst volume read-write. Finally, Filer_Linu ⁇ copies the contents of the src volume to the dst volume using cp and unmounts both volumes. file system check
  • Filer_Linu ⁇ executes fsck on the dst volume.
  • Filer_Linu ⁇ executes fsck with the repair option on the dst volume.
  • Filer_Linu ⁇ mounts the dst volume read-write at /mnt/vol. It then starts the eXtplorer GUI and starts sshd, which gives the user root access to the volume.
  • the GUI may be accessible through the default interface and any file transfers to/from the volume may be through the external interface.
  • the Linux Filer may be based on Ubuntu 7.04
  • the Solaris Filer may be based on OpenSolaris Build 2008.05
  • the Windows Filer may be based on Windows Server 2003 Standard Edition R2 32- bit
  • the Windows Filer preferablyby default uses a random Administrator password for security purposes. If this may not be may be not desired, change the password as described in the Windows Appliance Notes.
  • the Linux Filer may be based on an Ubuntu LUX -like appliance, based on Ubuntu 7.04.
  • CLASS VOLUME VOLUME
  • the volume configuration for the Linux Filer appliance may be determined by the base class image from which it may be created.
  • the Linux Filer appliance preferably uses a read-only, shared boot volume in order to reduce the startup time.
  • a boot volume may not be sensitive to the volume configuration and will work on most any setup.
  • the setup chosen for the 1.2. release may be as follows:
  • the Linux Filer may contains the following additional packages:
  • the Linux Filer contains the following scripts, which implement the functionality of the filer. In the appliance, these scripts may be stored at /usr/local/appliance/sc ⁇ pts/.
  • the scripts corresponding to the mode property may be invoked by / et c / sysconf ig/ appliance . sh. Contents of the release directory
  • Filer_Linu ⁇ may be a standalone appliance that provides filesystem-level access to a volume with a Linux file system. CONFIGURATION External network setup
  • Filer_Linu ⁇ has anmay have external interface which allows the appliance to communicate with the outside world.
  • Filer_Linux may invokes the /usr/local/appliance/appliance_netsetup .
  • sh script to configure the external interface (similar to the script with the same name found in one or more AppLogic(TM) gateway applainces).
  • sh script assigns ip_addr (if one ismay be specified) to the external interface. This script also sets the netmask and gateway, as well as setting the DNS servers. LOG FILES
  • Filer_Linu ⁇ does not create any additional logs.
  • One or more logging services may be disabled.
  • the Solaris Filer may be based on OpenSolaris build 2008.05 or 2008.11. It has no base class. CLASS VOLUME
  • the Solaris Filer preferably has a single volume with the following parameters:
  • boot volume 900 MB, mounted as "/”, read- write PACKAGES
  • the Solaris Filer may contains the following additional packages:
  • the Solaris Filer contains the following scripts, which implement the functionality of the filer. In the appliance, these scripts may be stored at /appliance/scripts/.
  • the scripts corresponding to the mode property may be invoked by /appliance /appliance .
  • the archive contains configuration files for xm create. • Download os.200805.iso from http://www.opensolaris.org to the impex volume, and then push it using scp to the domO working directory.
  • Filer_Sola ⁇ s may be a standalone appliance that provides filesystem-level access to a volumes with a ufs and/or zfs file systems. CONFIGURATION External network setup
  • Filer_Sola ⁇ s may have has an external interface which allows the appliance to communicate with the outside world.
  • Filer_Sola ⁇ s invokes the /appliance/appliance_netsetup . sh script to configure the external interface (found in one or more AppLogic(TM) gateways).
  • the /appliance/appliance_netsetup . sh script assigns ip_addr (if one may be may be specified) to the external interface. This script also sets the netmask and gateway, as well as setting the DNS servers. LOG FILES
  • Filer_Sola ⁇ s preferably does not create any additional logs.
  • One or more logging services may be disabled.
  • the Windows Filer may be based on Windows Server 2003 32-bit Standard Edition, SP2. It has no base class. VOLUMES
  • the Windows Filer may have a has a single class volume wit the following configuration:
  • the Windows Filer may includes a placeholder volume for the actual Window OS
  • the Windows Filer windows volume may contains the following additional packages:
  • the Windows Filer windows volume contains the following scripts, which implement the functionality of the filer. In the appliance, these scripts may be stored at c : / appl iance / script s / .
  • zip zip of one or more the files used to create the self -extracting executable. This may be the build environment which may be unzipped on a Windows Server 2003 guest in order to create the msi file. It includes: o the files which may be installed by Filer_Wmdows-l . 0 . 0-1 . msi o Filer_wmdows . aip the Advanced Installer project file used to create Filer Wmdows-1 . 0 . 0-1 . msi Install Environment
  • the boot volume of Filer_Windows may be an 8MB ext3 volume with GNU GRUB installed in the MBR and on the filesystem. The following procedure may be used to create this volume (This may may require maintainer access to the grid):
  • Execute / sbin/ fdisk -1 -u /dev/ sda The result may be: device boot start end blocks id system / dev/ sdal * 63 16064 8001 83 Linux
  • the menu . 1st file used with the Filer_Windows boot volume may be included in the grub_boot_volume_domO . tar . gz archive.
  • the Windows placeholder volume may be created using the standard procedure for creating virtual volumes with the Windows OSPlease see the Windows Installation Reference for instructions on how to create this volume and incorporate it into the Sys_Filer_Windows application. PREPARING THE SELF -EXTRACTING EXECUTABLE
  • a self-extracting executable may be created to facilitate the creation of Windows-based filer appliances by customers who have their own license for Windows and may need to use their own copy of Windows for the installation due to licensing constraints.
  • the self -extracting executable may be prepared on a Windows Server 2003 VM which includes a licensed copy of Advanced Installer. Copy the archive f iler_wmdows_msi_build- 1 . 0 . 0-1 . z ip to the Windows VM and extract it in CA. Use Advanced Installer to create the msi. Cygwin Packages
  • the msi contains a local repository of Cygwin packages.
  • the automated install may be only capable of installing the base packages.
  • the repository may be created as follows:
  • Filer_wmdows may be a standalone appliance that provides filesystem-level access to a volume with a NTFS file system. CONFIGURATION External network setup
  • Filer_Windows has may have an external interface which to allows the appliance to communicate with the outside world (accept requests from a netwok host). When the external interface needs to be configured, Filer_Windows invokes the
  • the /appliance/appliance_netsetup . sh script assigns ip_addr (if one may be specified) to the external interface. This script also sets the netmask and gateway, as well as setting the DNS servers. LOG FILES
  • Filer_Windows may does not create any additional logs.
  • examples of various commands which may be supported may include, but are not limited to, one or more of the following (or combinations thereof):
  • volume list —sys [—verbose][—batch] [—mounted]
  • volume list server name [—verbose][—batch] [—mounted]
  • the format of name may be /catalog.
  • the format of name may be application.
  • the format of name may be application: class.
  • the format of name may be application/catalog.
  • the format of name may be application/catalog: class.
  • the format of name may be application/volcache.
  • name may be the name of a server.
  • volume list — sys - list all volumes
  • volume list server srv2 - list all volumes with a mirror on 'srv2'
  • volume list sugarcrm config - list volumes for class 'config' in application 'sugarcrm'
  • ALL volumes for the application may be listed.
  • PERF. boot 165 ⁇ sru3,sru2 ok ext3 V auailable qa app1/uolc iche ⁇ ain .compi .
  • boot 901 sru1 ,sru2 degraded ext3 V auailable qa appl/uolcache nain.
  • compS. boot 901 sru3,sru1 ok ext3 V auailable qa appl/uolcache main.
  • comp ⁇ . boot 901 sru2,sru3 degraded ext3 V auailable qa appl/uolcache main. conp7.
  • boot 901 sru1 ,sru2 degraded ext3 V auailable qa appl/uolcache main. conp ⁇ .
  • boot 80 sru2,sru3 ok ext3 V auailable
  • volume mfo sugarcrm data - retrieve information for application user volume
  • volume info sugarcrm/catalog NAS1 .
  • volume info /system NAS . boot - retrieve information for global catalog class volume
  • name name of volume The format of name may be the following:
  • boot comment "My comment " - Set information for application singleton class volume volume set sugarcrm/catalog : NASl .
  • volume set /system NAS . boot - Set information for global catalog class volume
  • Name of the volume to create The format of name may be the following: application : [class . ]vol ⁇ me
  • units may be specified (e. g., 128M[B], 2G[B]).
  • fs_options file system-specific options used when installing the file system. This option may be only valid if fstype may be specified. AppLogic (TM) 2.3+.
  • mirrored volume may be mirrored, default may be 1 if multi-server grid may be configured
  • volume reference may be in the class descriptor if adding an application singleton class volume.
  • volume size may be not specified, the default volume size of IGB may be used.
  • the value specified for the fs_options parameter may be a space-separated list, may be file system specific, and may be valid only in conjunction with the mkf s parameter.
  • the following may be the options available for each supported file system:
  • vol_group_name string specifying the name of the LVM volume group to create on the volume. If not specified, a volume group name may be randomly generated.
  • data_percentage percentage of the volume that may be used to store data, remaining portion of the volume may be for snapshots. If not specified, 80% of the volume may be used for data.
  • zfs pool_name the name of the pool - defaults to volume name if this may be not set
  • autoreplace on/off - controls automatic device replacement - defaults to off
  • on/off - controls whether a non-privileged user may be granted access based on the dataset permissions defined on the dataset - defaults to on
  • fs_options file system-specific options used when installing the file system. This option may be only valid if fstype may be specified.
  • the value specified for the fs_options parameter may be a space-separated list, may be file system specific, and may be valid only in conjunction with the mkf s parameter.
  • the following may be the options available for each supported file system:
  • zfs pool_name the name of the pool - defaults to volume name if this may be not set
  • autoreplace on/off - controls automatic device replacement - defaults to off
  • on/off - controls whether a non-privileged user may be granted access based on the dataset permissions defined on the dataset - defaults to on

Abstract

Techniques for facilitating manipulation of virtualized storage volumes and/or file systems of one or more different types of operating systems implemented on distributed computer systems. Various aspects may be directed to different embodiments of virtualized filer appliances and/or filer applications which may be used for facilitating manipulation of virtualized storage volumes and/or file systems of one or more different types of operating systems implemented on distributed computer systems. A filer appliance may be implemented as a virtual appliance that includes functionality for performing automated file-level and/or volume-level operations for a selected set of file systems. A filer appliance may be implemented as a virtual machine which is configured to handle managing of one or more volumes. The filer appliance may include one or more virtual interfaces for interfacing with one or more virtual volumes and/or one or more other virtual appliances.

Description

AUTOMATED FILER TECHNIQUE FOR USE IN VIRTUALIZED APPLIANCES AND APPLICATIONS
RELATED APPLICATION DATA
The present application claims benefit of U.S. Provisional Patent Application Serial No. 61/058,923 (Attorney Docket No. TERAP008P2), titled, AUTOMATED FILER TECHNIQUE FOR USE IN VIRTUALIZED APPLIANCES AND APPLICATIONS, naming Nickolov et al. as inventors, and filed June 5, 2008, the entirety of which is incorporated herein by reference for all purposes.
The present application claims benefit of U.S. Provisional Patent Application Serial No. 61/058,921 (Attorney Docket No. TERAP008P), titled, AUTOMATED FILER TECHNIQUE FOR USE IN VIRTUALIZED APPLIANCES AND APPLICATIONS, naming Nickolov et al. as inventors, and filed June 5, 2008, the entirety of which is incorporated herein by reference for all purposes.
The present application claims priority to U.S. Patent Application Serial No. 12/400,710 (Attorney Docket No. TERAP005B), titled, GLOBALLY DISTRIBUTED UTILITY COMPUTING CLOUD, naming Nickolov et al. as inventors, and filed March 9, 2009, the entirety of which is incorporated herein by reference for all purposes.
BACKGROUND
The present disclosure relates to gaming machines such as slot machines and video poker machines. More particularly, the present disclosure relates to automated techniques for use in virtualized appliances and applications.
In utility computing environments, a grid may be described as a distributed network of computer system, which comprises of heterogeneous and non-dedicated elements.
The heterogeneity of a grid is not only defined in terms of computing elements and operating systems but also in terms of implementation of policies, policy decisions and the environment. A long-term vision of enterprise grid computing community is non dedicated seamless interoperability of different disparate systems which may be part of the same organization or different organizations.
Traditionally, applications were developed for a target environment that was homogeneous, reliable, secure, and centrally managed. However, last decade has seen the development and growth of internet technologies, which resulted in the advent of collaborative computing and data sharing. As a result, newer modes of interaction have evolved resulting in the need and use of distributed resources. Organizational resources may be data or information resources, compute resources, infrastructure resources, human resources and so on. Recently, organizations have begun to realize the benefits of outsourcing, where nonessential elements of their information technology requirements are outsourced to various forms of service providers. These have resulted in requirements for distributed application development and deployment on heterogeneous environments.
Presently, applications and middleware are typically developed for a specific platform (e.g., Windows NT, Linux, UNIX, a mainframe, J2EE, Microsoft NET) that provides a hosting and runtime environment for applications. The capabilities provided by such platforms may range from integrated resource management functions to database integration, clustering services, security, workload management, and problem determination— with different implementations, semantic behaviors, for these functions on different platforms.
BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 shows an example embodiment of a filer appliance 100 in accordance with what at least one embodiment.
Figure 2 shows an example embodiment of a filer application 200 which includes a filer appliance (e.g., 100).
Figure 3 shows an example embodiment of a composite filer appliance 300 in accordance with a specific embodiment.
Figure 4 shows an example embodiment of a filer appliance 400 in accordance with a specific embodiment.
Figure 5 shows an example embodiment of a filer appliance 500 in accordance with a specific embodiment.
Figure 6 shows an example embodiment of a filer application 600 in accordance with a specific embodiment.
Figure 7 illustrates an example embodiment of a virtualized distributed computing system 700 which may be used for implementing various aspects described herein.
Figure 8 shows an example flow diagram of a Volume Operation Monitor Procedure 800 in accordance with a specific embodiment.
Figure 9 shows an example flow diagram of a Filer Operation Procedure (Batch Mode) 900 in accordance with a specific embodiment.
Figure 10 shows an example flow diagram of an alternate example of a Filer Operation Procedure (Interactive Mode) 1000 in accordance with a specific embodiment.
Figure 11 shows an a specific example embodiment of an interaction diagram between various systems/devices which may be utilized for automated configuration of virtual appliances.
Figure 12 illustrates a specific and specific example embodiment of a graphical user interface (GUI) which may be used for implementing various functionality and/or other aspects described herein. DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS OVERVIEW
Various aspects described or referenced herein are directed to different methods, systems, and computer program products for facilitating manipulation of a file system on a virtual storage volume of a distributed computing system. In at least one embodiment, the distributed computing system comprises a first plurality of virtual filer appliances including a first virtual filer appliance operable to perform at least one file system manipulation on at least one file system type. In at least one embodiment, manipulation of a file system on a virtual storage volume may include, but is not limited to, one or more of the following (or combinations thereof):
• identifying, for performing a first file system manipulation, a first virtual storage volume having a first file system, the first file system corresponding to a first file system type;
• identifying, from the first plurality of virtual filer appliances, a selected virtual filer appliance that is suitable for performing the first file system manipulation at the first virtual storage volume, the first virtual filer appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer appliance to be created or instantiated at the distributed computing system;
• automatically starting an instance of the selected virtual filer appliance;
• automatically providing the instance of the selected virtual filer appliance with access to the first virtual storage volume.
Other aspects described or referenced herein are directed to different methods, systems, and computer program products for facilitating manipulation of a file system on a virtual storage volume of a distributed computing network, which, for example, may include, but is not limited to, one or more of the following (or combinations thereof):
• identifying a first file system type for use in accessing files at a first virtual storage volume of the distributed computing network;
• identifying, using the first file system type, a first virtual application suitable for manipulating a first file system at the first virtual storage volume corresponding to the first file system type, wherein the first virtual application includes at least one virtual appliance, the first virtual application including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual application to be created or instantiated at the distributed computing network;
• identifying a first running instance of first virtual application for use in manipulating the first file system on the first virtual storage volume; • automatically providing the first instance of the first virtual application with access to the first virtual storage volume;
• automatically providing the first instance of the first virtual application with instructions for causing the first instance of the first virtual application to perform at least one file system operation at the first file system.
In at least one embodiment, one or more virtual appliances/applications may be utilized for facilitating remote file access to remotely located virtual storage volumes of a distributed computing network. For example, in one embodiment, remote file access to remotely located virtual storage volumes may include, but is not limited to, one or more of the following operations (or combinations thereof):
• receiveing a first request to access a first remote virtual storage volume;
• automatically identifying a first type of file system at the first remote virtual storage volume;
• automatically identifying, using information relating to the first type of file system, a selected virtual application that is suitable for performing file system manipulations at the first remote virtual storage volume,
• remotely accessing, using the selected virtual application, one or more files at the first remote virtual storage volume.
In at least one embodiment, the file system manipulations may include various types of operations such as, for example, file system formatting operations, file read operations, and file write operations, etc.
In at least one embodiment, the volume resize operation(s) may be performed by one or more virtual appliances and/or virtual applications while preserving the file system on the virtual storage volume during the volume resize operation. In at least one embodiment, the resizing operations may include, for example, providing a virtual application with access to the source (e.g, original) virtual storage volume (having a first volume size) and a second (e.g., target) virtual storage volume (having a second volume size which differs from the size of the first storage volume). In one embodiment, the virtual application may be operable to copy all (or selected) files from the source virtual storage volume to the target virtual storage volume.
In at least one embodiment, one or more virtual appliances/applications may be utilized for facilitating automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type. For example, in one embodiment, the automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type may include, but are not limited to, one or more of the following operations (or combinations thereof):
• identifying a first file system type of a first file system of a first virtual storage volume; • automatically identifying a first virtual appliance operable to read files from the first file system type;
• automatically providing the first virtual appliance with access to the first virtual storage volume, for example, by attaching the first virtual storage volume to the first virtual appliance;
• identifying a second file system type of a second file system of a second virtual storage volume;
• automatically identifying a second virtual appliance operable to write files to the second file system type;
• automatically providing the second virtual appliance with access to the second virtual storage volume;
• providing a first communication link between the first virtual appliance and the second virtual appliance, for example, by attaching the second virtual storage volume to the second virtual appliance;
• performing, using the first virtual appliance and second virtual appliance, file system conversion operations for converting the first file system from a first file system type to the second file system of the second file system type;
In one embodiment, the performing of the file system conversion operations may include, for example:
• operating the first virtual appliance to read a first plurality of files from the first virtual storage volume;
• sending, via use of the first communication link, file information relating to the first plurality of read files to the second virtual appliance;
• operating the second virtual appliance to receive the file information via the first communication link;
• operating the second virtual appliance to write at least a portion of the received file information to the second virtual storage volume.
In some embodiments, running instances of the first and/or second virtual appliances may be automatically and dynamically created, on demand (e.g., as needed), in response to real-time condition and/or events. In some embodiments, running instances of the first and/or second virtual appliances may be automatically and dynamically created (e.g., on demand) using one or more virtual appliance templates and/or virtual application templates. Some of the virtual appliance/application templates may be dynamically generated (e.g., in real-time) using information relating to the first file system type and the second file system type. Other virtual appliance/application templates may be pre-configured, and selection of a desired pre-configured template may be based, at least in part, using information relating to the first file system type and the second file system type.
In at least one embodiment, one or more virtual appliances/applications may be utilized for facilitating file access to online (e.g., in use, mounted, attached, etc.) virtual storage volumes as well as off-line virtual storage volumes (e.g., virtual storage volumes which are not currently in use, mounted or attached to a device). For example, in at least one embodiment, such file or volume access operations may include, but are not limited to, one or more of the following (or combinations thereof):
• receiving a first access request for performing a first file access operation at the first virtual storage volume;
• determining whether the first virtual storage volume is currently in use, mounted or attached to a virtual machine;
• in response to determining that the first virtual storage volume is currently in use, mounted or attached: o identifying a first virtual machine which has current access to first virtual storage volume; and o forwarding the first access request to the first virtual machine to thereby cause the first virtual machine to perform at least one file access operation at the first virtual storage volume; and
• in response to determining that the first virtual storage volume is not currently in use, mounted or attached: o automatically identifying a first type of file system at the first virtual storage volume; o automatically identifying, using information relating to the first type of file system, a selected virtual appliance that is suitable for performing file access operations at the first virtual storage volume; o automatically attaching the first virtual storage volume to the selected virtual appliance for providing the selected virtual appliance with file access to the virtual storage volume; o forwarding the first access request to the selected virtual appliance to thereby cause the selected virtual appliance to perform at least one file access operation at the first virtual storage volume.
• providing file access to at least one online virtual storage volume which is currently in use, mounted or attached to a first device of the distributed computing network;
• providing file access to at least one offline virtual storage volume which is not currently in use, mounted or attached to a any device in the distributed computing network; • etc.
Other aspects described or referenced herein are directed to different methods, systems, and computer program products for configuring one or more virtual appliances in a distributed computing network. For example, in at least one embodiment, a virtual appliance configuration system may be provided for configuring one or more virtual appliances in a distributed computing network. In some embodiments the system may include, for example: a first virtual appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual appliance to be created or instantiated at the distributed computing network; a DHCP server, operable to provide at least one IP address to the first virtual appliance in response to a DHCP request received from the first virtual appliance; an appliance configuration server, operable to facilitate access to a first appliance configuration file associated with the first virtual appliance an agent (or the appliance), operable to request the first appliance configuration file; and/or a web server, operable to provide the first virtual appliance with access to the first appliance configuration file in response to a request received from the first virtual appliance.
In at least one embodiment, the first virtual appliance includes an appliance configurator operable to automatically and dynamically configure at least one network interface of the virtual appliance using information obtained from the first appliance configuration file.
In at least one embodiment, the first virtual appliance includes a network address map resolver operable to resolve host names to remote network hosts using information obtained from the first appliance configuration file.
In at least one embodiment, the first virtual appliance includes a configuration file manipulator operable to automatically update information in at least one appliance configuration file using information obtained from the first appliance configuration file.
In at least one embodiment, the first virtual appliance includes a property extractor operable to automatically extract individual configuration parameters from the first appliance configuration file, and operable to provide access to at least a portion of the configuration parameters as separate configuration parameters for use in configuration of software operating in the virtual appliance.
In at least one embodiment, the first virtual appliance includes a volume configurator operable to automatically mount at least one virtual storage volume into file system mountpoints using volume configuration information obtained from the first appliance configuration file.
Additional objects, features and advantages of the various aspects described or referenced herein will become apparent from the following description of its preferred embodiments, which description may be taken in conjunction with the accompanying drawings. SPECIFIC EXAMPLE EMBODIMENTS
Various techniques will now be described in detail with reference to a few example embodiments thereof as illustrated in the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of one or more aspects and/or features described or reference herein. It will be apparent, however, to one skilled in the art, that one or more aspects and/or features described or reference herein may be practiced without some or all of these specific details. In other instances, well known process steps and/or structures have not been described in detail in order to not obscure some of the aspects and/or features described or reference herein.
One or more different inventions may be described in the present application. Further, for one or more of the invention(s) described herein, numerous embodiments may be described in this patent application, and are presented for illustrative purposes only. The described embodiments are not intended to be limiting in any sense. One or more of the invention(s) may be widely applicable to numerous embodiments, as is readily apparent from the disclosure. These embodiments are described in sufficient detail to enable those skilled in the art to practice one or more of the invention(s), and it is to be understood that other embodiments may be utilized and that structural, logical, software, electrical and other changes may be made without departing from the scope of the one or more of the invention(s). Accordingly, those skilled in the art will recognize that the one or more of the invention(s) may be practiced with various modifications and alterations. Particular features of one or more of the invention(s) may be described with reference to one or more particular embodiments or figures that form a part of the present disclosure, and in which are shown, by way of illustration, specific embodiments of one or more of the invention(s). It may be understood, however, that such features are not limited to usage in the one or more particular embodiments or figures with reference to which they are described. The present disclosure is neither a literal description of all embodiments of one or more of the invention(s) nor a listing of features of one or more of the invention(s) that must be present in all embodiments.
Headings of sections provided in this patent application and the title of this patent application are for convenience only, and are not to be taken as limiting the disclosure in any way.
Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
A description of an embodiment with several components in communication with each other does not imply that all such components are required. To the contrary, a variety of optional components are described to illustrate the wide variety of possible embodiments of one or more of the invention(s). Further, although process steps, method steps, algorithms or the like may be described in a sequential order, such processes, methods and algorithms may be configured to work in alternate orders. In other words, any sequence or order of steps that may be described in this patent application does not, in and of itself, indicate a requirement that the steps be performed in that order. The steps of described processes may be performed in any order practical. Further, some steps may be performed simultaneously despite being described or implied as occurring non- simultaneously (e.g., because one step is described after the other step). Moreover, the illustration of a process by its depiction in a drawing does not imply that the illustrated process is exclusive of other variations and modifications thereto, does not imply that the illustrated process or any of its steps are necessary to one or more of the invention(s), and does not imply that the illustrated process is preferred.
When a single device or article is described, it will be readily apparent that more than one device/article (whether or not they cooperate) may be used in place of a single device/article. Similarly, where more than one device or article is described (whether or not they cooperate), it will be readily apparent that a single device/article may be used in place of the more than one device or article.
The functionality and/or the features of a device may be alternatively embodied by one or more other devices that are not explicitly described as having such functionality/features. Thus, other embodiments of one or more of the invention(s) need not include the device itself.
U.S. Patent Application Serial No. 11/522,050, entitled "APPARATUS, METHOD AND SYSTEM FOR RAPID DELIVERY OF DISTRIBUTED APPLICATIONS", discloses various techniques for visually constructing and rapidly delivering distributed applications. A commercialized grid operating system referred to as AppLogic(TM) (developed by 3Tera, Inc., www.3Tera.com) illustrates an example embodiment of one such technique. It may be noted that the following discussion of AppLogic(TM) and its features is in no way to be construed as an admission of prior art.
At least one example embodiment described herein comprises an application model, a visual method and a system for rapid delivery of distributed applications. In at least one embodiment, the application model defines several abstractions which, taken together, make it possible to express the structures and behavior of complete distributed applications. In at least one embodiment, those abstractions can be grouped in the following way: virtual resources, virtual appliances, composite appliances, catalogs of appliances, and applications. Virtual Resources
Various embodiments described herein may utilize resource virtualization to abstract the underlying hardware system and to make it possible to define the rest of the application in a hardware -independent way. At least one embodiment described herein defines various types of virtual resources, such as, for example: virtual machines, virtual volumes and virtual network interfaces.
In an example embodiment described herein, the hardware system comprises computing and/or storage nodes interconnected through a suitably fast network, with at least one node acting as a system controller. Each node on the network may preferably expose one or more pools of virtual resources, one pool for each resource type. For each resource type, the system controller aggregates multiple discrete resource pools, exposed by the various nodes in the system, into a single, distributed resource pool. As a result, there is a single system-wide resource pool for each type of virtual resource.
In at least one embodiment, virtual resources are allocated/created from their respective system pools and carry a system-wide identification which makes it possible to access a given instance of a virtual resource in a uniform fashion independent of where the resource is actually located. In at least one embodiment, at least some virtual machines may be implemented by a virtual machine management system. Each virtual machine may be capable of booting a general- purpose operating system, and any other software that it may be configured to run.
Typically, virtual machine managers virtualize access to at least two types of peripheral devices, namely network interfaces and block storage devices. When configuring an individual virtual machine, one can specify a set of virtual network devices and a set of virtual storage devices for that virtual machine, and define how those virtual devices should be mapped to the actual physical devices of the host. In addition, some virtual machine managers make it possible to map a virtual device of a given virtual machine to a logical device (network interface or disk volume) implemented by an operating system in another virtual machine. Virtual machine managers may also allow individual virtual machines to be migrated from one host to another, transparently to the software that runs inside the virtual machine. One type of virtual machine manager is available from Xen (www.xen.org).
In at least one embodiment, virtual machines may be assigned a set of execution attributes that determine the minimum and maximum amounts of processing power, memory and network bandwidth that can be allocated to a given instance of a virtual machine, as well as to permit or prohibit the migration of the virtual machine.
Virtual storage volumes are logical block devices exposed by one or more hosts on the system and accessible from virtual machines running on the same or on other hosts. Virtual volumes are persistent, named objects, the size of which is defined at the time of creation and which reside on the system until explicitly destroyed. In an example embodiment, a virtual volume defined and exposed by one node is accessible from any node in the system, thereby allowing a virtual machine that uses the volume to be migrated freely to any node. One way to implement virtual volumes is by configuring a network block device (NBD) so that each individual virtual volume is stored in a file on one of the hosts, shared on the network as an NBD volume and accessed from the other hosts using the NBD client.
In an example embodiment, a virtual volume is typically accessed exclusively by a single virtual machine. This makes it possible and desirable to cache volume contents aggressively on the host on which the virtual machine accessing the volume is being executed. Such caching is easily accomplished, for example, by layering on top of the NBD client a block device driver that uses a file on a local physical disk to store copies of blocks recently accessed by the virtual machine.
Another aspect described herein is the ability to create multiple instances of the same virtual volume. Those are useful whenever there is a need to share a large set of data among multiple virtual machines in such a way as to permit each virtual machine to make relatively small number of modifications to the common set of data for its own use. Instantiable virtual volumes can be implemented by simply replicating the common volume for each virtual machine.
In an example embodiment, however, an instantiable volume is implemented by a combination of a "master" virtual volume which is common to all instances and contains the common data, and a "differential" virtual volume for each virtual volume instance, which accumulates the modifications made to the specific instance. The master volume and the differential volume are presented to the client virtual machine as a single block device, for example, by layering an appropriate block device driver over an NBD client that can access both virtual volumes.
Virtual network interfaces may be used to abstract the structure of the network interconnect inside the distributed application. For example, a pair of virtual network interfaces may be used to create a "virtual wire" between virtual network adapters which belong to different virtual machines. The virtual wire operates in a manner equivalent to a cross-over cable that connects two physical network interface cards directly: it transfers packets from one of the cards to the other and vice-versa.
Depending on the physical network used, a virtual wire can be implemented by tunneling application traffic (packets) between two virtual network interfaces through a TCP connection, UDP datagrams, InfiniBand reliable connection, or as direct memory-to-memory transfer, all of which may be completely transparent to the communicating virtual machines. Indeed, it is possible to move the virtual wire from, for example, a TCP connection over Gigabit Ethernet, to a reliable connection over 10 Gigabit InfiniBand on the fly, transparently to the communicating virtual machines. Virtual Appliances
In at least one embodiment, a virtual appliance comprises a boundary, boot volume, and/or interior. The boundary may comprise the execution attributes, the terminals, the properties, and/or the content volume. The interior may comprise an operating system, configuration files, software services and/or the application service. In an example embodiment, virtual appliances are defined by building a descriptor such as the descriptor illustrated in FIG. of U.S. Pub. No. 20070078988, the entirety of which is incorporated herein by reference for all purposes. In an example embodiment, virtual appliances are created by first defining a virtual appliance class using one or more descriptors and then creating one or more virtual appliance instances that execute on the target system. The class may be used as a template for creating instances.
Using the various techniques described herein, it is also possible to define another type of virtual appliances called a Composite Appliance. In at least one embodiment, a composite appliance comprises a boundary and an interior. The boundary of a composite appliance may be defined in the same way as the boundary of a regular virtual appliance, and the interior of a composite appliance may comprise a structure of virtual appliances.
In at least one embodiment, one or more aspects and/or features described herein may be implemented in a manner which utilizes 3Tera's AppLogic™ grid operating system for providing a true distributed utility computing services. For example, in at least one embodiment, one or more techniques described and/or referenced herein may enable commodity servers to be converted into scalable grids on which users can visually operate, deploy and scale transactional Web applications, for example, without any modification of code. In addition, one or more techniques described and/or referenced herein may be used to enable Software-as-a-Service providers, Web 2.0 companies, enterprises and open source developers to rapidly deploy new online services, for example, by utilizing resources from commodity hosting providers on a pay-as-you-go basis, while maintaining complete control of applications including visual operation, scaling and on-demand resource provisioning.
In computing, a file system (often also written as filesystem) is a method for storing and organizing computer files and the data they contain to make it easy to find and access them. File systems may use a data storage device such as a hard disk or CD-ROM and involve maintaining the physical location of the files, they might provide access to data on a file server by acting as clients for a network protocol (e.g., NFS, SMB, or 9P clients), or they may be virtual and exist only as an access method for virtual data (e.g., procfs). It is distinguished from a directory service and registry.
More formally, a file system is a special-purpose database for the storage, organization, manipulation, and retrieval of data. Categories of file systems
File system categories can be classified into disk file systems, network file systems and special purpose file systems. Disk file systems A disk file system is a file system designed for the storage of files on a data storage device, most commonly a disk drive, which might be directly or indirectly connected to the computer. Examples of disk file systems include FAT (FAT12, FAT16, FAT32, exFAT), NTFS, HFS and HFS+, HPFS, ext2, ext3, ext4, ISO 9660, ODS-5, ZFS and UDF. Some disk file systems are journaling file systems or versioning file systems. Flash file systems
A flash file system is a file system designed for storing files on flash memory devices. These are becoming more prevalent as the number of mobile devices are increasing, and the capacity of flash memories increase.
While a disk file system can be used on a flash device, this is suboptimal for several reasons:
Erasing blocks: Flash memory blocks have to be explicitly erased before they can be rewritten. The time taken to erase blocks can be significant, thus it is beneficial to erase unused blocks while the device is idle.
Random access: Disk file systems are optimized to avoid disk seeks whenever possible, due to the high cost of seeking. Flash memory devices impose no seek latency.
Wear levelling: Flash memory devices tend to wear out when a single block is repeatedly overwritten; flash file systems are designed to spread out writes evenly.
Log-structured file systems have many of the desirable properties for a flash file system. Such file systems include JFFS2 and YAFFS. Database file systems
A new concept for file management is the concept of a database-based file system. Instead of, or in addition to, hierarchical structured management, files are identified by their characteristics, like category of file, topic, author, or similar metadata. Transactional file systems
Each disk operation may involve changes to a number of different files and disk structures. In many cases, these changes are related, meaning that it is important that they all be executed at the same time. Take for example a bank sending another bank some money electronically. The bank's computer will "send" the transfer instruction to the other bank and also update its own records to indicate the transfer has occurred. If for some reason the computer crashes before it has had a chance to update its own records, then on reset, there will be no record of the transfer but the bank will be missing some money.
Transaction processing introduces the guarantee that at any point while it is running, a transaction can either be finished completely or reverted completely (though not necessarily both at any given point). This means that if there is a crash or power failure, after recovery, the stored state will be consistent. (Either the money will be transferred or it will not be transferred, but it won't ever go missing "in transit".)
This category of file system is designed to be fault tolerant, but may incur additional overhead to do so.
Journaling file systems are one technique used to introduce transaction-level consistency to filesystem structures. Network file systems
A network file system is a file system that acts as a client for a remote file access protocol, providing access to files on a server. Examples of network file systems include clients for the NFS, AFS, SMB protocols, and file-system-like clients for FTP and WebDAV. Special purpose file systems
A special purpose file system is basically any file system that is not a disk file system or network file system. This includes systems where the files are arranged dynamically by software, intended for such purposes as communication between computer processes or temporary file space.
Special purpose file systems are most commonly used by file-centric operating systems such as Unix. Examples include the procfs (/proc) file system used by some Unix variants, which grants access to information about processes and other operating system features.
Deep space science exploration craft, like Voyager I & II used digital tape -based special file systems. Most modern space exploration craft like Cassini-Huygens used Real-time operating system file systems or RTOS influenced file systems. The Mars Rovers are one such example of an RTOS file system, important in this case because they are implemented in flash memory.
Crash counting is a feature of a file system designed as an alternative to journaling. It is claimed that it maintains consistency across crashes without the code complexity of implementing journaling. File systems under Unix-like operating systems
Unix-like operating systems create a virtual file system, which makes all the files on all the devices appear to exist in a single hierarchy. This means, in those systems, there is one root directory, and every file existing on the system is located under it somewhere. Unix-like systems can use a RAM disk or network shared resource as its root directory.
Unix-like systems assign a device name to each device, but this is not how the files on that device are accessed. Instead, to gain access to files on another device, the operating system must first be informed where in the directory tree those files should appear. This process is called mounting a file system. For example, to access the files on a CD-ROM, one must tell the operating system "Take the file system from this CD-ROM and make it appear under such-and-such directory". The directory given to the operating system is called the mount point - it might, for example, be /media. The /media directory exists on many Unix systems (as specified in the Filesystem Hierarchy Standard) and is intended specifically for use as a mount point for removable media such as CDs, DVDs and like floppy disks. It may be empty, or it may contain subdirectories for mounting individual devices. Generally, only the administrator (i.e. root user) may authorize the mounting of file systems.
Unix-like operating systems often include software and tools that assist in the mounting process and provide it new functionality. Some of these strategies have been coined "auto- mounting" as a reflection of their purpose.
In many situations, file systems other than the root need to be available as soon as the operating system has booted. All Unix-like systems therefore provide a facility for mounting file systems at boot time. System administrators define these file systems in the configuration file fstab or vfstab in Solaris Operating Environment, which also indicates options and mount points.
In some situations, there is no need to mount certain file systems at boot time, although their use may be desired thereafter. There are some utilities for Unix-like systems that allow the mounting of predefined file systems upon demand.
Removable media have become very common with microcomputer platforms. They allow programs and data to be transferred between machines without a physical connection. Common examples include USB flash drives, CD-ROMs, and DVDs. Utilities have therefore been developed to detect the presence and availability of a medium and then mount that medium without any user intervention.
Progressive Unix-like systems have also introduced a concept called supermounting; see, for example, the Linux supermount-ng project. For example, a floppy disk that has been supermounted can be physically removed from the system. Under normal circumstances, the disk should have been synchronized and then unmounted before its removal. Provided synchronization has occurred, a different disk can be inserted into the drive. The system automatically notices that the disk has changed and updates the mount point contents to reflect the new medium. Similar functionality is found on Windows machines.
A similar innovation preferred by some users is the use of autofs, a system that, like supermounting, eliminates the need for manual mounting commands. The difference from supermount, other than compatibility in an apparent greater range of applications such as access to file systems on network servers, is that devices are mounted transparently when requests to their file systems are made, as would be appropriate for file systems on network servers, rather than relying on events such as the insertion of media, as would be appropriate for removable media. File systems under Linux
Linux supports many different file systems, but common choices for the system disk include the ext* family (such as ext2 and ext3), XFS, JFS and ReiserFS. File systems under Solaris
The Sun Microsystems Solaris operating system in earlier releases defaulted to (non- journaled or non-logging) UFS for bootable and supplementary file systems. Solaris (as most operating systems based upon open standards and/or open source) defaulted to, supported, and extended UFS.
Support for other file systems and significant enhancements were added over time, including Veritas Software Corp. (Journaling) VxFS, Sun Microsystems (Clustering) QFS, Sun Microsystems (Journaling) UFS, and Sun Microsystems (open source, poolable, 128 bit compressible, and error-correcting) ZFS.
Kernel extensions were added to Solaris to allow for bootable Veritas VxFS operation. Logging or Journaling was added to UFS in Sun's Solaris 7. Releases of Solaris 10, Solaris Express, OpenSolaris, and other open source variants of the Solaris operating system later supported bootable ZFS.
Logical Volume Management allows for spanning a file system across multiple devices for the purpose of adding redundancy, capacity, and/or throughput. Legacy environments in Solaris may use Solaris Volume Manager (formerly known as Solstice DiskSuite.) Multiple operating systems (including Solaris) may use Veritas Volume Manager. Modern Solaris based operating systems eclipse the need for Volume Management through leveraging virtual storage pools in ZFS. File systems under Mac OS X
Mac OS X uses a file system that it inherited from classic Mac OS called HFS Plus. HFS Plus is a metadata-rich and case preserving file system. Due to the Unix roots of Mac OS X, Unix permissions were added to HFS Plus. Later versions of HFS Plus added journaling to prevent corruption of the file system structure and introduced a number of optimizations to the allocation algorithms in an attempt to defragment files automatically without requiring an external defragmenter.
Filenames can be up to 255 characters. HFS Plus uses Unicode to store filenames. On Mac OS X, the filetype can come from the category code, stored in file's metadata, or the filename.
HFS Plus has three kinds of links: Unix-style hard links, Unix-style symbolic links and aliases. Aliases are designed to maintain a link to their original file even if they are moved or renamed; they are not interpreted by the file system itself, but by the File Manager code in userland.
Mac OS X also supports the UFS file system, derived from the BSD Unix Fast File System via NeXTSTEP. However, as of Mac OS X 10.5 (Leopard), Mac OS X can no longer be installed on a UFS volume, nor can a pre-Leopard system installed on a UFS volume be upgraded to Leopard. File systems under Plan 9 from Bell Labs Plan 9 from Bell Labs was originally designed to extend some of Unix's good points, and to introduce some new ideas of its own while fixing the shortcomings of Unix.
With respect to file systems, the Unix system of treating things as files was continued, but in Plan 9, everything is treated as a file, and accessed as a file would be (i.e., no ioctl or mmap). Perhaps surprisingly, while the file interface is made universal it is also simplified considerably, for example symlinks, hard links and suid are made obsolete, and an atomic create/open operation is introduced. More importantly the set of file operations becomes well defined and subversions of this like ioctl are eliminated.
Secondly, the underlying 9P protocol was used to remove the difference between local and remote files (except for a possible difference in latency or in throughput). This has the advantage that a device or devices, represented by files, on a remote computer could be used as though it were the local computer's own device(s). This means that under Plan 9, multiple file servers provide access to devices, classing them as file systems. Servers for "synthetic" file systems can also run in user space bringing many of the advantages of micro kernel systems while maintaining the simplicity of the system.
Everything on a Plan 9 system has an abstraction as a file; networking, graphics, debugging, authentication, capabilities, encryption, and other services are accessed via 1-0 operations on file descriptors. For example, this allows the use of the IP stack of a gateway machine without need of NAT, or provides a network-transparent window system without the need of any extra code.
Another example: a Plan-9 application receives FTP service by opening an FTP site. The ftpfs server handles the open by essentially mounting the remote FTP site as part of the local file system. With ftpfs as an intermediary, the application can now use the usual file-system operations to access the FTP site as if it were part of the local file system. A further example is the mail system which uses file servers that synthesize virtual files and directories to represent a user mailbox as /mail / f s/mbox. The wikifs provides a file system interface to a wiki.
These file systems are organized with the help of private, per-process namespaces, allowing each process to have a different view of the many file systems that provide resources in a distributed system.
The Inferno operating system shares these concepts with Plan 9. File systems under Microsoft Windows
Windows makes use of the FAT and NTFS file systems.
The File Allocation Table (FAT) filing system, supported by all versions of Microsoft Windows, was an evolution of that used in Microsoft's earlier operating system (MS-DOS which in turn was based on 86-DOS). FAT ultimately traces its roots back to the short-lived M-DOS project and Standalone disk BASIC before it. Over the years various features have been added to it, inspired by similar features found on file systems used by operating systems such as Unix.
Older versions of the FAT file system (FAT 12 and FAT 16) had file name length limits, a limit on the number of entries in the root directory of the file system and had restrictions on the maximum size of FAT-formatted disks or partitions. Specifically, FAT12 and FAT16 had a limit of 8 characters for the file name, and 3 characters for the extension (such as .exe). This is commonly referred to as the 8.3 filename limit. VFAT, which was an extension to FAT12 and FAT16 introduced in Windows NT 3.5 and subsequently included in Windows 95, allowed long file names (LFN). FAT32 also addressed many of the limits in FAT 12 and FAT 16, but remains limited compared to NTFS.
NTFS, introduced with the Windows NT operating system, allowed ACL-based permission control. Hard links, multiple file streams, attribute indexing, quota tracking, compression and mount-points for other file systems (called "junctions") are also supported, though not all these features are well-documented.
Unlike many other operating systems, Windows uses a drive letter abstraction at the user level to distinguish one disk or partition from another. For example, the path C : \WIND0WS represents a directory WINDOWS on the partition represented by the letter C. The C drive is most commonly used for the primary hard disk partition, on which Windows is usually installed and from which it boots. This "tradition" has become so firmly ingrained that bugs came about in older versions of Windows which made assumptions that the drive that the operating system was installed on was C. The tradition of using "C" for the drive letter can be traced to MS-DOS, where the letters A and B were reserved for up to two floppy disk drives. Network drives may also be mapped to drive letters.
Various aspects described herein are directed to different methods, systems, and computer program products for manipulating volumes and/or file systems of one or more different types of operating systems (OSs) associated with various distributed computer systems such as, for example, one or more of the following (or combinations thereof): grid computing systems, cloud computing systems, utility computing systems, management systems, etc.
In at least one embodiment, it may be preferable to manipulate the file systems (e.g., via one or more of the following (or combinations thereof): formatting, copying, uploading files, downloading files, inspecting files, editing files, reorganizing files, checking and/or repairing file systems, etc.) while the appliance/servers for these volumes may be unavailable (e.g., not yet created, temporarily stopped, failing to start (e.g., due to a corrupted file system or configuration), etc.).
According to different embodiments, various aspects may be directed to different embodiments of filer appliances which may be used for manipulating volumes and/or file systems of one or more different types of operating systems (OSs) associated with various distributed computer systems.
In at least one embodiment, a filer appliance (herein referred to as "filer", "filer appliance", or "FA") may be implemented as a virtual appliance (e.g., a virtual machine with preconfigured OS and software) that includes functionality for performing automated file -level and/or volume- level operations for a selected set of file systems. In one embodiment, a filer appliance may be implemented as a virtual machine which is configured or designed to handle managing of one or more volumes. In one embodiment, the filer appliance may include one or more virtual interfaces (e.g., slots, ports, etc.) for interfacing with one or more virtual volumes.
As shown, for example, in Figure 9, in one embodiment, when specific events/conditions have been detected, one or more filer appliances may be dynamically and automatically instantiated for performing file operations at one or more virtual volumes. Once instantiated, one or more virtual volumes may be automatically attached, inserted or connected to a given filer appliance to be managed by the filer appliance. The filer appliance may dynamically and/or automatically carry out operations in connection with management of the virtual volume. In at least one embodiment, virtual volumes may also be automatically detached from one or more filer appliances, for example, when it has been detected that the desired file operations have been successfully completed.
By way of analogy, a least one embodiment of a filer appliance may be likened to a machine on which one is able to perform maintenance for disks. It may have one or more slots connection to one or more disks. If the desktop or server system fails, the disk may be detached from the system and plugged it into one of the filer's slots and repaired. In at least one embodiment, the files on the disk may be copied to a different disk.
In at least one embodiment, a filer appliance may be configured or designed to include an image of an operating system supporting at least one file system type. In at least one embodiment, the OS image may be operable to be loaded or booted in a virtual machine (and/or other type of virtual device) to thereby create a first running instance of the virtual appliance. In at least some embodiments, the virtual appliance may also include various drivers and/or tools for performing specific file system operations and/or manipulations. In at least one embodiment, a filer application may include one or more different filer appliances.
According to various embodiments, one or more filer appliances (and/or filer applications) may be configured or designed to operate in one or more different modes of operation. For example, in one embodiment, a filer appliance may be operable to facilitate file system manipulation operations according to a batch mode of operation, wherein the filer appliance may be engaged to perform file system manipulation operations on individual files of the virtual storage volume, and/or may be engaged to perform file system manipulation operations on the file system as a whole. Examples of various types of batch mode file system manipulation operations may include, but are not limited to, one or more of the following (or combinations thereof): create file system (e.g., format volume), file system copy, file system consistency check, file system repair, block copy, stream files out, stream files in, backup, restore, upload, download, wipe, etc.). In at least one embodiment utilizing the batch mode of operation, a new running instance of a virtual filer appliance may be dynamically and/or automatically created (e.g., on demand and/or in realtime) to perform desired file system manipulations on one or more virtual storage volumes. Once the virtual filer appliance has successfully completed its tasks, the specific running instance of that particular virtual filer appliance may be automatically released, freed or otherwise deleted or destroyed. An example flow diagram of a Filer Operation Procedure operating in batch mode is illustrated in Figure 9 of the drawings.
In other embodiments, a filer appliance may be operable to facilitate file system manipulation operations according to an interactive mode of operation, wherein, for example, a filer appliance may be utilized to provide file system access to one or more external system(s) and/or entities (e.g., a human operator) for performing one or more file system operations/manipulations on the FS. In at least one embodiment, the interactive mode of operation may be employed to enable an external entity to perform file system manipulation operations on individual files of the virtual storage volume and/or on the file system as a whole. In at least one embodiment, such file system manipulation operations may be accomplished, for example, by the external entity providing appropriate instructions or commands to one or more selected virtual filer appliances, whereupon the virtual filer appliance(s) perform specific file system manipulations in accordance with the received instructions. In this way, the interactive mode of operation enables an external entity to interact with the entire file system and/or to change content of the file system.
In one embodiment, such interactive operation may be performed using a graphical user interface for exploring and manipulating files, directories and symbolic links in the filesystem of the virtual storage volumes. In another embodiment, an operator may use secure shell to invoke various operating system commands and tools to modify files in the filesystem; or use secure copy (scp), file transfer protocol (ftp) and/or network protocols such as NFS and CIFS to manipulate the contents of the virtual storage volume through the filer appliance. In yet another embodiment, the interactive mode may be used to provide access over a network file system (network file protocol) such as CIFS or NFS to have a computer program access the file system on the storage volume, for example, to perform an upgrade of the contents or software versions on the storage volume in an automated fashion, and/or check it for computer viruses, perform an automated backup, etc.
In at least one mbodiment utilizing the interactive mode of operation, the running instance(s) of the filer appliance(s) used to perform the file system manipulations may be dynamically and/or automatically created (e.g., on demand and/or in real-time) to perform desired file system manipulations on one or more virtual storage volumes. In at least one embodiment, once a particular virtual filer appliance has successfully completed its specific tasks, the specific running instance of that particular virtual filer appliance may be automatically released, freed or otherwise deleted or destroyed. In other embodiments, once a specific virtual filer appliance has successfully completed its task(s), rather than being automatically deleted, the specific running instance of that particular virtual filer appliance may remain active to await additional instructions from the external entity. In at least one embodiment, an external entity may provide appropriate commands and/or instructions to cause a specific running instance of a virtual filer appliance to be released, freed or otherwise deleted or destroyed. An example flow diagram of a Filer Operation Procedure operating in interactive mode is illustrated in Figure 10 of the drawings. In at least one embodiment, a filer appliance may be configured or designed to operate in both batch mode and interactive mode.
In at least one embodiment, the filers may be operable to be dynamically provisioned whenever a file system operation is desired or required, may be operable to automatically perform or initiate specific tasks or operations relating to the file system operation, and/or may be operable to be automatically terminated or disposed of once the filer appliance has completed the operations and/or tasks to be performed. One advantage of this technique is that each filer can have or be associated with one or more different operating systems, thereby allowing one to choose the preferred OS for manipulating a given file system natively (e.g., Linux for ext3, Windows for NTFS, OpenSolaris for ZFS, etc.).
Included in the description below are various details relating to embodiments of filer appliances, including for example, properties/characteristics of filer appliances, implementation design details for Linux and Solaris operating systems, a list of volume-level commands which may be enabled and/or utilized in connection with one or more filer appliances, etc.
Other aspects described herein are directed to various techniques for providing OS- independent support for file systems associated with one or more grids (e.g., utility computing grids).
For example, in at least one embodiment, a framework may be provided for supporting different OS types on AppLogic (TM), along with their associated OS-specific file system formats. Such a framework may provide, for example, for substantially equal levels of support to all OS types that can theoretically be run within AppLogic (TM) (e.g., those that can be executed in a XEN VM) and/or other virtualization software.
In at least one embodiment, a new method for providing file -level access to volumes may be defined, which may be operable to be utilized within such a framework, and may replace the OS-specific method(s) of mounting the file systems on the controller. BENEFITS/FEATURES/ADVANTAGES
Described below are various benefits, features, and/or advantages which may be realized or enabled using one or more embodiments which are operable to provide OS -independent support for file systems associated with one or more grids (e.g., utility computing grids). Examples of such benefits, features, and/or advantages, may include, but are not limited to, one or more of the following (or combinations thereof):
• Operation independent of OS type & volume format: file -level access to volumes may have all (or selected) features supported by current versions of AppLogic (TM), for any file format that may be declared as "supported" in a given version of AppLogic (TM).
• Full set of current operations supported, including, for example, one or more of the following (or combinations thereof): o formatting a new volume with any file system that may be used on one of the supported OS types; o copy of volume data at file level, such as, for example, volume resize; o read and write access to volume data at file level and at block level; o etc.
• Avoidance of excessive usage of grid resources, which, for example, may include one or more of the following (or combinations thereof): o no permanent allocation of any memory and CPU resource; o use of dynamically-allocated resource (e.g., to run a VM with an OS kernel that has drivers for a given file system) may be limited to the minimum necessary and may be de-allocated if not actively used (for example, in one embodiment, 'helper' VMs started for such purposes may be left idle to avoid re-start delays when multiple operations might be requested; but they can be treated as 'discardable' and shut down if the memory/CPU may be needed);
• Portable and extendable: In one embodiment, the implementation of volume access may not be limited to a fixed set of file system types, and may be extendable to volume types supported by any OS that can be run under XEN. In one embodiment, all interfaces related to volume access may be open and documented, so as to allow customers or third parties to add support for new OS types and new file system formats.
• Readily-useable and validated prior to implementation for the UFS (e.g., sun_x86 variety) and NTFS (e.g., Windows) file systems.
In at least one embodiment, implementation of OS-neutrality functionality in connection with file-level access(es) may be accomplished, for example, by running a VM with the OS to which the file system may be 'native', or has the same level of support as in its native environment. For example, according to different embodiments, Linux file systems like ext2/3, ReiserFS, etc. may be supported by a Linux VM; UFS may be supported by a Solaris or a FreeBSD VM, depending on the UFS flavor; NTFS may be supported by a Windows VM, etc.; FAT file systems may be supported by either Linux or Windows, depending upon implementation specific preferences, for example.
Further, given that an assembled application may be heterogeneous, in one embodiment, application startup may be implemented, for example, without requiring volume access beyond the level that can be achieved by Linux-based FS drivers. In this way, use of "helper" VMs to obtain the file -level access (which, for example, may take unacceptable amount of resources and/or a lot of time, if they're started one by one) may be avoided.
In at least one embodiment, current volume access implementation using mounts into the controller's file space may be replaced with one or more of the following (or combinations thereof):
• In at least one embodiment, for controller-driven file level operations and/or for user access to volume data: a special "filer" application template (e.g., containing a single 'filer' appliance) may be designed and implemented for each OS type(s) that is/are being added as 'supported' to AppLogic (TM), which, for example, may include, but are not limited to, one or more of the following characteristics (or combinations thereof): o Fast start and small memory footprint. For example, in one embodiment, the "filer" may be able to run with very little memory (e.g., 16-32MB for Linux, may vary by OS). o Multiple modes of operation such as, for example, one or more of the following (or combinations thereof): (a) automatic execution of a single volume operation that preferably includes file system-level access (format, copy, file system check (fsck), fsck+repair); (b) manual mode, for user-level file access. According to specific embodiments, the filer may be implemented as a 'one-shot' appliance, started for a specific source and target volume (or just a target volume) and stopped once its purpose has been served. o Single-purpose. In at least one embodiment, where minimum resource waste and maximum security is preferable, the "filer" appliance may be implemented as a bare-bones installation which has not deadweight services in memory that might present a security risk. For example, in at least one embodiment, an filer appliance may be running from a read-only root file system and may be configured or designed to use only a ramdisk or a small instantiable volume for writable data. o Includes various features/functionality including for example, one or more of the following (or combinations thereof): (a) volume mount/unmount functionality; (b) backup level (full attribute preservation) cross-volume copy functionality (e.g., cpio for Unix-style file systems or the ntbackup utility for NTFS); (c) tools for user access to volume data; etc.
• In at least one embodiment, for configuration of appliances at startup time, it may be preferable that no file access at all be used. For example, in one embodiment, appliances may receive IP configuration via DHCP and complete their setup by retrieving the rest of the configuration data directly from the controller (which, for example, in one embodiment, may be arranged for in a secure manner). In one embodiment, the controller-resident appliance configuration script (which, for example, may be part of ABS - the AppLogic (TM) build system) may reside in the appliance itself and run in the appliance's native environment.
• DomO access may be provided for retrieval of kernel and initrd image(s): o For example, in one embodiment, the support for Linux may be retained to support existing appliances; it can also be used for OpenSolaris and FreeBSD (e.g., readonly access to UFS may be available and may be stable). o In at least one embodiment, different boot mechanisms may be added or provided in a manner avoids various requirements (such as, for example, a requirement that the boot images be available outside the VM's boot disk). In one embodiment, an XEN-ified version of GRUB resident on the boot disk may be used to load the images into memory and start up the OS. In at least one embodiment, this may not limit the functionality in any way, since, for example, the XEN's built-in bootloader (which preferably includes the boot images in DomO) and GRUB both operate exclusively on ELF binaries, therefore whatever XEN can load, can also be loaded by GRUB. o In at least one embodiment, operating systems that may be supported as HVMs may use their own built-in boot loader in all (or selected) cases and may not require DomO access to their volumes at boot time.
According to different embodiments, the one or more embodiments of the configuration mechanism(s) described herein may provide faster operation and more flexibility. Additionally, it may also be possible and advantageous to use one or more filer appliance(s) to modify (e.g., "volfix") the appliance boot volumes before the appliances start (e.g., by using currently available AppLogic (TM) -style appliance configuration(s), while providing OS -independent support).
According to specific embodiments, currently existing versions of AppLogic (TM) may be modified to include additional components and/or functionality for facilitating implementation of one or more of the inventive features, techniques, and/or embodiments described herein. Examples of at least some of such modifications are described below. FILER APPLIANCE EXAMPLE
Figure 1 shows an example embodiment of a filer appliance 100 in accordance with what at least one embodiment. In one embodiment, the filer appliance may be implemented as a virtual machine which includes virtual interfaces (e.g., "slots") for interfacing with one or more (e.g., two, as illustrated in the example of Figure 1) "installable" volumes. As illustrated in the example of Figure 1 the volumes include a source volume 104 (src) and a destination volume 102 (dst). In addition, as illustrated, the filer appliance may include one or more control interface(s) 103 for receiving input information from other appliances/systems such as, for example, control information, status information, etc. Additionally, in at least one embodiment, the filer appliance may include one or more information output interfaces (which, for example, may be implemented using a bi-directional control interface embodiment) for providing various information to other appliances/systems such as, for example, responses to queries, status information, etc.
In one embodiment, the filer appliance may include a single appliance of class "filers.ostype" (e.g., where the appliance has no terminals). FILER APPLICATION EXAMPLE
Figure 2 shows an example embodiment of a filer application 200 which includes a filer appliance (e.g., 100). In at least one embodiment, the filer application 200 is a higher-level construct built upon the basic filer appliance 100 of Figure 1. In environments like AppLogic (TM), the filer application may be operable to provide the necessary filer appliance infrastructure in a programmatic and uniform manner, regardless of the particular filer appliances used inside (e.g., whether a single filer or multiple filers are needed to perform the operation). In at least one embodiment, this allows the instantiation of the filer application to be common, while the filer applications can vary to provide the necessary compatibility and functionality.
In one embodiment, the boundary 202 of the application 200 is preferably the same as for the appliance (e.g., the application is a 1:1 wrapper for the single appliance inside). For example, the src and dst volumes are exposed, as is the control interface and any configuration properties (such as IP addresses). COMPOSITE FILER APPLICATION EXAMPLE
Figure 3 shows an example embodiment of a composite filer appliance 300 in accordance with a specific embodiment. In at least one embodiment, the composite filer application 300 may be implemented as a structure of connected filer appliances, where each appliance is responsible for accessing a respective volume.
In one embodiment, the filer appliance 121 has the source volume attached, and may be operable to feed file data out its "file access" interface 303, to the filer appliance 125, which has the destination volume attached.
Some benefits of using a composite filer application include, for example: • the ability to copy files between file systems for which no single operating system has proper drivers (e.g., REISERFS to NTFS),
• the ability to dedicate resources and use caching and asynchronous operations for better performance,
• the ability to resolve device naming issues as typically may arise with LVM and ZFS, where the volumes carry the name of the device. In one embodiment it may be preferable to mount both the source and the destination volumes under the same device name, which is possible to do when each volume is attached to a separate appliance.
• etc.
In at least one embodiment, data transfer between the appliances can be arranged in many ways; including, for example, one or more of the following (or combinations thereof):
• having the appliance 121 read its locally attached volume and write over a network file system to the appliance 125,
• using a protocol like nfs, ftp, or cifs,
• the appliance 121 having a network file system client and the appliance 125 having a network file system server,
• etc.
In at least one embodiment, an alternative method for transfer may be for the appliance 121 to write the data to a network pipe, (e.g., in tape archive format (.tar)) and the appliance 125 to read the data and store it on the destination volume.
For example, in one embodiment, the filer appliance 121 may be a Linux appliance that has a source volume attached, with the REISERFS file system; and the filer appliance 125 may be a Windows appliance that has the destination volume attached, with the NTFS file system.
In at least one embodiment, the composite filer applications can be pre-existing for all meaningful combinations. In some embodiments, one or more filer appliance(s) and/or filer application(s) may be automatically and/or dynamically generated for each particular case, prior to provisioning or starting. For example, in one embodiment, if using VMware (TM), each filer may be created as a virtual machine (VM), and configured to talk to each other.
In one embodiment, the boundary 302 of the application 300 is preferably similar to the boundary 202 of the application 200. This allows for application-independent instantiation(s). In one embodiment, the source volume defined on the boundary 302 may be redirected to the source volume of the filer appliance 121; the destination volume defined on the boundary 302 may be redirected to the destination volume of the filer appliance 125. Properties and other configuration data may be replicated to both the appliances and/or provided to the appropriate appliance(s), as needed (e.g., the target file system may be provided to the appliance 125). Further, in at least one embodiment, the appliances 121 and 125 may have a set of preconfigured parameters, such as, for example, which of them is the source appliance (e.g., 121 in the example of Figure 3) and which of them is the destination appliance (e.g., 125 in the example of Figure 3). EXAMPLE OF APPLIANCE WITH DISK ARRAYS
Figure 4 shows an example embodiment of a filer appliance 400 in accordance with a specific embodiment. In the example embodiment of Figure 4, filer appliance 130 may include a plurality of different disk arrays (e.g., virtual disk arrays 402, 404). In at least one embodiment, one or more of the volumes (e.g., source volume 402 and/or destination volume 404), may be implemented as a composite volume comprising an array of volumes (e.g., array of virtual volumes).
For example, as illustrated in the example of Figure 4, the filer appliance 130 may include multiple (e.g., 4) slot interfaces for source volumes 402 (e.g., src_streaml, src_stream2, src_stream3, src_stream4), and may also include multiple (e.g., 4) slot interfaces for destination volumes 404 (e.g., dst_streaml, dst_stream2, dst_stream3, dst_stream4).
In at least one embodiment, the multiple slot interfaces of an filer appliance enables use of composite volumes (e.g., volume arrays or volume pools), where a single logical volume may be built or represented by combining multiple volumes, such as, for example, in the case of RAIDO or volume-span configurations (e.g., where multiple volumes are concatenated sequentially to form a larger volume). In at least one embodiment, such a utility may be used to facilitate increased capacity and/or performance.
In at least one embodiment, the filer appliance may be configured with any number of volumes (e.g., "streams") for each of the composite volumes (e.g., 1 source volume and 4 destination volumes). In at least one embodiment, different property configuration(s) or parameter(s) may be used to specify the type of composite volume (RAIDO, span, etc.) and/or other associated parameters/characteristics. Alternatively, in at least one implementation the filer appliance may retrieve this data automatically from the volumes' content. EXAMPLE OF FILER APPLIANCE WITH NETWORK TRANSFERS
Figure 5 shows an example embodiment of a filer appliance 500 in accordance with a specific embodiment. In the example embodiment of Figure 5, filer appliance 140 may include network transfer/communication functionality. In at least one embodiment, filer appliance 500 may be configured or designed to be compatible for use with non-composite filer application(s) (e.g., as shown in Figure 2, for example) and/or for use with composite filer application(s) (e.g., as shown in Figure 3, for example).
In at least one embodiment, the appliance filer appliance 140 may include one or more of the following (or combinations thereof): • a control interface 503 operable for submitting control requests and/or for obtaining status,
• an input interface 501 operable for receiving file data;
• an output interface 505 operable for sending file data;
• and/or other desired interfaces for exchanging various types of information with other appliance is, applications, and/or systems.
In some embodiments, the input interface 501 and the output interface 505 (and, optionally the control interface 503) may be implemented via the use of a single interface (e.g., a physical or virtual network card).
In at least one embodiment, where the filer appliance 500 is used in a non-composite filer application, its network file server and client interfaces may be omitted or may not be used. In at least one embodiment, it is also possible to create a filer appliance which includes single volume slot (or single array slot) interface, and which also uses the client and/or the server interface(s). EXAMPLE OF FILER APPLICATION WITH NETWORK TRANSFERS AND LARGE DISK ARRAYS
Figure 6 shows an example embodiment of a filer application 600 in accordance with a specific embodiment. As shown in the example of Figure 6, the filer application may include functionality for performing network transfers in connection with multiple disk arrays. In at least one embodiment, the filer application 600 may be configured or designed as a composite filer application variant, in which each volume array (or selected volume arrays) is configured to interface with a separate or respective filer appliance. Additionally, in at least one embodiment, the filer appliances may be connected through interfaces in order to transfer data from the source to the destination volume(s).
In at least one embodiment, the filer application may include various components (e.g., virtual components) such as, for example, one or more of the following (or combinations thereof):
• a control interface 601 (which, in the example of Figure 6, is redirected to the filer appliance 161);
• a boundary 600;
• a file transfer interface 605 between the two subordinate filer instances;
• a slave control interface 603, from which the source appliance (161) may control the destination appliance (163);
• etc.
In one embodiment, the source filer appliance (e.g., 161) has the source volume array slot(s) 602 and the destination filer (e.g., 163) has the destination volume array slot(s) 604. According to different embodiments, one or more of the filer appliances may be the same class (e.g., an OpenSolaris filer appliance) and/or of different classes (e.g., one is OpenSolaris, the other is Linux or Windows).
Figure 7 illustrates an example embodiment of a virtualized distributed computing system 700 which may be used for implementing various aspects described herein. In at least one embodiment, system 700 may include a catalog/template system (or portion) 701 which includes one or more catalogs of different filer application templates. Additionally, as illustrated in the example of Figure 7, system 700 may also include a runtime system (or portion) 750 where non- template (e.g., instantiated) applications run or are held.
When using virtualized storage - from logical volume manager (LVM) partitions, to storage area networks (SAN), to virtual volumes on fully virtualized systems (like AppLogic (TM)) - it may be desirable to be able to perform maintenance operations on the volumes' file systems.
Examples of volume maintenance operations may include, but are not limited to, one or more of the following (or combinations thereof):
• copying the files from one volume to another;
• changing the file system from one type to another (e.g., FAT32 to NTFS, or even ext3 to UFS);
• resizing the volume while preserving the content;
• moving the file system from a single disk logical volume to a RAID or other type of multi-disk volume (volume array), as well as from one type of array to another (e.g., RAIDl to RAID5), and/or back to a single disk logical volume;
• checking the file system for consistency;
• repairing a damaged file system (e.g., repairing the metadata, replaying the journal);
• backing up and/or restoring files;
• changing the compression, security and/or other attributes of the files and file systems present on the volume;
• moving to and from single partition to multiple partition volumes;
• allowing programmatic or interactive access to the volume (e.g., for file transfers such as ftp and rsync);
• using a web browser interface to browse the volume content, upload and download files, such as, for example, upload and/or downloading archives;
• reorganizing the file system structure, such as, for example, changing attributes (e.g., the largefiles attribute of ext3, journal levels of reiserfs, etc.); • performing check or configuration procedure over files in the file system (e.g., setting the network configuration on a Linux volume from which a Linux OS will be booted);
• etc.
In one embodiment, a virtual machine may be automatically/or dynamically assigned, on demand (and/or in real-time), to perform the desired maintenance action(s) or operation(s) over a particular volume or set of volumes. After the operation(s) have been completed, the virtual machine may be released. In one embodiment, the virtual machine may be automatically and dynamically created or instantiated on demand for each operation and destroyed after the operation completes. In another embodiment, there may be a pool of virtual machines from which one may be allocated to perform a given operation and released back to the pool whenever the operation completes.
In at least one embodiment, virtual machines (e.g., representing one or more filer appliances) may be operable to run one or more different types of operating systems such as, for example, Linux, Windows, FreeBSD, Solaris, etc., and may include the requisite or associated file system drivers and/or maintenance utilities for one or more of the file systems supported natively by these operating systems. For example, in one embodiment, a Linux operating system based filer appliance ("Linux filer") may be configured or designed to include file system drivers and utilities for the ext2, ext3 and REISERFS file systems. In another embodiment, for example, a Windows operating system based filer appliance ("Windows filer") may be configured or designed to include file system drivers and utilities for the FAT32 and NTFS file systems.
In one embodiment, a filer appliance can access a single volume and perform the maintenance operation over it. In other embodiments, a filer appliance can access two or more volumes (e.g., a source volume and a destination volume), and perform the operation across the multiple volumes (e.g., copy files from a smaller to a larger volume). In some embodiments, the filer appliance may also provide a file transfer interface, through which it can exchange file system data with other filer appliance(s) and/or filer applications. It will be appreciated that one benefit of such features is that it enables transfers between file systems supported by different operating systems (e.g., by employing the use of different filer appliances, wherein each filer appliance is configured or designed to be compatible for use with a different respective one of the operating systems).
In one embodiment, there may be provided an automated entity (e.g., runtime system, management system, etc.) that accepts user-initiated and/or system-initiated commands (such as, for example, a resize volume command which involves a volume resize operation). Responsive to such command, the managing entity may automatically select the appropriate filer appliance (or appliances) to perform the desired volume operation(s) (e.g., volume resize operation), may automatically and dynamically configure the selected filer appliance(s) to access the selected volume(s), and may direct the filer appliance(s) to perform the desired operation(s).
In at least one embodiment, the volume resize operation(s) may be performed by one or more virtual filer appliances and/or virtual filer applications while preserving the file system on the virtual storage volume during the volume resize operation. In at least one embodiment, the resizing operations may include, for example, providing a virtual filer application with access to the source (e.g, original) virtual storage volume (having a first volume size) and a second (e.g., target) virtual storage volume (having a second volume size which differs from the size of the first storage volume). In one embodiment, the virtual filer application may be operable to copy all (or selected) files from the source virtual storage volume to the target virtual storage volume.
In at least one embodiment, the managing entity may monitor or track the status of the volume operation(s), and collect status information from the filer appliance(s). When it has been detected that the volume operation(s) have been successfully completed, the managing entity may automatically release the filer appliance(s) and the volumes, and may also communicate the operation status to the initator.
In one embodiment, one or more filer appliances and/or filer application(s) may be implemented as AppLogic(TM) based catalog appliances. In at least one embodiment, the AppLogic (TM) catalog(s) may also include a number of differently configured filer applications, each including one or more filer appliances, wherein each different filer application is configured or designed to perform actions between volumes of any (or specifically selected) supported type(s) of file system(s).
For example, in one embodiment, the AppLogic(TM) runtime system, in response to a user-provided command (or system initiated command) regarding one or more volumes, may select one or more appropriate filer application(s) suitable for performing operations relating to the received command(s). Further, in at least one embodiment, the runtime system may provision instance(s) of the selected filer application(s) for the selected volume(s), may configure the selected filer application(s) with the desired operation and resources, and may initiate starting of the selected filer application(s). The runtime system may also periodically monitor the completion status of the operation(s) being performed by the filer application(s). In at least one embodiment, when it has been detected a desired operation has been successfully completed (e.g., that a particular filer application instance has successfully completed the operations it was created to perform) the runtime system may destroy that filer application instance.
In another embodiment, one or more filer appliances may be implemented as virtual machines created from pre-configured volume templates (e.g., as implemented by virtual machine managers such as VMware VB, Citrix XenServer, Microsoft Virtual Server, or cloud computing services such as Amazon EC2, etc.). For example, in one embodiment, a user (or a program, appliance or application) may request a maintenance operation to be performed on a given volume. In one embodiment, such a request may be provided via a management interface (e.g., visual, command-line, API, etc.). The management system may process the request, and select an appropriate template (e.g., filer appliance template) which is suitable for implementing the requested maintenance operation for the identified volume. In at least one embodiment, the management system may facilitate and/or initiate creation of a virtual machine instance from the template, and automatically and/or dynamically configure the initiated virtual machine instance (e.g., filer appliance instance) to access the identified volume. In at least one embodiment, the management system may wait until the virtual machine (filer appliance instance) completes its operations before destroying the virtual machine. In yet another embodiment, the management system may maintain a pool of one or more ready-to-run or running virtual machines (e.g., filer appliances), so that it can quickly allocate an instance when a maintenance operation may be required. In yet another embodiment, the management system provides multiple virtual machines (e.g., filer appliances) for performing operations between volumes with different file systems.
In at least one embodiment, one or more filer appliances/applications may be utilized for facilitating automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type. For example, in one embodiment, the automated conversion of a file system of a virtual storage volume from a first file system type to a second file system type may include, but are not limited to, one or more of the following operations (or combinations thereof):
• identifying a first file system type of a first file system of a first virtual storage volume;
• automatically identifying a first virtual filer appliance operable to read files from the first file system type;
• automatically providing the first virtual filer appliance with access to the first virtual storage volume, for example, by attaching the first virtual storage volume to the first virtual appliance;
• identifying a second file system type of a second file system of a second virtual storage volume;
• automatically identifying a second virtual filer appliance operable to write files to the second file system type;
• automatically providing the second virtual filer appliance with access to the second virtual storage volume;
• providing a first communication link between the first virtual filer appliance and the second virtual filer appliance, for example, by attaching the second virtual storage volume to the second virtual appliance; • performing, using the first virtual filer appliance and second virtual filer appliance, file system conversion operations for converting the first file system from a first file system type to the second file system of the second file system type;
• etc.
In one embodiment, the performing of the file system conversion operations may include, for example:
• operating the first virtual filer appliance to read a first plurality of files from the first virtual storage volume;
• sending, via use of the first communication link, file information relating to the first plurality of read files to the second virtual filer appliance;
• operating the second virtual filer appliance to receive the file information via the first communication link;
• operating the second virtual filer appliance to write at least a portion of the received file information to the second virtual storage volume.
In some embodiments, running instances of the first and/or second virtual appliances may be automatically and dynamically created, on demand (e.g., as needed), in response to real-time condition and/or events. In some embodiments, running instances of the first and/or second virtual appliances may be automatically and dynamically created (e.g., on demand) using one or more virtual appliance templates and/or virtual application templates. Some of the virtual appliance/application templates may be dynamically generated (e.g., in real-time) using information relating to the first file system type and the second file system type. Other virtual appliance/application templates may be pre-configured, and selection of a desired pre-configured template may be based, at least in part, using information relating to the first file system type and the second file system type.
For purposes of illustration, the example embodiment of Figure 7 will be described by way of illustration with reference to a specific example scenario. More specifically, in this specific example, it is assumed that it is desired to perform a volume maintenance operation which includes copying the files from a first volume (e.g., 776a) which utilizes a first file system type (e.g., Linux- based ext3) to a second volume (e.g., 776c) which utilizes a different file system type (e.g., Windows-based NTFS).
As illustrated in the example of Figure 7, system 700 may include, for example, a catalog portion 701, a network portion 740 (e.g., WAN or LAN), and a runtime system portion 750.
In one embodiment, the catalog 701 may be used to store and/or provide access to templates (e.g., classes) of appliances 710 (e.g., virtual machines) and/or applications (e.g., 704a, 704b, 704n). In at least one embodiment, structures of one or more virtual machines may be combined and/or used together. In at least one embodiment, runtime system 750 may be configured or designed to manage multiple applications in a virtual machine infrastructure. For example, the application (e.g., Application 1) 770 may include multiple appliances (virtual machines), including, for example, appliances 778a, 778b and 778n. In this specific example it is further assumed that the application 770 includes volumes 776a, 776b and 776c, wherein volume 776a utilizes a first file system associated with a first operating system type (e.g., OS-A), and wherein volume 776c utilizes a second file system associated with a second operating system type (e.g., OS-B). In alternate embodiments, the volumes 776a, 776b and 776c may be located or deployed external to the runtime system 750 (e.g., on a FibreChannel or iSCSI SAN). Additionally, in at least some alternate embodiments all (or selected) portions of application 770 may be deployed or instantiated outside (e.g., remotely from) runtime system 750.
In at least one embodiment, one or more filer appliances/applications may be utilized for facilitating remote file access to remotely located virtual storage volumes of a distributed computing network. For example, in one embodiment, remote file access to remotely located virtual storage volumes may include, but is not limited to, one or more of the following operations (or combinations thereof):
• receiveing a first request to access a first remote virtual storage volume;
• automatically identifying a first type of file system at the first remote virtual storage volume;
• automatically identifying, using information relating to the first type of file system, a selected virtual filer application that is suitable for performing file system manipulations at the first remote virtual storage volume,
• remotely accessing, using the selected virtual filer application, one or more files at the first remote virtual storage volume.
In at least one embodiment, the file system manipulations may include various types of operations such as, for example, file system formatting operations, file read operations, and file write operations, etc.
Figure 8 shows an example flow diagram of a Volume Operation Monitor Procedure 800 in accordance with a specific embodiment. For purposes of illustration, the Volume Operation Monitor Procedure 800 of Figure 8 will now be described by way of example with reference to the system illustrated in Figure 7 of the drawings. In at least one embodiment, at least a portion of the Volume Operation Monitor Procedure may be implemented at runtime system portion 750 of Figure 7.
In this example it is assumed that it is desired to perform a volume maintenance operation which includes copying the files from a first volume (e.g., 776a) which utilizes a first file system associated with a first operating system type (e.g., OS-A), to a second volume (e.g., 776c) which utilizes a second file system associated with a second operating system type (e.g., OS-B).
At 802 a determination may be made as to whether one or more condition(s) and/or event(s) have been detected for implementing one or more volume operations. For example, according to different embodiments, such a condition or event may be detected by receiving a command from a human user, a programmatic API request, as a scheduled operation, etc.
In this particular example, it is assumed that a condition/event has been detected relating to a request to perform a volume maintenance operation which includes copying the files from volume 776a to volume 776c.
At 804 one or more parameters relating to the requested volume maintenance operation may be identified. Examples of such parameters may include, for example, one or more of the following (or combinations thereof):
• volume operation(s) to be performed;
• volume identifier information (e.g., relating to the identities of volumes 776a, 776c);
• file system parameter information (e.g., type of file system utilized at each volume, associated operating system information, etc.);
• and/or other parameters which may be useful in identifying and/or selecting the appropriate filer appliance(s) to be used for carrying out the requested volume operation(s).
At 806, one or more threads of a Filer Operation Procedure (illustrated, for example, in Figure 9) may be initiated. In this particular example it is assumed that a single threat of the Filer Operation Procedure is initiated.
Additionally, in at least one implementation, as shown, for example, at 808, information relating to at least a portion of the identified volume operation parameters may be passed to (or made accessible to) the Filer Operation Procedure.
Returning to the example of Figure 7, in at least one embodiment, upon recognizing that a volume maintenance operation is desired (e.g., by receiving a command/request from a human user, a programmatic API request, or as a scheduled operation), the runtime system 750 takes appropriate action to carry out the desired volume maintenance operations. For example, in this example it is assumed that the runtime system issues a volume maintenance command and/or other instructions for causing all files to be copied from a Linux file system on the volume 776a to an NTFS file system on the volume 776c.
In at least one embodiment, the system 750 may inspect the metadata of the volume 776a, and find it to contain a file system OS-A FS (e.g., Linux ext3); it may also inspects the metadata on the volume 776c, and find it to contain a file system OS-B FS (e.g., Windows NTFS). In another embodiment, such as, for example, where the volume 776c does not yet have a file system assigned (e.g., it may be blank), the system 750 may use parameters of the maintenance command to instruct that OS-B FS may be created on the volume 776c. In yet another embodiment, the file system type information may be provided to the system 750, without it having to inspect the volumes.
In at least one embodiment, the system 750 may use the file system types discovered/identified to choose one or more appropriate structure(s) of filer appliances that can perform the requested maintenance operation. In one embodiment, the choice may be provided with (or embedded in) the maintenance command (e.g., use filer application template "ext3-to- ntfs").
In at least one embodiment, the system 750 may create an instance of the selected filer structure (e.g., an application in AppLogic (TM), a set of virtual machines in VMware, etc.). In the example in Figure 7, it is assumed that the system 750 creates a filer application instance 752 which includes filer appliance 754, and another filer application instance 762 which includes filer appliance 764.
In an alternate embodiment, rather than creating separate file instances 752 and 762, a composite filer application instance (as illustrated, for example, in Figure 3) may be created wherein the filer appliance 754 and the filer appliance 764 are both be included within the boundary of the same application template. Thus, for example, in one embodiment, the filer appliances 754 and 764 may be created together as a single AppLogic (TM) application and included with a common filer application boundary (similar to that illustrated, for example, in Figure 3). One benefit of such an embodiment is that the runtime system 750 is not required to distinguish whether it is creating a single-appliance filer application (e.g., similar to that illustrated in Figure 2), or whether it is creating a multi-appliance application (e.g., similar to that illustrated in Figure 3). Rather, in at least one embodiment, the system may simply provide information about the source and destination volumes to the applicaiton, and allow the application to determine which volume may be attached to what appliance.
Returning to the example of Figure 7, it is assumed that the filer appliance 754 has a virtual machine executing the OS-A operating system that can access the file system on volume 776a (in this example, OS-A may be Linux and the file system may be ext3). The filer appliance 764 has a virtual machine executing the OS-B operating system that can access the file system for volume 776c (in this example, OS-B may be Microsoft Windows and the file system may be NTFS).
In at least one embodiment, the runtime system 750 may configure the filer appliance 754 to access the volume 776a as the filer' s source volume. It may further configure the filer appliance 764 to access the volume 776c as its destination volume. The system 750 may further configure the filer instances to perform or carry out the desired maintenance operation(s) (e.g., in this example, copy files from the source volume to the destination volume). The configuration may be performed through various mechanisms and/or information such as, for example, one or more of the following (or combinations thereof): properties, executing commands, submitting control requests to the filers, etc.
In one embodiment, once the filer application configuration has been completed, the runtime system 750 submits a "start" request to the control interface 757a of the appliance 754. In another embodiment, the appliance 754 may be configured or designed to automatically initiate the operation.
In one embodiment, in performing its functions, the appliance 754 may perform one or more of the following operations (or combinations thereof):
• begins read the file system from the volume 776a (e.g., visible inside the appliance 754 as its volume 755);
• convert or package all or selected files in a suitable format which allows the files to be migrated to the new volume/file system (e.g., files may be packaged using a serialized tape archive format (tar));
• send the packaged information to the appliance 764 through its outgoing interface 757b.
Thorough the network connection 759, the tar data may be received by the appliance 764 though its interface 767b, and written (e.g., through the native file system) to the volume 776c (which may be visible in the appliance 764 as its volume 765). During the operation, the appliance 754 may send all (or selected) files, with their associated metadata (such as, for example, directory name, filename, timestamp, permissions, streams, etc.) and data, to the filer appliance 764, so that all (or selected) files from the volume 776a are effectively copied to the volume 776c.
In one embodiment, the system 750 may periodically inquire the progress and status of the operation, through the control interface 757a. It may receive the status of the operation (e.g., ready or pending), progress (e.g., 50% done, lhr remaining), as well as other information (such as, for example, the name of the directory or file currently being copied, disk space left, etc.). In another embodiment, the system 750 receives a notification from the filer appliance 754 when the operation completes.
In one embodiment, when the system 750 receives indication that the volume maintenance operation has been successfully completed, it may deactivate the filer appliance 754 and 764. In another embodiment, the system 750 may destroy one or both of the appliances 754 and/or 764, releasing all their resources. In yet another embodiment, the runtime system may provide the volume 776c to an appliance or application that uses the files as the target file system format. As discussed previously, in at least one embodiment, one or more filer appliances (and/or filer applications) may be configured or designed to operate in one or more different modes of operation, such as, for example, a batch mode of operation, an interactive mode of operation, etc. An example flow diagram of a Filer Operation Procedure operating in batch mode is illustrated in Figure 9 of the drawings. An example flow diagram of a Filer Operation Procedure operating in interactive mode is illustrated in Figure 10 of the drawings.
Figure 9 shows an example flow diagram of a Filer Operation Procedure (Batch Mode) 900 in accordance with a specific embodiment. In at least one embodiment, a least a portion of the filer operation procedure may be implemented at runtime system portion 750 of Figure 7.
At 900 it is assumed that the Filer Operation Procedure is initiated. For example, in at least one embodiment, one or more Filer Operation Procedure(s) may be initiated by the volume operation monitor procedure (e.g., 806).
As shown in the example embodiment of Figure 9, at 901 the Filer Operation Procedure identifies the volume operation(s) to be performed and any parameters associated with the identified operation(s). Examples of such parameters may include, but are not limited to, one or more of the following (or combinations thereof):
• identifiers of the source and/or target volumes (e.g., LUN, volume name, iSCSI target, etc.)
• operation(s) to be performed (e.g., interactive, format, file system copy, file system consistency check, file system repair, block copy, stream files out, stream files in, backup, restore, upload, download, wipe, etc.)
• operation attributes, such as whether to wipe the disk blocks prior to writing files, whether to fill the unallocated volume blocks as to cause allocation in the virtual storage system, volume name/label to assign to the volume (e.g., for lvm groups and/or zfs pools), RAID- type options, etc.
• file system attributes for the destination file system, such as the allocation cluster size, journaling options (e.g., whether to journal metadata, data or both), small/large files content, flavor of file system (e.g., Solaris-type UFS or FreeBSD UFS), percentage of volume to reserve for writeable snapshots, etc.
• network interface parameters, such as the IP address and other network settings to use for the filer(s), for example, so that the filer can be accessed from an external system (e.g., the operator's notebook) and/or so that the filer can access external systems (e.g., download server, backup service location, etc.)
• etc.
As shown in the example embodiment of Figure 9, at 902 the Filer Operation Procedure selects the suitable or appropriate filer application template(s) that may be capable of performing the identified operation(s). The selection can be performed by a combination of one or more of the following criteria:
• user-provided identifier (e.g., user specified the name/location of the filer application to use)
• constructed name (e.g., by combining the name and/or other attribute of the source and target file systems: ext3-ntfs, ext3, ntfs-ntfs, etc.)
• table lookup (e.g., by looking up the names of the source/destination filesystems in a table and retrieving the application name
• selecting two or more instances, e.g., one based on the source volume file system type and one based on the destination file system type (e.g., a linux appliance for the ext3 source file system and a Windows appliance for the ntfs file system)
• requesting the name from an external system (e.g., via an API or a webservice)
• enumerating the available filer appliances and/or application, and inspecting metadata (descriptions) associated with each, and finding the best match for the requested file system(s) (e.g., a Linux filer appliance may support ext3 file system with score of 10 (native) and FAT32 file system with score of 3 (non-native), while a Windows file system can support both NTFS and FAT32 with a score of 10 (native) and ext3 with a score of 0 (not supported)
• etc.
In at least one embodiment, a list or database of filer appliances may be provided in which each (or selected) filer appliance of the database includes associated metadata (and/or other types of associated information) characterizing associations between that particular filer appliance and one or more different file system types. In at least one embodiment, such filer appliance metadata may be used to identify and/or select suitable filer appliances for use with a given file system type. One or more tables of selected filer appliances may then be automatically and dynamically generated using the filer appliance metadata information, and subsequently used when performing table lookups for suitable or appropriate filer application template(s). In other embodiments, a table or database may be provided which includes predefined associations between specific file system types and specific filer appliances. For example, in one embodiment, the database may include a list of different file system types and associated filer appliances which may be suitable for performing various different file system operations for each given file system type. In one embodiment, the runtime system may utilize a map (e.g., lookup table) for use in selecting suitable or appropriate filer application template(s) that may be capable of performing the identified operation(s). In yet another embodiment, the runtime system may identify and select multiple different filer appliances for performing desired tasks. As shown in the example embodiment of Figure 9, at 904 the Filer Operation Procedure assigns an instance of a filer to perform the identified operation(s). In at least one embodiment, various operations or activities which may be performed at block 904 may include, but are not limited to, one or more of the following (or combinations thereof):
• provision/create a new instance of the filer application from a template
• create one or more virtual machines based on images (e.g., as selected in block 902)
• allocate a filer application from a pool of available filer applications
• bind to an external service that provides filer service
• etc.
As shown in the example embodiment of Figure 9, at 906 the Filer Operation Procedure configures the filer instances and/or application for performing the desired operations. In at least one embodiment, various operations or activities which may be performed at block 906 may include, but are not limited to, one or more of the following (or combinations thereof):
• configure properties of the filer appliance/application
• provide configuration data to the filer virtual machine instance (e.g., an XML configuration file)
• execute a command or send data to the filer instance, containing the desired configuration options
• the filer appliance automatically discovers the required configuration
• etc.
As shown in the example embodiment of Figure 9, at 908 the Filer Operation Procedure attaches the source volume to the appropriate filer appliance. The Block may be optional and skipped if the operation does not use a source volume (e.g., file system format does may require a source volume). In at least one embodiment, various operations or activities which may be performed at block 908 may include, but are not limited to, one or more of the following (or combinations thereof):
• providing a volume identification (e.g., during configuration at block 906)
• connecting the desired volume to the filer appliance instance (e.g., connecting to the volume via iSCSI interface)
• instructing the system in which the filer appliance operates to provide the appliance with access to the volume
• creating a symbolic link to the volume
• presenting the volume (or its symbolic link) as a volume to be used with the filer instance • place a lock the source volume, so that the volume will not be modified during the operation (e.g., a shared lock allowing other applications to only read the volume but not write to it)
• etc.
As shown in the example embodiment of Figure 9, at 910 the Filer Operation Procedure attaches the destination volume to the appropriate filer appliance. In at least one embodiment, the operations and/or activities implemented at block 910 may be performed in a manner similar to those described with respect to block 908. It may also include placing an exclusive lock on the destination volume, preventing other applications from accessing the volume (for read and/or write), so that other applications don't read data that may be in the process of being written and may be in inconsistent state.
As shown in the example embodiment of Figure 9, at 912 the Filer Operation Procedure starts the filer application instance. In at least one embodiment, various operations or activities which may be performed at block 912 may include, but are not limited to, one or more of the following (or combinations thereof):
• creating a virtual machine with a selected operating system (e.g., by using a template or pre-configured volume with the operating system, or by using an ISO CD or DVD)
• powering on virtual machines
• creating a virtual application with the filer appliances, containing a separate instance of one or more desired operating systems (such as Linux, Windows, etc.)
• unpausing (resuming) an already created but paused (suspended) virtual machine
• starting (booting) a virtual machine, appliance or application
• etc.
As shown in the example embodiment of Figure 9, at 914 the Filer Operation Procedure performs the requested maintenance operation on the already running filers. In at least one embodiment, various operations or activities which may be performed at block 908 may include, but are not limited to, one or more of the following (or combinations thereof):
• reading files from the source volume
• writing files to the destination volume
• reading files and file system structure metadata for a volume
• creating or repairing file system structures for a volume
• writing data to all or selected blocks of a volume
• packaging files read into an archive for transfer (e.g., tar for backup or sending to another filer)
• unpackaging files from an archive (e.g., tar received from a backup or from another filer) • reading or writing files from another appliance or another system over a network file transfer protocol, such as ftp, nfs or pipe.
• copying directories, files and other metadata from one volume to another
• creating RAID and other logical volume structures on the volumes provided to the appliance(s)
• modifying the file system superblock and other metadata to adjust the file system options
• etc.
As shown in the example embodiment of Figure 9, at 916 a determination is made as to whether the identified operation(s) have completed successfully. If it is determined the identified operation(s) have not completed successfully, at 918, a determination is made as to whether any errors have been detected. If one or more errors have been detected, one or more appropriate error handling procedure(s) may be implemented (920). Examples of such error handling procedures may include, but are not limited to, one or more of the following (or combinations thereof):
• cleanup and release the filer (e.g., by performing operations associated with blocks 922, 924 and 926)
• reconfigure the filer application and/or change operation options
• retry the whole operation, restarting from any of the preceding steps
• send notification or record the failure
• attempt alternate operation (e.g., file system repair prior to copying files from a damaged file system)
• select different filer application template and repeat one or more of the steps
• perform cleanup and/or other recovery procedures
• provide additional time for the identified operation is to be completed
• restart the Filer Operation Procedure
• generating an error notification message
• continue the Filer Operation Procedure from a specific step or block
• executing additional procedures or subroutines
• etc.
As shown in the example embodiment of Figure 9, at 922 the Filer Operation Procedure releases the filer application instance. In at least one embodiment, various operations or activities which may be performed at block 922 may include, but are not limited to, one or more of the following (or combinations thereof):
• stop the virtual machine(s) that were performing the requested operations
• stop and destroy the filer application
• stop, pause or suspend the filer appliances (virtual machines) • release the filer appliances/applications to a pool
• shutdown the operating system in each of the filer appliances created for this operation
• etc.
As shown in the example embodiment of Figure 9, at 924 the Filer Operation Procedure detaches the volumes. In at least one embodiment, various operations or activities which may be performed at block 924 may include, but are not limited to, one or more of the following (or combinations thereof):
• releasing any shared locks that were placed on the volumes, thus allowing the volumes to be modified
• releasing any exclusive locks that were placed on the volumes, thus allowing the volumes to be accessed (e.g., for reading and/or writing)
• releasing any other locks on the volumes
• destroying any symbolic links to the volumes that were created during the steps 908 and 910
• marking the destination volume as ready-to-use (e.g., with a valid file system)
• recording the file system type of the destination volume in a database or system metadata
• locks that may have been placed on them during the operation
• etc.
As shown in the example embodiment of Figure 9, at 926 the Filer Operation Procedure destroys the filer instances. In at least one embodiment, various operations or activities which may be performed at block 926 may include, but are not limited to, one or more of the following (or combinations thereof):
• releasing instances to the pool
• powering off virtual machines
• stopping and destroying virtual machine instances
• destroying the filer application instance
• etc.
In at least one embodiment, the operation of attaching the source volume may be optional (some operations may not use a source volume — e.g., format or repair — those need only a target/destination volume). In one embodiment, the operation may include creating a link to the desired volume and configuring the filer instance to use the link as its source volume. For example, in at least one embodiment, the operation of attaching the volume may include configuring a reference to an external storage device (physical or virtual), including specifying a device address (e.g., IP address), logical unit number (LUN), disk target, RFC-1737 universal resource name, etc. Further, in at least one embodiment, the operation of attaching the destination volume may be optional (some operations may not need a dst volume — e.g., the source filer appliance in a dual- filer appliance (see figure to come).
In one embodiment, a separate instance of a 'filer' appliance may be started based on detection of one or more specified conditions and/or events (or combinations thereof). Examples of such conditions and/or events may include, for example, detection of one or more events/conditions relating to one or more volume operation(s) to be performed. Examples of such volume operations may include, but are not limited to, one or more of the following (or combinations thereof):
• a file system-level access operation (e.g., format, copy, fsck, fsck+repair);
• user-requested access to a volume;
• volume resize operation;
• volume restripe operation;
• volume copy operation;
• data access operation;
• data migration operation;
• etc.
In one embodiment, the filer application instances may be reused. In other embodiments, it may be preferable that the filer application instances not be reused. For example, in one embodiment, once the task for which a given filer appliance instance was started has been successfully completed or accomplished done, that specific filer appliance instance may be stopped and/or destroyed.
In at least one embodiment, one or more filer application templates may be used for handling one or more of the volume operations to be performed. In at least one embodiment, one or more of the filer application templates may be preconfigured to perform specific tasks and/or operations. In at least one embodiment, one or more filer application templates may be named in a manner which connotes an association with one or more OS-type(s).
Figure 10 shows an example flow diagram of a Filer Operation Procedure (Interactive Mode) 1000 in accordance with a specific embodiment. In at least one embodiment, a least a portion of the filer operation procedure may be implemented at runtime system portion 750 of Figure 7.
In at least one embodiment, as illustrated in the example embodiment of Figure 10, many of the operations of the Filer Operation Procedure (Interactive Mode) 1000 may be similar to corresponding operations of the Filer Operation Procedure (Batch Mode) 900 which have been previously illustrated and described respect to Figure 9. Accordingly, a detailed description of such similar features will not be described again in the description of Figure 10. At 1000 it is assumed that the Filer Operation Procedure is initiated. For example, in at least one embodiment, one or more Filer Operation Procedure(s) may be initiated by the volume operation monitor procedure (e.g., 806).
As shown in the example embodiment of Figure 10, at 1001 the Filer Operation Procedure identifies the volume operation(s) to be performed and any parameters associated with the identified operation(s).
As shown in the example embodiment of Figure 10, at 1002 the Filer Operation Procedure selects the appropriate filer application template(s) that may be capable of performing the identified operation(s).
As shown in the example embodiment of Figure 10, at 1004 the Filer Operation Procedure assigns an instance of a filer to perform the identified operation(s).
As shown in the example embodiment of Figure 10, at 1006 the Filer Operation Procedure configures the filer instances and/or application for performing the desired operations.
As shown in the example embodiment of Figure 10, at 1008 the Filer Operation Procedure attaches the source volume to the appropriate filer appliance. The Block may be optional and skipped if the operation does not use a source volume (e.g., file system format does may require a source volume).
As shown in the example embodiment of Figure 10, at 1010 the Filer Operation Procedure attaches the destination volume to the appropriate filer appliance. In at least one embodiment, the operations and/or activities implemented at block 1010 may be performed in a manner similar to those described with respect to block 1008. It may also include placing an exclusive lock on the destination volume, preventing other applications from accessing the volume (for read and/or write), so that other applications don't read data that may be in the process of being written and may be in inconsistent state.
In at least one embodiment, the various operations described at steps 1006, 1008, and/or 1010 may be performed as part of step 1004.
As shown in the example embodiment of Figure 10, at 1012 the Filer Operation Procedure starts the filer application instance.
As shown in the example embodiment of Figure 10, at 1014, the Filer Operation Procedure may wait to receive a command or instructions (e.g., from an external entity such as, for example, a human operator, an external device or system, etc.).
In the example embodiment of Figure 10, it is assumed at 1014 that the Filer Operation Procedure receives a command. Accordingly, as shown in the example embodiment of Figure 10, at 1016 a determination is made as to whether the received command includes a termination request, such as, for example, a termination request for terminating or destroying one or more runtime instance(s) of specific filer appliances. As shown in the example embodiment of Figure 10, if it is determined that the received command does not include a termination request, the Filer application(s) may perform (1020) their appropriate volume operation(s) in accordance with the received command/instructions.
As illustrated in the example embodiment of Figure 10, if it is determined (1016) that the received command does not include a termination request, the Filer Operation Procedure may initiate procedures for terminating or releasing one or more filer application instance(s), in accordance with the received command/instructions . In at least one embodiment, various operations or activities which may be performed at block 1022 may include, but are not limited to, one or more of the following (or combinations thereof):
• stop the virtual machine(s) that were performing the requested operations
• stop and destroy the filer application
• stop, pause or suspend the filer appliances (virtual machines)
• release the filer appliances/applications to a pool
• shutdown the operating system in each of the filer appliances created for this operation
• etc.
As shown in the example embodiment of Figure 10, at 1024 the Filer Operation Procedure detaches the volumes. In at least one embodiment, various operations or activities which may be performed at block 1024 may include, but are not limited to, one or more of the following (or combinations thereof):
• releasing any shared locks that were placed on the volumes, thus allowing the volumes to be modified
• releasing any exclusive locks that were placed on the volumes, thus allowing the volumes to be accessed (e.g., for reading and/or writing)
• releasing any other locks on the volumes
• destroying any symbolic links to the volumes that were created during the steps 1008 and 1010
• marking the destination volume as ready-to-use (e.g., with a valid file system)
• recording the file system type of the destination volume in a database or system metadata
• locks that may have been placed on them during the operation
• etc.
As shown in the example embodiment of Figure 10, at 1026 the Filer Operation Procedure destroys the filer instance(s). In at least one embodiment, various operations or activities which may be performed at block 1026 may include, but are not limited to, one or more of the following (or combinations thereof):
• releasing instances to the pool • powering off virtual machines
• stopping and destroying virtual machine instances
• destroying the filer application instance
• etc.
In at least one embodiment, the various operations described at steps 1022 and 1024 may be performed as part of step 1026.
In at least one embodiment, the operation of attaching the source volume may be optional (some operations may not use a source volume — e.g., format or repair — those need only a target/destination volume). In one embodiment, the operation may include creating a link to the desired volume and configuring the filer instance to use the link as its source volume. For example, in at least one embodiment, the operation of attaching the volume may include configuring a reference to an external storage device (physical or virtual), including specifying a device address (e.g., IP address), logical unit number (LUN), disk target, RFC-1737 universal resource name, etc. Further, in at least one embodiment, the operation of attaching the destination volume may be optional (some operations may not need a dst volume — e.g., the source filer appliance in a dual- filer appliance (see figure to come).
In one embodiment, a separate instance of a 'filer' appliance may be started based on detection of one or more specified conditions and/or events (or combinations thereof). Examples of such conditions and/or events may include, for example, detection of one or more events/conditions relating to one or more volume operation(s) to be performed. Examples of such volume operations may include, but are not limited to, one or more of the following (or combinations thereof):
• a file system-level access operation (e.g., format, copy, fsck, fsck+repair);
• user-requested access to a volume;
• volume resize operation;
• volume restripe operation;
• volume copy operation;
• data access operation;
• data migration operation;
• etc.
In one embodiment, the filer application instances may be reused. In other embodiments, it may be preferable that the filer application instances not be reused. For example, in one embodiment, once the task for which a given filer appliance instance was started has been successfully completed or accomplished done, that specific filer appliance instance may be stopped and/or destroyed. In at least one embodiment, one or more filer application templates may be used for handling one or more of the volume operations to be performed. In at least one embodiment, one or more of the filer application templates may be preconfigured to perform specific tasks and/or operations. In at least one embodiment, one or more filer application templates may be named in a manner which connotes an association with one or more OS-type(s).
In at least one embodiment, one or more filer appliances/applications may be utilized for facilitating file access to online (e.g., in use, mounted, attached, etc.) virtual storage volumes as well as off-line virtual storage volumes (e.g., virtual storage volumes which are not currently in use, mounted or attached to a device). For example, in at least one embodiment, such file or volume access operations may include, but are not limited to, one or more of the following (or combinations thereof):
• receiving a first access request for performing a first file access operation at the first virtual storage volume;
• determining whether the first virtual storage volume is currently in use, mounted or attached to a virtual machine;
• in response to determining that the first virtual storage volume is currently in use, mounted or attached: o identifying a first virtual machine which has current access to first virtual storage volume; and o forwarding the first access request to the first virtual machine to thereby cause the first virtual machine to perform at least one file access operation at the first virtual storage volume; and
• in response to determining that the first virtual storage volume is not currently in use, mounted or attached: o automatically identifying a first type of file system at the first virtual storage volume; o automatically identifying, using information relating to the first type of file system, a selected virtual filer appliance that is suitable for performing file access operations at the first virtual storage volume; o automatically attaching the first virtual storage volume to the selected virtual filer appliance for providing the selected virtual filer appliance with file access to the virtual storage volume; o forwarding the first access request to the selected virtual appliance to thereby cause the selected virtual appliance to perform at least one file access operation at the first virtual storage volume. • providing file access to at least one online virtual storage volume which is currently in use, mounted or attached to a first device of the distributed computing network;
• providing file access to at least one offline virtual storage volume which is not currently in use, mounted or attached to a any device in the distributed computing network;
• etc.
In at least one embodiment, the first virtual machine may correspond to (or may be configured to function as) a specific virtual appliance (such as, for example, a virtual filer appliance). PROPERTIES
In at least one embodiment, one or more filer appliances may have associated therewith one or more different types of properties. Examples of such properties may include, but are not limited to, one or more of the following (or combinations thereof):
• mode (string, enum): valid values: manual, format, f scopy, f sck, f srepair;
• f s_type (string): A mnemonic name for the system type. The name may be globally unique and for file systems already supported by AppLogic (TM), it may be the same name that may be currently documented in the AppLogic (TM) manuals - e.g., ext2, ext3. In at least one embodiment, it may be preferable to match the name to the one used by the -t option of 'mount'. In other embodiments it may be preferable to use a different name such as, for example, when using the UFS file system, which has different flavors that may be all supported by '-t uf s' but still may require an extra option to differentiate them.
• etc.
In at least one embodiment, a map of f s_type string(s) to filer appliance template(s) may be tracked, recorded, and/or managed using AppLogic ( TM) (e.g., . conf ) and/or other suitable mechanisms. In one embodiment, the map may be built automatically from info collected from the filers themselves. In at least one embodiment, the map can be generated automatically, for example, by extracting attributes from the available filers (e.g., users can create/install a new filer, the system collects from the filer's boundary the list of supported file systems and/or other attributes).
Additional filer appliance and/or filer application properties may also be employed, such as, for example, properties relating to file system-specific attributes (e.g., largefiles for ext3), and/or other properties relating to various types of filer appliance and/or filer application features and/or characteristics described herein. PLACEHOLDER VOLUMES:
In at least one embodiment, an filer appliance may include one or more "placeholder" volumes such as, for example:
• src (default="src")
• dst (default="dst")
In at least one embodiment, the names of the data volumes need not be re-configured when provisioning an instance of the filer. In one embodiment, the "sym-link" mechanism (described herein) may be used to take care of this. INTERFACE:
The filer appliance may be configured or designed to include one or more interfaces (e.g., virtual interfaces) such as, for example, an HTTP interface on its 'default' interface, with the following functions available (by URI):
• / or / index . html - interactive file access to the 'dst' volume (Web GUI).
• / api / * reserved, to be extended to support starting file operations dynamically, rather than creating a new filer for each.
• /api/ status ?op=X - returns command status (if started in a non-interactive mode - see Properties above). The "op=" parameter may be an operation ID, and may be used when filer appliances start supporting multiple operations. The values returned may be, for example: progres s (integer, 0..100), poll (integer, recommended status poll interval), status (integer status, valid only on completion, O=OK), errortxt (string status, if an error occurred), etc. In one embodiment, a data format (such as, for example, UDL) may be specified (which, for example, may be returned with text/plain mime type, making it display able by a browser for testing). Below is an example: status progress=50, poll=10, status=0, errortext="completion pending"
In at least one embodiment, other formats may be supported (e.g., controlled by a fmt=xxx parameter in the URI), for example, to allow programmatic control from user-created scripts. Examples of such other formats may include one or more of the following (or combinations thereof): o URL-encoded (e.g.: progress=35&poll=10&status=&errortxt=) o XML o JSON o plain text "SYMBOLIC LINK" VOLUMES:
In at least one embodiment, symbolic links (e.g., "symlinks") may be desirable to allow "wiring" volumes from any application (e.g., data and/or class volumes) into the name space of the filer application, so that it may be started with the current ABS build procedure (which, for example, may specify that any placeholder volumes are to be configured as data volumes in the application instance).
In at least one embodiment, to avoid the need for implementing symlink volumes, the ABS limitation may be addressed, for example, by modifying ABS itself to accept 'absolute' volume names. In other embodiments, alternative approaches may be utilized which do not necessarily require the use of symlink volumes.
In at least one embodiment, symlink volumes may be implemented as virtual volumes and configured or designed to function in a manner substantially identical to real, physical volumes in some or all operations.
In at least one embodiment, one or more symlink volumes may be configured or designed to respond to various types of commands, instructions and/or other input. Examples of such commands/input may include, but are not limited to, one or more of the following (or combinations thereof):
• create may be initiated by using an option to the Vo 1 create' command (e.g . , vol create — link= realvolume ) ;
• destroy destroys just the link, not the volume;
• info (returns that it may be a link and the name of the real volume).
In at least one embodiment, broken links may be allowed, volume check operations may report errors (e.g. broken link errors), volume clean operations may remove them (e.g., just like orphans). VOLUME ACCESS CLI COMMANDS
Example of different volume operation related commands for use filer appliances and/or filer applications may include, but are not limited to, one or more of the following (or combinations thereof): vol create vol resize vol copy [ — fscopy]
In one embodiment, depending on the particular commands given, AppLogic (TM) CLI (and/or other managing software/appliance/application/system) may perform one or more of the following actions (or combinations thereof):
• provision an instance of the appropriate filer template, with no user volumes; the application name may be based on the target volume name, so if two volume ops may be going on in parallel, there may be two separate instances; • create user volumes for the application as symlinks to the real volume(s) it needs. The symlinks may be named filer _instance . src and filer _instance . dst as needed for the operation that may be executed.
• set the mode and target_f s_type/size, as needed
• start the appliance
• start collecting status from the appliance, via its default interface; the appliance reports progress and completion status
• once the appliance says it's complete, it shuts it down, destroys the instance (destroying the volume links, too)
In at least one embodiment, one or more of the above described actions may involve a new filer appliance instance being provisioned, started, stopped and destroyed for each operation. In other embodiments, a new filer appliance instance being provisioned for performing multiple different operations, started, stopped and then destroyed once all of the operations have been completed. MANUAL USER ACCESS
CLI:
The 'vol mount' and VoI unmount' commands may be discontinued. Instead a new command may be introduced - vol manage, to do the following:
• when the user requests access to a volume (Vol manage my app : my vol'), a filer application may be provisioned and configured in manual mode, with the specified volume set up as the target data volume (like for a CLI command - see above).
• once the filer starts, the '3t s sh' command may be executed internally and the user ends up at the command prompt of the filer appliance.
• when the user exits the session to the filer, the filer may be stopped and destroyed; the vo 1 manage command completes and control returns to the 3tshell command prompt.
• vol manage — abort from another CLI session instantly terminates the matching SSH session to the filer and destroys the corresponding filer application to release the volume. This may be intended mostly for GUI use (see below). Users may rarely need to invoke this command.
GUI:
When the user requests access to a volume via the GUI, the back-end on the controller executes the vol manage command (like for CLI access above) and provides the user with proxy access to the home page of the filer's interactive interface. The 'proxied' page coming from the filer may be displayed inside a controller-provided GUI page, providing "context frame" that matches the overall GUI look of AppLogic (TM) and the necessary control buttons (e.g., like "unmount", to dismiss the file access GUI and release the volume).
In at least one embodiment, we can use the fact that the /monitor URL may be forwarded to the appliance named 'mon' in the application, and exploit this to provide the user with a way to open the filer GUI, without integrating it into a frame. All that may be done to achieve this may be to name the filer appliance 'mon'. An example implementation uses a generic proxy mechanism.
The SSH session associated with the vol manage command may be left open and may be destroyed upon user request (e.g., with the 'unmount' button on the controller-provided portion of the GUI page). The GUI "mount" (which started the vol manage ) may survive closing the browser and/or logging out and the user may be able to return to the file manager page for a previously-mounted volume.
In addition, while the file manager GUI may be open, the user can request a Web-shell window, which opens a second SSH session to the filer. This second session may be naturally terminated when 'unmount' may be requested from the GUI, as this may terminate the 'vol manage' command and cause the filer to shut down.
The GUI file manager may be implemented using any web technology; for example the PHP eXtplorer available from http://extplorer.sourceforge.net/, or any of the number of free/open- source or commercially available web-based file managers. Support for browsing files, adding/removing/editing files, as well as for uploading and downloading files and archives may be desired. FILE SYSTEM TYPE DETECTION
Solaris volumes, as well as volumes used by HVM-supported operating systems (e.g., Windows) have a partition table. Also, the UFS magic number may be not enough to distinguish between the flavors of UFS. Therefore the default magic file that comes with the 'file' utility may be not suitable for reliably detecting file system type.
A custom descriptor file may be prepared for the 'file' utility, which detects all supported file system types. For the first version, this may be a read-only file prepared and installed with the DomO software (or on the controller, if that may be where FS detection may be done). This may be later modified to support assembling the 'magic' file from individual descriptors collected from the filer appliances, so that installing a new filer also brings the associated file system detection capability into the grid. ACCESS SYNCHRONIZATION
The single-use application instances pose a problem of synchronizing operations when multiple requests may be made for the same volume. Normally, when the volume was mounted in the controller space, this was resolved by not allowing two read/write mounts for the same volume. With the filer applications, the volume may become 'locked' only after the filer may be started, meaning that two commands for the same volume can clash by each one trying to set up and start an application with the same name.
With the new volume access approach, the fact that the operation to create a new application may be atomic (and may definitely fail if someone else may be trying to create the same application - no matter at what state of readiness the first one may be), may be used as a critical section mechanism, as follows - each CLI command that needs to start a 'filer' may perform one or more of the following (or combinations thereof):
• create a filer application, report an 'in use' error if this fails. From this point on, the volume may be 'owned' by the CLI command that created the filer, no one else can access the volume.
• configure the application as needed to perform the operation
• start the application
• wait for the op to complete
• destroy the filer application instance (the volume may be now released, because another instance of a filer for it may be created)
APPLIANCE CONFIGURATION
The appliance configuration may support two modes:
• "vol f ix" - the current method of fixing up the appliance's boot volume. An existing component descriptor (as found in currently used appliances) may always default to this method.
• "dynamic" (aka "dhcp") - network-based configuration, based on DHCP. This may be to be used for new appliances (preferred for any OS type except Linux). This config method may be indicated by an attribute in the component descriptor or by a spe a cial value for the "os_type" attribute (also, the "os_type" attribute may be renamed, see Appendix for details).
When using the "dynamic" mode, the appliance configuration may be done in the following phases:
• initial network configuration - at least the 'default' interface may be configured, maybe also the IP address of all interfaces, using DHCP.
• configuration readout - the appliance configuration may be retrieved via the 'default' interface.
• final configuration - terminal interfaces may be configured, the appliance properties may be set and the grid SSH key may be installed. In at least one embodiment, the terminal interfaces cannot be configured fully in the initial net config because DHCP uses a simple IP/netmask/gateway setup, which may not be able to express point-to-point routes used for terminals. IMPLEMENTATION
A new entity may be added (preferably to the controller, but it can run elsewhere too), an "appliance configuration server" (ACS). It has the following interfaces:
• (A) Accessible to the entire grid: o DHCP server (UDP socket, listening on the 'private' NIC) o HTTP server (non-standard port, listening on the 'private' NIC) o DNS server (TBD, see Wish List in the Appendix)
• (B) Accessible to the controller: o 'configure' command: takes an appliance instance descriptor (UDL) as input and stores it, but does not make it available on the network. This command may be invoked by ABS at the end of a build (in place of the current vol fix). o 'enable' and 'disable' commands: take an application name as input, 'enable' exposes the application configuration on the DHCP and HTTP interfaces in a form suitable for being retrieved by the appliance (see the exact format in the original proposal). These commands may be invoked by the application start/stop handlers in CTLD (probably the best place to add the calls may be the 'event' scripts invoked by CTLD on start/stop).
The appliance's ' AppLogic ( TM) _appliance' initscript requests the configuration from the server that provided the DHCP response (e.g., the controller) and configures the appliance accordingly.
The controller-facing ACS interfaces may be designed as proxies to the back-end (which serves the configuration to the grid) and be capable of distributing it to multiple back-ends, if necessary. In the extreme, each DomO VM can own a config server back-end instance (which serves the appliances on that server only).
APPLIANCE STARTUP
For new para-virtualized appliances, the currently used boot loader may be replaced by the XEN-style embedded boot-loader (pygrub), which does not require the kernel and initial ramdisk to be available in DomO. Existing appliances may still be supported with the current boot method (but, in at least one embodiment, may be phased out, as appliances may be updated). For HVM appliances, XEN's hvmloader may be used, which also does not require anything to be read from the boot volume. This (along with not using vol fix in the controller) means that all file -level volume access during configuration may be phased out, when all appliances may be updated. Example Embodiments Of Potentially Affected Components in AppLogic (TM)
Controller: modify the appliance start/stop event scripts to invoke enable/disable commands in ACS. AB S - add support for specifying bootloader type (pygrub or hvm) - when bootloader may be specified, ABS assumes dynamic config for the instance and does not do vol fixup, instead it sends the instance descriptor to the 'config' command of ACS. When no bootloader specified, but the old '.os_type=(linuxlraw) may be used, the current vol fixup mechanism may be used. This makes the change backward-compatible (see Appendix for ADL syntax change details).
Controller (UI): "mounting" of volumes may be discontinued. (Assembling 'md' arrays in the controller may be kept for block-level copy, but this may be replaced with DomO-resident code, to allow better scheduling of such jobs and optimizing them by running them where the data source may be local).
Controller (UI): a new command may be added: "vol manage".
Controller (UI and backend): add symlink support: CLI option to create symlink ( vol create — link= realvolume) and modification of all commands that use volume names to accept symlinks.
Controller (GUI): interface to the 'vol manage' command and access to the filer application GUI.
Controller (backend): add the ACS service (although for now we may run ACS entirely on the controller, note that only the ACS control interface may preferably to reside on the controller, the actual daemons that serve configuration may run elsewhere and exist in more than one instance).
Controller (backend): re-implementation of all commands that use file-level volume access, to use a filer application instance instead of mounting the volume on the controller. Affected commands: vol copy (when used with — fscpy), vol create, vol resize (also, file system check/preen may use the same mechanism).
DomO scripts: modify volume type detection, to use a custom 'magic' descriptor for the 'file' command, instead of using 'file' with the default magic desc and parsing its verbose output. Add proper detection of the different flavors of UFS volumes (Solaris, Solaris x86, BSD, etc.).
VRM/DomO scripts: support VM startup with pygrub (in addition to the xen loader and hvm).
In at least one embodiment, the changes below may be only needed if pygrub support cannot be used for some reason:
* DomO scripts: add support for 'partitioned' volumes (for reading kernel & ramdisk images).
* XEN: build DomO with UFS and advanced partitioning options enabled. OTHER CONSIDERATIONS FOR DIFFERENT EXAMPLE EMBODIMENTS
In at least one embodiment, there may be various considerations for supporting locked appliances and user-provided filers.
For example, filers that may be certified (e.g., by a certification authority) may be allowed to perform operations on volumes of locked appliances or applications (locked appliances/applications prevent user's access to the data on the volume in order to (a) prevent disclosure of intellectual property/licensed product code/data, and (b) preserve the integrity of a particular appliance/application by preventing modification of the certified/official version). This may include operations like resize; operations that provide access (read-only or modify), such as "vol manage" may be disallowed over locked appliances.
It may be possible to allow users to define their own filer appliances and extend the file system mapping (e.g., to support custom file systems or a variety of disk construct, such as RAID, snapshots and differential file systems). These file appliances can provide the full functionality defined for filers, thus allowing users to easily extend the system to support other OS and file systems.
Such appliances, however, may be disallowed from performing any operations over volumes of locked appliances, because it may be possible for such custom appliance to perform additional operations (e.g., transfer out to the Internet a copy of the volume being resized). A certification process may be available to allow such appliances to manipulate locked volumes; it may be recommended that absent such certification, custom filer appliances may be not given volumes of locked apps or appliances.
Additional Functionality
In some embodiments, filer appliances my include other features and/or push now that such as, for example, one or more of the following (or combinations thereof).
"Hide" the filer application templates and instances from view (by prefixing their names with a '.' or some other symbol that identifies a 'hidden' application), or use the alternative below to avoid filer applications altogether.
Add a DNS service to the Appliance Config Server, to replace modifications to the /etc/hosts file in appliances. The service may be not a regular DNS server that matches a name to single IP address. Instead, it resolves the terminal names to IP addresses, depending on which appliance may be sending the request. The mapping may be updated dynamically from the information provided in the appliance instance descriptors (as given to the 'configure' command of the application config server).
Extension of the ' vol manage' command may be provided to enable a user to configure a public IP address & settings, as well as root password — all optional. They may be non- mandatory properties on the filer appliance; may be specified on 'vol manage' as variables (ip_addr=l . 2 . 3 . 4 root_pwd=secret, etc., — just like application provision). If set, the appliance may enable its external interface. One immediate benefit may be that it may allow the user to download things from the 'net. In at least some embodiments utilizing Cloudware -based systems and/or including automatic IP allocation (e.g., in AppLogic (TM)), this may become the default/easy. This allows users who log into the appliance to have network access, including possibly to the intranet or Internet, so files may be downloaded easily using tools like wget and the standard OS-specific tools, like rpm, yum, etc. It also allows for file upload/download to/from the appliance, using standard file protocols, such as ftp, scp, cifs, etc. (the same way as if the filer appliance was a physical server).
Alternative Embodiment(s) to the Filer Applications and Symbolic Links
Instead of having filer application templates and swarms of applications copied from them, abolish the filer apps in favor of a 'system appliance' that runs without being inside an application (like the controller does, for example). This approach also takes care of the need for volumes that may be 'symbolic links' - a 'system appliance' may be not bound by the ABS-inflicted rules of name locality and may be run with absolutely any volumes connected to it. In addition, this provides a degree of protection to the filer instances, as they're no longer exposed to user meddling (not being full-blown applications that may be visible/editable via the GUI). Achieving the same at the application level may require additional infrastructure to give different apps a different status in the system.
In an alternate embodiment, the filers may also provide block-level copy operations, thus allowing to "outsource" the I/O intensive operation to an appliance/VM with its resources and resource quota. This may be a separate appliance (e.g., block-level appliance, that may be file system and OS -independent); or one or more of the other appliances may support block-level operations. Block-level operations may include: copy, wipe/erase, import/export from external storage, encrypt/decrypt, compress/decompress, migrate to/from another system, synchronize with remote volume, etc.
In one embodiment, the filer may be implemented using a Live -CD or similar version of the operating system that provides the necessary file system drivers, using only read-only boot volumes. This allows the filer to be started quickly, without provisioning a read-write volume. In addition, the filer OS configuration may be optimized (e.g., using JeOS - "just enough OS") to remove services that may be not used by the filer operations, so that the filer appliance/VM can start and shutdown faster and require less resources.
In another embodiment, an open-source OS may be used to support filer operations for a file system that may be native to a licensed OS. For example, Linux with NTFS-3G driver (from http://www.ntfs-3g.org/) may be used to provide filer operations over NTFS volumes, without requiring a license for a Windows appliance/VM. In another example, a free and open source implementation of an OS, such as ReactOS (http://www.reactos.org) may be used in order to reduce license costs or improve another aspect of the operation (e.g., faster boot, less resources). OTHER FEATURES, BENEFITS, ADVANTAGES
In at least one embodiment, one or more different filers can have drivers for foreign file systems (e.g., a Linux filer can have NTFS drivers).
More than one filer can support the same file system; the system can pick the fastest or the most appropriate. It may be also possible to provide read-only file system drivers for foreign file systems (e.g., an ntfs driver in Linux, or an ext3 driver in Windows), allowing appliances to copy files from a foreign file system to a file system they fully support
It may be possible to create assembled filer applications, in which there may be two or more filers. This may be used, for example, to mount a source file system volume on a Windows- based filer and a destination file system volume on a Linux-based filer; the filers can then copy files from one to the other, using a standard network file system protocol, such as nfs or cifs, or a file transfer protocol, such as ftp, rsync, bittorent.
The filers can provide multiple volume stream slots for each volume, allowing a filer to mount a composite volume including of multiple streams (e.g., RAID-5, RAID-Z, or simply volume spanning (concatenation of volumes to increase total capacity). To do this, instead of having a single source volume, for example, the filer may have src_streaml, src_stream2, etc.; the filer can then inspect which volume streams were provided to it and construct the composite volume (aka, volume pool, volume set, raid array) and access the file system that spans the multiple streams. Can also be used for recovering mirror and checksum streams (e.g., in RAIDl and RAID5).
The filers may allow dynamical addition and removal of volumes. This may allow the system to keep a filer running at all times, and attaching to it volumes dynamically, performing the desired operations, and detaching the volumes. This allows for a faster operation (i.e, without having to provision and start a new filer for every operation). A modification of this approach may have a system keep a dynamic pool of filer appliances of various types, adding and removing "worker" filers to the pool as need for file operations arise (sizing the pool down to 0 if, e.g., no filer ops were performed in an hour; starting multiple filers, of the same or different types, for as long as multiple file system operations may be performed concurrently); when choosing the number of filers in the pool, the system can take into account how much resources may be available in the system (e.g., to still leave resources available for other applications.)
Various techniques described herein may be used on any system (not only AppLogic (TM)). For example, in Amazon EC2, a filer may be a virtual machine instance; in VMware, Xen or Parallels, the filer may be a VM that may be started on demand (automatically or on request) when volume access may be required. All the variations apply, including the composite filers (e.g., starting two VMs that transfer files between each other over a network file system protocol or a file transfer protocol). MAPPING FILE SYSTEMS TO FILER APPLICATION TEMPLATES
In at least some embodiments, there may be a mapping between file system type and the name of the filer application to use when performing operations over a volume of that type. Description:
1. Add the following new attributes for each file system type: a. filer - name of the filer application template to use b. label - human-readable name for file system, displayed by GUI c. comment - optional comment describing the type of file system
2. The file system section of AppLogic (TM). conf may have the following format: file systems
{ ext2 : min_size=1 M, filer=apl_3t_filer_linux, Iabel=ext2 , comment="ext2 file system" ext3 : min_size=5M, filer=apl_3t_filer_linux, Iabel="ext3 (journal)" , comment="ext3 file system" fat32 : min_size=40M, filer=apl_3t_filer_linux, Iabel=fat32 , comment="FAT32 file system" reiserfs : min_size=40M, filer=apl_3t_filer_linux, label=reiserfs , comment="reiserFS file system" swap : min_size=32M, filer=apl_3t_filer_linux, label=swap , comment="swap" raw : min_size=1 M, label=raw , comment="Unrecognized file system" solufs : min_size=50M, filer=apl_3t_filer_solaris, label="Solaris ufs, comment="Solaris UFS file system" ext3-snapshot : min_size=50M, filer=apl_3t_linux, Iabel="ext3 Snapshot", comment="ext3 snapshot (backup)"
}
3. Whenever the system needs to provision a new filer application from the template specified in the "filer" field, for manipulating a particular volume, it can choose a randomly assigned temporary name (e.g., a globally unique identifier/random number), or a name produced from the name of the target volume (e.g., filer_linux-sample_application- web_server-boot_volume) .
4. Some pseudo-file system types, like swap, may also use a filer that may prepare the volume for a particular OS.
GENERIC FILE SYSTEM OPERATIONS
AppLogic (TM) may be being modified to perform all file-level volume operations using a new Filer application so as to provide OS-independent support. In addition, the following new volume commands may be being added: manage, fscheck, and fsrepair. Description: 1. For all operations, the name of the filer application instance may be comprised of a prefix "AppLogic (TM)_Filer_" followed by the destination volume name with all dots replaced by dashes.
2. When an error occurs due to inability to create, configure, provision, create symbolic links, or start the filer application, an error message may be displayed to the user stating that the operation failed and specifies the reason for the error. In addition, the error message may be logged to the system log.
3. Modify vol_mkfs() helper to perform the following: a. Read AppLogic (TM). conf to retrieve mapping between file system types and filer applications. b. Determine the name of the filer application. c. If the filer application already exists, display the error message 'Failed to install file system on volume '<vol>' - the volume may be currently being managed" and fail the operation. d. Provision an instance of the filer application and configure mode=format and fs_type properties (specifies — skipstart on the 3t application provision command) i. If it fails, fail the operation with "Failed to install file system on volume <vol> - failed to provision filer application." and write the reason for the failure to the system log. e. Create a symbolic link to the volume that may be to be formatted with a name of '<filer_application>.user.dst'. If the symbolic link already exists, then reuse the link. f. start the application i. if it fails, destroy the link and the application and fail the operation with "Failed to install file system on volume <vol> - Failed to start the filer application possibly due to insufficient resources." g. Collect status from the filer application by executing wget '/application/status ?op=format' on the default interface of the filer appliance once every poll interval returned by the filer. h. If an error occurs, display message containing the error text returned by the filer, i. When done, stop and destroy the application which also destroys the link.
4. Modify the vol_fscpy()helper to perform the following a. Read AppLogic (TM). conf to retrieve mapping between file system types and filer applications. b. Determine the name of the filer application. c. If the application already exists, display the error message "Failed to copy volume <vol> - the volume may be currently being managed" and fail the operation. d. Provision an instance of the filer application and configure mode=fscopy, fs_type, and fs_options properties (specifies — skipstart on the 3t application provision command) i. If it fails, display error message "Failed to copy volume <vol> - Failed to provision filer application" and write message to the system log stating the reason for the failure, and fail the operation. e. Create a symbolic link to the source volume - name may be '<filer_application>.user.src' - if fails, display error message to user, write message to the system log, destroy the application and fail the operation. If the symbolic link already exists, then reuse the link. f. Create a symbolic link to the destination volume - name may be '<filer_application>.user.dst' - if it fails, display error message to user, write message to the system log, destroy the source symbolic link and the application. If the symbolic link already exists, then reuse the link. g. Start the application i. If it fails, destroy the links and the application and fail the operation with "Failed to copy volume <vol> - Failed to start the filer application possibly due to insufficient resources." and write a message to the system log stating the real reason for the failure, h. Collect status from the filer application by executing wget
7application/status?op=fscopy' on the default interface of the filer appliance once every poll interval returned by the filer. i. If an error occurs, display message containing the error text returned by the filer, j. When done, stop and destroy the application (which also destroys the links) 5. Add a new helper - vol_manage a. Read AppLogic (TM). conf to retrieve mapping between file system types and filer applications. b. Determine the name of the filer application. c. if abort may be specified i. Retrieve IP of running filer appliance and execute ps to find all ssh sessions related to the appliance and execute 'kill -9' for each ssh session found, ii. Stop and destroy the filer application and return d. If the filer application already exists, display the error message 'Failed to manage volume '<vol>' - the volume may be currently being managed." and fail the operation. e. Provision an instance of the filer application and configure mode=manual, fs_type, read_only, and optionally the IP-related settings (ip_addr, netmask, gateway, dnsl, and dns2) properties (specifies — skipstart on the 3t application provision command) i. If it fails, fail the operation with "Failed to manage volume <vol> - Failed to provision filer application." and writes the reason for the failure to the system log. f. Create a symbolic link to the volume that may be to be managed with a name of '<filer_application>.user.dst'. If the symbolic link already exists, then reuse the link. g. start the application i. If it fails, destroy the link and the application and fail the operation with "Failed to manage volume <vol> - Failed to start the filer application possibly due to insufficient resources." and writes the reason for the failure to the system log. h. Display URL for volume access (http://<dflt ip>/monitor) i. If 'nossh' was provided, and return success j. Retrieve the IP address of the running filer component and execute '3t ssh' into the component, k. When the ssh session terminates, stop and destroy the filer application (which destroys the symbolic link) and return the status of the ssh command. Add new helpers vol_fscheck and vol_fsrepair whose operation may be identical to vol_mkfs with the exception of the parameterization of the filer application - mode=fschk or mode=fsrepair and the error message that may be displayed.
The volume management commands preferably invoke the above helpers as follows: create :
Validate arguments, etc. create volume - call clihlp::vol_create() - this invokes 3tctl to create the volume
If file system type may be not raw, call clihlp::vol_mkfs() format
Validate arguments, etc.
Invoke clihlp::vol_mkfs() resize
Validate arguments, etc. invoke clihlp:::vol_fscopy passing source & destination volumes destroy the old volume & rename the temporary volume to the old volume copy
Validate arguments, etc.
If -fscopy not specified, invoke clihlp::vol_copy which performs block-level copy
If -fscopy may be specified, invoke clihlp::vol_fscopy() manage validate arguments, etc. invoke clihlp::vol_manage() fscheck
Validate arguments, etc. invoke clihlp::vol_fscheck() fsrepair
Validate arguments, etc. invoke clihlp::vol_fscheck()
It will be appreciated that one or more of the various techniques described herein may be adapted for use with respect to one or more different standardized specifications, protocols, customized or proprietary systems, etc. Accordingly, at least some of the embodiments disclosed or contemplated in this application have been described in a manner which is intended to help facilitate standardization and/or compatibility with various different standardized specifications, protocols, customized or proprietary systems, etc. Accordingly, the language used to describe the least a portion of such embodiments may include narrowly-defined, absolute and/or unambiguous terms (such as, for example, the terms "must", "shall", "required", etc.). However, it will be appreciated, that the descriptions of such embodiments are merely intended to provide descriptions of specific example embodiments (e.g., Filer Linux filer appliance, Filer Solaris filer appliance, Filer Windows filer appliance, etc.), but are not intended to limit the scope of the disclosure of this application only to such embodiments as explicitly described. Moreover, it is contemplated that alternative embodiments of those explicitly described herein may be derived by modifying one or more of the various features or aspects described herein, as would readily be appreciated by one having ordinary skill in the art.
FILER LINUX, FILER SOLARIS, FILER WINDOWS03: FILER APPLIANCES FUNCTIONAL OVERVIEW
Filer_Linuχ may be an appliance that provides filesystem-level access to a volume with a Linux file system. Filer_Linuχ supports the following Linux file systems: ext2, ext3, fatlβ, fat32, reiserfs, swap, and ext3-snapshot (ext3 over LVM with snapshots) and supports the following modes of operation:
• format: format the volume to the specified filesystem (e.g., execute mkf s)
• f scopy: perform a filesystem-level copy from one volume to another, the destination volume may be formatted prior to the copy
• f s ck: check the file system on the volume
• fsrepair: check and repair the file system on the volume
• manual: provide interactive, user-level access to the volume through both a Web GUI and root shell (through SSH), as well as programmatic access over a communications link, such as network interface (e.g., using ssh, scp access protocols and/or a network file system protocol such as CIFS or nfs).
In manual mode, Filer_Linuχ provides GUI access and root shell to the volume through its default interface. In this mode, Filer_Linuχ also optionally provides external network access in order for the user to copy files to and from the volume (manually or programmatically) .
Filer_Solaπs may be a filer appliance that provides filesystem-level access to a volume with a Solaris file system. Filer_Solaπs supports the following file systems: ufssol and zfs. It supports the same modes of operation as the Filer_Linuχ appliance.
Filer_Windows03 may be a filer appliance that provides filesystem-level access to a volume with a Windows file system. Filer_Windows03 supports the following file systems: ntfs and ntfsO3. It supports the same modes of operation as the Filer_Linuχ appliance.
The Filer appliances may be used internally by AppLogic(TM), e.g., in response to a volume operation request, or may be provisioned as a regular appliance or applicationand may not be used in regular AppLogic(TM) applications.
Filer_Windows03 may be distributed without the windows placeholder volume which may be required for it to boot and perform its operations.
In at least one embodiment, one or more filers support manual access mode with both single volume AppLogic(TM) 2.4.7+ supports manual mode operations over and two volumes.
Figure imgf000066_0001
BOUNDARY
Resources
Filer Linux resources
Figure imgf000067_0001
Resource Minimum Maximum Default CPU 0.10 0.10 0.10
Memory 384 MB I GB 512 MB
Bandwidth 1 Mbps 1 Mbps 1 Mbps
Terminals
Name Dir Protocol Description
None
The external interface may be enabled. It may be used for incoming and outgoing traffic and its network settings may be configured through properties. It may be preferably may be only used in the manual mode and may not be configured in one or more other modes.
The default interface may be enabled. It may be used for maintenance, ssh shell access and for submitting requests for file system operations. Also, in the manual mode, it may be used for accessing the Web GUI that may be preferably provided in the filers. User Volumes
Volume Description src Source volume for filesystem-level volume copy or management of two volumes in AppLogic(TM) 2.4.7+. Always mounted read-only (except may be mounted read-write by the Windows03 filer as may be needed to update the partition unique ID). May be left unattached (e.g., for operations that utilize a single volume, such as, for example fsck). mode be
Figure imgf000068_0001
Properties
Figure imgf000068_0002
Figure imgf000069_0001
Operation modes
The following table lists the supported modes depending on the file system type: for at least one of the supported file systems:
Figure imgf000069_0002
In manual mode:
• for one or more file systems, but swap, the volume may be mounted on /mnt/vol.
• for a swap volume, the block device may be accessible on /dev/hda4. Filesystem options
This section lists the preferred file system options (as specified on f s_options) for at least one the file systems supported by Filer_Linuχ.
• ext2 o None
• ext3 o None
• fat 16 o None
• fat32 o None
• reiserfs o None
• swap o None
• ext3 -snapshot o vol_group_name: string, name of the LVM volume group to create on the dst volume. If empty, randomly generate a volume group name. Default: (empty). o data_percentage: integer, percentage of the volume that may be used to store data, remaining portion of the volume may be for snapshots. Default: 80 (80% of the volume may be for data).
• ufssol o None
• zfs o pool_name: name of the zpool to create on the dst volume. If omitted, the vol_name property value may be used instead. o mountpoint: mountpoint of the root dataset of the created zpool. Valid values may be: an absolute path, e.g. /mnt/mypool, legacy and none. Datasets with legacy mounts may not be automatically managed by zfs but may be specified desirable with entries in /etc/vfstab or used with manual mounting. Datasets with mountpoint of none may not be mountable. Default: /pool_name. o autoreplace: controls automatic device replacement. If set to off device replacement may be manually initiated using zpool replace; if set to on any new device found in the same physical location may be automatically formatted and replaced. Default: off. o delegation controls whether a non-privileged user may be granted access based on permissions defined on datasets. Valid values may be off and on. Default: on. o f ailmode: controls behavior in the event of failure. Valid values may be wait, continue and panic. Default: wait. o version: zpool version. Valid values may be 1 - 10. Default: 10 (current).
• ntfs and ntfsO3 o volume_label: the volume label for the dst volume. If empty, the vol_name property value may be used instead. o active: create the new partition as active (bootable). Valid values may be yes and no. If omitted, the default value of no may be used during format while the value defaults to the src volume type during f scopy Interface
The Filer appliances may provide an HTTP interface on their default interface in order to collect status on non-manual volume operations and to access the Web GUI when in manual mode. The following functions may be available by URL:
• / : interactive access to the dst volume through the Web GUI, only available in manual mode
• /api / status: returns the status for the current volume operation, only available in non- manual mode o The format of the output may be the following: [progress=iY, ] poll=x, status=Y, errortxt=Z
■ progress: integer, 0..100, progress of the current operation. If progress cannot be reported, then the progress field may not be returned. Progress may not be reported for the following modes:
■ format for one or more file systems
■ f sck and f srepair for one or more file systems, but ext2, ext3, ext3-snapshot, and ufssol
■ poll: integer, recommended status poll interval, in seconds.
■ status: integer, status of the volume operation. See below for the list of statuses that may be returned by Filer_Linuχ. ■ errortxt: string, error message, if an error occurred (e.g., non-zero status) o The following may be the list of statuses that Filer_Linuχ may return in the status field for a specific volume operation:
■ 0 - success
■ 100 - operation failed
■ 101 - operation not supported
■ 102 - operation not implemented
■ 103 - operation canceled
■ 104 - I/O error
■ 200 - no space left on volume
■ 201 - file system errors detected
■ 300 - out of memory
■ 400 - pending Web GUI
In at least one embodiment, the Filer appliances may use a web-based file manager named eXtplorer (e.g., from http://extplorer.sourceforge.net/) to provide the Web GUI access to a volume (accessible preferably only in manual mode). eXtplorer may be released under the GNU GENERAL PUBLIC LICENSE Version 2. The version of eXtplorer used in the filers may be preferably have been modified; t. The following may be the changes to eXtplorer:
1. Removed the login.
2. Updated eXtplorer not to display its own files.
3. Changed the file list to show the target for one or more links under the "Type" column.
4. Changed the tooltip generated when the mouse ismay be over a directory in the directory list to show the symlink target if the directory may be may be a symlink.
5. Changed symlink creation through the GUI to support orphaned links.
6. Changed delete file through the GUI to support deletion of symlinks.
7. Added an interface for editing the volume base path for any available volume (e.g., for presenting the symlinks as they will appear in the appliance that may access the volume).
8. Changed the generation of file & directory lists to support links.
9. Resolve relative & absolute links which include '..'.
10. Add UI for chgrp/chown, allowing numeric entries only.
11. Add owner/group to the file display.
A specific example embodiment of an eXtplorer Volume Browser GUI as illustrated in Figure 12 of the drawings. In at least one embodiment, the user interface may have 3 sections: a directory tree, a button bar and a detail object list.
The directory tree may represent the directory structure of the user virtual storage volume. The button bar may include buttons that may be operated to invoke various filesystem operations. The detail object list may show the contents of the selected directory.
Symbolic links may be resolved as follows:
• A link whose target may be defined as a relative path (e.g.,. . /example) may be shown in the directory tree if the target resolves onto the volume; otherwise it may be shown in the file list as an orphaned link.
• A link whose target may be defined as an absolute path (e.g., /mnt/ content/example) may be shown in the directory tree if the target resolves onto the volume using the volume basepath; otherwise it may be shown in the file list as an orphaned link. The volume base path indicates the path to the volume when it may be in use within an appliance (where the volume may be mounted within the appliance). For example, if the volume may be normally mounted as /mnt / content / within the appliance, then setting the volume basepath to /mnt/ content/ allows the Volume Browser to resolve absolute links which target /mnt/content /. The volume basepath may be set using the toolbar button for setting the basepath.
In at least one embodiment, the button bar may include various buttons representing functions (operations) to be performed, such as, for example, one or more of the following (or combinations thereof):
Figure imgf000073_0001
Figure imgf000074_0001
The eXtplorer licenses and the source to the original un-modified eXtplorer may be found on the Filer appliances in /mnt/monitor/ . volume_browser/LICENSES/. ZFS Implementation Specifics
Filer_Solaris may supports zfs pools containing a single virtual device to allow users access to zfs volumes in the same manner as volumes using other file systems such as ufssol. More complex pools using multiple devices may be created manually using raw volumes within an AppLogic(TM) appliance, but such volumes may not operatecannot be used with Filer_Solaris. ZFS filer operations may be constrained to the following behaviors.
• Pools may be created using the altroot property. As a result the mountpoint of the root dataset may be explicitly set, rather than defaulting to the pool name. This may be due to a bug in the current zpool command which sets the default mountpoint to /altroot rather than /altroot/pool_name.
• f srepair preferably executes zpool scrub and returns a single line of status on completion; either success or failure. However, zpool scrub may be executed live on any pool within a running appliance and displays much more information in the event of a problem.
• f scopy supports only file system datasets (volume, snapshot and clone datasets may not be copied). Administrative permissions may not be preserved by f scopy.
• While the zpool version may be set with f s_options on create, the zfs version of the root dataset may be 2, which may not be backwards compatible with version 1. Solaris 10 appliances use zfs version 1. To use zfs pools with Solaris 10 appliances, create the pools manually from raw volumes rather than using Filer_Solaris.
• The Solaris filer does may be disabled not to support root zpools (zfs boot volumes) in order to avoid a possible bug . There may be a bug in OpenSolaris 2008.05 which renders a root zpool un-bootable once it has been imported into another Solaris OS.
NTFS Implementation Specifics
Please carefully note the following implementation specifics and behaviors of Filer_Windows03 :
• Filer_Windows03 operations may be limited to: o basic disks only (not dynamic disks) o MBR based partions only (not GUID based partitions) o exactly one primary partition per disk
• Short names may be enabled.
• f scopy operations may be performed with the robocopy utility. As a result, compressed source files may be un-compressed on the destination volume. When performing a filesystem-level copy of a volume, be certain to leave enough room on the destination volume to account for this. If you copy the boot volume of a Windows appliance and the destination volume does not have sufficient free space, Windows will fail to boot (even though the copy operation proceeded without error). The recommended minimum free space for a Windows 2003 Server Standard Edition appliance may be 1.25 GB, although in practice the OS will boot with less, robocopy does not support circular junction point references. If such references exist, the f scopy operation will fail.
• If, during vol manage, you want access to the console but do not know the Administrator password, ssh to the appliance from a 3T shell and execute net user Administrator new-password to set a new Administrator password.
• Local user account SID's on a volume mounted on Filer_Windows03 may not be recognized by Filer_Windows03. In manual mode, files owned by local user accounts may will display without a recognized user name.
• Filer_Windows03 may boots from a small ext3 volume with GNU GRUB installed. Grub may be used to hide the first primary partition of the src volume during f scopy and of the src and dst volumes during manual operation. The Windows bootloader ntldr may not be equipped to discriminate among mulitple active (bootable) partitions, and so grub may be used to prevent Filer_Windows03 from possibly booting from the wrong active partition. Upon successful start, the hidden partition, if any, may be un-hidden so that filer operations may proceed. o If Filer_Windows03 abnormally terminates after grub has hidden a partition but before it has been un-hidden, the partition will may be left in a hidden state. While it may be very unlikely that this may occur, if it does, simply vol manage the affected volume and exit. This will restore the partition to its normal state. To avoid this potential problem, do not ctrl-c to terminate a filer operation while the filer may be early in the boot process. o Unlike other ext3 volumes under AppLogic(TM), the small ext3 boot volume of Filer_Windows03 has an MBR. As such, it cannot may not be manageabled with Filer_Linux, and filesystem level copy operations over it using Filer_Linux may also will also fail. If you would like to use this volume as the basis for your own custom grub-based appliance, you may access this volume as follows:
■ Create a new application including a branched LUX5 with a placeholder volume.
Copy the Filer_Windows03 grub volume to this application: vol copy Sys_Filer_Wmdows03 : mon . grub application-name : volume -name
■ Start the new application and open a shell on the branched LUX5: mkdir /mnt/tmp; mount -text3 -oloop=/dev/loopO , of f set=32256 /dev/hda3 /mnt/tmp. You may now access the filesystem of the copy of the grub volume at /mnt/tmp. EXAMPLE USAGE
The following sections describe the configuration of Filer_Linuχ in several typical use cases: Formatting a volume
Example:
Figure imgf000077_0001
Filer_Linuχ preferably executes mkf s over the dst volume, specifying a filesystem type of reiserfs. Formatting an ext3-snapshot volume
Example:
Figure imgf000077_0002
Filer_Linuχ creates a volume group named VGVOL on the dst volume. It then creates a partition named data in the volume group. This partition uses 75% of the space on the dst volume and may be formatted with ext3. The remaining partition may be for snapshots and may be named snap. Filesystem-level volume copy
Example:
Figure imgf000077_0003
Filer_Linuχ formats the dst volume to eχt3 with mkf s. It then mounts the src volume read-only and mounts the dst volume read-write. Finally, Filer_Linuχ copies the contents of the src volume to the dst volume using cp and unmounts both volumes. file system check
Example:
Figure imgf000077_0004
Figure imgf000078_0001
Filer_Linuχ executes fsck on the dst volume. File system check with repair Example:
Figure imgf000078_0002
Filer_Linuχ executes fsck with the repair option on the dst volume. User-level access to volume Example:
Figure imgf000078_0003
Filer_Linuχ mounts the dst volume read-write at /mnt/vol. It then starts the eXtplorer GUI and starts sshd, which gives the user root access to the volume. The GUI may be accessible through the default interface and any file transfers to/from the volume may be through the external interface. NOTES
• The Linux Filer may be based on Ubuntu 7.04
• The Solaris Filer may be based on OpenSolaris Build 2008.05
• The Windows Filer may be based on Windows Server 2003 Standard Edition R2 32- bit
• The Windows Filer preferablyby default uses a random Administrator password for security purposes. If this may not be may be not desired, change the password as described in the Windows Appliance Notes.
• In non-manual mode, there may be no SSH or GUI access for improved security of the operation (e.g., without allowing user access) FILER LINUX - LINUX FILER - IMPLEMENTATION DESIGN BASE CLASS
The Linux Filer may be based on an Ubuntu LUX -like appliance, based on Ubuntu 7.04. CLASS VOLUME
The volume configuration for the Linux Filer appliance may be determined by the base class image from which it may be created.
The Linux Filer appliance preferably uses a read-only, shared boot volume in order to reduce the startup time. One possible embodiment may use a boot volumemay not be sensitive to the volume configuration and will work on most any setup. The setup chosen for the 1.2. release may be as follows:
• boot volume:of 225 MB, mounted as "/", read-only, common The base class image preferably contains a minimum Ubuntu installation. PACKAGES
The Linux Filer may contains the following additional packages:
• apache-2.2.3-3.2ubuntu2
• ftp-0.17-16
• lftp-3.5.6-lbuildl
• ncftp-3.2.0-1
• lvm2-2.02.06-2ubuntu9
• eXtplorer-2.0.0_RCl-l Scripts
The Linux Filer contains the following scripts, which implement the functionality of the filer. In the appliance, these scripts may be stored at /usr/local/appliance/scπpts/.
• format . sh - setup the filer to operate in format mode (e.g., execute mkf s on the dst volume)
• f scopy . sh - setup the filer to operate in f scopy mode (e.g., mount both src and dst volumes and cp contents from src to dst)
• f sck . sh - setup the filer to operate in f sck mode (e.g., execute f sck on the dst volume)
• f srepair . sh - setup the filer to operate in fsrepair mode (e.g., execute f sck with repair option on the dst volume)
• manual . sh - setup the filer to operate in manual mode (e.g., mount the dst volume, start ssh, setup external interface)
• get_cp_progress . sh - estimates and returns the current progress for cp, in percentage. Called by the f scopy . sh script. • setenv . sh - sets various environment variables used by other scripts
The scripts corresponding to the mode property may be invoked by / et c / sysconf ig/ appliance . sh. Contents of the release directory
Exported appliance image
• filer_linux-l . 2 . 1-1 . tar . bz2 Appliance sources
• filer_linuχ-l . 2 . 1-l-src . tar . bz2 : tar of one or more the scripts used to recreate the appliance
Tests
• filer_lmuχ-tst . tar . bz2: Linux Filer test scripts Re-install Procedure
Here may be theThe following steps may be used to create a Linux Filer appliance from an Ubuntu LUX appliance on an AppLogic(TM) grid (This may may require maintainer access to the grid):
1. Copy and uncompress filer_linuχ-l . 2 . 1-1-src . tar . bz2 on the grid controller.
2. Execute the mklmux . sh script: sh mklmux . sh, which performs the following: o imports the Ubuntu LUX (ULUX) to the /proto catalog o rename the ULUX appliance to Filer_Linuχ o mount the boot volume of F 11 e r _L i n u x for read- write o remove one or more unnecessary services (e.g., syslog, cron, etc.) o copy eXtplorer to the boot volume o copy one or more mkfs and fsck scripts to the boot volume o copy filer-specific scripts to the boot volume o unmount the boot volume o export the Filer_Lmuχ class o tar and zip the Filer_Linuχ class export o NOTE: One or more operations may be logged to mklmux . log. Check the log in case of any failures.
3. Find the Linux Filer release tar, Filer_Linuχ-l . 2 . 1-1 . tar . bz2, under /vol /_impex.
THEORY OF OPERATION
Filer_Linuχ may be a standalone appliance that provides filesystem-level access to a volume with a Linux file system. CONFIGURATION External network setup
Filer_Linuχ has anmay have external interface which allows the appliance to communicate with the outside world. When the external interface needs to be configured, Filer_Linux may invokes the /usr/local/appliance/appliance_netsetup . sh script to configure the external interface (similar to the script with the same name found in one or more AppLogic(TM) gateway applainces).
The /usr/local/appliance/appliance_netsetup . sh script assigns ip_addr (if one ismay be specified) to the external interface. This script also sets the netmask and gateway, as well as setting the DNS servers. LOG FILES
Filer_Linuχ does not create any additional logs. One or more logging services may be disabled.
FILER SOLARIS - SOLARIS FILER - IMPLEMENTATION DESIGN BASE CLASS
The Solaris Filer may be based on OpenSolaris build 2008.05 or 2008.11. It has no base class. CLASS VOLUME
The Solaris Filer preferably has a single volume with the following parameters:
• boot volume: 900 MB, mounted as "/", read- write PACKAGES
The Solaris Filer may contains the following additional packages:
• apache -2.2.8
• php-5.2.5
• eXtplorer-2.0.0_RCl-8 Scripts
The Solaris Filer contains the following scripts, which implement the functionality of the filer. In the appliance, these scripts may be stored at /appliance/scripts/.
• format . sh - setup the filer to operate in format mode (e.g., execute mkf s on the dst volume)
• f scopy . sh - setup the filer to operate in f scopy mode (e.g., mount both src and dst volumes and cp contents from src to dst)
• f sck . sh - setup the filer to operate in f sck mode (e.g., execute f sck on the dst volume) • f srepair . sh - setup the filer to operate in fsrepair mode (e.g., execute f sck with repair option on the dst volume)
• manual . sh - setup the filer to operate in manual mode (e.g., mount the dst volume, start ssh, setup external interface)
• get_cp_progress . sh - estimates and returns the current progress for cp, in percentage. Called by the f scopy . sh script
• get_scrub_progress . sh returns the current progress of scrub as a percentage. Called by the f srepair_zf s . sh script
• setenv . sh - sets various environment variables used by other scripts
• zf s_copy . php - copies filesystem datasets from src to dst pools
• z f s_cpio . sh - cpio helper script for filesystem dataset copy
• zpool_size . php prints pool size, used and available space in Kb to stdout
The scripts corresponding to the mode property may be invoked by /appliance /appliance . sh Contents of the release directory
Exported appliance image
• filer_solaπs-l . 1 . 0-1 . tar . bz2 Appliance sources
• f iler_solaπs-l . 1 . 0-1-src . tar . bz2: tar of one or more the files used to recreate the appliance
Tests
• f iler_solaπs-tst . tar . bz2: Solaris Filer test scripts RE- INSTALL PROCEDURE
The following Here may be the steps may be used to create a Solaris Filer appliance on an AppLogic(TM) grid (In one embodiment, this may may require maintainer access to the grid): Preparation
• Copy and uncompress f iler_solaπs-l . 1 . 0-1-src . tar . bz2 on the impex volume of the grid controller. The archive extracts its contents into the directory wo r k_F lie r_S o 1 a r i s .
• Include the current eXtplorer and Solaris APK in this directory. Edit the file setenv . sh to use current version settings.
• On domO of srvl create a directory /var/AppLogic (TM) /osol_f iler_build. From /vol/_impeχ/work_Filer_Solaπs on the controller, scp the archive f iler_solaπs_domO . tar . gz to this directory and unpack it. The archive contains configuration files for xm create. • Download os.200805.iso from http://www.opensolaris.org to the impex volume, and then push it using scp to the domO working directory.
Create an installed ZFS image
On domO, in /var/AppLogic (TM) /osol_f iler_build:
• Get the kernel and ramdisk used to boot the cd image onto the local filesystem: o mkdir tmp o mount -o loop os200805.iso tmp o cp tmp/boot//platform/i86xpv/kernel/amd64/unix. o cp tmp/boot/x86.microoot . o umount tmp o rmdir tmp
• dd if=/dev/zero of=disk-image bs=lk seek=3071k count=lk
• losetup /dev/loopO disk-image
• xm create -c osol-2008 . 05-mstall
• patch the kernel at the kmdb prompt:
• Welcome to kmdb
• Loaded modules: [ unix krtld genunix ]
• [O] > gnttab_init+Oxce/W 403
• gnttab_init+Oxce: 0x3 = 0x403
• [0]> :c
• Login as user jack with password jack and start a vnc server: o mkdir . vnc; cp . Xclients . vnc/xstartup o vncserver
• Use if conf ig xnf 0 to get the IP address of the VM and point a vnc client at IP:5901. (you may obtain TightVNC viewer at http://www.tightvnc.com/)
• Perform the install. Set a root password. Do not create an additional user. Do NOT reboot. Open a root terminal session and make the kernel patch on the installed image:
• # mdb -w /a/platform/i86xpv/kernel/amd64/unix
• > gnttab_init+Oxce?W 403
• unix1 gnttab_init+Oxce: 0x403 = 0x403
• > $q
• Copy the patched kernel and ramdisk to a remote location:
• /usr/bin/scp -S /usr/bin/ssh
/a/platform/i86xpv/kernel/amd64/unix REMOTE-IP : /unix- patched-amd64-osol .2008.05 • /usr/bin/scp -S /usr/bin/ssh /a/platform/i86pc/amd64/boot_archive REMOTE- IP : /boot_archive-amd64-osol .2008.05
• Use scp to pull these files to the grid controller and then push them to the domO working directory.
• In the VM console shutdown -y -i O -gO Create a UFS image from the ZFS image
On domO, in /var/AppLogic ( TM) /osol_f iler_build:
• dd if=/dev/zero of=disk-image-ufs bs=lk seek=3071k count=lk
• dd if=/dev/zero of=disk-image-filer bs=lk seek=899k count=lk
• losetup /dev/loopl disk-image-ufs
• losetup /dev/loop2 disk-image-filer
• xm create -c osol-2008.05-copy
• Login as root and perform the following: o TERM=xterm o export TERM o tput reset o echo 'set xnf :xnf_cksum_offload = 0' >>/etc/system o svcadm disable svc : /network/physical : nwam o svcadm enable svc : /network/physical : default o cp /etc/nsswitch. dns /etc/nsswitch . conf o edit /etc/ ssh/ sshd_conf ig and set PerraitRootLogin yes (use:
: %s/PermitRootLogin no/PerraitRootLogin yes/g) o /lib/svc/method/sshd resart o scp uf s-create-image . sh from /vol/_impex/work_Filer_Solaπs on the controller to / on the running ZFS VM and execute it. This script performs the following operations:
■ create a UFS volume on c4dlsθ and mount it on /ufs
■ copy the root filesystem, /devices and /dev to /ufs
■ fix the device names on /ufs
■ create additional needed directories in /ufs o Edit /ufs/etc/vfstab and replace the existing entries for / and /tmp with: o /dev/dsk/ c OdO s O /dev/ rdsk/ cO dO s O / ufs 1 no noat ime o swap - /tmp tmpf s - ye s o bootadm update-archive -R /ufs o shutdown -y -gO -i θ Modify the UFS image in Preparation for Making the Appliance
On domO, in /var/AppLogic ( TM) /osol_f iler_build, boot the newly created UFS image
• xm create -c osol-2008.05-ufs-pygrub-run
In /vol /_impeχ/work_Filer_Solaπs on the controller execute. /ufs-modify . sh IP where IP may be the IP address of the running VM. This script performs the following operations:
• install the Solaris APK, Apache, PHP, and eXtplorer
• disable initrd ramdisk creation
• disable unnecessary services
• uninstall unnecessary packages
• bootadm update-archive
• disable boot-archive-update service
• disable ssh service
Check the log file uf s-modif y . log in case of any failure.
In the VM console, shutdown -y -gθ -i θ. Resize the UFS image
To accomplish the resize, boot the ZFS image and copy the UFS filesystem to a smaller volume. On domO, in /var/AppLogic ( TM) /osol_f iler_build:
• xm create -c osol-2008.05-copy scp uf s-resi ze-image . sh from /vol/_impex/work_Filer_Solaπs on the controller to / on the running VM and execute it. This script performs the following operations:
• mount the modified UFS image on / src
• create a UFS volume on c4d2sθ and mount it on /dst
• copy / src to /dst
• umount / src and /dst
In the VM console, shutdown -y -gθ -i θ In the domO work directory:
• losetup -d /dev/loopO
• losetup -d /dev/loopl
• losetup -d /dev/ loop2 Turn the UFS image into a Filer Appliance
Use scp to pull the prepared image disk-image-f iler from domO to /vol /_impeχ/work_Filer_Solaπs/ on the controller. In /vol/_impex/work_Filer_Solaπs/, execute the script appliance-create , sh, which performs the following:
• rename and gzip the prepared image
• generate appropriate descriptor files
• create the release tar Filer_Solaπs-l . 1 . 0-1 . tar . bz2 under /vol/_impeχ Check the log file appliance-create . log in case of any failure.
THEORY OF OPERATION
Filer_Solaπs may be a standalone appliance that provides filesystem-level access to a volumes with a ufs and/or zfs file systems. CONFIGURATION External network setup
Filer_Solaπs may have has an external interface which allows the appliance to communicate with the outside world. When the external interface needs to be configured, Filer_Solaπs invokes the /appliance/appliance_netsetup . sh script to configure the external interface (found in one or more AppLogic(TM) gateways).
The /appliance/appliance_netsetup . sh script assigns ip_addr (if one may be may be specified) to the external interface. This script also sets the netmask and gateway, as well as setting the DNS servers. LOG FILES
Filer_Solaπs preferably does not create any additional logs. One or more logging services may be disabled.
FILER WINDOWS - WINDOWS FILER - IMPLEMENTATION DESIGN BASE CLASS
The Windows Filer may be based on Windows Server 2003 32-bit Standard Edition, SP2. It has no base class. VOLUMES
The Windows Filer may have a has a single class volume wit the following configuration:
• boot volume, named grub, with GNU GRUB installed, 8 MB
The Windows Filer may includes a placeholder volume for the actual Window OS
• placeholder volume, named windows, 3 GB, mounted as drive "c", read-write PACKAGES
The Windows Filer windows volume may contains the following additional packages:
• apache -2.2.9 (Apache License v2.0)
• php-5.2.6 (PHP License v3.01)
• eXtplorer-2.0.0_RCl-10 (GNU General Public License) • cygwin 1.5.25-14 (GNU General Public License) Scripts
The Windows Filer windows volume contains the following scripts, which implement the functionality of the filer. In the appliance, these scripts may be stored at c : / appl iance / script s / .
• format . sh - setup the filer to operate in format mode (e.g., execute mkf s on the dst volume)
• f scopy . sh - setup the filer to operate in f scopy mode (e.g., mount both src and dst volumes and cp contents from src to dst)
• f sck . sh - setup the filer to operate in f sck mode (e.g., execute f sck on the dst volume)
• f srepair . sh - setup the filer to operate in f srepair mode (e.g., execute f sck with repair option on the dst volume)
• manual . sh - setup the filer to operate in manual mode (e.g., mount the dst volume, start ssh, setup external interface)
• get_cp_progress . sh - estimates and returns the current progress for cp, in percentage. Called by the f scopy . sh script
• setenv . sh - sets various environment variables used by other scripts The scripts corresponding to the mode property may be invoked by c : /appliance /appliance . sh Contents of the release directory Exported appliance image:
• f iler_wmdows-l . 0 . 0-1 . tar . bz2 Self-extracting executable
• Filer_Wmdows-l . 0 . 0-1 . msi self-extracting archive which transforms a clean Windows Server 2003 install into a the windows volume of Filer_Windows msi Build Environment
• f iler_wmdows_msi_build-l . 0 . 0-1 . zip: zip of one or more the files used to create the self -extracting executable. This may be the build environment which may be unzipped on a Windows Server 2003 guest in order to create the msi file. It includes: o the files which may be installed by Filer_Wmdows-l . 0 . 0-1 . msi o Filer_wmdows . aip the Advanced Installer project file used to create Filer Wmdows-1 . 0 . 0-1 . msi Install Environment
• filer_windows_install-l . 0 . 0-1 . tar . bz2 : tar of one or more the files used to assist in creating Filer_Windows.
Tests
• f iler_wmdows_test . tar . bz2: Windows Filer test scripts INSTALL PROCEDURE
Create the grub Boot Volume
The boot volume of Filer_Windows may be an 8MB ext3 volume with GNU GRUB installed in the MBR and on the filesystem. The following procedure may be used to create this volume (This may may require maintainer access to the grid):
• Copy and uncompress filer_windows-l . 0 . 0-1-install . tar . bz2 on the impex volume of the grid controller. The archive extracts its contents into the directory work_Filer_Wmdθ¥S.
• From this directory, scp the archive grub_boot_volume_domO . tar . gz to /var/AppLogic ( TM) / on domO of srvl and unpack it.
• Install a vnc viewer on your local machine (for example TightVNC viewer available at http://www.tightvnc.com/)
• In domO of your grid, /etc/ imt . d/ iptables stop.
• Download the Fedora Live CD to the _impex volume of your grid; scp it to the directory /var/AppLogic ( TM) /grub_boot_volume/ in domO.
• In the domO working directory dd if=/dev/ zero of=grub-image bs=lk count=8192
• losetup /dev/loopO grub-image
• Edit the file run-f edora-livecd to include the IP address of srvl for vnclisten, e.g. vnclisten= ' 192 . 168 . 100 . 100 ' . Also verify that the correct name may be used for the livecd iso image.
• xm create run-fedora-livecd
• Access the VM using a vnc client and create the grub boot volume: o /sbin/fdisk /dev/sda o Use the commands o, n, a and w to create an MBR and a new active partition.
Execute / sbin/ fdisk -1 -u /dev/ sda. The result may be: device boot start end blocks id system / dev/ sdal * 63 16064 8001 83 Linux
• / sbin/mkf s . eχt3 /dev/ sdal to create a new ext3 filesystem on the first primary partition of /dev/sda. • mkdir /mnt /tmp ; mount /dev/ sdal /mnt /tmp ; /sbm/grub-install — root-directory=/mnt /tmp /dev/ sda to install grub.
• In /mnt /tmp/boot /grub/ create the desired menu . 1st file and In -s menu . 1st grub . conf . For reference, the menu . 1st file used with the Filer_Windows boot volume may be included in the grub_boot_volume_domO . tar . gz archive.
• umount /mnt/tmp; shutdown -y -iθ -gθ
• In domO of your grid, /etc/ imt . d/ iptables start.
• If you need to access the filesystem of the created ext3 grub based boot volume, it may not be necessary to use the livecd again. Instead, mount the filesystem with the correct offset: o mkdir tmp ; mount -text3 -oloop=/dev/ loopl , of f set=32256 grub-image tmp Create a Windows Filer Appliance including the grub Boot Volume
Use scp to pull the prepared image grub-image from domO to /vol /_impeχ/work_Filer_Wmdows / on the controller.
In /vol /_impeχ/work_Filer_Wmdows /, edit the file setenv . sh to use current version settings. Execute the script appliance-create . sh, which performs the following:
• Rename and gzip the prepared image
• Generate appropriate descriptor files
• Create the release tar f iler_wmdows-l . 0 . 0-1 . tar . bz2 under /vol /_impeχ Check the log file appliance-create . log in case of any failure.
CREATING THE WINDOWS PLACEHOLDER VOLUME
The Windows placeholder volume may be created using the standard procedure for creating virtual volumes with the Windows OSPlease see the Windows Installation Reference for instructions on how to create this volume and incorporate it into the Sys_Filer_Windows application. PREPARING THE SELF -EXTRACTING EXECUTABLE
In one embodiment, a self-extracting executable may be created to facilitate the creation of Windows-based filer appliances by customers who have their own license for Windows and may need to use their own copy of Windows for the installation due to licensing constraints.
The self -extracting executable may be prepared on a Windows Server 2003 VM which includes a licensed copy of Advanced Installer. Copy the archive f iler_wmdows_msi_build- 1 . 0 . 0-1 . z ip to the Windows VM and extract it in CA. Use Advanced Installer to create the msi. Cygwin Packages
The msi contains a local repository of Cygwin packages. The automated install may be only capable of installing the base packages. To ensure other required packages may be installed, the repository may be created as follows:
• Point e.g., to http://cygwin.com and download setup . exe to the desktop.
• Execute setup , exe and Download Without Installing. Install the packages in a temporary directory. In addition to the base install, include these packages: o Archive -> zip o Archive -> unzip o Editors -> vim o Net -> curl o Net -> openssh o Net -> rsync o Perl -> ipcalc o Perl -> perl o Perl -> perl-Error o Utils -> bzip2 o Utils -> cpio o Utils -> diffutils o Utils -> file o Utils -> patch o Web -> links o Web -> wget
• Make a directroy c : /appliance/cygwm-package. Move the cygwin setup . exe under this directory. Move the file setup . mi and the folder release from the temporary cygwin install sub-directory under this directory as well. While reviewing the additional packages and their dependencies within the Cygwin install GUI, edit setup . mi so as to move these packages into the base install. At this point, everything needed to perform a cygwin install may be under the c : /appliance/cygwm-package directory. THEORY OF OPERATION
Filer_wmdows may be a standalone appliance that provides filesystem-level access to a volume with a NTFS file system. CONFIGURATION External network setup
Filer_Windows has may have an external interface which to allows the appliance to communicate with the outside world (accept requests from a netwok host). When the external interface needs to be configured, Filer_Windows invokes the
/appliance/appliance_netsetup . sh script to configure the external interface (found in one or more AppLogic(TM) gateways).
The /appliance/appliance_netsetup . sh script assigns ip_addr (if one may be specified) to the external interface. This script also sets the netmask and gateway, as well as setting the DNS servers. LOG FILES
Filer_Windows may does not create any additional logs. VOLUME MANAGEMENT COMMANDS
In at least some embodiments, examples of various commands which may be supported may include, but are not limited to, one or more of the following (or combinations thereof):
Figure imgf000091_0001
Figure imgf000092_0001
LIST
Description: List volumes in the specified scope
Syntax: volume list —sys [—verbose][—batch] [—mounted]
volume list server=name [—verbose][—batch] [—mounted]
volume list name [—all] [—verbose] [—batch] [—mounted]
Arguments: name application, catalog, class, cache, or server name.
For global catalogs, the format of name may be /catalog.
For application volumes, the format of name may be application.
For application class volumes, the format of name may be application: class.
For local catalogs, the format of name may be application/catalog.
For local catalog class volumes, the format of name may be application/catalog: class.
For cached volumes, the format of name may be application/volcache.
If server may be specified, name may be the name of a server.
—verbose Include volume comment in the list — batch Display output in UDL format
— mounted Display only those volumes that may be mounted on the controller.
Examples: volume list — sys - list all volumes
volume list server=srv2 - list all volumes with a mirror on 'srv2'
volume list sugarcrm - list volumes for application 'sugarcrm'
volume list sugarcrm : config - list volumes for class 'config' in application 'sugarcrm'
volume list sugarcrm/local - list volumes for local catalog of application 'sugarcrm'
volume list sugarcrm/volcache - list instance volumes for application 'sugarcrm'
volume list /system - list all volumes in global catalog 'system'
volume list /system r NAS - list all volumes for 'system' catalog class 'NAS'
Notes: If no name may be specified and the — sys option may be specified, all volumes in the grid may be listed.
If an application name may be specified and the — all option may be specified, ALL volumes for the application may be listed.
A specification of the output of this command may be found here.
Example Output
Scope Name Size(MB) Seruer State Filesystem Mirrored Mount State jerf perf 2500 sru2,sru3 ok ext3 V auailable jerf perfi 2500 sru2 ok ext3 N auailable jerF PERFI.boot 1658 sru2,sru3 ok ext3 V auailable sugarcrm code 50 sru2,sru3 ok ext3 V in use sugarcrm config 50 sru1 ,sru2 ok ext3 V in use sugarcrm data 50 sru3,sru1 ok ext3 V in use sugarcrm Logs 50 sru2,sru3 ok ext3 V in use test useruol 10 sru2,sru3 ok ext3 V auailable applfc/local ml .boot 80 sru1 ,sru2 ok ext3 V auailable applfc/local ini.usr 2OB sru2 ,sru3 ok ext3 V auailable
J5perf/catalog PERF. boot 165Θ sru2,sru3 ok ext3 V auailable neωcat/catalog HLB. boot 80 sru3 ,sru1 ok ext3 V auailable neωcat/catalog HLB. usr 20Θ sru2,sru3 ok ext3 V auailable neωcat/catalog N. boot 80 sru2,sru3 ok ext3 V auailable neωcat/catalog N. usr 2OB sru2,sru3 ok ext3 V auailable applFc/uolcache main. T DRN. boot 901 sru1 ,sru3 ok ext3 V auailable applFc/uolcache main. T SRC. boot 11 B1 sru1 ,sru3 ok ext3 V auailable bh/uolcache main. LUX. boot 80 sru3,sru1 ok ext3 V auailable jsperF/uolcache main. PERF. boot 165B sru2 degraded ext3 V auailable jsperF/uolcache main. PERF1.boot 165B sru3 degraded ext3 V auailable jsperF/uolca ;he ηain. T DRN. boot 901 sru1 ,sru2 ok ext3 V auailable jerF/υolcach nain. PERF. boot 165Θ sru3,sru2 ok ext3 V auailable qa app1/uolc iche ηain .compi .boot 901 sru1 ,sru2 degraded ext3 V auailable qa app1/uolc iche ηain .comp2.boot 901 sru2,sru3 degraded ext3 V auailable qa app1/uolc iche ηain .comp3.boot 901 sru3 ,sru1 ok ext3 V auailable qa_app1/uolcache main . compii.boot 901 sru1 ,sru2 degraded ext3 V auailable qa appl/uolcache nain. compS. boot 901 sru3,sru1 ok ext3 V auailable qa appl/uolcache main. compό. boot 901 sru2,sru3 degraded ext3 V auailable qa appl/uolcache main. conp7. boot 901 sru1 ,sru2 degraded ext3 V auailable qa appl/uolcache main. conpβ. boot 901 sru2,sru3 degraded ext3 V auailable qa gωay/uolc iche nain .in1.boot 80 sru3 ,sru1 ok 9Xt3 V auailable qa gωay/uolc iche ηain .in2.boot 80 sru1 ,sru2 ok ext3 V auailable qa gωay/uolc iche ηain .out1.boot 80 sru1 ,sru2 ok ext3 V auailable qa gωay/uolc iche ηain .out2.boot 80 sru3 ,sru1 ok ext3 V auailable qa gωay/uolc iche ηain .prc1.boot 901 sru2,sru3 ok ext3 V auailable qa gωay/uolc iche ηain .prc2.boot 901 sru2,sru3 ok ext3 V auailable sugarcrm/uolcache main .admin .boot 80 sru2,sru3 ok ext3 V in use sugarcrm/uolcache main .config .boot 80 sru1 ,sru2 ok ext3 V in use sugarcrm/uolcache main .dbase .boot 80 sru3,sru1 ok ext3 V in use sugarct-m/uolcache main. logs. boot 80 sru3,sru1 ok ext3 V in use sugarct-m/uolcache main. mail. boot 80 sru1 ,sru2 ok ext3 V in use sugarcrm/uolcache main. sru1.boot 11B sru3 ,sru1 ok ext3 V in use sugarcrm/uolcache main. sru2. boot 118 sru1 ,sru2 ok ext3 V in use sugarcrm/uolcache main. usr .boot 80 sru2,sru3 ok ext3 V in use sugarcrm/uolcache main. ωebs. boot 80 sru2,sru3 ok ext3 V in use
/proto LINUX. boot 2048 sru2,sru3 ok ext3 V auailable
/system HLB. boot 80 sru1 ,sru2 ok 9Xt3 V auailable
/system HLB. usr 2OB sru3,sru1 ok ext3 V in use
/system N. boot 80 sru2,sru3 ok ext3 V auailable
/system N. usr 2OB sru1 ,sru2 ok ext3 V in use
/system LUX. boot 80 sru3,sru1 ok ext3 V auailable
/system LUX. usr 2OB sru2,sru3 ok ext3 V auailable
/system MVSQL. boot 80 sru1 ,sru2 ok ext3 V auailable
/system MVSQL. usr 20Θ sru3 ,sru1 ok ext3 V in use
/system NBS. boot 80 sru2,sru3 ok ext3 V auailable
/system NAS .usr 20Θ sru1 ,sru2 ok ext3 V in use
/system NET. boot 80 sru2,sru3 ok ext3 V auailable
/system NET. usr 2OB sru1 ,sru2 ok ext3 V auailable
/system OUT. boot 80 sru3,sru1 ok ext3 V auailable
/system OUT. usr 2OB sru2,sru3 ok ext3 V in use
/system WEB. boot 11B sru1 ,sru2 ok ext3 V auailable
/system WEB. usr ltl30 sru3,sru1 ok ext3 V in use
/test LINUX. boot 2048 sru1 ,sru2 ok ext3 V auailable
/test PERF. boot 165Θ sru1 ,sru2 ok ext3 V auailable
INFO
Figure imgf000094_0001
application: volume - application volume
application: class, volume - singleton class volume
application/catalog: class. volume ^ application catalog class volume
/catalog:class.volume ^ global catalog class volume
application/volcache:subordinate.volume - application instance volume
— batch Display output in UDL format
Examples: volume mfo sugarcrm : data - Retrieve information for application user volume
volume info sugarcrm r NASl . boot - Retrieve information for application singleton class volume
volume info sugarcrm/catalog : NAS1 . boot - Retrieve information for application local catalog class volume
volume info /system : NAS . boot - Retrieve information for global catalog class volume
Notes: A specification of the output of this command may be found here.
Example Output
Name : sugarcrm: data
Link : no
Comment
Size : 50 MB
State : ok
File system : ext3
Mount State : m_use
Mounted Device : none
Current Users : 1
Attributes : rw Time Created : Sat May 27 08:16:24 2006 Time Written : Sat May 27 08:16:24 2006 Time Accessed : Sat May 27 10:58:53 2006 Number Mirrors : 2 Mirrors :
Server State srv3 ok srvl ok SET
Description: Set volume information
Syntax: volume set name comment=comment
Arguments: name name of volume The format of name may be the following:
applicationivolume - application volume
application: class, volume - singleton class volume
application/catalog: class. volume ^ application catalog class volume
/catalogiclass.volume ^ global catalog class volume
comment volume comment
Examples: volume set sugarcrm : data comment="My comment " - Set information for application user volume
volume set sugarcrm : NASl . boot comment="My comment " - Set information for application singleton class volume
Figure imgf000096_0001
volume set sugarcrm/catalog : NASl . boot comment="My comment " - Set information for application local catalog class volume
volume set /system : NAS . boot - Set information for global catalog class volume
Figure imgf000097_0004
Description: Create a new volume for an application
Syntax: volume create name
Figure imgf000097_0002
[comment=comment]
Figure imgf000097_0001
[mkf s=lf s=fstype
Figure imgf000097_0003
[ — prefill][-n] [ — batch]
Arguments: name Name of the volume to create. The format of name may be the following: application : [class . ]volιιme
size volume size, units may be specified (e. g., 128M[B], 2G[B]).
If units may be not specified, it may be assumed that the size may be specified in MB.
comment volume comment
fstype file system type
fs_options file system-specific options used when installing the file system. This option may be only valid if fstype may be specified. AppLogic (TM) 2.3+.
link name of application user volume to which volume may be to be linked
mirrored volume may be mirrored, default may be 1 if multi-server grid may be configured
— pref i l l Allocate ALL blocks of the volume.
Skip verification that volume reference may be in the class descriptor if adding an application singleton class volume.
Examples: volume create sugarcrm : datal size=128M fs=ext3 - create application user volume volume create sugarcrm r NAS l : datal si ze=128M fs=ext3 - create application singleton class volume
Notes: If the volume size may be not specified, the default volume size of IGB may be used.
See this topic for a list of supported file systems.
The value specified for the fs_options parameter may be a space-separated list, may be file system specific, and may be valid only in conjunction with the mkf s parameter. The following may be the options available for each supported file system:
ext3 -snapshot vol_group_name : string specifying the name of the LVM volume group to create on the volume. If not specified, a volume group name may be randomly generated.
data_percentage : percentage of the volume that may be used to store data, remaining portion of the volume may be for snapshots. If not specified, 80% of the volume may be used for data.
zfs pool_name : the name of the pool - defaults to volume name if this may be not set
mountpoint : mount path of the pool root (or "legacy" or "none", e.g., mountpoint=legacy) - defaults to /pool_name
autoreplace : on/off - controls automatic device replacement - defaults to off
delegation : on/off - controls whether a non-privileged user may be granted access based on the dataset permissions defined on the dataset - defaults to on
f ailmode : wait/continue/panic - defaults to wait
version : 1-10 - defaults to 10 (current)
Figure imgf000099_0001
DESTROY
Figure imgf000099_0003
FORMAT
Description: Format an existing I application user volume
Syntax: volume format name [mkf s=lf s=fstype
Figure imgf000099_0002
[— force]
Arguments: name Name of the volume to format. The format of name may be the following: application -. volume
fstype file system type
fs_options file system-specific options used when installing the file system. This option may be only valid if fstype may be specified.
— force Skip verification of format operation.
Examples: volume format sugarcrm : data f s=eχt3 - format application user volume
Notes: See this topic for i i list of supported file systems. The value specified for the fs_options parameter may be a space-separated list, may be file system specific, and may be valid only in conjunction with the mkf s parameter. The following may be the options available for each supported file system:
Figure imgf000100_0001
zfs pool_name : the name of the pool - defaults to volume name if this may be not set
mountpoint : mount path of the pool root (or "legacy" or "none", e.g., mountpoint=legacy) - defaults to /pool_name
autoreplace : on/off - controls automatic device replacement - defaults to off
delegation : on/off - controls whether a non-privileged user may be granted access based on the dataset permissions defined on the dataset - defaults to on
f ailmode : wait/continue/panic - defaults to wait
version : 1-10 - defaults to 10 (current)
RENAME
Description: Rename a volume in an application
Syntax: volume rename name new-name
Arguments: name Name of the existing volume to rename.
Figure imgf000101_0005
RESIZE
Description: resize a volume for an application
Syntax: volume resize name
Figure imgf000101_0001
[ — prefill]
Figure imgf000101_0006
Notes: This operation resizes the volume by performing a file -level copy preserving permissions, ownersheip, links, special attributes, etc.
COPY
Description: Copy a volume to an application
Syntax: volume copy source destination [ comment= val [
Figure imgf000101_0002
] [ -n ] [ — overwrite [ — force]]
volume copy source destination [ — keepcomment] [
Figure imgf000101_0003
] [ — overwrite [ — force]]
volume copy source destination [comment= val] [
Figure imgf000101_0004
]
Figure imgf000102_0001
[ — fscpy [ — prefill]
Figure imgf000102_0002
[ -n ] [ — overwrite [ — force]]
volume copy source destination [ — stπpcomment] [mirrored=vαZ] [ — fscpy
Figure imgf000102_0004
[ -n ] [ — overwrite [ — force]]
Arguments: source name of the existing volume to copy. May specify any volume.
destination Name of the new copied volume in the application. May specify an application user or singleton class volume.
comment=vαZ Comment that may be to be set for the destination volume.
mi rrored=Vfl/ Set to 1 if volume may be to be mirrored. Default may be 1 if multi-server grid may be configured.
If specified, the comment from the source volume may be set keepcomment for the destination volume.
s i z e =val Specify size for new volume. Units may be specified (e.g, 128M[B], 2G[B]). If units may be not specified, it may be assumed that the specified value may be in MB. If not specified, the destination volume may be created with the same size as the source volume.
— fscpy Perform file-level copy when copying the volume . If this option may be not specified , block-level copy may be performed.
fs_options file system-specific options used when installing the file system. This option may be only valid if — fscpy may be specified. AppLogic (TM) 2.3+.
— pref i l l Allocate ALL blocks of the volume.
If specified, the comment from the source volume may be not st rip comment copied to the destination volume and the comment for the destination volume may be set to empty.
-n Skip verification that volume reference may be in the class descriptor if the destination volume may be an application singleton class volume
Examples: volume copy sugarcrm : data sugarcrm : data2 - Copy application user volume
volume copy /system r NAS . boot sugarcrm : NAS2 . boot - Copy global catalog class volume to application singleton class volume
Notes: If neither comment=vα/ or — keepcomment arguments may be specified, the comment for the new volume may be set to the comment of the source volume with "copy of:" prepended to the comment if the comment of the source volume may be non-empty.
If the — overwrite option may be specified and the destination volume exists, the destination volume may be overwritten, otherwise the copy may be failed.
If the — force option may be specified, the user may be not asked to confirm the overwriting of the volume if — overwrite was specified.
If either the source or destination volume may be currently in use, this command may fail.
If
Figure imgf000103_0001
argument may be specifies, the destination volume may be an application user of singleton class volume and may not already exist.
If — f scpy and — overwrite options may be provided, the destination volume may be destroyed and re-created.
The value specified for the fs_options parameter may be a space-separated list, may be file system specific, and may be valid only in conjunction with the — f scpy parameter. The following may be the options available for each supported file system:
Figure imgf000104_0001
zfs pool_name : the name of the pool - defaults to volume name if this may be not set
mountpoint : mount path of the pool root (or "legacy" or "none", e.g., mountpoint=legacy) - defaults to /pool_name
autoreplace : on/off - controls automatic device replacement - defaults to off
delegation : on/off - controls whether a non-privileged user may be granted access based on the dataset permissions defined on the dataset - defaults to on
f ailmode : wait/continue/panic - defaults to wait
version : 1-10 - defaults to 10 (current)
MOVE
Description: Move a volume to another application
Syntax: volume move src dest
Arguments: src Name of the existing volume to move. May specify an application user volume.
dst Name of the destination volume. May specify an application user volume.
Examples: volume move sugarcrm r data newapp : data - Move volume from application 'sugarcrm' to application 'newapp'
This command may be not supported in single workstation mode.
If the volume may be currently in use, this command may fail.
Figure imgf000105_0001
MANAGE
Description: Manage a volume
Syntax: volume manage name [ — ro I — rw] [ — nossh ] [prop=val Y
Arguments: name name of the volume to be manage.
— ro access to volume may be read-only.
access to volume may be read-write.
— nossh do not provide SSH access to the managed volume.
prop=val Specifies settings to configure external network access for use with the volume manager GUI/shell. The following values may be supported:
ip - Specifies the IP address.
netmask - Specifies the network mask. This may be specified if ip may be specified.
gateway - Specifies the IP address of the default network gateway. It may be left blank only if the remote host may be on the same subnet; may be specified otherwise.
dnsl - Specifies the IP address of the primary DNS server used to resolve domain names. This allows the user to specify hostnames when uploading/downloading files to/from a volume.
dns2 - Specifies the IP address of the secondary DNS server, which may be used if the primary DNS server does not respond.
Figure imgf000106_0001
By default, the user may be SSH'd into the volume manager shell. The volume - may be accessible under /mnt/vol. In addition, a URL may be provided to access the visual interface (eXtplorer) through which the volume mav be accessed and modified (files may be uploaded, downloaded, created, edited, etc).
Note that the GUI does have a 10MB file upload limitation. To upload larger files to your volume, use the volume manager shell.
Figure imgf000106_0002
FSCHECK
Description: Check the health of the file system on a volume
Syntax: volume f scheck name
Arguments: name name of the volume to be checked
Examples: volume f scheck sugarcrm : data - Check file system on application user volume
volume f scheck /system r NAS . boot - Check file system on global catalog class volume
Notes: This operation may be similar to running the Linux fsck utility over a volume.
FSREPAIR
Figure imgf000106_0003
Figure imgf000107_0001
CHECK
Description: List volumes that may need repair
Syntax: volume check [ — al l I — migrate I — repai r I — error I — l ink I — sync I — orphan ] [ — batch ]
Figure imgf000107_0002
Examples: volume check — all - list all volumes that need fixing
Figure imgf000108_0001
Example Output System Uolumes
Nane Scope Type Size(MB) State Mirrored Linked nain.in2.boot qa_conn2/uolcache REPRIR 8 β degraded yes no main, out .boot qa_conn2/uolcache REPf)IR 8 β degraded yes no nain.conp8.boot qa_app1/uolcache REPf)IR 9U1 degraded yes no nain.drn3.boot qa_app1/uolcache REPf)IR 9U1 degraded yes no nain.comp6.boot qa_app1/uolcache REPf)IR 901 degraded yes no nain.compi .boot qa appl/uolcache REPf)IR 901 degraded yes no nain.src2.boot qa appl/uolcache REPAIR 1101 degraded yes no nain.drn2.boot qa appl/uolcache REPAIR 901 degraded yes no nain.src3.boot qa appl/uolcache REPAIR 1101 degraded yes no nain.comp4.boot qa appl/uolcache REPAIR 901 degraded yes no nain.comp2.boot qa appl/uolcache REPAIR 901 degraded yes no nain.comp7.boot qa appl/uolcache REPAIR 901 degraded yes no nain. PERF. boot jsperf/uolcache REPAIR 1650 degraded yes no nain.PERFI .boot jsperf/uolcache REPAIR 1650 degraded yes no boot SYSTEM REPAIR 1023 degraded yes no neta SYSTEM REPAIR 1023 degraded yes no impex SYSTEM REPAIR 10239 degraded yes no Orphan Uolunes
Nane Size(MB) State sru1. u-213a6474- 31ca I11 J1I1- 8c65 9562fβf39acb 1101 auailable sru1 , u-ceEa3ød4- e8f1- 48f5- 92a4 d3E2645c2183 901 auailable sru1 , u-f øø9b6ø7- e7ae- 4de8- 824f- 2269b6d08c1d 901 auailable sru2, U-Be976f26- b6e4- 4d1f~ 9637- 5b1bacø6477d 901 auailable sru2, u-27cc7a1 ø- cae7- iιed2- b49b- c1θ4ab829be4 1101 auailable sru2, u-60746655- 8cef~ 4337- 8e4e- 12577f4beB9a 901 auailable sru2, U-81b8c2dø- 12d2- 4361- a1bd a3θ4de154143 1101 auailable sru2, u-8e3øbbb8- 6868 487a- bc93 25969103bd8e 901 auailable sru3, u-56ddebf5- 735c- 49fd- 9348 7c5a28b44d8c 1101 auailable sru3, u-ba38ba35- b1df 49fa- bb3a 02416a7594db 1101 auailable
MIGRATE
Figure imgf000108_0002
— force Ignore failures and continue with migration
— stop Cancel migration operation for volume(s) currently being migrated.
Examples: volume migrate — all - Migrate all volumes
volume migrate — all — n o wait - Migrate all volumes in the background
volume migrate sugarcrm - Migrate all volumes in an application
volume migrate sugarcrm : data - Migrate an application user volume
volume migrate /system - Migrate all volumes in a global catalog
volume migrate — all — stop - Stop migration for all volumes currently being migrated.
Notes: None.
REPAIR
Description: Repair volume(s)
Syntax: volume repair name I —all [ n=n-vols ] [ —nowait ][ —force ] [ —stop ]
Figure imgf000109_0001
volume repair — a 11 - Repair all volumes
volume repair — all — n o wait - Repair all volumes in the background
volume repair sugarcrm - Repair all volumes in an application
volume repair sugarcrm : data - Repair an application user volume
volume repair /system - Repair all volumes in a global catalog
volume repair — all — stopt - Stop repair for all volumes currently being repaired
None.
Figure imgf000110_0001
CLEAN
Description: Destroy unsynchronized/orphaned volume(s)
Syntax: volume clean [ — sync I — orphan I — link ] [ — force ]
Figure imgf000110_0002
Examples: volume clean - Destroy all broken link, unsynchronized and orphan volumes
volume clean — sync - Destroy all unsynchronized volumes
volume clean — orphan - Destroy all orphan volumes
Notes: If no arguments may be specified, both unsynchronized and orphan volumes may be destroyed.
Figure 11 shows an a specific example embodiment of an interaction diagram between various systems/devices which may be utilized for automated configuration of virtual appliances. In at least one embodiment, the interaction diagram of Figure 11 illustrates one example embodiment of how a runtime instance of a virtual appliance (such as, for example, a virtual filer appliance) may be started and dynamically and automatically configured by a distributed computing network. In at least one embodiment, the automatic and custom configuration of a runtime instance of a virtual appliance may be implemented in a manner which is independent of the specific operating system of the virtual appliance being configured. In this way, the automatic and custom configuration of a runtime instance of a virtual appliance may be accomplished without knowledge of the OS inside appliance.
In the specific example embodiment of Figure 11, it is assumed that a new runtime instance of a virtual appliance (e.g., 1102) is to be started within a virtual application running at a distributed computing network and automatically configured. As illustrated in the example embodiment of Figure 11, the distributed computing network includes a variety of virtualized machines, appliances and/or other components, including, for example:
• an Application Controller 1110;
• an Appliance Configuration System (ACS) 1108;
• a DHCP Server 1104;
• a Web Server 1106;
• etc.
In the specific example embodiment of Figure 11 , it is assumed that a virtual machine has been configured or designed to implement functionality for both the DHCP Server 1104 and Web Server 1106.
As illustrated in the example embodiment of Figure 11, at 2, it is assumed that an Application Controller 1110 submits to the ACS 1108 information relating to the configuration of one or more appliances which may be instantiated in the virtual application. In at least one embodiment, the Application Controller may provide appliance configuration information for each appliance to be started or instantiated such as, for example, one or more of the following (or combinations thereof): Appliance MAC Address, Appliance IP Address, Appliance Host Name (optional), Appliance configuration parameters, etc.
As illustrated in the example embodiment of Figure 11, at 4, the ACS process the Appliance configuration information provided to it by the Application Controller, and dynamically generates one or more appliance configuration files for each particular instance of an appliance which may be created or started.
As illustrated in the example embodiment of Figure 11 , at 6, the Application Controller initiates a request to start a new instance of an appliance.
As illustrated in the example embodiment of Figure 11, at 8, the Application Controller provides notification to the ACS that a new virtual appliance instance is to be started. In at least one embodiment, the notification may include Appliance identifier information such as, for example, Appliance Host Name, Appliance MAC address, and/or other Appliance ID information.
As illustrated in the example embodiment of Figure 11, at 10, the ACS provides the DHCP Server 1104 with the Appliance MAC address, IP Address, and Host Name associated with the new instance of the appliance which is to be created or started by the Application Controller 1110.
As illustrated in the example embodiment of Figure 11, at 12, the ACS provides the Web Server 1106 with the Appliance IP Address, Host Name, and configuration file associated with the new instance of the appliance which is to be created or started by the Application Controller 1110.
As illustrated in the example embodiment of Figure 11, at 14, the ACS provides notification to the Application Controller that it is ready to serve configuration for new appliance instance.
As illustrated in the example embodiment of Figure 11, at 15, the Application Controller may respond by creating or starting a runtime instance of the identified virtual appliance. As part of this process a new VM is created for the new instance of the virtual appliance together with a new virtual network interface configured with the virtual appliance's designated MAC Address.
As illustrated in the example embodiment of Figure 11, at 16, once the new instance of the virtual appliance has been created, the virtual appliance sends a DHCP Request to the DHCP server to obtain an IP address. In at least one embodiment, the DHCP request may include the Appliance MAC address.
As illustrated in the example embodiment of Figure 11, at 18, the DHCP Server provides a response to the virtual appliance 1102 which, for example, may include one or more of the following (or combinations thereof): Appliance IP Address, IP Add of DHCP Server, Appliance Host Name, other authentication credentials (optional), etc.
As illustrated in the example embodiment of Figure 11, at 20, the virtual appliance determines the IP address of Web Server 1106 (which, in the specific example embodiment is the same as the IP address of the DHCP Server), and sends a request to the Web Server to access the virtual appliance's configuration file. In at least one embodiment, the virtual appliance may provide its Host Name and/or other authentication credentials (e.g., MAC Address, key provided by DHCP, etc.) to the Web Server which, for example, may be used (1) to identify the requesting virtual appliance, and (2) validate and/or authenticate the identity of the requesting virtual appliance.
Accordingly, as illustrated in the example embodiment of Figure 11 , at 22, the Web Server uses the Appliance Host Name (and/or other authentication credentials) to perform appliance verification/authentication. For example, in one embodiment, such appliance verification/authentication may include verifying match between the Appliance Host Name and other authentication credentials (e.g., Appliance IP Address, MAC Address, Authentication Key, etc.
As illustrated in the example embodiment of Figure 11, at 24, upon successful authentication/verification the Web Server provides the virtual appliance with access to its configuration file.
As illustrated in the example embodiment of Figure 11 , at 26 the virtual appliance uses the configuration file information to perform auto configuration, and thereafter confirms its running/operational status as "OK."
As illustrated in the example embodiment of Figure 11, at 28, the virtual appliance provides notification of its OK status to the Application Controller, which, in turn, provides (30) notification of the virtual appliance's OK status to the ACS.
As illustrated in the example embodiment of Figure 11 , at 32, the ACS may respond by providing instructions to the Web Server to disable access to the appliance configuration file.
In at least one embodiment, a virtual appliance configuration system may be provided for configuring one or more virtual appliances in a distributed computing network. In some embodiments the system may include, for example: a first virtual appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual appliance to be created or instantiated at the distributed computing network; a DHCP server, operable to provide at least one IP address to the first virtual appliance in response to a DHCP request received from the first virtual appliance; an appliance configuration server, operable to facilitate access to a first appliance configuration file associated with the first virtual appliance an agent (or the appliance), operable to request the first appliance configuration file; and/or a web server, operable to provide the first virtual appliance with access to the first appliance configuration file in response to a request received from the first virtual appliance.
In at least one embodiment, the first virtual appliance includes an appliance configurator operable to automatically and dynamically configure at least one network interface of the virtual appliance using information obtained from the first appliance configuration file.
In at least one embodiment, the first virtual appliance includes a network address map resolver operable to resolve host names to remote network hosts using information obtained from the first appliance configuration file.
In at least one embodiment, the first virtual appliance includes a configuration file manipulator operable to automatically update information in at least one appliance configuration file using information obtained from the first appliance configuration file. In at least one embodiment, the first virtual appliance includes a property extractor operable to automatically extract individual configuration parameters from the first appliance configuration file, and operable to provide access to at least a portion of the configuration parameters as separate configuration parameters for use in configuration of software operating in the virtual appliance.
In at least one embodiment, the first virtual appliance includes a volume configurator operable to automatically mount at least one virtual storage volume into file system mountpoints using volume configuration information obtained from the first appliance configuration file. APPLIANCE KIT (APK)
In at least one embodiment, APK may be a package of tools and runtime for creating AppLogic (TM) appliances out of OS installations. It includes scripts and utilities that help implement the appliance boundary, as well as a set of tools to assist appliance developers in preparing appliances. DESCRIPTION
APK includes:
• user manual (this document): o appliance boundary definition (what makes a VM an AppLogic (TM) appliance) o appliance cookbook (how to build and customize appliances)
• installation guide (separate documents, one per supported target OS) o Installation Guide for RedHat and CentOS Linux Distributions o Installation guide for Ubuntu Linux Distributions o Installation guide for Open Solaris and Solaris 10 Distributions
• binary archive (one per supported target), including an install script. The binary archives may be found within the AppLogic (TM) release folder on the ALDO server.
• The APK installation supports: o creating appliances from physical server installs or from VMware/Xen images, o upgrading old-style (volfix) AppLogic (TM) appliances to APK o upgrading new-style (APK) appliances to a newer version of APK APK may be installed either on a boot volume image mounted into a subdirectory, or on a live appliance. The following software may be installed by APK:
• All platforms: o initialization script - sets up the network as preferable for the OS to operate as an appliance and starts the AppLogic (TM)-specific services (VMA and CCA). o Virtual Machine Agent (VMA), including a command to send events to the controller o Counter Collection Agent (CCA). CCA may be started only if the appliance has a configured 'mon' terminal and the terminal may be connected.
• for Linux, a pre-compiled para-virutalized kernel may be also provided as a separate archive.
APPLIANCE BOUNDARY
This chapter explains in detail what may be an AppLogic (TM) appliance. OVERVIEW / GENERAL
An AppLogic (TM) virtual appliance (or simply, appliance, in the text below) may be an instance of an OS installation or another self-contained executable entity that can run as an i386 (or x86_64) virtual machine and has the following characteristics:
• the executable code may be contained on one or more volume images, formatted either as a PC x86 bootable hard disk or as single disk partitions;
• configures itself (network, properties, etc) using the dhcp-based protocol described below;
• upon startup, reports success/failure to the AppLogic (TM) grid, using one or more utilities provided for this purpose;
• if used as part of an AppLogic (TM) application, communicates with other appliances using peer-to-peer IPv4 connections - the AppLogic (TM) equivalent of a direct link between two Ethernet ports;
• all configurable settings of the appliance may be in the form of properties - that may be, named parameters, each one with a defined type chosen from the types supported by AppLogic (TM) and optionally a defined range of valid values. The property types currently supported by AppLogic (TM) may be: string, integer, IP address.
(In at least one embodiment, AppLogic (TM) also supports a 'legacy' appliance, which may be not configured over the network and preferably includes its volumes to be modified off line prior to start. This type of appliance isn't covered by the present document). EXTERIOR BOUNDARY
This section defines how the appliance looks to the "outside world" - that may be, to the grid controller and to other appliances on the grid. The "exterior boundary" may be implemented mostly by APK, the appliance designer does not need to do much beyond installing APK in order to make the OS behave like an AppLogic (TM) appliance.
Boot File Locations (PVM appliances only)
A para-virtualized (PVM) appliance may be one that has been configured with a virtualization-aware OS kernel, and uses the XEN hypervisor APIs for access to all hardware (console, memory, disk, network).
A para-virtualized appliance may have its initial executable image in the form of a statically-linked ELF file, optionally compressed with gzip. The initial executable may be usually the OS kernel. The appliance may also use one or more additional binaries loaded into memory at boot time (e.g., an initial ramdisk).
The locations of the initial executable and any other optional binaries may be defined in a file stored on the appliance's boot volume, and named either /boot/grub/grub.conf or /boot/grub/menu.lst. The file format may be that of the GRUB configuration file (e.g., see man 8 grub). The files referred to in the grub configuration file may be relative to the boot disk's file system and may be on the boot disk image itself. Note that the GRUB binary itself need not be present - it may be not used to boot a para-virtualized appliance.
Booting para-virtualized appliances may be limited to the same file system formats as the ones supported by GRUB (E.g., ext2/3, fat, ufs, reiserfs, minix, xfs, jfs).
Network Configuration
An appliance uses its last network interface (the one appearing last in a network device discovery scan) as the service interface, used to configure itself and to communicate with the AppLogic (TM) grid. This interface may be referred to in AppLogic (TM) documentation as the 'default' interface.
Upon startup, an appliance configures itself as follows:
• set up the default interface and request DHCP configuration for it
• the DHCP response may contain the network parameters for the interface, plus a file name (in the filename DHCP option).
• retrieve the following files using HTTP requests to port 8080 sent to the address of the server that responded to the DHCP request (^filename may be the name received in the DHCP response):
• $ fi l ename . net
• ^fil enaπie . desc
• $ fi l ename . ex.t
• use the data contained in the retrieved files to configure itself and begin normal operation. Note that except for the DHCP-configured default interface and the local loopback interface, the appliance's network may be set up entirely according to data provided in the $filename.net configuration file (and not using any OS-specific network configuration data stored on the appliance itself).
The format of the configuration files that the appliance receives from the AppLogic (TM) grid may be described in the Appendix. Note that in most cases the appliance designer need not be concerned with the format of these files, as the APK initialization scripts take care to interpret them and configure the appliance accordingly. For appliances that have configurable properties, APK provides their values in various easy to use 'cooked' formats which may be read by the appliance-specific code. Also, in many cases it may be possible to instruct APK to modify appliance-specific configuration files on startup and insert the values of the appliance's properties into them at the right places. See the Interior Boundary section further below.
VM Agent and Boot Completion Report
After it has configured its network, the appliance starts the VM Agent (a binary executable provided by APK), which, for example, may open a service connection to the AppLogic (TM) infrastructure, using one or more different protocols such as, for example, a binary protocol.
When the boot may be completed, the appliance uses the service connection to report success or failure. APK provides the preferable tools to the appliance designer to add customized code to check if the appliance started OK and report status to the grid. If failure may be reported, or if the appliance fails to contact the grid altogether, the appliance start may be considered unsuccessful and the virtual machine (and possibly the entire application in which this appliance participates) may be shut down. INTERIOR BOUNDARY
This section describes the AppLogic (TM)-specific services that APK provides for use within the appliance OS itself.
An appliance may be not required to use any of these services. Only the "exterior" boundary (implemented by APK and described above) may be what defines an appliance as far as AppLogic (TM) may be concerned. The ";interior boundary" services may be provided to help adapt an existing generic service (e.g., firewall, a mail server, or Web server program) for use as a self-contained virtual appliance running in AppLogic (TM).
Boot Status Check/Report
By default, when the appliance boot process completes, the APK initialization code sends a "boot completed" notification using the service connection established by the VM Agent.
This may be used by the grid as a signal that the appliance started successfully.
The appliance may be equipped with an optional "boot check" script, which may be run on completion of the OS startup and can check (in some appliance-specific way) whether the appliance may be initialized correctly and may be ready to operate. For example, if the appliance may be an HTTP server, the script might attempt to make a request to the HTTP port on the local host to verify that the HTTP daemon may be operational.
The boot check script may be a shell script named AppLogic (TM)_appliance (stored in an OS-specific location - see the install guides), ran as "include files" (e.g., with the "." command for a Posix shell). It may be expected to return a success / failure status and optionally print an error message to the standard error stream (stderr).
Log Messages
Code on the appliance may report info, warning or error messages to be posted in the grid system log. APK provides the 'vme' command for this purpose. It may be invoked with the following command line syntax. vme id=log msg= ' text '
Note that if the message text includes spaces or other meta-characters, it may be quoted appropriately.
Network Access - Terminals
Communication between appliances in AppLogic (TM) may be over peer-to-peer IP connections. The endpoints of these connections may be referred to as terminals. This may be somewhat different from the "usual" setup of a multi-device network application, where most devices may be connected to a common bus (e.g., an Ethernet switch) and each appliance may connect (or mis-connect) to any other appliance on the same bus.
In contrast, AppLogic (TM) uses a separate "virtual wire" for each connection (equivalent to a port-to-port Ethernet cable between two network devices) and ensures that traffic goes only along those wires. This may be made possible by the fact that the AppLogic (TM) virtual appliances may be not limited by a fixed number of physical connection ports and can therefore dedicate a separate "virtual terminal" for each connection.
There may be two logical types of terminals:
• input terminal : a terminal on which the appliance provides a specific service (Le, acts as a server).
• output terminal : a terminal that an appliance uses to request a service from another appliance (I.e, acts as a client).
An input terminal can have any number of output terminals connected to it. An output terminal may be connected to a single input terminal. Either kind of terminal may remain unconnected. An application designer may specify that an output terminal may be "mandatory", e.g., the appliance preferably includes the service provided on it and may not work without it being connected.
APK automatically configures the network settings for the virtual network interfaces uses as terminals. It makes the terminals visible to the appliance code by name (providing the name resolution and the preferable IP routes), as follows:
• a connected output's name resolves to the address of the appliance that may be connected on the other side, that may be, the address to which the terminal name resolves may be used directly to request a connection. For example, if the appliance has an output terminal named 'web', connectible to an http server, one might do the equivalent of a command like this: wget http : / /web/some-page . html.
• an input terminal's name resolves to the IP address of the terminal itself, thus allowing one to use the name when configuring a server, e.g., if the appliance has an input terminal named 'in' that may be supposed to respond to HTTP requests, one might add this directive to the Apache configuration file: Listen in : 80.
An output terminal that may be not connected may have its name resolve to an invalid IP address: 0.255.255.255. An appliance that may be designed to have optional outputs (which may be left unconnected) may recognize this, or be prepared to handle gracefully the "invalid address" error on an attempt to connect.
Network Access - Gateway Terminal
A gateway terminal may be a special case of an output terminal (as described above). An appliance can have at most one gateway terminal. It may be configured as regular output terminal in that the name resolves to the remote peer. In addition:
• the default route may be set to be via the peer address to which the terminal may be connected, so that connections to any address other than those belonging to regular terminals or those used by the 'default' interface (the AppLogic (TM) internal service network) may be routed via the gateway output.
• the DNS nameserver may be set to the gateway terminal's peer address
Thus, an appliance with a gateway terminal can operate like a device connected to a "regular" LAN, intranet or WAN, within the limits of whatever name resolution and routing may be provided by the "gateway" appliance connected to the terminal. (AppLogic (TM) provides ready-made appliances that act as gateways, including one that provides un-restricted outgoing access to the Internet).
Properties
AppLogic (TM) provides configuration for appliances in the form of properties (named configuration strings). An appliance receives its configured properties on startup in the configuration files retrieved from the DHCP server (see the Exterior Boundary section above).
APK may be responsible to retrieve the configuration files and it provides the appliance properties in several formats. Any or all of these formats may be used by the appliance-specific code to read its configuration data. In addition, APK may be instructed (during installation) to use the received property values to update one or more files on the appliance (see the next sub-section - Automatic Configuration File Update).
APK provides the property values in the following formats. The file names for each format may be provided in parentheses. The location of the files in the appliance file system may be OS- specific (see the install guide for each OS).
• raw (appliance.conf) : a text file, containing one property value per line. Each line starts with the property name, followed by a single space character and the property value extending to the end of the line. The values may be provided verbatim, with no meta- character quoting of any kind. The "raw" format may be suitable for reading with the Posix shell's 'read' command, or with read() or scanf() from binary code.
• Posix shell (appliance.sh) : a text file, suitable for being included by a Bourne or Posix compatible shell script, with the "." command. Each property may be defined as an exported shell variable, prefixed with the underscore character (to avoid name conflicts with common shell variables).
• C shell (appliance.csh) : a text file, suitable for being included by a a C-shell script. Each property may be defined as an exported shell variable, prefixed with the underscore character.
Automatic Configuration File Update
In many cases, the appliance properties correspond directly to strings that may be inserted into an appliance-specific configuration file. In such cases, rather than writing code to read one of the APK-provided property files (described above) and generate the appropriate configuration files on each boot, it may be possible to instruct APK to apply the property values directly to the configuration file(s). This may be done in all cases where the following conditions may be met:
• the appliance has a writable disk volume (e.g., this method may be not suitable for an appliance whose volumes may be all read-only)
• the property value may be simply inserted into the configuration file
• the configuration file may be a text file
• the configuration file format allows for adding comments to it, and the program(s) using it either do not modify the file, or it re-write it keeping the comments intact.
To set up APK to do automatic config file updates on boot:
• the configuration file(s) may be "instrumented" with special comments that specify exactly where the property values may be to be inserted. An example of the instrumentation syntax may be may be found at: http://doc.3Tera.net/AppLogic (TM)2/ AdvADLPropertyMarkup.html
• The list of files to be updated may be configured in the APK_CONFIG_FILES setting in the AppLogic (TM)_init config file.
APPLIANCE COOKBOOK
In at least one embodiment, step-by-step "recipes" may be provided for creating several kinds of appliances and may be intended to serve as a tutorial and as a source of examples to be emulated when building new appliances.
For example, in at least some embodiments, one or more of the following recipes may be included:
• building a "blank" appliance template (basic OS installation, with no specific functionality) from scratch. This may be primarily useful for creating a few non-specialized templates which can later be re-used and configured for a specific purpose. Since a few such ready-made basic templates may be provided in the AppLogic (TM) system catalog, this recipe may be intended mostly for use when porting APK to a new OS type for which there may be no ready appliance in the catalog.
• Creating a "virtual private server" (VPS) appliance - a virtual machine that may be not intended to interact with other appliances and be part of a multi-tier application, but rather serve as the equivalent of a private hosted server, with a single Internet-accessible network interface.
• Building a fast-boot mini-appliance, based entirely on a read-only volume. This use case may be suitable for creating various "filer" type virtual devices that do not store persistently any data, like WAN routers, firewalls, load balancers, etc. This recipe may be specific to the Linux OS, which may be generally well-suited to operate in an embedded environment with a read-only boot volume.
BLANK APPLIANCE
OS Install
One step of this recipe may be to prepare a vanilla OS installation. This may be done outside of AppLogic (TM), because (for now), AppLogic (TM) does not provide access to the system console of a virtual machine under its control.
There may be two options for the OS install platform:
1. use a real server and install the OS on a blank hard disk
2. use a XEN virtual machine in hardware-emulation mode, to run the OS install.
Only the second option may be covered here, as being more flexible, requiring less invasive actions (e.g., swapping hard disks in a real machine) and providing more hardware independence - e.g., a relatively old OS like RedHat 9 might be set up this way and be used successfully as an AppLogic (TM) appliance, on hardware that may be not natively supported by the OS.
A running host with a CPU that supports HVM (E.g., newer Intel Xeon or AMD Opteron processors), and installed XEN 3.0.4 or later may be needed. Create one or more zero-filled files that may serve as the "boot disks" for the new OS. Choose their sizes according to the expected OS configuration that may be installed, the sizes may be an exact multiple of IM (1024*1024). In most cases, a single "disk" may be enough, but for OS-es that allow some of their files to be stored on a read-only partition (e.g., the /usr file space on the various Unix-ish OS-es) might benefit from having two disks: AppLogic (TM) has to copy the writable boot volumes of each instantiable appliance, so making them as small as possible may be desirable.
Have the OS installation media (CD or DVD image) ready, in the form of an ISO file on the XEN host. Have the APK archive (and DomU kernel, for Linux) ready and available on the local network, over a simple protocol like FTP or HTTP (we may need to get them from within the new
OS, once it may be up and running).
Set up and run a new XEN virtual machine (in hardware-emulation mode) with the OS install ISO file as the boot disk. Here may be an example XEN config file with one emulated HDD and a CDROM (used as the boot device): import os, re arch = os .uname () [4] arch_libdir = 'lib' device_model = ' /usr/ ' + arch_libdir + ' /xen/bm/qemu-dm' kernel = "/usr/lib/xen/boot/hvmloader" builder= ' hvm ' memory = 1024 name = "hvml " acpi=l
vif = [ 'type=ioemu, mac=00 : 16 : 3e : 00 : 00 : 94 , bπdge=xenbrl ' ] disk = [ ' file : /tmp/boot-diskl, ioemu:hda, w' , ' file : /root / sol-nv-bl 6-x86- dvd. iso, hdc : cdrom, r ' ] on_poweroff= 'destroy ' on_crash= 'destroy ' on_reboot= 'destroy ' boot="d" vnc=l vncviewer=O vncpasswd= ' ' vnclisten=' 192.168.0.122 ' ne2000=0
Once the VM goes up, a VNC connection may be opened to see its console. Even though the console may be an emulated VGA with graphical capabilities, it may be advisable to choose text-based install, if the OS has one, especially if the GUI install may be overly dependent on mouse usage. The latter doesn't work very well over VNC.
Do the OS install according to taste, taking care not to install more than could fit on the small volumes that were prepared for it. Keep the following in mind:
• (Suggestion: verify this after the OS install!) SSH server may be installed and set up to start on boot, it may have public key authentication enabled and root logins allowed. To keep your OS safe, disable password logins for root (or disable it altogether). A version of the SSH server that may be compatible with the OpenSSH format of authentication keys may be preferable. See the appropriate APK install guide for any OS-specific notes regarding SSH setup.
• do not set up more than one partition per "disk". Use of swap partitions may be not recommended for appliances, but if desired, leave that step for later (when the image may be ready and proven to run under AppLogic (TM)). Do not set up swap partitions during install.
• The network setup may be the bare minimum preferable, so as to be able to transfer the APK files to the new OS for installation. The network setup may not be kept beyond the install phase - once the image may be ready, its network may be configured by APK.
• Do not install graphical tools / GUI, if at all possible. This may be a headless appliance, not a desktop
Once the install may be done, let the installer shut down the VM and reset it. It may not auto-reboot by itself (we configured XEN to destroy the VM on attempt to reboot).
Now, modify the VM config file to use the disk as the boot device, rather than the CD/DVD image (set the boot variable to "c"), and re-start it. Alternatively, if the OS installer has the option to chain-boot from hard disk, use that instead - saves the modification of the VM config file.
Log in via VNC and check that your new OS may be running OK.
Download the APK files and do the install as described in the OS-specific install guide (including any listed steps outside of running the install script - most importantly, delete all of the network setup that was put in during the install and disable any services that need real hardware to work - e.g., 'kudzu' in RedHat, smartd, etc.).
Shut down the OS.
Linux only: strip the master boot record and any padding that comes with it from the disk image files, leaving only the actual FS partition in each image file. This may be done using 'fdisk - Iu' to see the starting sector of the partition (usually 63) and then dd to grab data from the start sector to end of file. Ship the installed OS image files to an AppLogic (TM) grid, e.g, as follows:
1. Create a new application and add a new blank component to it. Edit the new component class (right-click Edit Class) and add un-formatted volumes with the same exact sizes as the ones created for the OS install above. Always start with the boot volume, then add the other volumes in the order in which they were set up during OS installation. In at least one embodiment, do not specify a mount point for the OS volumes.
2. For each of the volumes, do the following (the example assumes that the appliance was named my-application and the component was named newos:
3. 3t vol manage my-application : newos .volname —rw ip=avail-ip-addr netmask=mask gateway=gw 4. (use an available external IP address for your grid, with the corresponding netmask and gateway, to configure the vol manager instance with a working external network access).
1. from the vol manager shell, download the volume image onto the disk (commands may vary with OS and the method used to transfer the volume image, also see the OS- specific APK install guide for the exact location of the appliance.desc file on the vol manager - it may be needed to find the device name):
2. devname=N sed -n -e '/volume dst/s/ *volume dst : *dev=//p' /var/run/AppLogic (TM) /appliance . descN
3. wget -0 $devname ftp : //myftphost/osimage .boot
4. exit from the vol manager shell (and repeat the above steps for other volumes, if the OS was installed on more than one volume).
5. Once all volumes have been copied, start the application and log into the appliance (from the AppLogic (TM) shell):
6. application start my-application
7. ssh my-application :mam . newos
8. (or if using the remote-access macros: ca my-application ; astart ; assh newos
; )
9. Check the log file for any unusual error messages. If needed correct any glitches found (e.g., disable any useless hardware -related service that wasn't disabled during the initial setup and now fails, because it can't see its favorite piece of metal).
The new blank appliance may be now almost ready for being moved into a catalog. Final cleanups:
1. delete all log files, clean out the temp file directory
2. zap all free space on the disks, e.g., using commands like these (repeat for each volume, e.g., once for / and once for /usr, if these may be your two volume mount points):
3. cat /dev/ zero >/path/to/somef ile where /path/to may be a directory somewhere on the volume
4. wait for the cat command to fail (with disk full)
5. rm /path/to/somefile
6. If one or more of the appliance volumes were designated to become read-only: stop the application, and edit the appliance class to set them as read-only. Restart and log back in to see if it still works.
7. Stop the application, move the singleton into a catalog of your choice (e.g., 'user', which may be always present on a grid and writable). CREATING A VPS TEMPLATE
This recipe builds on the "Blank Appliance" one, and adds the following customizations, appropriate for using the appliance as a general purpose virtual server:
• an internet-accessible network interface
• secondary SSH login with its own configuration file and access key setup, independent of the automatic setup performed by APK for the benefit of the 'ssh' command of the AppLogic (TM) shell.
• configuration properties to facilitate the use of the VPS appliance class for easy provisioning (E.g., simple/automated making of copies of the VPS to rent out to clients). One step may be to create the OS image for the future VPS template. The "Blank
Appliance" recipe described above may be used, or one can start from an existing blank appliance class. Below are example of what may be set up differently:
• larger disk volume, with more software pre -installed
• the appliance class may not become a catalog class, instead the entire application containing the VPS component may be saved as a template.
• the root password may be set to empty before saving the application as a template - this may be used as an indication to the startup script to initialize the password (see the next section for more on root password configuration).
• the 'external' interface may be enabled in the component descriptor (Edit Class -> Interfaces, External interface).
VPS Server Configuration
The following standard properties may be defined for any VPS server appliance and exported to the application boundary, so that they may be configured with the 'application configure' command or the 'application provision' command:
Figure imgf000125_0001
Figure imgf000126_0001
(VPS templates provided with AppLogic (TM) also have these properties, which allow creating an initial user account: user, user_pw)
The appliance may be outfitted with a startup script that runs immediately after the APK startup script (AppLogic (TM)_init) and before the ssh server starts (important to keep the initial password setup safe). This script may be responsible for applying the VPS configuration properties in an OS-specific manner, as outlined in the above table.
Setting up two SSH server instances
In this step we set up a secondary SSH sever, so that the VPS may be accessible both to the client that rents it, and to the provider of the VPS (as well as to maintainers of the AppLogic (TM) grid itself), while each SSH instance maintains its own configuration and changes to it do not interfere with the operation of the other instance. The "primary" SSH instance, as configured by the OS install may be left for use by the VPS user(s) and may be configurable by them. The secondary instance may be dedicated to access from the grid, for the VPS provider / maintainter.
Note that the actual setup may vary with OS type and SSH server version. The examples here assume the OS may be unix-style and the server may be OpenSSH.
The two instances of the SSH server may be configured with different security settings, to match specific needs of the VPS user.
1. Copy the configuration of sshd into a new sub-directory, e.g.:
2. mkdi r / etc / s sh_gπd
3. cp / etc / s sh/ s shd_conf ig / etc / s sh_gπd
4. Edit the original configuration file (/etc/ssh/sshd_config) and: o remove all ListenAddress directives, if any o add the following lines to the configuration file (with no empty lines between them): o # $ $propN : 1111 : pπraary_ip o ListenAddress 1111
5. Edit the copied configuration file (/etc/ssh_grid/sshd_config) and make the following changes: o disable reverse DNS lookups: o UseDNS no (or LookupClientHostnames no on some SSH implementations) o disable password logins: o PasswordAuthentication no o allow root login (with key only): o PermitRootLogin without-password o set a custom key file name, which works only for root: o AuthoπzedKeysFile /root/ . ssh/alt_authoπzed_keys o disable GSSAPI authentication (cannot be used from the AppLogic (TM) controller): o GSSAPIAuthentication no o Remove all 'ListenAddress' options
6. Create a new auto-start script for the second ssh server, with the following commands in it:
7. # get service IP address
8. f=/var/run/AppLogic (TM) /appliance . desc
9. p=mstance : ~ udlparse elst $f instance' /interface : default
10. addr=N udlparse get $f $p/ipN 11.
12. # start ssh daemon
13. sshd -f /etc/ssh_gπd/sshd_conf ig -o ListenAddress=$addr Final Steps
The following settings may be added to the AppLogic (TM)_init configuration file (usually /etc/sysconfig/ AppLogic (TM)_init - see the APK install guide for exact location).
In at least one embodiment, modify the file paths to match the settings in the sshd config file for the secondary SSH instance, as configured above.
# apply configuration to these files: APK_CONFIG_FILES="/etc/ssh/sshd_config"
# make AppLogic (TM) configure this file as the grid ssh access key APK_AUTH_KEY_PATH=/root/ . ssh/alt_authoπzed_keys
BUILDING A MINI-APPLIANCE
In at least one embodiment, various techniques described herein may be used to implement a fast-booting mini-appliance, based entirely on a read-only volume. A small footprint appliance like this may be the basis of a NAT gateway, load balancer and anything else that does not need to keep persistent state.
This application incorporates by reference in its entirety and for all purposes U.S. Patent Application Serial No. 11/522,050 (Attorney Docket No. TERAP004), by Miloushev et al., entitled "APPARATUS, METHOD AND SYSTEM FOR RAPID DELIVERY OF DISTRIBUTED APPLICATIONS", filed September 15, 2006.
This application incorporates by reference in its entirety and for all purposes U.S. Patent Application Serial No. 11/024,641 (Attorney Docket No. TERAPOOl), by Miloushev et al., entitled "APPARATUS, METHOD AND SYSTEM FOR AGGREGRATING COMPUTING RESOURCES", filed December 29, 2004.
This application incorporates by reference in its entirety and for all purposes U.S. Patent Application Serial No. 61/068,659 (Attorney Docket No. TERAP005P), by Nickolov et al., entitled "GLOBALLY DISTRIBUTED UTILITY COMPUTING CLOUD", filed March 7, 2008.
This application incorporates by reference in its entirety and for all purposes U.S. Patent Application Serial No. 61/125,334 (Attorney Docket No. TERAP005P2), by Nickolov et al., entitled "GLOBALLY DISTRIBUTED UTILITY COMPUTING CLOUD", filed April 23, 2008.
Although several example embodiments of one or more aspects and/or features have been described in detail herein with reference to the accompanying drawings, it is to be understood that aspects and/or features are not limited to these precise embodiments, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of spirit of the invention(s) as defined, for example, in the appended claims.

Claims

IT IS CLAIMED
1. A system for facilitating manipulation of a file system on a virtual storage volume of a distributed computing network, the system comprising: at least one processor; at least one interface; and memory; a first plurality of virtual filer appliances including a first virtual filer appliance operable to perform at least one file system manipulation on at least one file system type; the first virtual filer appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer appliance to be created or instantiated at the distributed computing network; the system being operable to: identify, for performing a first file system manipulation, a first virtual storage volume having a first file system, the first file system corresponding to a first file system type; identify, from the first plurality of virtual filer appliances, a selected virtual filer appliance that is suitable for performing the first file system manipulation at the first virtual storage volume; automatically starting an instance of the selected virtual filer appliance; and automatically providing the instance of the selected virtual filer appliance with access to the first virtual storage volume.
2. The system of claim 1 wherein the first file system type is selected from a group of file system types consisting of: Linux-based file system types, Solaris-based file system types, and Windows-based file system types.
3. A method for facilitating manipulation of a file system on a virtual storage volume of a distributed computing system, the distributed computing system comprising a first plurality of virtual filer appliances including a first virtual filer appliance operable to perform at least one file system manipulation on at least one file system type, the method comprising: identifying, for performing a first file system manipulation, a first virtual storage volume having a first file system, the first file system corresponding to a first file system type; identifying, from the first plurality of virtual filer appliances, a selected virtual filer appliance that is suitable for performing the first file system manipulation at the first virtual storage volume, the first virtual filer appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer appliance to be created or instantiated at the distributed computing system; automatically starting an instance of the selected virtual filer appliance; and automatically providing the instance of the selected virtual filer appliance with access to the first virtual storage volume.
4. A method for facilitating manipulation of a file system on a virtual storage volume of a distributed computing network, the method comprising: identifying a first file system type for use in accessing files at a first virtual storage volume of the distributed computing network; identifying, using the first file system type, a first virtual filer application suitable for manipulating a first file system at the first virtual storage volume corresponding to the first file system type, wherein the first virtual filer application includes at least one virtual appliance, the first virtual filer application including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer application to be created or instantiated at the distributed computing network; identifying a first running instance of first virtual filer application for use in manipulating the first file system on the first virtual storage volume; automatically providing the first instance of the first virtual filer application with access to the first virtual storage volume; and automatically providing the first instance of the first virtual filer application with instructions for causing the first instance of the first virtual filer application to perform at least one file system operation at the first file system.
5. The method in claim 4 further comprising: automatically creating the first running instance of the first virtual filer application at the distributed computing network.
6. The method in claim 4 further comprising: automatically allocating an available running instance of the first virtual filer application from a pool of available filer applications at the distributed computing network.
7. A system for facilitating manipulation of a file system on a virtual storage volume of a distributed computing network, the system comprising: at least one processor; at least one interface; and memory; a first plurality of virtual filer appliances including a first virtual filer appliance operable to perform at least one file system manipulation on at least one file system type; the first virtual filer appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer appliance to be created or instantiated at the distributed computing network; the system being operable to: identify a first file system type for use in accessing files at a first virtual storage volume of the distributed computing network; identify, using the first file system type, a first virtual filer application suitable for manipulating a first file system at the first virtual storage volume corresponding to the first file system type, wherein the first virtual filer application includes at least one virtual appliance; identify a first running instance of first virtual filer application for use in manipulating the first file system on the first virtual storage volume; automatically provide the first instance of the first virtual filer application with access to the first virtual storage volume; and automatically provide the first instance of the first virtual filer application with instructions for causing the first instance of the first virtual filer application to perform at least one file system operation at the first file system.
8. The system in claim 7 being further operable to: automatically create the first running instance of the first virtual filer application at the distributed computing network.
9. The system in claim 7 being further operable to: automatically allocate an available running instance of the first virtual filer application from a pool of available filer applications at the distributed computing network.
10. The system of claim 7 wherein the first file system type is selected from a group of file system types consisting of: Linux-based file system types, Solaris-based file system types, and Windows-based file system types.
11. A method for facilitating resizing of a virtual storage volume implemented at a distributed computing network, the method comprising: identifying a first file system type for use in accessing files at a first virtual storage volume of the distributed computing network; identifying, using the first file system type, a running instance of a first virtual filer application operable to read and write files in a file system of the first file system type, wherein the first virtual filer application includes at least one virtual appliance, the first virtual filer application including an image of an operating system (OS) and being instantiated at a first virtual machine of the distributed computing network; performing, using the first virtual filer application, resizing operations for resizing the first virtual storage volume while preserving the first file system on the first virtual storage volume during the resizing operations, wherein the performing of the resizing operations includes: providing the first virtual filer application with access to the first virtual storage volume and a second virtual storage volume, where the size of the second virtual storage volume differs from the size of the first storage volume; and copying, using the first virtual filer application, a first plurality of files from the first virtual storage volume to the second virtual storage volume.
12. A system for facilitating resizing of a virtual storage volume implemented at a distributed computing network, the system comprising: at least one processor; at least one interface; and memory; a first plurality of virtual filer appliances including a first virtual filer appliance operable to perform at least one file system manipulation on at least one file system type; the first virtual filer appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual filer appliance to be created or instantiated at the distributed computing network; the system being operable to: identify a first file system type for use in accessing files at a first virtual storage volume of the distributed computing network; identify, using the first file system type, a running instance of a first virtual filer application operable to read and write files in a file system of the first file system type; perform, using the first virtual filer application, resizing operations for resizing the first virtual storage volume while preserving the first file system on the first virtual storage volume during the resizing operations, wherein the performing of the resizing operations includes: providing the first virtual filer application with access to the first virtual storage volume and a second virtual storage volume, where the size of the second virtual storage volume differs from the size of the first storage volume; and copying, using the first virtual filer application, a first plurality of files from the first virtual storage volume to the second virtual storage volume.
13. The system of claim 12 wherein the first file system type is selected from a group of file system types consisting of: Linux-based file system types, Solaris-based file system types, and Windows-based file system types.
14. A method for facilitating conversion of a file system of a virtual storage volume from a first file system type to a second file system type, the virtual storage volume being implemented at a distributed computing network, the method comprising: identifying a first file system type of a first file system of a first virtual storage volume; automatically identifying a first virtual filer appliance operable to read files from the first file system type, the first virtual filer appliance including an image of a first operating system (OS) loadable in a first virtual machine to thereby enable a running instance of the first virtual filer appliance to be created or instantiated at the distributed computing network; automatically providing the first virtual filer appliance with access to the first virtual storage volume; identifying a second file system type of a second file system of a second virtual storage volume; automatically identifying a second virtual filer appliance operable to write files to the second file system type, the second virtual filer appliance including an image of a second operating system (OS) loadable in a second virtual machine to thereby enable a running instance of the second virtual filer appliance to be created or instantiated at the distributed computing network; automatically providing the second virtual filer appliance with access to the second virtual storage volume; providing a first communication link between the first virtual filer appliance and the second virtual filer appliance; performing, using the first virtual filer appliance and second virtual filer appliance, file system conversion operations for converting the first file system from a first file system type to the second file system of the second file system type, wherein the performing of the file system conversion operations includes: operating the first virtual filer appliance to read a first plurality of files from the first virtual storage volume; sending, via use of the first communication link, file information relating to the first plurality of read files to the second virtual filer appliance; operating the second virtual filer appliance to receive the file information via the first communication link; and operating the second virtual filer appliance to write at least a portion of the received file information to the second virtual storage volume.
15. The method of claim 14 further comprising: automatically creating, on demand, at least one running instance of at least one of: the first virtual filer appliance and/or second virtual filer appliance in response to at least one condition or event.
16. The method of claim 14 further comprising: automatically creating, on demand, at least one running instance of at least one of: the first virtual filer appliance and/or second virtual filer appliance in response to at least one real-time condition or event.
17. The method of claim 14 further comprising: dynamically generating, using the first file system type and the second file system type, a first virtual application template; automatically creating, on demand, using the first virtual application template, running instances of the first virtual filer appliance and second virtual filer appliance.
18. The method of claim 14 further comprising: dynamically generating, using the first file system type and the second file system type, a first virtual application template; automatically and dynamically creating, on demand, using the first virtual application template, running instances of the first virtual filer appliance and second virtual filer appliance in response to at least one real-time condition or event.
19. The method of claim 14 further comprising: automatically creating, on demand, using a first pre -configured application template, running instances the first virtual filer appliance and second virtual filer appliance in response to at least one condition or event; wherein the first pre -configured application template is selected from a plurality of pre- configured application templates using information relating to the first file system type and the second file system type.
20. A system for facilitating conversion of a file system of a virtual storage volume from a first file system type to a second file system type, the virtual storage volume being implemented at a distributed computing network, the system comprising: at least one processor; at least one interface; and memory; the system being operable to: identify a first file system type of a first file system of the virtual storage volume; automatically identify a first virtual filer appliance operable to read files from the first file system type, the first virtual filer appliance including an image of a first operating system (OS) loadable in a first virtual machine to thereby enable a running instance of the first virtual filer appliance to be created or instantiated at the distributed computing network; automatically provide the first virtual filer appliance with access to the first virtual storage volume; identify a second file system type of a second file system of the virtual storage volume; automatically identifying a second virtual filer appliance operable to write files to the second file system type, the second virtual filer appliance including an image of a second operating system (OS) loadable in a second virtual machine to thereby enable a running instance of the second virtual filer appliance to be created or instantiated at the distributed computing network; automatically provide the second virtual filer appliance with access to the second virtual storage volume; provide a first communication link between the first virtual filer appliance and the second virtual filer appliance; and perform, using the first virtual filer appliance and second virtual filer appliance, file system conversion operations for converting the first file system from a first file system type to the second file system of the second file system type, wherein the performing of the file system conversion operations includes: operate the first virtual filer appliance to read a first plurality of files from the first virtual storage volume; send, via use of the first communication link, file information relating to the first plurality of read files to the second virtual filer appliance; operate the second virtual filer appliance to receive the file information via the first communication link; and operate the second virtual filer appliance to write at least a portion of the received file information to the second virtual storage volume.
21. The system of claim 20 being further operable to: automatically create, on demand, at least one running instance of at least one of: the first virtual filer appliance and/or second virtual filer appliance in response to at least one condition or event.
22. The system of claim 20 being further operable to: automatically create, on demand, at least one running instance of at least one of: the first virtual filer appliance and/or second virtual filer appliance in response to at least one real-time condition or event.
23. The system of claim 20 being further operable to: dynamically generate, using the first file system type and the second file system type, a first virtual application template; automatically create, on demand, using the first virtual application template, running instances of the first virtual filer appliance and second virtual filer appliance.
24. The system of claim 20 being further operable to: dynamically generate, using the first file system type and the second file system type, a first virtual application template; automatically and dynamically create, on demand, using the first virtual application template, running instances of the first virtual filer appliance and second virtual filer appliance in response to at least one real-time condition or event.
25. The system of claim 20 being further operable to: automatically create, on demand, using a first pre-configured application template, running instances the first virtual filer appliance and second virtual filer appliance in response to at least one condition or event; wherein the first pre-configured application template is selected from a plurality of pre- configured application templates using information relating to the first file system type and the second file system type.
26. The system of claim 20 wherein the first file system type is selected from a group of file system types consisting of: Linux-based file system types, Solaris-based file system types, and Windows-based file system types.
27. A file access system for facilitating remote file access to remotely located virtual storage volumes of a distributed computing network, the system comprising: at least one processor; at least one interface; and memory; a first plurality of virtual filer applications including a first virtual filer application operable to perform at least one file system manipulation on at least one file system type; the first virtual filer application including an image of an operating system (OS) loadable in a first virtual machine to thereby enable a first running instance of the first virtual filer application to be created or instantiated at the distributed computing network; the first virtual filer application being operable to perform file system formatting operations, file read operations, and file write operations on at least one file system corresponding to a first file system type; the system being operable to: receive a first request to access a first remote virtual storage volume; automatically identify a first type of file system at the first remote virtual storage volume; automatically identify, using information relating to the first type of file system, a selected virtual filer application that is suitable for performing file system manipulations at the first remote virtual storage volume; and remotely accessing, using the selected virtual filer application, one or more files at the first remote virtual storage volume.
28. A method for facilitating remote file access to remotely located virtual storage volumes of a distributed computing network, the distributed computing network including a first plurality of virtual filer applications including a first virtual filer application operable to perform at least one file system manipulation on at least one file system type, the method comprising: receiving a first request to access a first remote virtual storage volume; automatically identifying a first type of file system at the first remote virtual storage volume; automatically identifying, using information relating to the first type of file system, a selected virtual filer application that is suitable for performing file system manipulations at the first remote virtual storage volume, the selected virtual filer application including an image of an operating method (OS) loadable in a first virtual machine to thereby enable a first running instance of the first virtual filer application to be created or instantiated at the distributed computing network; and remotely accessing, using the selected virtual filer application, one or more files at the first remote virtual storage volume.
29. The method of claim 28 wherein the file system manipulations include at least one operation selected from a group consisting of: file system formatting operations, file read operations, and file write operations.
30. A system for facilitating access to files on a first virtual storage volume of a distributed computing network, the system comprising: at least one processor; at least one interface; and memory; the system being operable to: receive a first access request for performing a first file access operation at the first virtual storage volume; determine whether the first virtual storage volume is currently in use, mounted or attached to a virtual machine; in response to determining that the first virtual storage volume is currently in use, mounted or attached: identify a first virtual machine which has current access to first virtual storage volume; and forward the first access request to the first virtual machine to thereby cause the first virtual machine to perform at least one file access operation at the first virtual storage volume; and in response to determining that the first virtual storage volume is not currently in use, mounted or attached: automatically identify a first type of file system at the first virtual storage volume; automatically identify, using information relating to the first type of file system, a selected virtual filer appliance that is suitable for performing file access operations at the first virtual storage volume; automatically attach the first virtual storage volume to the selected virtual filer appliance for providing the selected virtual filer appliance with file access to the virtual storage volume; and forward the first access request to the selected virtual appliance to thereby cause the selected virtual appliance to perform at least one file access operation at the first virtual storage volume.
31. The system of claim 30 being further operable to: provide file access to at least one online virtual storage volume which is currently in use, mounted or attached to a first device of the distributed computing network; and provide file access to at least one offline virtual storage volume which is not currently in use, mounted or attached to a any device in the distributed computing network.
32. The system of claim 30 wherein the first virtual machine is configured as a first virtual appliance.
33. A method for facilitating access to files on a first virtual storage volume of a distributed computing network, the method comprising: receiving a first access request for performing a first file access operation at the first virtual storage volume; determining whether the first virtual storage volume is currently in use, mounted or attached to a virtual machine; in response to determining that the first virtual storage volume is currently in use, mounted or attached: identifying a first virtual machine which has current access to first virtual storage volume; and forwarding the first access request to the first virtual machine to thereby cause the first virtual machine to perform at least one file access operation at the first virtual storage volume; and in response to determining that the first virtual storage volume is not currently in use, mounted or attached: automatically identifying a first type of file system at the first virtual storage volume; automatically identifying, using information relating to the first type of file system, a selected virtual filer appliance that is suitable for performing file access operations at the first virtual storage volume; automatically attaching the first virtual storage volume to the selected virtual filer appliance for providing the selected virtual filer appliance with file access to the virtual storage volume; and forwarding the first access request to the selected virtual appliance to thereby cause the selected virtual appliance to perform at least one file access operation at the first virtual storage volume.
34. The method of claim 33 further comprising: providing file access to at least one online virtual storage volume which is currently in use, mounted or attached to a first device of the distributed computing network; and providing file access to at least one offline virtual storage volume which is not currently in use, mounted or attached to a any device in the distributed computing network.
35. The method of claim 33 wherein the first virtual machine is configured as a first virtual appliance.
36. A virtual appliance configuration system for configuring one or more virtual appliances in a distributed computing network, the system comprising: a first virtual appliance including an image of an operating system (OS) operable to be loaded or booted in a first virtual machine to thereby enable a first running instance of the first virtual appliance to be created or instantiated at the distributed computing network; a DHCP server, operable to provide at least one IP address to the first virtual appliance in response to a DHCP request received from the first virtual appliance; an appliance configuration server, operable to facilitate access to a first appliance configuration file associated with the first virtual appliance an agent (or the appliance), operable to request the first appliance configuration file; and a web server, operable to provide the first virtual appliance with access to the first appliance configuration file in response to a request received from the first virtual appliance.
37. The system of claim 36 wherein the first virtual appliance includes an appliance configurator operable to automatically and dynamically configure at least one network interface of the virtual appliance using information obtained from the first appliance configuration file.
38. The system of claim 36 wherein the first virtual appliance includes a network address map resolver operable to resolve host names to remote network hosts using information obtained from the first appliance configuration file.
39. The system of claim 36 wherein the first virtual appliance includes a configuration file manipulator operable to automatically update information in at least one appliance configuration file using information obtained from the first appliance configuration file.
40. The system of claim 36 wherein the first virtual appliance includes a property extractor operable to automatically extract individual configuration parameters from the first appliance configuration file, and operable to provide access to at least a portion of the configuration parameters as separate configuration parameters for use in configuration of software operating in the virtual appliance.
41. The system of claim 36 wherein the first virtual appliance includes a volume configurator operable to automatically mount at least one virtual storage volume into file system mountpoints using volume configuration information obtained from the first appliance configuration file.
PCT/US2009/046503 2005-09-15 2009-06-05 Automated filer technique for use in virtualized appliances and applications WO2009149416A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/003,863 US8364638B2 (en) 2005-09-15 2009-06-05 Automated filer technique for use in virtualized appliances and applications
US13/747,588 US9087076B2 (en) 2005-09-15 2013-01-23 Automated filer technique for use in virtualized appliances and applications

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US5892308P 2008-06-05 2008-06-05
US5892108P 2008-06-05 2008-06-05
US61/058,923 2008-06-05
US61/058,921 2008-06-05
US12/400,710 US8429630B2 (en) 2005-09-15 2009-03-09 Globally distributed utility computing cloud
US12/400,710 2009-03-09

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/400,710 Continuation-In-Part US8429630B2 (en) 2005-09-15 2009-03-09 Globally distributed utility computing cloud

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US13/003,863 A-371-Of-International US8364638B2 (en) 2005-09-15 2009-06-05 Automated filer technique for use in virtualized appliances and applications
US13/747,588 Division US9087076B2 (en) 2005-09-15 2013-01-23 Automated filer technique for use in virtualized appliances and applications

Publications (1)

Publication Number Publication Date
WO2009149416A1 true WO2009149416A1 (en) 2009-12-10

Family

ID=41398569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2009/046503 WO2009149416A1 (en) 2005-09-15 2009-06-05 Automated filer technique for use in virtualized appliances and applications

Country Status (1)

Country Link
WO (1) WO2009149416A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101008554B1 (en) 2010-07-15 2011-01-14 엑스투씨앤씨(주) Cloud type file copy and disk duplication system using wan and the method thereof
CN103309773A (en) * 2013-07-03 2013-09-18 厦门市美亚柏科信息股份有限公司 Data recovery method of RAID0 under EXT3 file system
CN109564529A (en) * 2016-08-02 2019-04-02 微软技术许可有限责任公司 Placeholder based on Symbolic Links
US10819434B1 (en) 2019-04-10 2020-10-27 At&T Intellectual Property I, L.P. Hybrid fiber coaxial fed 5G small cell surveillance with hybrid fiber coaxial hosted mobile edge computing
US10848988B1 (en) 2019-05-24 2020-11-24 At&T Intellectual Property I, L.P. Dynamic cloudlet fog node deployment architecture
CN112910884A (en) * 2021-01-28 2021-06-04 北京直真科技股份有限公司 Method for realizing interaction between APK and ACS through packaging TR069 message
CN114115719A (en) * 2021-08-24 2022-03-01 深圳市木浪云科技有限公司 IO batch processing method and device based on IO mode identification and storage medium
US11974147B2 (en) 2022-10-12 2024-04-30 At&T Intellectual Property I, L.P. Dynamic cloudlet fog node deployment architecture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038656A1 (en) * 2000-06-27 2007-02-15 Emc Corporation Method and apparatus for verifying storage access requests in a computer storage system with multiple storage elements
US20070078988A1 (en) * 2005-09-15 2007-04-05 3Tera, Inc. Apparatus, method and system for rapid delivery of distributed applications
US20070198656A1 (en) * 2006-01-24 2007-08-23 Citrix Systems, Inc. Methods and servers for establishing a connection between a client system and a virtual machine executing in a terminal services session and hosting a requested computing environment
US20070244987A1 (en) * 2006-04-12 2007-10-18 Pedersen Bradley J Systems and Methods for Accelerating Delivery of a Computing Environment to a Remote User

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038656A1 (en) * 2000-06-27 2007-02-15 Emc Corporation Method and apparatus for verifying storage access requests in a computer storage system with multiple storage elements
US20070078988A1 (en) * 2005-09-15 2007-04-05 3Tera, Inc. Apparatus, method and system for rapid delivery of distributed applications
US20070198656A1 (en) * 2006-01-24 2007-08-23 Citrix Systems, Inc. Methods and servers for establishing a connection between a client system and a virtual machine executing in a terminal services session and hosting a requested computing environment
US20070244987A1 (en) * 2006-04-12 2007-10-18 Pedersen Bradley J Systems and Methods for Accelerating Delivery of a Computing Environment to a Remote User

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101008554B1 (en) 2010-07-15 2011-01-14 엑스투씨앤씨(주) Cloud type file copy and disk duplication system using wan and the method thereof
CN103309773A (en) * 2013-07-03 2013-09-18 厦门市美亚柏科信息股份有限公司 Data recovery method of RAID0 under EXT3 file system
CN103309773B (en) * 2013-07-03 2016-08-10 厦门市美亚柏科信息股份有限公司 The data reconstruction method of the RAID0 under EXT3 file system
CN109564529A (en) * 2016-08-02 2019-04-02 微软技术许可有限责任公司 Placeholder based on Symbolic Links
CN109564529B (en) * 2016-08-02 2023-09-29 微软技术许可有限责任公司 Placeholders based on symbolic links
US10819434B1 (en) 2019-04-10 2020-10-27 At&T Intellectual Property I, L.P. Hybrid fiber coaxial fed 5G small cell surveillance with hybrid fiber coaxial hosted mobile edge computing
US11146333B2 (en) 2019-04-10 2021-10-12 At&T Intellectual Property I, L.P. Hybrid fiber coaxial fed 5G small cell surveillance with hybrid fiber coaxial hosted mobile edge computing
US11558116B2 (en) 2019-04-10 2023-01-17 At&T Intellectual Property I, L.P. Hybrid fiber coaxial fed 5G small cell surveillance with hybrid fiber coaxial hosted mobile edge computing
US11503480B2 (en) 2019-05-24 2022-11-15 At&T Intellectual Property I, L.P. Dynamic cloudlet fog node deployment architecture
US10848988B1 (en) 2019-05-24 2020-11-24 At&T Intellectual Property I, L.P. Dynamic cloudlet fog node deployment architecture
CN112910884A (en) * 2021-01-28 2021-06-04 北京直真科技股份有限公司 Method for realizing interaction between APK and ACS through packaging TR069 message
CN112910884B (en) * 2021-01-28 2023-04-18 北京直真科技股份有限公司 Method for realizing interaction between APK and ACS through packaging TR069 message
CN114115719B (en) * 2021-08-24 2022-10-18 深圳市木浪云科技有限公司 IO batch processing method and device based on IO mode identification and storage medium
CN114115719A (en) * 2021-08-24 2022-03-01 深圳市木浪云科技有限公司 IO batch processing method and device based on IO mode identification and storage medium
US11974147B2 (en) 2022-10-12 2024-04-30 At&T Intellectual Property I, L.P. Dynamic cloudlet fog node deployment architecture

Similar Documents

Publication Publication Date Title
US8364638B2 (en) Automated filer technique for use in virtualized appliances and applications
US9940330B2 (en) System and method for converting a physical disk to a virtual disk
US9841966B2 (en) Selective migration of virtualized applications
EP2765508B1 (en) Installation method and installation device for application software
Lowe Mastering vmware vsphere 5
US8924954B2 (en) Application software installation method and application software installation apparatus
US7890689B2 (en) Virtual appliance management
US20140007092A1 (en) Automatic transfer of workload configuration
US10360011B2 (en) Private computer network installations
WO2009149416A1 (en) Automated filer technique for use in virtualized appliances and applications
JP2022536706A (en) Security hardened automatically deployed information technology (IT) system and method
US9569443B1 (en) Method and apparatus for providing access to data in unsupported file systems and storage containers
Ahmed Mastering Proxmox: Build virtualized environments using the Proxmox VE hypervisor
Mackey et al. XenServer Administration Handbook: Practical Recipes for Successful Deployments
Ahmed Mastering Proxmox
Brooks et al. A Practical Guide to Tivoli SANergy
Berton Ansible for VMware
Van Vugt Beginning Ubuntu LTS server administration: from novice to professional
Barschel Unix Toolbox
Jang MasteringTM Red Hat® Enterprise Linux® 3
Bacik et al. Red Hat Enterprise Linux 6 Storage Administration Guide
Bain et al. Introducing Microsoft Virtual Server 2005 on IBM Eserver xSeries Servers
Curtis et al. Practical Oracle Database Appliance
Babar et al. An Investigation into the Use of OpenStack for Submarine Mission
Tongsima Cluster Computing System: Installation and Administration Guide

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09759574

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 13003863

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 09759574

Country of ref document: EP

Kind code of ref document: A1