Open Archive PDF
Open Archive PDF
1 Content
1 Introduction 3
1.1 About this Quick Start Guide............................................................................................................ 3
1.2 What is OPENARCHIVE?................................................................................................................... 3
1.3 OPENARCHIVE System Requirements............................................................................................. 4
1.3.1 Productive System.................................................................................................................................4
1.3.2 Tutorial System.......................................................................................................................................4
1.4 OPENARCHIVE Overview................................................................................................................. 4
1.5 OPENARCHIVE Basics...................................................................................................................... 6
1.5.1 Infinite file system (HSMFS)..................................................................................................................6
1.5.2 Library - tape compatibility.....................................................................................................................6
1.5.3 Automatic error detection......................................................................................................................6
1.5.4 Automatic detection of low storage space............................................................................................7
1.5.5 NFS and CIFS support............................................................................................................................7
1.6 OPENARCHIVE Architecture............................................................................................................. 8
1.6.1 OPENARCHIVE operations......................................................................................................................8
1.6.2 OPENARCHIVE components.................................................................................................................10
0309-OA-QG-E-350 2
Introduction OA Quick Start Guide
1 Introduction
This document is mainly to describe the handling of the preinstalled Tutorial system inside the VirtualBox-
Session, which you can download from www.openarchive.net.
For detailed information about the installation of OA please see the Installation Guide, which is available on
www.openarchive.net.
0309-OA-QG-E-350 3
Introduction OA Quick Start Guide
0309-OA-QG-E-350 4
Introduction OA Quick Start Guide
OPENARCHIVE Configuration 1
Two local copies
CIFS NFS
Linux Server
OpenArchive Software
Primary
Storage
Secondary Storage
OPENARCHIVE Configuration 2
Two local copies and two remote copies
CIFS NFS
Linux Server
OpenArchive Software
FC TCP/IP
SATA RAID Tape Library Remote Copy Remote Copy
as as “Tape” “Disk”
Archive Archive
Disk Medium
Primary
Storage
Secondary Storage
For details on supported and required hardware and software, see the FAQ on www.openarchive.net.
0309-OA-QG-E-350 5
Introduction OA Quick Start Guide
0309-OA-QG-E-350 6
Introduction OA Quick Start Guide
0309-OA-QG-E-350 7
Introduction OA Quick Start Guide
Online Files
Migration
Offline Files
Recall
Offline Files
Release Delete
0309-OA-QG-E-350 8
Introduction OA Quick Start Guide
Migration
Migration is a process of copying files from the HSM file system to OA media. If a file is not modified for a
configured period of time, it passes the so-called “file age check” and becomes a candidate for migration
(migration candidate).
Migration is done in two steps:
1. Files from the migration candidate list are copied from the HSM file system to a special storage space on
the OA server, called OA disk buffer. The root directory of the OA disk buffer is
/var/opt/ivd/diskbuf.
2. Data from the OA disk buffer is copied to OA media (for all copies defined for the partition).
It is recommended that the diskbuffer should be at least twice the size the biggest expected file.
Once the migration job is completed, the temporary location is cleared. The file entry in the Hierarchical Stor-
age Manager (HSM) is moved from the migration candidate list to the release candidate list.
Release
The purpose of the release process is to free some space on the HSM file system. During this process, file
data is removed from the HSM file system, and only file headers are preserved. Release can only occur after
the file has successfully been migrated. Then a release will occur for a migrated or recalled file after the
policy is invoked which requires that free space be added to the HSM file system.
Once the file has been migrated to OA media, it becomes a release candidate. OA checks the release
candidates for changes. If a file on the release candidate list was not modified, and the space usage on the
HSM file system reaches the high watermark, the content (file data) of the file is released from the HSM file
system to free disk space. A similar event happens when the space usage on the HSM file system reaches
the critical watermark. In this case, however, all migrated files are released, regardless of how much time
has passed since their last migration.
Once the release operation is completed, the file is offline and its file entry is removed from the release
candidate list.
0309-OA-QG-E-350 9
Introduction OA Quick Start Guide
Recall
Recall is a process of copying file contents from OA media back to an HSM file system. It is normally trig-
gered when an offline file is accessed, therefore it is the reverse process to migration.
Recall is done in two steps:
1. File content is copied from the OA media to a special storage space on the OA server, called OA disk
buffer.
2. File content from the OA disk buffer is copied back to the HSM file system, thus making the file online
again.
Once the recall job is completed, the temporary location is cleared, and the offline file changes its status to
online. Its file entry in the Hierarchical Storage Manager is added to the release candidate list. This process
is transparent to the user.
A recall is triggered automatically when an offline file is accessed on the HSM file system. However, OA also
stores on the OA media older versions of files, referred to as older generations. You can manually recall a
particular older generation of a file using the OA command-line interface. Sometimes you may even want to
have files recalled before they are actually needed. OA includes functionality to manually recall a single file or
a set of files from OA media. You can perform such manual recall using the OA command-line interface.
For details on recalling a single file, see the ivdfile entry in the man pages.
Deletion
Deletion is a process of obsoleting and removing obsolete files from HSM file systems. You can use this
process for various purposes, including Information Lifecycle Management (ILM) and freeing disk space of
redundant files.
The criteria that induce file obsolescence on HSM file systems are defined in the deletion policy. Each HSM
file system has its own deletion policy.
0309-OA-QG-E-350 10
Introduction OA Quick Start Guide
OA partition
OA uses OA partitions to split the storage into multiple entities, meaning that one OA implementation can
have more than one OA partition. This way, OA provides the possibility for a complex organization of data
management.
Each OA partition is related to a single HSM file system and has its own policies and its own File System
Catalog (FSC). This enables you to configure individual policies (migration, release, deletion, and resource
allocation) for a particular OA partition, according to the characteristics of files and their intended use.
Each configured OA partition is controlled by one Partition Manager (PM), which creates and manages OA
jobs for migration, recall, and deletion operations. The Partition Manager is located on the OA server. It is
included in the OA server installation package.
OA media pool
An OA partition must have at least one media pool assigned to it. An OA media pool is configured to group
media of the same type, which have the same characteristics.
Media pools are configured regarding their purpose and correspond to the specifics of OA partition data and
OA media types, e. g. disk or tape media pool. Therefore, one media pool cannot be assigned to multiple
partitions, thus assuring that files from different OA partitions remain separated. An OA partition can have
assigned multiple media pools which do not need to be of the same type. This means that disk and tape
media pools can be combined on the same OA partition.
By assigning multiple media pools to one OA partition, multiple copies of OA data are made.
OA medium
OA supports different types of tape media, as well as disk media for data storage. Each OA medium, either a
medium cartridge or disk medium, has an entry and properties written in the Resource Management Data-
base (RMDB). Each OA medium is assigned to one OA media pool.
Depending on the particular medium type, an OA medium can be formatted and further divided into partitions
that hold medium volumes. The Resource Manager identifies the medium with a barcode.
0309-OA-QG-E-350 11
Introduction OA Quick Start Guide
OA library
An OA library is any library of the supported tape libraries which is attached to the consolidated OA system
or OA server in an OA implementation. An OA implementation can have one or more OA libraries. Each OA
library is a repository of library slots, where medium cartridges are physically located, with a built-in changer
device to move the media around. It has one or more connected drives.
Each configured OA library has one Library Agent running. The Library Agent handles actions in the OA
library, such as loading and unloading media, and library inventory rescan.
OA implementations which only use OA disk media do not have OA libraries.
OA drive
An OA drive is a tape drive inside an OA library, configured in the OA implementation. It is used to read to
and write from OA media.
Supported drive types are:
■■ LTO Ultrium 1, LTO Ultrium 2, LTO Ultrium 3 and LTO Ultrium 4 and future LTO technologies
■■ AIT-2, AIT-3
■■ SAIT-1
For further information about the supported drive models, see the FAQ on www.openarchive.net.
OA RMDB
The Resource Manager DataBase (RMDB) keeps track of all components. These include:
■■ Drives
■■ Media
■■ Media Locations
■■ Media Volumes
■■ Tape Libraries
It also contains information about the relationship to the OA partition. The RMDB is changed whenever the
files in the configuration database are changed by using component-modification options such as --add,
--modify and --remove.
In case of a disaster recovery, it is crucial to have a recent version of this database. The ivdback-
up command automatically collects this information. Please refer to the man pages regarding the
i vdbackup command.
0309-OA-QG-E-350 12
Tutorial: HSM - Using and Operation OA Quick Start Guide
0309-OA-QG-E-350 13
Tutorial: HSM - Using and Operation OA Quick Start Guide
The command options are mostly of the same layout. The option -h | --help gives you an overview of
the available options and their usage for almost every OA command.
Command line
The command to start the GUI client is guiclt.
GUI
Click in the main GUI window. A list containing the libraries and their details will be displayed in the
right window section.
Command line
The command for handling OA libraries is ivdlibrary. The option -l | --list generates a list of
the existing libraries and their details.
The Tutorial system does not contain any libraries.
0309-OA-QG-E-350 14
Tutorial: HSM - Using and Operation OA Quick Start Guide
GUI
Click in the main GUI window. A list containing the drives and their details will be displayed in the
right window section.
Command line
The command for handling OA drives is ivddrive. The option -l | --list generates a list of the
existing drives and their details.
The Tutorial system does not contain any drives.
GUI
There are several ways to display the media pools.
■■ All Media Pools
Double-click in the main GUI window. The media pools pop up below the and a list
containing the media pools and their details will appear in the right window section.
■■ Media Pools assigned to a partition
To review the media pools assigned to a partition, double-click the corresponding partition and
double-click below. The Media Pools assigned to this partition will pop up.
To review the media assigned to one media pool, click the corresponding media pool and a list containing
the media and their details will be displayed in the right window section.
Command line
The command for handling OA media pools is ivdpool. The option -l | --list generates a list of
the existing pools and their details:
[root@localhost ~]# ivdpool -l
Pool Family Type Partition BlkSize[KB] #Vol VSize[MB] SysVol SysVol[MB]
dmpool1 disk regular fs01 64 1 100 none n/a
dmpool2 disk regular fs01 64 1 100 none n/a
0309-OA-QG-E-350 15
Tutorial: HSM - Using and Operation OA Quick Start Guide
GUI
Double-click in the main GUI window. The partitions will pop up below the and a list con-
taining the partitions and their details will be displayed in the right window section.
By double-clickung the corresponding partition, pops up below, containing the media pools as-
signed to this partition. Also an instance of pops up, containing a list of all existing media, dis-
played in the right window section.
Command line
The command for handling OA partitions is ivdpartition.
The option -l | --list generates a list of the existing partitions and their details:
[root@localhost ~]# ivdpartition -l
Partition Status Host Mountpoint
fs01 mounted hsmserver.hsmnet /hsm/fs01
The option -t <partition name> generates a statistical overview about the corresponding partition.
GUI
There are several ways to display the media.
■■ All Media
To review all media contained in the OA environment, click in the main GUI window. A list con-
taining every medium will appear in the right window section.
■■ Media not assigned to a media pool
To review only the media not assigned to a media pool click in the main GUI window. A
list containing the unassigned media and their details will appear in the right window section.
Command line
The command for handling OA media is ivdmedium. The option -l | --list generates a list of the
existing media and their details:
[root@localhost ~]# ivdmedium -l
Barcode Type Pool Status Location #Vol SysVolNo
dm01 disk dmpool1 open n/a 3 n/a
dm02 disk dmpool2 open n/a 3 n/a
0309-OA-QG-E-350 16
Tutorial: HSM - Using and Operation OA Quick Start Guide
GUI
Click in the main GUI window. A list containing the running jobs and their details will be displayed in
the right window section.
Command line
The command for handling OA jobs is ivdjob. The option -l | --list generates a list of the running
jobs and their details.
GUI
Click in the main GUI window. The log file entries will be displayed in the right window section.
Command line
The logfile ivd.log is located in /var/opt/ivd/log and can be viewed with any standard text
viewer (e. g. vi). To view only the last entries, use tail /var/opt/ivd/log/ivd.log.
Command line
The command ivd with the option status generates an overview of the OA services and their statuses.
[root@localhost ~]# ivd status
ivd-svc ( pid 2180 ) is running...
ivd-rm ( pid 2190 ) is running...
ivd-mif ( pid 2202 ) is running...
ivd-fsevtmgr ( pid 2495 ) is running...
0309-OA-QG-E-350 17
Tutorial: HSM - Using and Operation OA Quick Start Guide
GUI
Double-click in the main GUI window, right-click the corresponding media in the right win-
dow section (e. g. dm01), click Assign to Media Pool.
In the dialog window, choose the media pool you want to assign the media with (e. g. dmpool1).
Click OK.
Close the protocol window when the process is done.
The medium (dm01) is now assigned to the media pool (dmpool1).
Command line
To assign a medium (dm02) to a media pool (dmpool2), use the following command:
ivdmedium -a dm02 -O dmpool2
To check if the medium is assigned to the media pool, use the following command:
ivdmedium -l
The media shown by ivdmedium -l are still uninitialized, so the next step is required to make the
media available.
GUI
Double-click in the main GUI window, click the media pool containing the media you want to
format and initialize (e. g. dmpool1), right-click the corresponding medium in the right window section (e. g.
dm01), click Format and Initialize.
In the dialog window, choose the media you want to process (e. g. dm01) and activate Initialize and Format.
Click OK.
OA now creates and starts a job. Its properties and activities are displayed in an automatically opened win-
dow.
When Finished is displayed in the Activity frame, close the dialog by clicking Close.
If the job cannot be finished and Requesting rescources is displayed in the Activity frame, see Troubleshoot-
ing / Migration Problems on www.openarchive.net for help.
0309-OA-QG-E-350 18
Tutorial: HSM - Using and Operation OA Quick Start Guide
Command line
To format and initialize a medium (dm02), use the following command:
ivdmedium -f dm02 -i
If the job cannot be finished and Requesting rescources is displayed, see Troubleshooting / Mi-
gration Problems on www.openarchive.net for help.
To check if the medium is formated and initialized, use the following command:
ivdmedium -l
The medium status should be open now.
0309-OA-QG-E-350 19
Tutorial: HSM - Using and Operation OA Quick Start Guide
There should be three files visible in the directory (file1 4 MB, file2 64 MB, file3 64 MB), with a combined
size of 132 MB. Nevertheless, because file1 is already released, the directory size is only 128 MB.
total 130860
-rw-r--r-- 1 root root 4194304 Feb 14 13:15 file1
-rw-r--r-- 1 root root 66921472 Feb 14 13:18 file2
-rw-r--r-- 1 root root 66921472 Feb 14 13:18 file3
Recall a file (file1):
The released files are automatically recalled when they are touched by the file system:
file /hsm/fs01/test1/file1
If the directory size of /hsm/fs01/test1 is checked again now, it should be 132 MB.
ls /hsm/fs01/test1 -l
0309-OA-QG-E-350 20
Tutorial: Creating Disk Media from scratch OA Quick Start Guide
For further information about linux commands such as pvscan, lvcreate, lvscan, ... see the ap-
propriate man pages.
0309-OA-QG-E-350 21
Tutorial: Creating an OPENARCHIVE partition OA Quick Start Guide
GUI
Right-click in the main GUI window, select New and Manual.
Enter the following parameters:
Name: dmpool3
Media Pool Type: Regular
Media Family: DISK
Block Size: 64 KB
Volume Size: 100 MB
Click OK.
Close the Confirmation window by clicking Yes.
Command line
Create a copy of the disk media template for dmpool4
cp /opt/ivd/newconfig/ivd-pool-DISK.cfg /tmp/dmpool4.cfg
Make the template copy writeable
chmod a+w /tmp/dmpool4.cfg
Edit the template copy (e. g. with vi)
Modify the parameters as follows:
Name = "dmpool4"
MediaFamily = DISK
PoolType = Regular
BlockSize = 64KB
VolumeSize = 100MB
Add a new media pool to OA by using the template
ivdpool -a /tmp/dmpool4.cfg
Check the existing media pools:
ivdpool -l
Remove the temporary config file
rm /tmp/dmpool4.cfg
0309-OA-QG-E-350 22
Tutorial: Creating an OPENARCHIVE partition OA Quick Start Guide
GUI
Right-click in the main GUI window, select New and Manual.
Enter the following parameters:
Name: fs02
Partition type: Regular
Host: hsmserver.hsmnet
FileSystemID: <mapper device path from clipboard>
Media Pools: dmpool3
dmpool4
Click OK.
Close the Confirmation window by clicking Yes.
0309-OA-QG-E-350 23
Tutorial: Creating an OPENARCHIVE partition OA Quick Start Guide
Command line
Create a copy of the partition template for fs02
cp /opt/ivd/newconfig/ivd-partition.cfg /tmp/fs02.cfg
Make the template copy writeable
chmod a+w /tmp/fs02.cfg
Edit the template copy (e. g. with vi)
Modify the parameters as follows:
Name = "fs02"
Client = "hsmserver.hsmnet"
FileSystemID = "/dev/mapper/VolGroup00-hsmfs02"
Type = "Regular"
Pools = ("dmpool3", "dmpool4")
Add a new partition to OA by using the template
ivdpartition -a /tmp/fs02.cfg
Check if the partition is added:
ivdpartition -l
Mount the partition:
mount /hsm/fs02
View status of the file system:
df -h
Remove the temporary config file
rm /tmp/fs02.cfg
0309-OA-QG-E-350 24
Templates OA Quick Start Guide
5 Templates
For each resource type, a default configuration template is available so that you do not need to create
configuration files from scratch. The templates already contain most of the required parameters, along with
remarks about the appropriate use of configuration variables and details of maximum and minimum values.
When configuring a new OA resource, make a copy of the appropriate template, remove the read-only flag
in the copied file’s properties, modify the copy according to the characteristics of the resource, and then
configure the resource using the copy.
While modifying templates for configuration of new resources, preserve the double quote characters (") that
surround the values of some variables. Removing these characters may lead to problems with adding new
resources in certain cases.
The templates are located in the following directory on the consolidated OA system or OA server:
/opt/ivd/newconfig
To configure your resources and your policies, use OA commands or the OA Management Console.
A modified template can also be used to create a new resource with the GUI by selecting New and From
File ....
0309-OA-QG-E-350 25
Troubleshooting OA Quick Start Guide
6 Troubleshooting
In case you have any problems with OPENARCHIVE, please see Troubleshooting on www.openarchive.net for
information and help.
0309-OA-QG-E-350 26