Oracle Internet File System Setup and Administration Guide Release 1.1 A81197-04 |
|  |  | Index

# 1
Getting Started with Oracle iFS

Oracle iFS provides a mechanism for creating, storing, and managing various types of information in a common repository for users to access and update. This chapter gives you a brief look at Oracle iFS, how it is used out-of-the-box, customization features, the various administration tools, and the tasks an administrator needs to perform to set up, customize, and maintain Oracle iFS. Topics include:

- What is Oracle iFS?

- Oracle iFS Components

- Oracle iFS Uses Three Types of Objects

- Setting Up Oracle iFS is a Four-Step Process

- The Five Administration Tools

## What is Oracle iFS?

Oracle iFS is a file system running on top of a database. In essence, Oracle iFS provides the paradigm translation between file systems and databases. These two separate worlds of data storage meet in Oracle iFS. For file system users, Oracle iFS behaves as if it were a standard file server, organizing files into hierarchies of folders. Users may not realize that the data is stored in a database, since Oracle iFS behaves just like any file, web, or e-mail server and the end user does not have to interact directly with the database.

Oracle iFS actually stores files in a relational database, rather than on a local hard drive. Administrators can perform many tasks using Oracle iFS that are not possible using standard file systems.

The following definitions of Oracle iFS components may help you to better understand Oracle iFS.

### Benefits of Using Oracle iFS

The benefits of using Oracle iFS include simplified administration, universal access to information for end users, application development, and National Language Support. Each section below describes these benefits.

#### Simplified Administration

For administrators, Oracle iFS has several advantages, resulting from storing data and running services within the Oracle8i database and supporting standards:

- Simplified system maintenance--Access and performance for both the Oracle database and Oracle iFS improves when you scale the system to new machines, add processors for performance, or perform other maintenance tasks. File storage and access, e-mail, and application performance automatically improve.

- Simplified system security--Administrators can manage security for files, e-mail messages, web pages, and relational data within the same system, using the same tools.

- Simplified backup--Backing up the Oracle8i database automatically backs up files, messaging, and other contents of Oracle iFS.

#### End Users

End users get the following benefits from Oracle iFS:

- Universal Access to Information--Users can access the contents of Oracle iFS through Windows Explorer, any Web browser, e-mail clients, and FTP clients. Users can view a file directly in Oracle iFS by double-clicking it in Windows Explorer.

- Different Clients, Same Functionality--The Web interface provides the functionality for checking out files, creating new versions, and searching for files.

- Advanced Searches--The search capabilities of Oracle iFS far surpass anything possible in file systems. Not only is it easier to find a single file by searching for its external attributes and its content, but users can perform searches across different file types. For example, a user could search for all the Word files that contain references to Project X, as well as presentations, images, e-mails, web pages, and other files that relate to that project. Oracle iFS indexes all content automatically; searching is faster because Oracle iFS searches the index, not the files' content.

- File Management and Security--If users need to share files while still controlling access to them, users can enforce check in/check out procedures, as well as control the privileges of other users to view, edit, or delete files.

  Users can also lock or unlock files. Locking a file prevents anyone from modifying the same file.

- Backing Up Data--Files stored in Oracle iFS are backed up as often as the database itself, so that they can be restored from backups when needed.

#### Application Development

##### Extending Oracle iFS Classes

To customize the system to meet specific needs, developers can extend the Oracle iFS classes to add custom attributes.

##### XML Support

This structured format is entirely composed of attributes. The SimpleXMLParser, which comes with Oracle iFS, enables developers to create documents with custom attributes without writing Java code.

#### National Language Support

Oracle iFS supports storing documents of different character sets. For example, an international company can store German and Japanese documents in a single file system. More importantly, you will be able to search on these multi-lingual documents.

### Files: A Definition

A file in Oracle iFS is any type of electronic data that end users store in Oracle iFS, including all types of word processing files, presentations, graphic images, HTML web pages, spreadsheets, e-mail messages, and so on. Files may be complex in nature, consisting of both structured data components, such as attributes, and unstructured data components, such as document content. Files loaded into Oracle iFS are parsed without customization. Files are also parsed to extract attributes.

### Oracle iFS Service

An Oracle iFS process runs in a single Java Virtual Machine (JVM). An example of an Oracle iFS process is an File Transfer Protocol (FTP) server or the Server Message Block (SMB) server. Each Oracle iFS process has an Oracle iFS service which manages the interaction with the database.

An Oracle iFS service is configured by a service properties file which contains information such as connection pool sizes and cache sizes. Multiple Oracle iFS services can share the same properties file.

If you use Oracle iFS out of the box:

- Each protocol server has its own Oracle iFS service.

- Each of these Oracle iFS services has its own name and therefore, service properties file.

- Each of these service properties files points to the same database instance and database schema.

### The Oracle HTTP Server

The Oracle HTTP Server is a component of Oracle8i, Release 3 (8.1.7) and the Oracle Internet Application Server (iAS). This HTTP server provides an Oracle implementation of the Apache Web Server, version 1.3.12 that works in conjunction with Jserv 1.0. In addition, Oracle HTTP Server also includes the Oracle Java Server Pages (JSP) engine.

Although Oracle iFS ships the Java Web Server (JWS), version 2. 0, and is the default Web server, Oracle iFS has also been certified to work with the Oracle Apache Web Server. The Oracle Apache Web Server is an additional service provided to facilitate customers who want to use Apache as their Web server.

Apache JServ is a 100% pure Java servlet engine fully compliant with the 2.0 specification of the JavaSoft Java Servlet API.

See AlsoFor more information on service properties files, see Appendix B, "Secondary Properties".

- For more information on how to configure the Apache Web Server and the Jserv Servlet engine, see the Oracle HTTP Server Release Manual, version 1.3.12.

- For more information on application development, see Chapter 10, "Using Oracle iFS Manager for Development Tasks".

- For more information on the language and character sets that Oracle iFS supports, see the Oracle Internet File System Installation Guide.

## Oracle iFS Components

The Oracle iFS system is divided into three layers. Figure 1-1 demonstrates these concepts.

Protocols--The protocols are the familiar interfaces with which the end user interacts. Because these are standard protocols, users are not even aware that their files are being stored in a database.

Services--This layer provides actions on the repository, such as parsing and rendering. Developers can extend the repository's behavior by adding their custom business logic. For example, a developer may write his or her own custom agent or override.

Storage--The repository is the Oracle iFS foundation, storing both relational data and file information.

Note: Remember that the Oracle iFS repository is owned by `ifssys` user.

#### Figure 1-1 Oracle iFS Components

## Oracle iFS Uses Three Types of Objects

Oracle iFS is based on three main objects. Users will be aware of these objects; however, as the administrator, you will see the underlying ways in which Oracle iFS actually classifies and stores files, folders, and other file system components. Oracle iFS uses a combination of relational and object-oriented concepts in defining the repository.

- Public Objects--These objects are the most common objects in the Oracle iFS repository and may be manipulated by end users. Public objects can be placed in folders. Access to them is controlled by Access Control Lists (ACLs).

- Schema Objects--These objects define the class hierarchy, the object attributes, and validation. The class hierarchy shows which child classes inherit from which parent classes. Only an administrator can create, modify, or delete schema objects. Examples of schema objects are class objects and class domains.

- System Objects--These objects pertain to the overall Oracle iFS system. Only an administrator can create, modify, or delete system objects. Examples of system objects are formats and policies.

See Also

For more information on the folder hierarchy, see Chapter 10, "Using Oracle iFS Manager for Development Tasks".

## Setting Up Oracle iFS is a Four-Step Process

To set up Oracle iFS, you must complete four steps:

1. Plan your system and set up the folder hierarchy: Before using Oracle iFS, define the structure of the folder hierarchy based on organization structure, information or workflow, or user recommendations.

2. Add users and groups: After planning and setting up your folder hierarchy, add the users and define groups of users to make administration and the applications of ACLs to files easier.

3. Load files into Oracle iFS: Migrate your data into Oracle iFS from your legacy file systems.

4. Set up security: Security covers access to the Oracle iFS system and its various functions, and access to particular folders and files. Identify those users who need administration privileges to manage their department and folder hierarchy. Define the basic ACLs to apply to files. As you add users, you assign passwords.

   Note: It is recommended that you change the system user's password because it is published in this guide. Anyone can access the administrator account if the password is not changed. For information on changing the password, see Chapter 5, "Task 2: Add Users and Groups".

### Task 1: Plan Your System and Set Up the Folder Hierarchy

The folder hierarchy is a very important component of Oracle iFS. It is a representation of how the files in the repository are organized. It is familiar to all users and makes organizing and browsing information easy. An important prerequisite is to model how you want to organize the file hierarchy. For example:

    MyHome
        Correspondence
        Conferences
            Oracle Open World
            Oracle Applications Users Group
        Plans
            Presentations
    Partners Program
        Partner Information
        Program Plan
        Technical Whitepapers
    Public
        Product Information
            Oracle iFS
                    Manuals
                    Software Downloads
            Oracle JDeveloper
            Oracle8i Server
        Standards and Procedures
            Company Policies
            Procedure Manuals
        home/
        public/
        root/

When constructing your folder hierarchy, answer these questions:

- Who will be using Oracle iFS?

- What protocol servers do you need to run?

- What kinds of users will be using Oracle iFS? Do you want to accommodate guest users, or give administrative permissions to some users or developers?

- Do users naturally group together? Should you set up groups within groups?

- What kinds of access should be allowed to files?

- What types of files do you have? Do they include .doc, .txt, .html, or .xml?

### Task 2: Add Users and Groups

After setting up the folder hierarchy, create users and groups. Oracle iFS users are the end users who use Oracle iFS as a file management system. Groups are composed of users that are related in some way. For example, the Marketing group could contain all of the members of the corporate marketing organization.

There are no groups provided with a new Oracle iFS installation.

### Task 3: Load Files into Oracle iFS

It may be necessary to migrate your data from your legacy systems. This process requires you to manually transfer the data to the new environment.

There are four different ways to load files into Oracle iFS:

- Drag and drop--In Windows Explorer (if the SMB or NTFS server is running) and the Web interface (if the Web server is running), you can drag and drop files into Oracle iFS as well as build the folder hierarchy.

- FTP--If the File Transfer Protocol (FTP) server is running, use any FTP client to load files into Oracle iFS. FTP is the most efficient protocol to use for bulk file loading.

- Upload by Browse--Use the Web interface to select a single file to upload to Oracle iFS. This method allows you to upload only one file at a time.

- Command Line Utilities--Use the Command Line Utilities to load one file at a time into Oracle iFS.

### Task 4: Set Up Security

Now that you have established the folder hierarchy, created users and groups, and loaded files into Oracle iFS, you can set up security for these items in Oracle iFS. Security in Oracle iFS is defined using Access Control Lists (ACLs). An ACL is a list of users and groups with a set of access permissions. The ACL is applied to a file or folder to grant the defined access settings for the users and groups in the list.

The following ACLs are supplied out-of-the-box:

- PUBLIC--All users have all permissions.

- PUBLISHED--All users have read permissions, and can view, but not edit, the attributes or content. The owner has all permissions.

- PRIVATE--The owner has all permissions; no other users have access. This is the default ACL.

- PROTECTED--To be used for folders; users can add and remove files, but they cannot rename or delete the folder in which the file resides. The owner has all permissions.

See Also

- For more information on planning your file system and setting up your folder hierarchy, see Chapter 4, "Task 1: Set Up the Folder Hierarchy".

- For more information on creating users and groups in Oracle iFS, see Chapter 5, "Task 2: Add Users and Groups".

- For more information on loading files into Oracle iFS, see Chapter 6, "Task 3: Load Files into Oracle iFS".

- For more information on setting up security in Oracle iFS, see Chapter 7, "Task 4: Set Up Security".

## The Five Administration Tools

Oracle iFS provides administrative capabilities in four tools:

- Oracle iFS Manager

- Web interface

- Command Line Utilities

- XML configuration files

- Server Manager

Oracle iFS Manager is the tool to use for most administration tasks. The Web interface is the easiest tool to use, though limited in its administrative functionality. The Command Line Utilities are used for administrators familiar with the command line. XML configuration files can be used to streamline the creation of large numbers of repository objects. You use Server Manager to manage and monitor the servers and agents for Oracle iFS.

### Use Oracle iFS Manager As An Extension of OEM

Oracle iFS Manager uses the OEM toolkit and framework to provide a single-point administration tool. For an illustration of the Oracle iFS Manager interface as it looks after logging in, see Figure 1-2, Oracle iFS Manager.

Using Oracle iFS Manager, you can perform both administrative tasks and development tasks. Oracle iFS Manager also contains a built-in file system browser to navigate the folder hierarchy of Oracle iFS and includes access to the Server Manager interface.

#### Figure 1-2 Oracle iFS Manager

Administrative tasks include creating and modifying:

- Users--Users are the end users who use Oracle iFS as a file management system.

- Groups--By assigning users to groups, administration and maintenance is easier. Instead of adding each user to an Access Control List interface for a file or folder individually, you can add a group of users all at the same time and manage multiple users a single group.

- ACLs--Security for all objects, including folders and files, is maintained through ACLs. An ACL specifies the permissions granted to or revoked for a particular user or group.

- Mount Points--Mount points in Oracle iFS are named directories which can be accessed through Windows (SMB) and the Web interface.

Development tasks include creating and modifying:

- Class Objects--A class object represents a class with instances that are persistently stored and managed by the Oracle iFS server.

- Class domains--A class domain limits specific classes for attributes that point to objects.

- Value domains--A value domain specifies valid attribute values. A value domain can be a list or a range.

- Value defaults--A value default specifies an initial value for an attribute if none is given.

- Formats/Mimetypes--The format of a document specifies the way the document information is stored, indexed or not.

- Register parsers--A custom parser and a custom XML parser can be registered to a file extension.

- Register renderers--A custom renderer can be registered to a specific class.

- Register Java Server Page (JSP) Lookups--A custom Java Server Page (JSP) can be registered to a specific class.

### Use the Web Interface for Basic Tasks

The advantage to using the Web interface to administer Oracle iFS is that it can be used on any platform and is accessible from any machine that has a browser. For an illustration of the Web interface as it looks after logging in, see Figure 1-3, Web Interface.

The Web interface is the best tool available when completing the following simple tasks:

- Creating a single user or group.

- Displaying all users or groups.

- Editing a user's profile.

- Changing a user's password.

- Modifying ACLs by adding or removing Access Control Entries (ACEs) for users and groups.

- Applying an Access Control List (ACL) to a document or folder.

#### Figure 1-3 Oracle iFS Web Interface

### Use XML Configuration Files to Create Repository Objects

The XML configuration files provide a convenient shortcut for creating users, ACLs, and other repository components. Using XML, you can create the same Oracle iFS setup on another server.

For example, this XML file creates a new user:

        <SimpleUser>
           <UserName>gking</UserName>
           <Password>ifs</Password>
           <DistinguishedNameSuffix>.yourcompany.com</DistinguishedNameSuffix>
           <AdminEnabled>true</AdminEnabled>
           <HomeFolderRoot>/home</HomeFolderRoot>
           <EmailAddressSuffix>@yourcompany.com</EmailAddressSuffix>
        </SimpleUser>

When you create objects using XML, you can use the Windows or Web interfaces, or FTP to load the file into Oracle iFS. When you load the file, it must be parsed in order to create the objects specified in the XML file. Parsing occurs automatically, as necessary.

### Use the Command Line Utilities for Regular Maintenance

The Command Line Utilities allow you to access and manipulate the Oracle iFS objects at a very detailed level. The Command Line Utilities provide functionality and commands that are similar to UNIX commands with additional capabilities specific to Oracle iFS. Usually, you would use the Command Line Utility if you have Oracle iFS Manager installed on the client-side, but do not have it installed on the server-side.

Using the Command Line Utilities, you can browse Oracle iFS, list and modify an object's attributes, create new folders and files, and perform simple searches.

In addition, you can write any operating system script, such as Perl, and incorporate the Command Line Utilities commands. You can also write a batch script, comprised entirely of Command Line Utilities commands, to be executed regularly.

### Use Server Manager to Manage and Monitor the Running Servers and Agents

Using Server Manager, you can start, stop, suspend, resume, and list information for the various servers and agents. You can also use Server Manager to manage the servers and agents remotely from other machines from which the agents and servers may be running. In this way, it is possible to have protocol servers running on different machines, yet managed from a single Server Manager. Server Manager itself is a server, so one Server Manager can manage any other Server Managers in the system.

See Also

- For more information on using the Web interface, see the Oracle Internet File System User's Guide.

- For more information on using XML configuration files to create users and groups, see Chapter 5, "Task 2: Add Users and Groups".

- For a complete listing of Command Line utilities, see Appendix A, "Command Line Utilities Reference".

- For more information on using Server Manager, see Chapter 2, "Starting Oracle iFS" and Chapter 8, "Using Server Manager to Start and Stop Servers".

| Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|  |  | Index