Documente Academic
Documente Profesional
Documente Cultură
FASTFIND LINKS Document Organization Product Version Getting Help Table of Contents
MK-99ARC027-01
Copyright 20102011 Hitachi Data Systems Corporation, ALL RIGHTS RESERVED No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or stored in a database or retrieval system for any purpose without the express written permission of Hitachi Data Systems Corporation (hereinafter referred to as Hitachi Data Systems). Hitachi Data Systems reserves the right to make changes to this document at any time without notice and assumes no responsibility for its use. This document contains the most current information available at the time of publication. When new and/or revised information becomes available, this entire document will be updated and distributed to all registered users. Some of the features described in this document may not be currently available. Refer to the most recent product announcement or contact your local Hitachi Data Systems sales office for information about feature and product availability. Notice: Hitachi Data Systems products and services can be ordered only under the terms and conditions of the applicable Hitachi Data Systems agreement(s). The use of Hitachi Data Systems products is governed by the terms of your agreement(s) with Hitachi Data Systems. By using this software, you agree that you are responsible for: a) Acquiring the relevant consents as may be required under local privacy laws or otherwise from employees and other individuals to access relevant data; and b) Ensuring that data continues to be held, retrieved, deleted, or otherwise processed in accordance with relevant laws. Hitachi is a registered trademark of Hitachi, Ltd. in the United States and other countries. Hitachi Data Systems is a registered trademark and service mark of Hitachi, Ltd. in the United States and other countries. All other trademarks, service marks, and company names are properties of their respective owners.
Contents
Preface........................................................................................................ ix
Intended audience . . . . Product version . . . . . . Document organization . Syntax notation . . . . . . Related documents. . . . Getting help. . . . . . . . . Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..... ..... ..... ..... ..... ..... ..... . . . . . . . .. .. .. .. .. .. .. . . . . . . . . . . . . . . . . . . . . . .... .... .... .... .... .... .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix . .ix ..x . .xi . .xi . xiv . xiv
iii
HCP Data Migrator quick start . . . . . . . . . . . . . Step 1: Start HCP-DM . . . . . . . . . . . . . . . Step 2: Configure namespace profiles . . . . Step 3: Select the profile or profiles . . . . . Step 4: Specify the directory or directories. Step 5: Select the items . . . . . . . . . . . . . . Step 6: Start the operation . . . . . . . . . . . . Step 7: Monitor the operation . . . . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
.. .. .. .. .. .. .. ..
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
Managing metadata............................................................................3-1
About HCP metadata . . . . . . . . . . HCP-specific metadata . . . . . . POSIX metadata . . . . . . . . . . . Custom metadata . . . . . . . . . . Retention settings . . . . . . . . . How HCP-DM handles metadata . . Copying to the local file system Copying to a namespace . . . . . Deleting and purging objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... ... ... ... ... ... ... ... ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3-2 3-3 3-3 3-4 3-5 3-5 3-6 3-7
iv
hcpdm copy . . . . . . . . . . . . . . . . . . Syntax. . . . . . . . . . . . . . . . . . . Parameter descriptions . . . . . . . Command output . . . . . . . . . . . Usage considerations . . . . . . . . Example . . . . . . . . . . . . . . . . . hcpdm delete. . . . . . . . . . . . . . . . . Syntax. . . . . . . . . . . . . . . . . . . Parameter descriptions . . . . . . . Command output . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . hcpdm job . . . . . . . . . . . . . . . . . . . Syntax. . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . hcpdm profile. . . . . . . . . . . . . . . . . Syntax. . . . . . . . . . . . . . . . . . . Parameter descriptions . . . . . . . Usage considerations . . . . . . . . Example . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. 8-4 . 8-4 . 8-5 .8-10 .8-11 .8-11 .8-12 .8-12 .8-13 .8-17 .8-18 .8-18 .8-19 .8-19 .8-19 .8-20 .8-21 .8-22 .8-23
Glossary Index
vii
viii
Preface
This book contains the information you need to use Hitachi Content Platform Data Migrator (HCP-DM). This utility lets you copy data between local file systems, Hitachi Content Platform (HCP) namespaces, and Hitachi Content Archive Platform (HCAP) archives. It also lets you manage objects and files, including deleting them or viewing their contents. This utility consists of an interactive window-based application and a command line tool. Note: Throughout this book, the word Unix is used to represent all UNIXlike operating systems (such as UNIX itself or Linux), except where Linux is specifically required.
Intended audience
This book is intended for people who are responsible for managing data in HCP. It assumes you:
Are familiar with the file systems, namespaces, and archives in use at
your site
Product version
This book applies to version 4.1 of HCP-DM, which accompanies release 4.1 of HCP.
ix
Document organization
Document organization
This book contains nine chapters and one appendix.
Chapter/Appendix
Chapter 1, Introduction to Hitachi Content Platform Chapter 2, Getting started with HCP Data Migrator
Description
Introduces HCP concepts Introduces HCP-DM concepts and elements and contains a quick-start procedure for copying files to an HCP namespace Describes the metadata that you can set or modify using HCP-DM and discusses how HCP-DM handles metadata when it copies objects and files Explains how to configure HCP-DM by defining profiles and setting preferences Describes how to use the HCP-DM GUI to copy and delete items and perform other tasks Describes how to use the HCP-DM Job Details window to monitor and manage a job Describes how use saved jobs, job files, and exported job results files to save, define, manage, and run jobs Describes the command-line tool you can use to perform HCP-DM tasks without using the GUI Describes best practices for using HCPDM and provides information that will help you use HCP-DM effectively Describes how to install HCP-DM
Chapter 4, Configuring HCP Data Migrator in the GUI Chapter 5, Managing items with the HCP-DM GUI Chapter 6, Managing jobs in the Job Details window Chapter 7, Using saved jobs and job files Chapter 8, Using the hcpdm command
Syntax notation
Syntax notation
The table below describes the conventions used for the syntax of commands and expressions in this book.
Notation boldface Meaning
Type exactly as it appears in the syntax (if the context is case insensitive, you can vary the case of the letters you type) Replace with a value of the indicated type Vertical bar Choose one of the elements on either side of the bar, but not both Square brackets Include none, one, or more of the elements between the brackets This book shows: (true|false) You enter: true or: false This book shows:
Example
This book shows:
--hold hold-setting
You enter: --hold true
italics |
[ ]
[--hold true|false] You enter: --hold true or: --hold false or nothing
This book shows: (true|false) You enter: true or: false This book shows:
( )
Parentheses Include exactly one of the elements between the parentheses Replace with the combination of the directory path and name of an object or file
-file-spec -objectspec
item-list-file-spec
You enter: /migration/europeToAsia/
Employees -path
Replace with a directory path with no object or file name This book shows:
source-path
You enter:
/corporate/employees
Related documents
The following documents contain additional information about Hitachi Content Platform:
xi
Related documents
Using the Default Namespace This book describes the file system
HCP uses to present the contents of the default namespace. It provides instructions for accessing the namespace by using the HCP-supported protocols for the purpose of storing, retrieving, and deleting objects, as well as changing object metadata such as retention and permissions.
xii
Related documents
Using the HCP Client Tools This book contains the information you
need to install and use the legacy set of client command-line tools distributed with HCP. These tools enable you to find files and to copy and move files to and from namespaces. The book contains many examples that show command-line details and the overall workflow. Note: For most purposes, the HCP client tools have been superseded by HCP Data Migrator. However, they have some features, such as finding files, that are not available in HCP-DM.
xiii
Getting help
Getting help
The Hitachi Data Systems customer support staff is available 24 hours a day, seven days a week. If you need technical support, please call:
United States: (800) 446-0744 Outside the United States: (858) 547-4526
Note: If you purchased HCP from a third party, please contact your authorized service provider.
Comments
Please send us your comments on this document: hcp.documentation.feedback@hds.com Include the document title, number, and revision, and refer to specific sections and paragraphs whenever possible. Thank you! (All comments become the property of Hitachi Data Systems.)
xiv
1
Introduction to Hitachi Content Platform
Hitachi Content Platform (HCP) is a distributed storage system designed to support large, growing repositories of fixed-content data. An HCP repository is partitioned into namespaces, each of which stores both data and metadata about that data. This chapter provides a brief overview of some of the HCP concepts you need to understand in order to successfully use HCP Data Migrator.
11
Object-based storage
HCP stores objects in the repository. Each object permanently associates data HCP receives (for example, a file, an image, or a database) with information about that data, called metadata. When you add an object to the repository, it is said to be ingested. An object encapsulates:
12
13
Object versions
Object versions
HCP namespaces can be configured to store multiple versions of objects. When a namespace is configured this way you can save a new version of an object while keeping the previous version. HCP-DM can store new versions of existing objects and can list, copy, and open old versions (called historic versions). All objects in an HCP namespace, including objects created when versioning is not enabled, have version IDs. Version IDs are integers. Each time a new version of an existing object is created, it is assigned an ID that is greater than the previous version of the object, but the numbers may not be consecutive. When versioning is enabled for a namespace, HCP creates special versions, called deleted versions, when you delete an object. These versions are records of the deletions and do not contain object data; they are also referred to as deletion records. They appear as grayed entries in HCPDM version listings. If versioning is enabled for a namespace, HCP can automatically delete old versions after a specific time. This is called pruning. HCP does not prune versions of objects that are on hold. You can also manually delete all versions of an object, including the current version. This operation is called purging. Index, retention, and shred settings apply to individual versions, so you can set different values for these metadata settings when you save different versions of an object. Hold settings are object wide, so when you put an object on hold, all versions of it are also put on hold.
HCP nodes
The core hardware for an HCP system consists of servers that are networked together. These servers are called nodes. When you access an HCP system, your point of access is an individual node. To identify the system, however, you can use either the domain name of the system or the IP address of an individual node. When you use the domain name, HCP selects the access node for you. This helps ensure an even distribution of the processing load. For information on when to use an IP address instead of the domain name, see Considerations for using a domain name or IP addresses on page 4-5.
14
2
Getting started with HCP Data Migrator
This chapter provides the basic information you need to use HCP Data Migrator. It includes:
A description of the HCP-DM GUI main window A quick guide to running the HCP-DM GUI, configuring its behavior, and
copying and deleting data
Getting started with HCP Data Migrator Using HCP Data Migrator
21
HCP-DM capabilities
With HCP-DM, you can:
HCP-DM does not copy empty directories. In this book, the term item refers to an object, file, or directory. Copy a single version of an object Delete one or more items Purge all versions of an object Perform privileged deletions and purges of objects under retention Open objects, historical versions of objects, and files Rename files and directories on the local file system View item properties
22
Getting started with HCP Data Migrator Using HCP Data Migrator
Create empty directories Set, change, or delete custom metadata for objects
HCP-DM provides two interfaces:
HCP-DM GUI
With the HCP-DM GUI you can:
Copy or delete items specified in a file. Pause a copy or delete operation and resume it, including after you
close and reopen HCP-DM.
Monitor progress by viewing a real-time display of status information. Export the current results of a paused or completed operation to files.
You can export files listing all objects or files in a job, those that have been successfully copied or deleted, and those that encountered errors. The HCP-DM GUI lets you control the behavior and results of an operation in these ways:
Specify metadata for objects created from files copied from the local
file system. You can specify HCP-specific, POSIX, and custom metadata for the objects.
Getting started with HCP Data Migrator Using HCP Data Migrator
23
Control how often HCP-DM writes success and failure messages to the
log files. For basic information on using the HCP-DM GUI, see The HCP Data Migrator GUI main window on page 2-7. For more detailed information on using the GUI, see Chapters 4 through 7.
hcpdm command
The hcpdm command lets you use HCP-DM from any system with a command line interface and create scripts that can automate complex operations. The command can run from a Windows command line or a Unix shell. The hcpdm command has options that determine the type of operation. The table below describes the options.
Option
copy delete job profile
Description
Copies objects or files from a source to a destination; creates any required directories if they do not exist Deletes one or more items Lists all HCP-DM jobs or deletes a single job Creates, deletes, and lists namespace profiles
For information on this command-line tool, see Chapter 8, Using the hcpdm command.
Profiles
Each source or destination for a copy operation or location for a delete operation is represented by a profile that you select in the GUI or specify in a command line. HCP-DM uses two types of profiles:
24
Getting started with HCP Data Migrator Using HCP Data Migrator
The built-in Local File System profile represents the file system of the
computer on which HCP-DM is running. This profile provides access to local drives and mounted file systems. The namespace profiles that you define specify whether to access a namespace using a domain name or IP address and whether to use SSL for the connections. For HCP namespaces, the profile also specifies the tenant and namespace names and a data access account username and password. Once you define a namespace profile, you can use it to specify the source or destination for any copy operation or the location for a delete operation.
HCP-DM jobs
An HCP-DM job is a specific instance of a defined set of copy or delete operations. The job consists of configuration and state information about the operations. You can use the GUI and hcpdm command to run and restart jobs. When you use the GUI, you can cancel, pause, and resume jobs. You can also save jobs in the GUI and export job results in both the GUI and hcpdm. The sections below provide general information about jobs. For information on:
Running and controlling jobs, see Chapter 6, Managing jobs in the Job
Details window
Using the HCP GUI to run a previously defined job, see Chapter 7,
Using saved jobs and job files
Using command line tools, see Chapter 8, Using the hcpdm command Job flow
At any given time, a job is in one of these states:
Getting started with HCP Data Migrator Using HCP Data Migrator
25
Completed Failed
HCP-DM is in the Preparing to Restart state only when you restart a saved job that failed to copy or delete some items when it last ran. HCP-DM is in the Failed state after a job ends unexpectedly. When the job fails, HCP-DM displays a window with the error message. When you run a job from the GUI, you can either cancel or close it in each of these states. Whether you can cancel or close it depends on the state of the job and on whether you have saved it. For information on:
Saved jobs, see Saved jobs below Job flow, see HCP Data Migrator quick start on page 2-10 Canceling and closing jobs, see Canceling or closing a job on
page 6-8
Saved jobs
HCP-DM maintains the definition and state of the current job as the job runs. If you save the job, HCP-DM retains this information when you close the job. You can save a job before the job starts, while it is paused, or after it completes. HCP automatically saves any job that stops unexpectedly. You can use the GUI or CLI to reload a saved job and restart it from where it stopped. Once a saved job completes without errors, you cannot rerun it. However, you can rerun a saved job that completed with errors. In this case, HCPDM tries to copy or delete only those items that failed during the previous run. For more information on saved jobs, see About saved jobs on page 7-2.
26
Getting started with HCP Data Migrator Using HCP Data Migrator
Job files
A job file is a file that specifies the items to copy or delete in a job. It consists of the paths of all items to copy or delete. Job files have these properties:
You can use job files with the GUI and the hcpdm command. Paths in the job file can be absolute or relative. A job file can include directories, in which case the entire directory and
its subdirectories are copied or deleted.
A job file can have any number of entries at any level of the directory
tree. In the HCP-DM GUI you cannot select more than 1,000 entries, and you need to select all items from a single directory.
You can create job files by exporting the results of a job that you define
in the HCP-DM GUI or CLI, or you can create them outside of HCP-DM.
A file containing the paths of all items in the job. A file containing the paths of items that were copied or deleted A file containing the paths of items for which errors occurred, plus
information about each error. You can use exported lists of all objects and files and of those that were successfully copied or deleted as job files. You cannot use exported lists of failed items directly as job files. For more information on exported job results, see About exported job results files on page 7-5.
Getting started with HCP Data Migrator Using HCP Data Migrator
27
Menu bar The menu bar in the main window has these menus:
Open the Saved Jobs window to load and delete saved jobs. For information on using saved jobs, see Chapter 7, Using saved jobs and job files. Import a copy or delete job from a file. Create and manage namespace profiles. For more information, see Profiles on page 2-4. Open a selected object or file. Delete selected items. Rename a file or directory in the local file system. View the properties of a selected item. (You cannot view properties of directories in HCP namespaces, however.) Exit HCP-DM.
The Edit menu lets you configure preferences. For more information,
see Setting preferences on page 4-7.
The View menu lets you refresh the display. The Help menu lets you view the HCP-DM About window, which displays
the HCP-DM version number. Navigation panels The HCP-DM main window has two navigation panels. Each panel lets you navigate to, select, and manage items in a namespace or the local file system. Each panel has these elements:
A toolbar with a dropdown list that lets you choose the profile for the
panel. The toolbar also contains these icons for navigating the panel: Go to the home directory Refresh the panel Go to the parent of the current directory
28
Getting started with HCP Data Migrator Using HCP Data Migrator
A field that displays the current working directory and lets you:
Enter a new directory path in the current namespace. In Windows, you can use / or \ (forward or back slash) as the path delimiter. Select a previously used directory from a history list. The list can contain the 25 most recently displayed directories and version listings for the namespace.
Tip: If a path exceeds the width of the current working directory field, you can display the full path in a tool tip by hovering the mouse over the field or any entry in the history list.
A pane listing the contents of the current working directory. The list
shows up to 1,000 objects or files and directories in the current working directory. If the namespace supports versioning, the list includes, in gray, deleted objects or directories. The information that is displayed for an item in the navigation panel depends on the item type and location. For example, the panel shows HCP-specific metadata only for HCP namespaces, and not for the local file system, default namespaces, or archives. In this list, you can:
Navigate to a child directory by double-clicking on it Select one or more items to copy or delete by clicking, Ctrl-clicking, and Shift-clicking in the normal manner Double-click on an object or file to open it. If an object has multiple versions, double-clicking on the object displays a directory-style list of versions. You can then double-click on a version to open it. Right-click in the panel or on a selected item to display a context menu that lets you:
Open objects and files Delete items Rename files and directories in the local file system Refresh the panel display
Getting started with HCP Data Migrator Using HCP Data Migrator
29
The active options in the menu depend on the panel context. The area between the panels has two double-arrow buttons. You use these buttons to copy the selected items from the source to the destination. Either panel can be a source or a destination.
In Windows, run the install-dir\hcpdm\bin\migrator.bat file. In Unix, run the install-dir/hcpdm/bin/migrator.sh script
Tip: In Windows, consider creating a shortcut to run migrator.bat. Specify the path to migrator.bat in the shortcut Properties Target field and the hcpdm\ bin directory in the Start field.
210
Getting started with HCP Data Migrator Using HCP Data Migrator
The first time HCP-DM starts, both panels show your home directory (for example, C:\Documents and Settings\myuser). Thereafter, when HCP-DM starts, each panel shows the most-recently displayed directory, if it still exists. If the directory does not exist, HCP-DM shows the home directory of the most-recently used namespace. If the namespace does not exist, HCP-DM shows the local home directory.
2. In the Namespace Profile Manager window, click on the Create button to open the Namespace Profile Manager. 3. Follow the wizard steps to configure the profile. For more information, see Configuring namespace profiles on page 4-2. Note: The Namespace Profile Manager lets you specify a domain name or one or more IP addresses to connect to a system. If youre not sure which to use, see Considerations for using a domain name or IP addresses on page 4-5.
Getting started with HCP Data Migrator Using HCP Data Migrator
211
The destination HCP system uses a self-signed SSL server certificate. You havent yet allowed a security exception for the HCP system.
Select the Permanently store this exception option and click on the Confirm Security Exception button to accept the security certificate and return to the Job Details window. For more information, see steps 12-14 of Creating a namespace profile on page 4-2.
To copy items, click on the double-arrow button that points to the destination panel. To delete items, right-click anywhere in the panel containing the selected items and select Delete. Alternatively, select Delete from the File menu.
212
Getting started with HCP Data Migrator Using HCP Data Migrator
2. Review the information in the Job Details window, make any needed changes, and then click on the Run button at the bottom of the window.
Getting started with HCP Data Migrator Using HCP Data Migrator
213
214
Getting started with HCP Data Migrator Using HCP Data Migrator
3
Managing metadata
This chapter describes the metadata that you can set or modify using HCPDM. It also discusses how HCP-DM handles metadata when it copies objects and files and how metadata affects whether objects can be deleted.
For information on setting the metadata values for files copied from the
local file system to HCP, see Setting preferences on page 4-7.
31
You can specify several metadata values for objects created when you
copy from the local file system to a namespace. You cannot specify metadata values for objects copied between namespaces.
HCP-specific metadata
The table below describes the HCP-specific metadata that you can specify in HCP-DM for objects copied from the local file system. Objects have additional HCP-specific metadata that you can view in HCP-DM but cannot set. For a description of that metadata, see Properties window on page 5-9.
Property
Index
Description
Specifies whether the object is marked for indexing. This property is used by the HCP search facility and may be used by third-party software. This property was introduced in HCP 3.0.
Retention
Specifies how long the object must remain in the namespace before it can be deleted. For more information on retention, see Retention settings on page 3-4. Prevents the object from being deleted, even if the retention setting allows deletion. Specifies whether to shred the object after it is deleted. Shredding means overwriting the place where the object was stored in such a way that none of its data or metadata can be reconstructed.
Hold Shred
32
POSIX metadata
Objects in default namespaces, HCAP archives and Unix file systems have POSIX metadata. HCP-DM does not support this metadata in HCP namespaces and does not manage it in local file systems. You can specify this POSIX metadata for objects copied from the local file system to a default namespace or an HCAP archive:
The IDs of the owner (UID) and owning group (GID) for the object The permissions that determine who can do what with the object
For more information on POSIX metadata, see Using the Default Namespace.
Custom metadata
Custom metadata is user-supplied descriptive information about an object. Any object in a namespace can have custom metadata. Directories cannot have custom metadata. HCP-DM accepts custom metadata as well-formed XML, such as this:
<?xml version="1.0" ?> <weather> <location>Massachusetts</location> <date>20100130</date> <duration_secs>180</duration_secs> <temp_F> <temp_high>31</temp_high> <temp_low>31</temp_low> </temp_F> <velocity_mph> <velocity_high>22</velocity_high> <velocity_low>17</velocity_low> </velocity_mph> </weather>
33
Have HCP-DM read the metadata from a file when the job runs. This
technique lets you use large metadata files, but does not let you change the metadata when you add it.
Retention settings
Each object has a retention setting that determines how long the object must remain in the namespace. This can range from allowing the object to be deleted at any time to preventing the object from ever being deleted by normal operations. If an object cannot be deleted due to retention, it is said to be under retention. Default retention settings The default retention setting for an object specifies the value that HCP sets if you copy files from the local file system without explicitly setting a retention value. Objects copied from a namespace maintain their original retention settings. HCP namespaces have a single default retention setting for all objects. Default namespaces and archives can have a different default setting for each directory. Retention classes A retention class is a named retention setting. Retention classes facilitate consistent management of object retention. The namespace administrator manages the retention classes that are available in a namespace. Retention classes were introduced in HCP 3.0. Earlier releases do not support them.
34
Retention settings The table below describes the retention settings an object can have.
Setting
Special value
Description
One of these settings: Deletion Allowed The object can be deleted at any time. Deletion Prohibited The object cannot be deleted through normal operations. HCP namespaces can be configured to allow users with special privileges to delete objects with this retention setting. Initial Unspecified The object does not yet have an explicit retention setting and cannot be deleted by normal operations until a new value is set.
A value that HCP maintains internally as an integer number of seconds since January 1, 1970, at 00:00:00 UTC. In HCP-DM, you can set this value by specifying a fixed date or a duration that starts from when the object is ingested. A named retention setting that corresponds to a special value or to a duration that starts from when the object is ingested.
Retention class
For information on how to specify retention settings in HCP-DM, see Retention on page 4-8.
35
Copying to a namespace
When HCP-DM copies items to a namespace, how metadata is set depends on the source and destination types and the specific property. Source-independent rules For all objects and files copied to a namespace, the ingest time and ctime, atime, and mtime values (if applicable) are set to the time the object or file is added to the destination, not the time the original object or file was added to the source. When you get metadata values from the destination, the metadata settings depend on the destination namespace. For HCP namespaces, the defaults are namespace wide. For default namespaces and HCAP archives, the setting for the ingested object is determined by the parent directory and each directory can have different default values. Copying from the local file system to a namespace When you copy files from the local file system to a namespace, HCP-DM applies the metadata settings specified in the Job Details window to all resulting objects. The HCP-DM preferences determine the default HCPspecific and POSIX metadata values that appear in the Job Details window. Copying between namespaces These rules apply when you copy objects between namespaces:
If the object being copied does not have a particular metadata value
(for example, HCAP 2.6 objects do not have index settings), HCP-DM applies the default setting of that property for the destination.
36
If an object is on hold, HCP-DM cannot delete or purge the object. If an object in an HCP namespace is under retention or has a retention
value of Initial Unspecified, HCP-DM must use a privileged delete operation to delete the object, and the data access account for the namespace profile must have delete and privileged permissions. Otherwise, HCP-DM cannot delete the object. For information on privileged delete, see Deleting or purging items on page 5-5.
To purge all versions of an object, the delete job must use a purge
operation, and the data access account for the namespace profile must have delete and purge permissions. Otherwise, HCP-DM cannot purge the object. If the object is also under retention, the delete job must use a privileged purge operation and the data access account must have delete, purge, and privileged permission. For information on purging versions, see Deleting or purging items on page 5-5.
37
38
4
Configuring HCP Data Migrator in the GUI
This chapter describes how to configure the HCP Data Migrator in the GUI by creating profiles for source and destination namespaces and setting preferences for copy operations. You can also use the hcpdm profile command to create, delete, list, or print profiles. For more information see hcpdm profile on page 8-19.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
41
If you selected Connect by domain name, type the fully qualified domain name of the HCP system you are connecting to (for example, hcp.example.com) in the Domain Name field. Do not include a tenant or namespace name or www. If you do not know the domain name, ask your HCP namespace administrator.
42
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
qualified domain name of the HCP system you are connecting to in the Domain Name field (for example, hcp.example.com). Do not include a tenant or namespace name or www.
2. In the IP addresses field, type a comma-separated list of the IP
addresses to use when connecting to the system. 7. If your installation requires secure connections, select Use SSL for connection. 8. Click on the Next button.
If you are configuring an HCP namespace, the Namespace Access Configuration page appears. Continue with the next step. Otherwise, the Summary page appears. Continue with step 11.
In the Tenant field, type the name of the tenant that owns the namespace. In the Namespace field, type the namespace name. In the Data Access Username field, type the data access account username. In the Data Access Password field, type the data access account password.
10.Click on the Next button to open the Summary page. This page shows the namespace configuration information and has a Test button. 11.On the Summary page, review the profile configuration. If you need to change any values, use the Previous button to return to the page with the setting you want to change. Correct the setting and return to the Summary page. You can use the Last button to skip intervening pages. 12. Optionally, click on the Test button to check the configuration.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
43
HCP-DM attempts to connect to the HCP system and access the namespace using the namespace profile. It then displays a message indicating whether the connection was successful. Error messages include descriptions of the reason for failure.
If you get an error message indicating that HCP could not make the connection, make the necessary corrections and repeat the test. In some cases, the namespace configuration may need to be changed before you can connect successfully. If HCP-DM can connect, but you selected Use SSL for Connection in step 7, the security certificate for the destination HCP system is not trusted by the client, and you havent permanently stored a security exception for the certificate, HCP-DM displays the Allow Security Exception window. Note: By default, HCP systems use a self-signed SSL server certificate. This certificate is not automatically trusted by web browsers and other HTTP clients. You may not see the Allow Security Exception window if the HCP system is using a certificate from a trusted vendor. Review the information displayed for the certificate. Then do either of these:
box to tell HCP-DM to save the exception information. This prevents you from having to confirm a security exception each time you open a namespace in HCP-DM, and ensures that you can run hcpdm commands that use this namespace profile.
2. Click on the Confirm Security Exception button to accept the
security certificate. You get a message indicating whether the connection to the namespace was successful.
3. Click on the OK button.
13.
44
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
2. In the Namespace Profile Manager window, select the namespace profile you want to modify. 3. Click on the Edit button to open the Namespace Profile Manager. 4. Step through the wizard pages, making the changes you want. For information on the changes you can make, see Creating a namespace profile on page 4-2. 5. When you have finished making all changes, navigate to the Summary page, click on the Test button. If you do not connect successfully, make any needed changes and retest. 6. Click on the Finish button to close the wizard.
2. In the Namespace Profile Manager window, select the namespace profile you want to delete. 3. Click on the Delete button. 4. In response to the confirming prompt, click on the Yes button.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
45
When DNS is in use, the HCP system chooses the access node for each
request. The system uses a round-robin technique for assigning the IP addresses to help spread the load among the available HCP nodes. HCP maintains its list of available nodes, restoring any unavailable nodes to the list when they become available again.
Using IP addresses
When you configure HCP-DM to connect using IP addresses, you specify the IP addresses of the HCP system nodes in the Namespace Profile Manager. HCP-DM alternates among the IP addresses when making requests. If a node is unavailable, HCP-DM resends the request to the next IP address, but leaves the IP address on the list of available addresses for the job and can use it for future requests. This behavior effectively handles transient node unavailability. If you connect using IP addresses and a node will be unavailable for a significant period of time, you can improve performance by removing the node from the IP list in the namespace profile. If a long job is running, you can use these steps to change the IP list: 1. Pause the job. 2. Save the job, if it hasn't yet been saved. 3. Close the job. 4. In the Namespace Profile Manager, remove the unavailable IP address from the connection settings. 5. Open and resume the job.
46
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
Setting preferences
Setting preferences
HCP-DM preferences control copy and delete operations. When setting preferences, you can:
Specify the default metadata for objects copied from the local file
system to a namespace. For information on metadata preferences and how to set them, see Configuring HCP-specific metadata on page 4-8 and Configuring POSIX metadata on page 4-11.
Control the load on the local file system or HCP (or HCAP) system and
on individual nodes. For information on load preferences and how to set them, see Controlling the load on page 4-12.
For an item on the Policies page of the Preferences window, select the
Use destination namespace setting option.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
47
Setting preferences
For a POSIX metadata setting, deselect the option to the left of the
item on the POSIX Metadata page.
Index
To specify the index setting, select True, False, or Use destination
namespace setting.
The index setting applies only to objects that HCP-DM copies to HCP and default namespaces. It is ignored if the destination is an HCAP archive.
Shred
To specify the shred setting, select True, False, or Use destination namespace setting. The shred setting applies to objects HCP-DM copies into all namespaces.
Retention
To specify the retention setting: 1. Select a method from the Retention Method dropdown list. One or more method-specific controls appear. 2. Use the controls to specify the retention setting.
48
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
Setting preferences
Fixed Date
A specific date. Either: Click on the calendar icon to the right of the Fixed Date field to display a calendar in which you can select the date. Type a date in the format mmm dd, yyyy. mmm can be the full name of the month or a three-letter abbreviation. For example: Jan 9, 2019 February 27, 2015 If you enter a full month name, HCP displays the month as a three-character abbreviation. The retention period expires on the specified day, at the time of day when the object was copied.
Special value
One of these settings: Deletion Allowed The object is not under retention and can be deleted at any time. Deletion Prohibited The object can never be deleted through normal methods. Initial Unspecified Retention is not defined. The object cannot be deleted until this setting is changed.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
49
Setting preferences
Retention Method
Retention Class
Advanced
A retention expression. An expression can specify: A special value of 0 for Deletion Allowed, -1 for Deletion Prohibited, or -2 for Initial Unspecified. A fixed date and time in ISO 8601 format; for example, 2010-12-31T14:20:00-0500 (for 2:20 PM
EST on December 31, 2010). You can also specify a number of seconds since January 1, 1970, at 00:00:00 UTC; for example, 1292008800.
An offset from the time the object is copied into the namespace; for example: A+2y. A retention class, specified as the class name preceded by C+; for example, C+HlthReg-107.
For more information on specifying retention settings, including more offset options, see Using a Namespace or Using the Default Namespace.
Hold
To specify the hold setting, select True or False. A hold setting of True specifies that the object cannot be deleted or have its retention setting changed. To specify the hold setting for an object in an HCP namespace, the data access account for the namespace profile must have privileged permission. If HCP-DM tries to set a hold value and the data access account does not have the needed permission, the copy operation fails with a reason message of 403 - The requested operation is not allowed while writing file-path.
410
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
Setting preferences
Description
The ID of the user that owns the object. Valid values are integers greater than or equal to zero. If you select UID but do not specify a value, HCP-DM displays an error message. The ID of the group that owns the object. Valid values are integers greater than or equal to zero. If you select GID but do not specify a value, HCP-DM displays an error message. The owner, group, and other permissions for copied objects. The values can be any combination of Read, Write, and Execute. You can set these values by selecting individual permissions or by typing a three-digit octal permission value. In either case, HCP-DM synchronizes the individual permission selections and the octal value. If you select Object permissions but do not specify a value, HCP sets the value to 0 (zero), which means no permissions.
GID
Object permissions
Directory permissions
The owner, group, and other permissions for any directories that are created when an object is ingested. The values for each can be any combination of Read, Write, and Execute. You can set these values by selecting individual permissions or by typing a three-digit octal permission value. In either case, HCP-DM synchronizes the individual permission selections and the octal value. If you select Directory permissions but do not specify a value, HCP sets the value to 0 (zero), which means no permissions.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
411
Setting preferences
You can configure reduced load settings and schedule them to take
effect for a specific period each day. Note: Under normal circumstances, you should use the default load settings. For more information, see HCP-DM best practices on page 9-9.
Load settings
The Load Schedule page of the Preferences window lets you configure two types of connection settings:
Maximum operations per system, including the local file system Maximum operations per HCP or HCAP node
Maximum operations per system The Maximum Operations per System setting on the Load Schedule page specifies how many concurrent connections HCP-DM can maintain with an HCP system and determines the maximum number of concurrent copy or delete operations that HCP-DM can perform. The default Maximum Operations per System setting is 200. Valid values are integers ranging from twice the number of nodes in the system to 1,000. Maximum operations per node The Maximum Operations per Node setting on the Load Schedule page specifies the maximum number of connections HCP-DM can maintain with any single node and determines the maximum number of concurrent copy or delete operations that each node can perform.
412
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
Setting preferences
The default Maximum Operations per Node setting is 20. The value must be at least 2 and no more than the maximum Operations per System setting. Note: The maximum number of operations allowed on the local file system is the smallest of the Maximum Operations per Node setting and the normalLoad.maxThreadsFilesystem property set in the hcpdm.properties file. For information on the hcpdm.properties file, see Configuring HCP-DM properties on page 9-3.
Load schedule
By default, HCP-DM uses the same set of load settings at all times for all jobs. However, you can configure it to alternate between settings for a normal load and settings for a reduced load. The reduced load takes effect during the same period each day, including on weekends. The Load Schedule page of the Preferences window has a pair of options that let you switch between always using the normal settings and using a schedule that alternates between normal and reduced settings. Configuring a normal load schedule To always use normal load settings: 1. On the Load Schedule page, select the Use normal load schedule at all times option. 2. Specify the Normal Load maximum values. 3. Click on the OK button. Configuring an alternating load schedule To alternate between a normal load and a reduced load: 1. On the Load Schedule page, select the Use reduced load schedule during specified times and normal load schedule the rest of the time option. 2. Specify the Normal Load maximum values. 3. Specify the Reduced Load maximum values. 4. Specify the Start Time and End Time values for the reduced load period. You can type a time directly in each field, use the up and down arrows, or combine the two techniques. The time controls behave as follows:
The arrows increase or decrease the time setting by an hour each time you click on them. For example, you could type a value of 9:30 and then click on the up arrow twice to set the time to 11:30.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
413
Setting preferences
The controls use a 24-hour clock. For example, specify 14:30 for 2:30 p.m. If you set an end time that is before the start time, HCP-DM treats the end time as being on the following day.
successn.log files provide information about successful operations. failuren.log files provide information about failed operations. hcpdmn.log files list HCP-DM errors and warnings and provide additional
information about HCP-DM. These files are intended for use by service personnel. In each case, n is an integer in the range zero through nine. HCP-DM always writes information to log files with names that end in 0 (zero), for example success0.log. When a log file exceeds 2,000,000 bytes, HCP-DM renames the full file to end with 1 (one) and renames any other files by increasing their number by one. When ten files are full, HCP-DM
414
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
Setting preferences
deletes the old file that ended with 9 before renaming the files. This technique ensures that the file ending with 0 (zero) always has the most recent log entries. Note: You can configure the maximum number of files and maximum file size for each file type. For more information, see Controlling HCP-DM logging behavior on page 9-6. HCP-DM uses the values on the Preferences window Logging page to determine how often it writes to the success and failure logs. This setting applies to all jobs. You cannot use the Job Details window to change it. For more information on configuring logging, see Configuring logging frequency on page 4-17. Job start and stop entries When a job starts running, resumes, reruns, or stops HCP-DM logs the following information to both files:
Whether the job is starting or stopping. Type: Copy or Delete. Job name. If you have not explicitly named the job, the name is a
timestamp in this format:
Source profile name. Source directory path. Destination profile name (copy jobs only). Destination directory path (copy jobs only).
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
415
Setting preferences
Job ID, an integer value that is unique for each job. If the job is stopping, the total number of items that have been copied
or deleted. The lines below show a sample log entry written when a copy job stopped:
11/26 13:18:09.921 Stopped job{type=Copy, name="8/26/10 11:18 AM", sourceProfile="Local File System", sourcePath="C:/finance/employees/", destinationProfile="Europe Finance", destinationPath="/employees/"} with ID 133, Copied 842 total objects
Object entries If HCP-DM logs every success or failure, it writes the date and time of each operation and the source path of the object or file. Failure log entries also include a description of the failure reason. The line below shows an example log entry for an operation that failed because it tried to write a new version of an object that was under retention:
10/09 09:59:11.734 C:/finance/employees/JonBSmith/Profile.xls, 403 - The requested operation is not allowed while writing /employees/JonBSmith/Profile.xls
Interval entries If HCP-DM updates the success and failure logs at a specified interval, the entries it writes give the date and time the information is logged, the type of job, and the number of successful or failed operations since the job started (or was rerun). The line below shows a sample interval log entry showing successful copy operations:
10/09 15:56:32.421 57 Copied 234 total objects
Tip: You can monitor the status of a job outside of HCP-DM by using a tail command or utility to monitor the lines at the end of these files
416
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
Setting preferences
No logging. An integer number of seconds in the range 1 through 3,600 (one hour).
In this case, HCP-DM logs summary information at the specified rate. If no operations complete or fail during an interval, HCP-DM does not write to the corresponding log; instead, it writes an entry when the next operation completes or fails.
Log every file. In this case, HCP-DM writes log entries for each object
or file. This setting can result in a significant I/O load on the client on which HCP-DM is running. For both successful and failed operations, the default logging frequency is 60 (one minute). To Configure logging frequency: 1. Select the Logging settings page of the Preferences window. 2. In the Success Logging field, select the logging frequency. If you select to log a summary, also specify the frequency value between 1 and 3,600. 3. In the Failure Logging field, select the logging frequency. If you select to log a summary, also specify the frequency value between 1 and 3,600. 4. Click on the Apply button or the OK button.
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
417
Setting preferences
418
Configuring HCP Data Migrator in the GUI Using HCP Data Migrator
5
Managing items with the HCP-DM GUI
This chapter describes how to use the HCP-DM GUI to interactively manage items in namespaces, archives, and the local file system. The HCP-DM GUI lets you:
Copy any historic version of an object. Delete one or more items, including complete directory trees, from a
directory. For HCP namespaces, the operation can be configured to delete objects that are under retention and to purge all versions of objects if the data access account used in the namspaces profile has the required permissions.
List the versions of an object in an HCP namespace. Open an object, file, or version of an object. Rename an individual file or directory on the local file system. View the properties of an item, including of an object version. Set, change, or delete the custom metadata for an object. Create an empty directory.
This chapter describes these procedures. For an introduction to the HCPDM GUI see The HCP Data Migrator GUI main window on page 2-7.
Managing items with the HCP-DM GUI Using HCP Data Migrator
51
You cannot copy into a version listing. For HCP namespaces, the
directory history list can include version listings in addition to directories. If you navigate using the history list, make sure you select a directory path, not a version listing. Tip: Each HCP-DM panel can serve as the source or destination. To limit the chance for errors, consider always using the righthand panel for the destination.
52
Managing items with the HCP-DM GUI Using HCP Data Migrator
3. In the source directory, select the items to be copied. You can use the Ctrl and Shift keys to select multiple items and ranges of items. Notes:
You cannot display or copy more than 1,000 items using the
navigation panels. To specify a larger number of items, use a job file.
You can select only a single version of an object from a version list.
Therefore, a copy operation that copies a historic version of an object can copy only that single version and no other versions or objects. 4. To start the copy operation, do either of these:
Click on the double-arrow button that points from the source panel to the destination panel. Tip: If the double-arrow buttons are grayed, check whether a Job Details window from a previous job is still open and is hidden under other windows.
Drag the selected items from the external application to the destination panel. You cannot drag between panels.
The Job Details window appears. 5. Review the job configuration and make any needed changes. If you are copying from the local file system to a namespace, for example, you might need to override the metadata preferences. You might also want to specify a custom load setting for the job. 6. If you are copying from the local file system to a namespace, you can specify a single set of custom metadata to apply to all objects being copied. (You cannot configure custom metadata in the Preferences window.) HCP-DM can get the custom metadata in two ways:
Read custom metadata from a file when the job runs. This technique lets you specify custom metadata that exceeds 32,672 MB in length. You cannot view or change the metadata when you define the job, however.
Managing items with the HCP-DM GUI Using HCP Data Migrator
53
Enter custom metadata text in HCP-DM. This technique lets you enter, view, or change the metadata when you define the job. However, you cannot use this technique to load custom metadata that exceeds 32,672 bytes in length.
Type the file path in the File field. Click on the Choose File button to display the Open window. Navigate to and select the custom metadata XML file and click on the Open button.
Type the custom metadata XML in the Custom metadata field. Click on the Load button to display the Open window. Navigate to and select the custom metadata XML file. Then click on the Open button to load the XML into the Custom metadata field.
In either case, you can edit the text directly in the Custom metadata field. 7. Click on the Run button. If you specified custom metadata, HCP-DM checks it to make sure that it is well-formed XML. If the custom metadata is not well-formed XML, HCP-DM displays an error message. In that case, fix the metadata and click on the Run button again. HCP-DM starts copying the data. You can monitor the job as described in Monitoring job progress on page 6-4.
54
Managing items with the HCP-DM GUI Using HCP Data Migrator
A purge operation deletes all versions of an object, not just the current
version.
In the navigation panel, right-click to display the context menu. Then select Delete. In the File menu, select Delete.
The Delete Job Details window appears with the Items page displayed. 4. Review the items listed on the Items page to make sure you selected the correct items. 5. Optionally, change the delete operation to a purge, privileged delete, or privileged purge operation:
a. Click on the Options tab.
Managing items with the HCP-DM GUI Using HCP Data Migrator
55
Listing object versions b. On the Options page, select the type of operation you want. c. If you selected Privileged Delete or Privileged Purge, type a reason in the Reason field. The text must consist of between one and 1,024
characters. If you select an operation for which you do not have the required permissions, the operation fails for all objects. Note: You cannot change the type of operation after you start the delete job, not even when the job is paused. 6. Click on the Run button. You can monitor job progress on the Progress page. When you delete or privileged delete objects in an HCP namespaces that has versioning enabled, the deleted items in the navigation panel turn gray. In all other cases, HCP-DM removes the deleted item from the list.
The first column of the list contains the version number, not the object
name.
The complete rows for deleted versions (deletion records) are grayed.
56
Managing items with the HCP-DM GUI Using HCP Data Migrator
When a version list is displayed, you can double-click on any version except a deleted version to open that version. You can also right-click on a selected version to get a menu that lets you open the version or display its properties.
Double-click on the item you want to open. Select the item and press the Enter key. Select the item and right-click to display the context menu. Then select Open. Select the item. Then select Open in the File menu.
Opening the latest version of an object when versioning is enabled To open the current version of an object in a namespace that has versioning enabled: 1. Select the profile and directory. 2. Select the item. 3. In the file menu or context menu for the item, select Open. Opening a specific version of an object To open a specific version of an object: 1. Select the profile and directory. 2. Do one of these:
Managing items with the HCP-DM GUI Using HCP Data Migrator
57
Select the item with the version you want to open and press the Enter key.
Double-click on the version you want to open. Select the version you want to open and press the Enter key. Select the version you want to open and right-click to display the context menu. Then select Open. Select the version you want to open. Then select Open in the File menu.
Right-click to display the context menu for the item. Then select Rename. Select Rename in the File menu.
4. In the Rename File or Rename Directory window, type the new name for the item. Names are subject to the operating system file-naming rules. 5. Click on the OK button.
58
Managing items with the HCP-DM GUI Using HCP Data Migrator
Files Directories in the local file system, default namespaces, and archives
You cannot view properties for directories in HCP namespaces. You view properties in the Properties window. For an object or version, this window has two tabbed pages, System Metadata and Custom Metadata. For a file or directory, the window has a single page. The information displayed in the Properties window depends on the type of namespace and type of item.
Viewing properties
To view the properties of an item: 1. Select the profile you want and the directory containing the item you want. 2. If the item you want is a historic version of an object, double-click on the object entry to open the version list. 3. Select the item whose properties you want to view. 4. Do either of these:
Right-click to display the context menu. Then select Properties. Select Properties in the File menu.
Properties window
The table below describes the properties that can appear in the Properties window.
Property Applies to Description
File/directory Properties window and System Metadata page of the object Properties window
Name Path Type Size All All All All objects and files Object, directory, or file name. Path from the namespace root to the directory that contains the object, file, or directory. Item type: Object, File, or Directory. Object or file size.
Managing items with the HCP-DM GUI Using HCP Data Migrator
59
Property
Modified Time Ingested Time DPL Hash Algorithm Hash Value Index
Applies to
Local file system All namespaces Objects in all namespaces Objects in all namespaces Objects in all namespaces HCP and default namespaces
Description
Date and time the file or directory was last modified. Date and time the object was ingested or the directory was created. Data protection level (DPL) for the object. Algorithm used to calculate the cryptographic hash value for the object. Cryptographic hash value for the object. For objects, index setting for the object: true or false. For directories in default namespaces and archives, the default index setting for objects added to the directory.
Shred
All namespaces
For objects, shred setting for the object: true or false. For directories in default namespaces and archives, the default shred setting for objects added to the directory.
Objects in all namespaces Objects assigned to a retention class in namespaces Objects in all namespaces Default namespaces and HCAP archives Default namespaces and HCAP archives Default namespaces and HCAP archives Default namespaces and HCAP archives Default namespaces and HCAP archives Default namespaces and HCAP archives Objects in HCP namespaces
Retention setting for the object. Name of the retention class to which the object is assigned. Hold setting for the object: true or false. POSIX ctime value for the object or directory. POSIX mtime value for the object or directory. POSIX atime value for the object or directory. POSIX UID for the object or directory. POSIX GID for the object or directory. POSIX permissions for the object or directory. The version ID of the object or object version.
Hold Changed Time (ctime) Modified Time (mtime) Accessed Time (atime) UID GID Permissions Version
510
Managing items with the HCP-DM GUI Using HCP Data Migrator
Property
State
Applies to
Objects in HCP namespaces
Description
The state of the object or object version. Either:
Indication of whether the object has been replicated to another HCP system: true or false.
Managing items with the HCP-DM GUI Using HCP Data Migrator
511
If the new custom metadata XML is well-formed or the page is empty, HCP-DM replaces or deletes the XML. Tip: If you are deleting all custom metadata, ensure that the page does not still contain any white space characters, including return characters. If the page is not completely empty, HCP-DM displays an error message.
If the new metadata XML is not well-formed, HCP-DM displays an error message. In this case:
1. Click on the OK button to dismiss the message. 2. Correct the error. 3. Click on the Save button again.
512
Managing items with the HCP-DM GUI Using HCP Data Migrator
6
Managing jobs in the Job Details window
This chapter describes how to use the HCP-DM Job Details window to monitor and manage a job. It also describes the log files that provide information about a job.
Managing jobs in the Job Details window Using HCP Data Migrator
61
Description
The name of the profile for the source namespace for a copy job or the namespace from which items are being deleted. The name of the directory containing the items to be copied or from which items are being deleted. The name of the profile for the destination namespace.
Destination Directory The name of the directory to which the items are being copied. (copy only) State The state of the job in the operation workflow. The value is one of Not Started, Preparing to Restart, Running, Paused, Completed, or Failed. For more information on HCP-DM states, see Job flow on page 2-5. The error message for an error that caused the job to fail. This field appears only if HCP-DM encountered an error that caused it to stop processing the job before the job completed. It does not appear for errors in individual operations.
Error
62
Managing jobs in the Job Details window Using HCP Data Migrator
The Job Details window has tabbed pages with different information. The available pages and whether you can change the settings on them depend on the type of operation and the job state, as shown in the table below.
Applicable operations
All
Page
Progress
Changeable
No
Description
Displays operation progress and detailed information on the status of individual items. For more information, see Monitoring job progress on page 6-4. Lists the first 1,000 items in the job or all items in the file, whichever is smaller. In either case HCP-DM copies or deletes all the items you specified. If you initially started the job from a job file, the top of this page displays the job file path. Note: If you run a job from a job file and change the file while the job is running, HCP-DM copies or deletes only the items specified in the initial file. The Items page, however, reflects the changed file.
Items
All
No
Policies
Copy from local file system to a namespace Copy from local file system to a default namespace or archive Copy from local file system to a namespace Delete
Specifies the index, shred, retention, and hold settings to apply to objects resulting from the copy operation. Specifies the UID, GID, and permissions values to apply to the objects created by the copy operation. Specifies the custom metadata to associate with the objects created by the copy operation. Specifies the type of delete operation: delete, purge, privileged delete, or privileged purge. For privileged operations, the Options page also specifies the reason for the operation. Specifies the number of connections to the source and destination systems.
POSIX Metadata
Load Schedule
All
Managing jobs in the Job Details window Using HCP Data Migrator
63
The Policies, POSIX Metadata, and Load Schedule pages are identical to those in the Preferences window. For information on setting values on these pages, see Setting preferences on page 4-7. For information on using the Load Schedule page to change the load for a job thats in progress, see Resetting the load schedule on page 6-13. For information on using the Custom Metadata page to specify the custom metadata for all objects in the job, see Specifying custom metadata for objects on page 5-11. For information on using the Options page to specify the type of delete operation for the job, see Deleting or purging items on page 5-5.
Description
Summary information about the items that have been copied or deleted. For more information, see Metrics section on page 6-5. Summary information on the operation progress: The average number of items copied or deleted per second during the last ten seconds. For copy operations only, the average rate at which data, including custom metadata, was transferred during the last ten seconds. A progress bar that shows the progress of the operation. Until one percent of the job is complete or the first object is copied, if it makes up more than one percent of the job, a small blue bar moves back and forth across the progress bar. Thereafter, the bar indicates the job completion status.
Additional Details
Three tabbed pages containing the detailed status of items being copied or deleted. For more information on these pages, see Additional Details section on page 6-6.
64
Managing jobs in the Job Details window Using HCP Data Migrator
Metrics section The table below describes the entries in the Metrics section.
Label
Total objects to copy or Total objects to delete
Value
For a copy job, the number of objects or files to be copied. This value can be lower than the Objects found entry, which also includes directories. For a delete job, the number of items, including directories, to delete.
The total size of the objects or files to be copied. This field is not present for a delete job. The time the operation was started or, if it had been paused or closed, resumed. The amount of time the operation has been running or, if the job is stopped, took to run. This time includes the time spent processing before the first item is copied or deleted, but not any time during which the job was paused or closed. Note: If you resume a job that terminated abnormally and has not been saved, the run time value will not be correct.
Objects found
The number of directories and objects or files that have been found. Before HCP-DM can copy or delete all objects in a job it must recursively walk through any directories specified in the job and find all their contents. This process is called discovery. For very large directory trees, discovery can take significant time. The Objects found value is an approximate count of the files and directories found so far. You can use this value to monitor progress during the early stages of a job.
Objects pending
For a copy job, the number and total size of the objects or files, but not directories, that have been found but havent yet been copied. For a delete job, the number of items, including directories, that have found so far, but have not been deleted.
Managing jobs in the Job Details window Using HCP Data Migrator
65
Label
Objects succeeded
Value
For a copy job, the number and total size of the objects or files that have been copied. For a delete job, the number of items, including directories that have been deleted.
Objects failed
For a copy job, the number and total size of the objects or files that were not copied due to errors encountered by HCP. For a delete job, the number of items, including directories, that could not be deleted.
Additional Details section Each tabbed page in the Additional Details section provides information on individual items in the job. Each page lists the most recent 1,000 items in the job that have the applicable status or all items with the status, whichever is smaller. These are the tabbed pages in the Additional Details section:
Failed Objects or files that could not be copied or deleted. For delete
operations, the list also includes directories. The detailed information includes the reason for each failure. When you resume a paused job or load and run a saved job, the lists in the Additional Details section show the status since you resumed or loaded the job. HCP-DM updates the information on the Succeeded and Failed pages every ten seconds, so they may not fully reflect the current status. HCP-DM updates the Processing page every second.
66
Managing jobs in the Job Details window Using HCP Data Migrator
Managing jobs
The table below describes the information displayed for each item.
Column
Name All
Pages
Meaning
The path of the object or file from the namespace or file system root. For copy jobs, this is the source object path. The object or file size in KB. This column appears for copy jobs only. The time taken so far in processing and copying or deleting the item. Because multiple items can be handled concurrently, the sum of these values is normally more than the total elapsed time shown in the Metrics section. The date and time at which HCP-DM started processing the item. The date and time at which HCP-DM stopped processing the item. An HTTP return code and descriptive text that indicates the reason why the item was not copied or deleted.
Managing jobs
You use the buttons at the bottom of the Job Details window to manage the current job.
Valid When
Description
Job is paused or completed Saves the paths of objects and files in the job in a set of files based on their status. For more information, see Exporting job results on page 6-12. Job has not been saved and is not running Gives the job a name and enables you to reopen the job after closing the Job Details window. For more information, see Saving a job on page 6-11.
Save
Managing jobs in the Job Details window Using HCP Data Migrator
67
Managing jobs
(Continued)
Button
Run/Pause/ Resume/Rerun
Valid When
Run Job has never run Pause Job is in progress Resume Job is paused
Description
Starts, pauses, resumes, or reruns the current job. You can use the Rerun button to rerun a job with failed items.
For more information, see Rerunning Rerun Job has completed with failed items jobs with failed operations on page 7-7. Cancel/Close Cancel Either: Job is in progress Job hasnt been saved and has not yet run or is paused Cancel Closes the Job Details window without completing the job or in-process operations and without saving the job. Close Closes the Job Details window. For more information, see Canceling or closing a job on page 6-8.
Close Either: Job has completed Job has been saved and has not yet run or is paused
Running a job
When you create a job, for example, by clicking on the arrow between the two navigation panels or by dragging items from a drag-and-drop-enabled application to the destination panel, HCP-DM does not start copying or deleting immediately. Instead, it displays the Job Details window. To start the job, click on the Run button in the window. For more information, see Copying items and versions on page 5-2 and Deleting or purging items on page 5-5.
68
Managing jobs in the Job Details window Using HCP Data Migrator
Managing jobs
If any items are in the process of being copied, the data transfer may
stop when only part of the item has been copied. In this case, HCP-DM will retry copying the object when it resumes. For more information, see Pausing and resuming a job on page 6-10.
If you previously saved the job, HCP-DM updates the information in the
saved job to reflect the current jpb status.
If you havent yet saved the job, HCP-DM deletes it, and you cannot
restart it. Note: HCP-DM can take several minutes to cancel a job that has many concurrent operations. During that time, HCP-DM is unresponsive and may place additional load on the client its running on. Closing a job If a job has completed or been saved and is not running, click on the Close button to close the Job Details window: When you click on the Close button:
If the job completed with errors and has not been saved, HCP-DM
prompts you to save the job:
To save the job and close the Job Details window, click on Yes. For information on saving a job, see Saving a job on page 6-11. To close the Job Details window without saving the job, click on No. To take no action and leave the Job Details window open, click on Cancel.
If the job has completed without errors and has not been saved, HCPDM closes the Job Details window and does not save the job.
If the job has been saved, HCP-DM updates the saved information to
reflect the current status and closes the Job Details window.
Managing jobs in the Job Details window Using HCP Data Migrator
69
Managing jobs
Any directories that are being read will be reread if you resume the job.
This can result in duplicate entries for files in the job definition and can cause failures due to conflict when the job is resumed. These failures, however, only mean that HCP-DM tried the same copy operation a second time, not that the object was not copied.
Any items that are being copied may only be partially copied. In this
case, HCP-DM retries copying the object when it resumes. In most cases the retried write will succeed because the initial write was not completed successfully. In some cases, however, this situation may lead to an HCP failed write. For information about failed writes, see Using a Namespace or Using the Default Namespace. To restart a paused job, click on the Resume button. You can pause a job at any time while its running. While a job is paused, you can:
Resume the job. Save the job, if it has not yet been saved. For more information, see
Saving a job below.
Export the current results. For more information, see Exporting job
results on page 6-12.
Change the job load settings (for example, to reduce the load during a
period of heavy demand on the HCP system). For more information, see Resetting the load schedule on page 6-13.
Close the job if it has been saved or cancel it if it has not been saved.
When you cancel an unsaved job, the job information is not saved.
610
Managing jobs in the Job Details window Using HCP Data Migrator
Managing jobs
The job is currently loaded and paused. You had previously paused and saved the job (in either order), closed
the Job Details window or HCP-DM, and then reopened the saved job.
You have reopened a job that was running when HCP-DM shut down
unexpectedly. (If you havent yet saved the job when HCP-DM stops, the job is automatically saved in the paused state with a job name that is the date and time the job started running.)
Saving a job
A saved job is a snapshot that fully represents the definition, properties, and status of an HCP-DM job. You can save a job, close HCP-DM, and then restart HCP-DM and reopen the job at a later time. You can save a job only while it is open and not running. To save a job: 1. Click on the Save button at the bottom of the Job Details window. 2. In the Save Job window, type a name for the job. The name must be from one through 128 characters long and can include special characters and spaces. 3. Click on the Save button. HCP-DM saves the job. For information on saved jobs, including running saved jobs, see Chapter 7, Using saved jobs and job files. HCP-DM automatically updates the information about the copy or delete operations of a saved job as the job progresses. If you click on the Save button any time after you first save it, HCP-DM saves only the load schedule. This lets you update the load schedule for a saved job.
Managing jobs in the Job Details window Using HCP Data Migrator
611
Managing jobs
Description
The job list, containing the absolute paths of all objects or files to copy or delete in the job. For copy jobs, this is a list of all objects or files HCP-DM tries to copy in the job. If the job definition specified a directory, the list contains the paths of all object or files in the directory and its subdirectories. For delete jobs, it is a list of all directories and objects or files HCP-DM tries to delete. Note: HCP-DM can export a complete job list only after it has found all objects and the Total objects to copy or Total objects to delete entry on the Progress page of the Copy Job Details window is no longer gray. If you export results prior to this, the job list will be incomplete.
file-prefix Failures.txt
The failed job list, containing entries consisting of these values, separated by a comma: The absolute path for an object or file that was not copied or deleted due to an error encountered by the source or destination system. For delete operations, the list includes directories. Errors listed in this file did stop the job. A description of the error.
file-prefix Successes.txt
The succeeded job list, containing the absolute paths of the objects or files that were successfully copied or deleted. For delete operations, the list includes directories.
In the preceding table, file-prefix is an optional prefix you can specify when you export the job results. To export job results: 1. In the Job Details window, click on the Export Results button. 2. In the Export to directory field in the Export Results window, type or select an existing directory in which to save the export files.
612
Managing jobs in the Job Details window Using HCP Data Migrator
Managing jobs
3. Optionally, in the File Prefix field, type a prefix with which to start all file names. Use the prefix to identify this set of export files for the job. The prefix can be one through 128 characters long and can consist of any combination of characters that is valid for file names on the client platform. 4. Select any combination of lists to export. The window displays the name of each file that will be written. Note: If you specify a directory and prefix that you used before and do not export all the lists that you exported previously, HCP-DM doesnt delete the old versions of the lists that you do not export. 5. Click on the Export button. When the export is complete HCP-DM displays a confirming message. 6. In the message window, click on the OK button. You can export job results while a job is paused or after it has completed. If you export results before the job completes, the exported files provide a snapshot of the job at that time and are not updated. You can export job results multiple times while the job runs. Each time, you can create a new set of files by specifying a new prefix. If you repeat a prefix, the current export operation overwrites the previous files. For information on exported job results, see About exported job results files on page 7-5. For information on importing and running exported jobs, see Running jobs from job files in the GUI on page 7-8.
Reducing the load HCP-DM is putting on a client system thats used for
other purposes
Balancing the speed of a job against system performance for other HCP
or HCAP users
Managing jobs in the Job Details window Using HCP Data Migrator
613
Managing jobs
You can change the load schedule for a job before the job runs or while it is paused. Note: Unlike the Load Schedule page of the Preferences window, the page in the Job Details window doesnt let you change the Reduced Load values while the Use normal load schedule at all times option is selected. For information on load scheduling and specifying settings on the Load Scheduling page, see Controlling the load on page 4-12 Note: HCP-DM automatically saves the current load schedule for a job when you run, resume, or restart the job. This ensures that the job has the current load schedule, even if you never explicitly save it. However, HCP-DM does not save the load schedule after you change it or when you pause, cancel, or close the job. If you change the load schedule and want to keep the schedule with the job, click on the Save button to update the job with the new schedule.
614
Managing jobs in the Job Details window Using HCP Data Migrator
7
Using saved jobs and job files
This chapter describes how to use these kinds of jobs and job files:
Using saved jobs and job files Using HCP Data Migrator
71
Pause the job, close HCP-DM, and resume the job at a later time
without losing information about the job. The job resumes where it left off. (You can also create a job without running it, save it, and run it later.)
Reopen the job at any time, including after it is complete, to review its
status or export its results.
Because HCP-DM always keeps the status of the current job on disk, it
retains the job information if the job fails or HCP-DM closes unexpectedly. You can then restart HCP-DM, if needed, and reload the job. If you did not save the job before the failure, it will have a name that consists of the date and time the job started.
You can save a job with only one name. That is, you cannot rename
the job or save it another time with a different name.
72
Using saved jobs and job files Using HCP Data Migrator
HCP-DM does not automatically update the job with changes to the load
settings. If you change these settings, you can update the job by clicking on the Save button. HCP-DM does save load settings when you start, resume, or restart a job, however.
You cannot change a saved job that you have run, except to modify the
load settings.
You can open a saved job that completed without errors, but you
cannot rerun it.
You should delete unneeded saved jobs, such as saved jobs that
completed without errors. Saved jobs can take up significant disk space. Saved jobs contain this information:
The name of the source profile and for copy jobs the destination profile For a copy operation, the path of the destination directory The source paths of the items that are being copied or the paths of the
items that are being deleted
Any applicable metadata settings; for more information, see How HCPDM handles metadata on page 3-5
Load management configuration Status information about the operation such as job state, which items
have been copied or deleted, and error information Note: If you cancel a saved job while it is running or HCP-DM closes unexpectedly while the saved job runs, the job information may have duplicate entries for the same object, and HCP may try to copy or delete those objects twice. For instructions on using saved jobs, see Working with saved jobs in the GUI on page 7-5.
Using saved jobs and job files Using HCP Data Migrator
73
Specify more than 1,000 items to be copied or deleted. Jobs that you
configure in the GUI can have at most 1,000 items (including directories).
Run an operation multiple times. For example, you could create a job
file that specifies the items in a copy operation that you repeat regularly to store versions of files that change over time. These rules apply to job files:
Each item must be on a separate line. Item paths must be all absolute or all relative to a single directory that
you specify when you import the file.
In Windows, all absolute paths must start with the same drive letter. The maximum length of file or object paths, including separators, is
4,095 bytes. This limit applies to absolute paths and to the concatenation of relative paths with the source or destination directory path you specify when you run the job.
74
Using saved jobs and job files Using HCP Data Migrator
A job file listing all items to copy or delete in the job. A job file listing items that have been successfully copied or deleted. A file listing items that were not copied or deleted due to errors and
providing error information for each item. You cannot use this file as a job file. For copy jobs, the exported files list only objects and files. For delete jobs, the exported files list objects, files, and directories. For all jobs, HCP expands the directories for the lists. If you specify a directory to copy, for example, the exported job results files list the contents of that directory and its subdirectories. Note: If you export job results files before HCP-DM completes expanding the directories, the file containing all items may be incomplete. For instructions on exporting job results see Exporting job results on page 6-12. For information on using the results to run jobs see Running jobs from job files in the GUI on page 7-8.
Job name Job type, either copy or delete State the job will be in if you open it.
Using saved jobs and job files Using HCP Data Migrator
75
The table below lists the possible states of the saved job and their meaning.
State
Not Started Paused
Meaning
The job was saved but never run. Either: You paused a job that you have saved. HCP-DM closed unexpectedly while it was running.
Completed
Either: The job completed all operations successfully. The job completed processing, but some operations were not successful as a result of operation- or objectspecific errors. This can occur, for example, if HCP-DM cannot get an object to be copied, if it tries to delete a file that does not exist, or if it tries to copy a file over an existing file and the namespace does not support versioning.
Failed
HCP-DM encountered an error that prevented it from completing processing. For example, a job fails if the HCP system cannot be reached.
You can use the Saved Jobs window to open or delete any saved job. If you open a successfully completed job, you cannot run it, but you can export its results.
76
Using saved jobs and job files Using HCP Data Migrator
Using saved jobs and job files Using HCP Data Migrator
77
If you save the job before you close it, you can correct errors and rerun the job. When you rerun job, HCP-DM tries to copy or delete only the items that failed previously, not the entire job. Note: You can create a complete list of failed items in the job with information about each error by exporting a failed job list. For more information, see Exporting job results on page 6-12. This provides a complete record of all failed operations and their associated error messages. To rerun a job: 1. Save the job as described in Saving a job on page 6-11. This step lets you specify a name for the job other than the date and time. 2. Fix the errors. 3. Rerun the job as described in Running a saved job on page 7-6. When the job starts rerunning it is in the Preparing to Restart state. For large jobs, HCP-DM may remain in this state for a significant amount of time without showing any progress. Once you open a job to rerun it, the contents of the Additional Details section of the Job Details window is reset and shows only the progress of the current operation. The information in the Metrics section reflects the status of the complete job, however. If you export the job results after rerunning a job, the job list includes all items in the initial job, not just the items that HCP-DM reran. Similarly the succeeded job list includes all items that were copied or deleted in both the initial run and when the job was rerun.
78
Using saved jobs and job files Using HCP Data Migrator
To load and run a job from a job file: 1. In the File menu, select Import Copy Job from File or Import Delete Job from File. 2. In the Import Copy/Delete Job from File window:
In the Source Profile field, select the profile for the namespace (or local file system) containing the objects or files to copy or delete. In the Source Path field, specify the path that is the root of the paths in the job file you are importing. For example, if the job file contains names of files and directories relative to the C:\finance\ employees\job_status directory, specify C:\finance\employees\job_status in this field. Use the / character to specify the top level of a namespace; do not specify fcfs_data or rest. When you import from a Windows system, this field is required. If the file you are importing contains absolute paths, all paths must start with the same drive letter, and you need to enter the drive letter (for example, C:\) in this field. When you import from a Unix system, this field is optional and you can simply specify absolute paths in the job file.
In the Destination Profile field, select the profile for the namespace (or local file system) to which you are copying. In the Destination Path field, specify the directory into which HCP-DM will copy the items. This field is required in all cases, even if you are copying to the home directory. Use the / character to specify the top level of a namespace.
In the File to Import section, browse to the directory that contains the file you are importing and select the file. The file name appears in the File Name field. You cannot type or copy a file path into the File Name field.
Using saved jobs and job files Using HCP Data Migrator
79
3. In the Job Details window, review the job information and change, if needed, the job settings. Then click on the Run button. Note: HCP-DM reads the job file when you click on Run button and ignores any changes made to the file after that time. 4. Monitor and manage the job, as described in Chapter 6, Managing jobs in the Job Details window.
710
Using saved jobs and job files Using HCP Data Migrator
8
Using the hcpdm command
This chapter describes the HCP Data Migrator hcpdm command, which you can use on the command line or in scripts. For example, you can use this command in scripts that automate repeated operations.
81
copy Copies items between two locations delete Deletes one or more items job Lists jobs or deletes a job profile Creates and manages namespace profiles
You cannot run the hcpdm command while the HCP-DM GUI is running.
Parameter keywords are case sensitive and must be all lowercase. You can use either / or \ (back slash) as the delimiter in Windows
paths.
You can type parameters in any order. Parameter keywords consist of one or more words separated by
hyphens and start with double-hyphens (--); for example, -destination-path.
82
Profile names, paths, and parameter values that contain spaces must
be surrounded by double quotation marks.
83
hcpdm copy
4. The job failed. Possible causes include the HCP system being unavailable and internal HCP-DM errors. You can look at the most recent install_dir/hcpdm/log/hcpdmn.log file for possible causes. If you cannot determine the cause, see your namespace administrator. 5. The job completed, but some items were not copied or deleted. Check the most recent install_dir/hcpdm/log/failuresn.log file for possible causes.
hcpdm copy
The hcpdm copy command copies items from one location to another. The locations can be in a local or mounted file system, an HCP or default namespace, or an HCAP 2.6 archive. Note: The hcpdm copy command cannot copy historic versions of objects from HCP namespaces. To copy a historic version of an object, use the GUI interface.
Syntax
The hcpdm copy command has this syntax:
hcpdm.(bat|sh) copy (-h|--help) | ((-resume [job-name]) | (-rerun [job-name]) |(((-d|--destination-profile) (destination-profile-name|LFS)) (-s|--source-profile) (source-profile-name|LFS) --destination-path destination-directory-path [--source-path source-directory-path] [--index true|false] [--retention retention-setting] [--hold true|false] [--shred true|false] [--custom-metadata custom-metadata-file-spec] [--dir-permissions posix-directory-permissions] [--file-permissions posix-file-permissions] [--uid posix-uid] [--gid posix-gid]) [--insecure] [--max-sys-ops operation-count] [--max-node-ops operation-count] [--reduced-max-sys-ops operation-count] [--reduced-max-node-ops operation-count] [--reduced-start hh:mm] [--reduced-end hh:mm] [--export-results results-type-specification] [--export-results-path directory-path] [--export-results-prefix prefix] job-file-spec)
84
hcpdm copy
Parameter descriptions
The table below describes the parameters for the hcpdm copy command.
Parameter (-h|--help) Description
Displays syntax rules for the hcpdm copy subcommand. If you specify other parameters, they are ignored. Resumes a job that was canceled or failed. If you omit the job-name attribute, HCP-DM resumes the last saved copy job. The command displays an error message if you try to resume a completed job, including one that completed with some failed operations; in that case, use the --rerun parameter. You can use this parameter with the --insecure parameter and the parameters that control the job load and export the results; that is, the parameters listed in this table starting at --max-sys-ops. If you specify other parameters or the job-file-spec argument, they are ignored.
(--resume [job-name])
(--rerun [job-name])
Reruns the specified saved job. If you omit the jobname attribute, HCP-DM reruns the last saved copy job. You can use this parameter with the --insecure parameter and the parameters that control the job load and export the results; that is, the parameters listed in this table starting at --max-sys-ops. If you specify other parameters or the job-file-spec argument, they are ignored.
Specifies the profile that identifies the namespace or local file system that contains the items to be copied. source-profile-name must be the name of an existing namespace profile. LFS specifies the local file system. This parameter is required.
Specifies the profile that identifies the namespace or local file system to which to copy items. destination-profile-name must be the name of an existing namespace profile. LFS specifies the local file system. This parameter is required.
85
hcpdm copy
(Continued)
Description
Specifies the directory in which to save the copied items. The destination path can be an absolute path or a path relative to the root of the destination namespace or local file system. If any directories in the destination path do not exist, HCP-DM creates them. If the --destination-profile parameter specifies a namespace, start absolute paths with /, not /rest or /fcfs_data. This parameter is required.
--source-path source-directory-path
Specifies the directory containing the items to be copied. The source path can be an absolute path or a path relative to the root of the source namespace or local file system. If the --source-profile parameter specifies a namespace, start absolute paths with /, not /rest or /fcfs_data. This parameter is required only if the source is a Windows system. In this case, if the job file contains absolute paths, specify only the drive letter as the source directory (for example, C:\).
Specifies whether to mark the resulting objects for indexing. This parameter applies only when copying from the local file system to an HCP or default namespace. It is ignored otherwise, including when the destination is an HCAP archive.
--retention retention-setting
Specifies the retention setting for the resulting objects. This parameter has an effect only for files copied from the local file system to a namespace. It is ignored otherwise. If you specify a retention class name that is not configured in the destination namespace, the copy fails. For information about retention setting values, see Retention on page 4-8.
86
hcpdm copy
(Continued)
Description
Specifies whether to place the resulting objects on hold. This parameter applies only when copying from the local file system to a namespace. It is ignored otherwise.
Specifies whether to mark objects for shredding. This parameter applies only when copying from the local file system to a namespace. It is ignored otherwise.
--custom-metadata custom-metadata-filespec
Specifies a file containing custom metadata to associate with each object. The path can be absolute or relative to the current working directory. This parameter applies only when copying from the local file system to a namespace. It is ignored otherwise.
--dir-permissions posixdirectory-permissions
Specifies the POSIX permissions for any directories that are created as a result of the hcpdm copy command. This parameter applies only when copying from the local file system to a default namespace or archive. It is ignored otherwise.
--file-permissions posix-filepermissions
Specifies the POSIX permissions for the objects created by the copy operation. This parameter applies only to files copied from the local file system to a default namespace or archive. It is ignored otherwise. Specifies the POSIX user ID to set as the owner of each resulting object. This parameter applies only to files copied from the local file system to the default namespace or an archive. It is ignored otherwise.
--uid posix-uid
--gid posix-gid
Specifies the POSIX group ID to set as the owning group for each resulting object. This parameter applies only to files copied from the local file system to the default namespace or an archive. It is ignored otherwise.
87
hcpdm copy
(Continued)
Parameter --insecure
Description
If the source or destination namespace profile specifies SSL for the connection, tells HCP-DM to accept the SSL server certificate presented by HCP without checking whether its signed by a trusted authority. Include this parameter if you know that the certificate used by HCP is valid, but it is self-signed (such as the default HCP certificates) or has a mismatched address.
--max-sys-ops operation-count
Specifies the maximum number of copy operations that HCP-DM can perform concurrently on an HCP system. The value must be at least two times the number of nodes and no more than 1,000. For information on managing system operations, including controlling the load on the local file system, see Controlling the load on page 4-12.
--max-node-ops operation-count
Specifies the maximum number of copy operations that HCP-DM can perform concurrently on a single node in an HCP system. The value must be at least two and no more than the max-sys-ops setting. Specifies the maximum number of copy operations that HCP-DM can perform concurrently on an HCP system during the reduced load period. Specifies the maximum number of copy operations that HCP-DM can perform concurrently on a single node during the reduced load period. Specifies the time at which to start the reduced load period each day. hh is the two-digit hour on a 24hour clock in the local time zone. If you specify reduced operation counts and omit this parameter, the reduced load starts at 8:00 AM.
--reduced-end hh:mm
Specifies the time at which to end the reduced load period each day. hh is the two-digit hour on a 24hour clock in the local time zone. If you specify reduced operation counts and omit this parameter, the reduced load ends at 8:00 PM.
88
hcpdm copy
(Continued)
Description
Specifies the types of results to export when the copy completes. results-type-specification can be ALL or a comma-separated list of one or more of the following values: FAILURE Exports a list of all object that were not copied due to errors. JOBLIST Exports a list of all objects or files in the job. SUCCESS Exports a list of all objects that were successfully copied.
The list can contain spaces following the commas, but if it does, enclose the entire list in double quotation marks. If you specify ALL, HCP-DM exports all three lists. If you omit this parameter, HCP-DM does not export any results. For more information about these lists, see Exporting job results on page 6-12.
--export-results-path results-directorypath
Specifies the directory in which to save the exported results files. The path can be absolute or relative to the current directory. If you omit this parameter and specify the --exportresults parameter in the command, HCP-DM writes the results to the current directory.
--export-results-prefix prefix
Specifies the prefix with which to start the name of each exported results file. You can use this prefix to identify the job. If you omit this parameter, no prefix is used.
job-file-spec
Specifies the job file containing the list of items to copy. job-file-spec can be an absolute path in the local file system or a path relative to the current working directory. This parameter is required. For information about job files, see About job files on page 7-4.
89
hcpdm copy
Command output
As the job runs, the command displays its progress showing the following information:
Percent complete Number of objects found Size of objects copied so far and total size to copy Number of objects copied and total number to copy Throughput rate
When the job stops processing, the command displays a list of objects or files that could not be copied and the reasons for the failures. If more than 1000 operations failed, the list includes only the 1000 most recent failures. After listing any failed operations, the command displays a summary with the following information:
Job status Number of objects found Number and size of objects to copy Number and size of objects successfully copied Number and size of objects that were not copied due to errors Objects copied per second Throughput rate Elapsed time
810
hcpdm copy
Usage considerations
These considerations apply to using the hcpdm copy command:
In Windows, if you specify a drive letter, such as C:\, in the --sourcepath parameter, the entries in the job file can be either absolute paths
that include the drive letter or paths relative to the drive. This is the only case where entries in the job file can contain part of the path specified by the --source-path parameter.
Example
Heres a sample command that copies a set of files from the local file system to an HCP namespace:
Windows: hcpdm.bat copy -s LFS -d "Europe Finance" --source-path C:\MyDocs\Work --destination-path BusDoc/Mktg --insecure --shred true --retention C+SEC-17a C:\CopyFiles\MoveWork.txt Unix: hcpdm.sh copy -s LFS -d "Europe Finance" --source-path /myDocs/work -destination-path BusDocs/Mktg --insecure --shred true --retention C+SEC-17a /CopyFiles/MoveWork.txt
Copy files from the local file system. Copy files to the namespace specified by the Europe Finance profile. Copy files from the C:\MyDocs\Work directory (Windows) or /myDocs/work
directory (Unix).
811
hcpdm delete
directory.
Allow the use of HTTPS certificates that are not signed by a recognized
authority.
Set the shred setting of the resulting objects to true. Set the retention setting of the objects on the destination to the SEC17a retention class.
hcpdm delete
The hcpdm delete command deletes items from a namespace, an archive, or the local file system. If you specify any directories in the list of items to be deleted, hcpdm delete recursively deletes the directory and all its contents.
Syntax
The hcpdm delete command has this syntax:
hcpdm.(bat|sh) delete (-h|--help) | ((-resume [job-name]) | (-rerun [job-name]) | ((-p|--profile) profile-name|LFS) [--path directory-path] [--operation operation-type] [--reason reason-text]) [--insecure]) [--max-sys-ops operation-count] [--max-node-ops operation-count] [--reduced-max-sys-ops operation-count] [--reduced-max-node-ops operation-count] [--reduced-start hh:mm] [--reduced-end hh:mm] [--export-results results-type-specification] [--export-results-path directory-path] [--export-results-prefix prefix] job-file-spec)
812
hcpdm delete
Parameter descriptions
The table below describes the parameters for the hcpdm delete command.
Parameter (-h|--help) Description
Describes syntax rules for the hcpdm delete subcommand. If you specify other parameters, they are ignored. Resumes a job that was canceled or failed. If you omit the job-name attribute, HCP-DM resumes the last saved delete job. The command displays an error message if you try to resume a completed job, including one that completed with some failed operations; in that case, use the --rerun parameter. You can use this parameter with the --insecure parameter and the parameters that control the job load and export the results; that is, the parameters listed in this table starting at --max-sys-ops. If you specify other parameters or the job-file-spec argument, they are ignored.
(--resume [job-name])
(--rerun [job-name])
Reruns the specified saved job. If you omit the jobname attribute, HCP-DM reruns the last saved delete job. You can use this parameter with the --insecure parameter and the parameters that control the job load and export the results; that is, the parameters listed in this table starting at --max-sys-ops. If you specify other parameters or the job-file-spec argument, they are ignored.
Specifies the profile that identifies the namespace or local file system that contains the items to be deleted. profile-name must be the name of an existing namespace profile. LFS specifies the local file system. This parameter is required.
813
hcpdm delete
(Continued)
Description
Specifies the directory containing the items to be deleted. The path can be an absolute path or path relative to the root of the namespace or local file system. If the --profile parameter specifies a namespace, start the path with /, not /rest or /fcfs_data. This parameter is required if you are deleting from a Windows system.
--operation operation-type
Specifies the type of operation to perform; one of: delete Performs a regular delete operation. purge For objects with multiple versions, deletes all versions of the object; otherwise, deletes only the object. privileged-delete Deletes objects even if they are under retention. (privileged-delete does not delete objects that are on hold.) You can also specify this operation if objects are not under retention but you want to provide a reason for deleting them. privileged-purge For objects with multiple versions, deletes all versions of the object, even if the object is under retention; otherwise, deletes only the object. (privileged-purge does not purge objects that are on hold.) You can also specify this operation if objects are not under retention but you want to provide a reason for purging them.
If you omit the --operation parameter, HCP-DM performs a regular delete operation. Only HCP namespaces support purge, privileged delete, and privileged purge operations. For default namespaces, archives, and the local file system, HCPDM always performs a delete operation. To delete objects from an HCP namespace, the data access account used by the namespace profile must have the delete permission. To purge objects, the account must have the delete and purge permissions. To perform privileged operations, the account must also have the privileged permission. For more information on purging and privileged operations, see Using a Namespace.
814
hcpdm delete
(Continued)
Description
Specifies the reason for a privileged operation. reason-text must be from one through 1,024 characters long and can contain any valid UTF-8 characters, including white space. This parameter is required if the --operation parameter value is privileged delete or privileged purge. It is ignored otherwise.
--insecure
If the namespace profile specifies SSL for the connection, tells HCP-DM to accept the SSL server certificate presented by HCP without checking whether its signed by a trusted authority. Specify this option if you know that the certificate used by HCP is valid, but it is self-signed (such as the default HCP certificates) or has a mismatched address.
--max-sys-ops operation-count
Specifies the maximum number of delete operations that HCP-DM can perform concurrently on an HCP system. The value must be at least two times the number of nodes and no more than 1,000. For information on managing system operations, including controlling the load on the local file system, see Controlling the load on page 4-12.
--max-node-ops operation-count
Specifies the maximum number of delete operations that HCP-DM can perform concurrently on a single node in an HCP system. The value must be at least two and no more than the max-sys-ops setting. Specifies the maximum number of delete operations that HCP-DM can perform concurrently on an HCP system during the reduced load period. Specifies the maximum number of delete operations that HCP-DM can perform concurrently on a single node during the reduced load period. Specifies the time at which to start the reduced load period each day. hh is the two-digit hour on a 24hour clock in the local time zone. If you specify reduced operation counts and omit this parameter, the reduced load starts at 8:00 AM.
815
hcpdm delete
(Continued)
Description
Specifies the time at which to end the reduced load period each day. hh is the two-digit hour on a 24hour clock in the local time zone. If you specify reduced operation counts and omit this parameter, the reduced load ends at 8:00 PM.
--export-results results-typespecification
Specifies the types of results to export when the delete completes. results-type-specification can be ALL or a comma-separated list of one or more of the following values: FAILURE Exports a list of all object that were not copied due to errors. JOBLIST Exports a list of all objects or files in the job. SUCCESS Exports a list of all objects that were successfully copied.
The list can contain spaces following the commas, but if it does, enclose the entire list in double quotation marks. If you specify ALL, HCP-DM exports all three lists. If you omit this parameter, HCP-DM does not export any results. For more information about these lists, see Exporting job results on page 6-12.
--export-results-path results-directorypath
Specifies the directory in which to save the exported results files. The path can be absolute or relative to the current directory. If you omit this parameter and specify the --exportresults parameter in the command, HCP-DM writes the results to the current directory.
--export-results-prefix prefix
Specifies the prefix with which to start the name of each exported results file. You can use this prefix to identify the job. If you omit this parameter, no prefix is used.
816
hcpdm delete
(Continued)
Parameter job-file-spec
Description
Specifies the job file containing the list of items to delete. job-file-spec can be an absolute path in the local file system or a path relative to the current working directory. This value is required. For information about job files, see About job files on page 7-4.
Command output
As the job progresses, the command displays its progress showing the following information:
Number of objects found Number of objects deleted and total number to delete
When the job stops processing, the command displays a list of items that could not be deleted and the reasons for the failures. If more than 1000 operations failed, the list includes only the 1000 most recent failures. After listing any failed operations, the command displays a summary with the following information:
Job status Number of objects found Number of objects to delete Number of objects deleted Number of objects that were not deleted due to errors Elapsed time
Note: The job summary shows 0 KB on the lines showing objects to delete, successfully copied, and not copied due to errors. It does not show actual size information.
817
hcpdm job
Example
Heres a sample command that deletes a set of objects from an HCP namespace:
Windows: hcpdm.bat delete --profile "Europe Finance" --path C:\BusDocs\Mktg --insecure C:\DeleteFiles\Deleteable.txt Unix: hcpdm.sh delete -profile "Europe Finance" --path /busDocs/mktg --insecure /DeleteFiles/Deleteable.txt
To allow the use of HTTPS certificates that are not signed by a trusted
authority.
hcpdm job
The hcpdm job command lists the HCP-DM jobs or deletes a single job. When you use the hcpdm command to run a job, HCP-DM gives the job a name consisting of the date and time the job starts running. The job continues to exist with this name until it completes deleting or copying all items in the job successfully. You cannot save a successfully completed job that you run using the hcpdm command. You can use the hcpdm job command to list saved jobs and determine job names and states. The command lists all saved jobs that were run from both the GUI and the command line. You can also use the hcpdm job command to delete any unneeded jobs. When you list jobs, the output has three columns:
818
hcpdm profile
Job type Copy or Delete Job state NOT STARTED, PAUSED, COMPLETED, or FAILED
Syntax
The hcpdm job command has this syntax: To list jobs:
hcpdm.(bat|sh) job (-l |--list)
The resulting list includes all save jobs, including any jobs that you named and saved in the HCP-DM GUI. To delete a job:
hcpdm.(bat|sh) jobs (-d |--delete) job_name
In this command, job_name is any valid job name, as returned by the hcpdm job --list command. If the job name has space characters, enclose it in double quotation marks. To get information about command options:
hcpdm.(bat|sh) job ( -h | --help )
Example
Heres a sample command that deletes a job.
Windows: hcpdm.bat job --delete "9/15/10 4:14:03 PM" Unix: hcpdm.sh job --delete "9/15/10 4:14:03 PM"
This command deletes the job named 9/15/10 4:14:03 PM. In this case the job might be a job that was automatically saved when an hcpdm command failed or completed with failures, a job that ran in the GUI and failed, or a job that was stopped before it completed either due to an error or user action.
hcpdm profile
The hcpdm profile command lets you manage namespace profiles. You can create and delete profiles, display the properties of a profile, and list all profiles.
819
hcpdm profile
When you list profiles, the output has two columns, the profile name and the profile type.
Syntax
The hcpdm profile command syntax depends on the operation. To create a namespace profile:
hcpdm.(bat|sh) profile ( -c | --create ) profile-name create-parameter ...
The profile name cannot exceed 128 characters. For information on the parameters for create operations, see Parameter descriptions on page 8-21. To delete an existing namespace profile:
hcpdm.(bat|sh) profile ( -d | --delete ) profile-name profile-name must be the name of an existing namespace profile.
To list the names and types of all namespace profiles, including the local file system:
hcpdm.(bat|sh) profile ( -l | --list )
The profile types are those listed for the --type parameter in Parameter descriptions on page 8-21, plus FILESYSTEM for the local file system. To list the complete definition of a single profile:
hcpdm.(bat|sh) profile ( -l | --list ) profile-name profile-name must be the name of an existing namespace profile.
820
hcpdm profile
Parameter descriptions
The table below describes the parameters for the hcpdm profile --create command. No other hcpdm profile operations take parameters.
Parameter --type namespace-type Description
The type of namespace this profile represents. namespace-type must be one of: HCP An HCP namespace HCP_DEFAULT A default namespace HCAP2 An HCAP 2.x archive
--tenant tenant-name
The name of the tenant that owns the namespace for which this is a profile. This parameter is required for HCP namespaces and is ignored otherwise.
--namespace namespacename
The name of the namespace for which this is a profile. This parameter is required for HCP namespaces and is ignored otherwise. The username for the data access account to use when accessing the namespace. This parameter is required for HCP namespaces and is ignored otherwise.
--username username
--password password
The password for the data access account to use when accessing the namespace. This parameter is required for HCP namespaces and is ignored otherwise.
--hostname domain-name
The fully qualified domain name of an HCP or HCAP system, such as hcp.example.com. The name must not include a tenant or namespace name or www. If you do not know the domain name, ask your system manager. This parameter is required for HCP namespaces. It is required for all other types of namespaces if you do not specify an --ips parameter.
821
hcpdm profile
(Continued)
Description
A comma-separated list of IP addresses to use to connect to the HCP or HCAP system. The list can contain spaces following the commas, but if it does, enclose the entire list in double quotation marks. This parameter is required if you do not specify the --hostname parameter. If you specify both parameters, HCP-DM ignores the --hostname parameter. For more information on using IP addresses to connect to an HCP system, see Considerations for using a domain name or IP addresses on page 4-5.
--ssl
A switch telling HCP-DM to use SSL when connecting to the HCP or HCAP system. If omitted, HCP-DM uses HTTP without SSL. A switch telling HCP-DM to create the profile without testing whether it can access the namespace. This parameter is useful if you are creating profiles when you cannot access the server. If you omit this parameter, HCP-DM tests whether it can access the specified namespace. If it cannot, it returns an error message and does not save the profile. For HCP namespaces, the test succeeds only if all parameters, including --username and --password, are valid.
--notest
Usage considerations
These considerations apply to the hcpdm profile command:
Profiles that you create using the hcpdm profile command appear in the
Namespace Profile Manager. Similarly, profiles that you create in the Namespace Profile Manager appear in the output of the hcpdm profile -list command.
822
hcpdm profile
Example
Heres a sample command that creates a namespace profile that identifies an HCP namespace. The command is identical on Windows and Unix systems.
Windows: hcpdm.bat profile --create "Finance Europe Example" --type HCP --hostname hcp.example.com --tenant europe --namespace finance --ssl --username lgreen --password p4ssw0rd Unix: hcpdm.sh profile --create "Finance Europe Example" --type HCP --hostname hcp.example.com --tenant europe --namespace finance --ssl --username lgreen --password p4ssw0rd
This command creates a namespace profile named Finance Europe Example that:
Uses a domain name and SSL for communicating with the HCP system Connects using the data access account with the username lgreen and
password p4ssw0rd
823
hcpdm profile
824
9
Using HCP-DM effectively
This chapter provides information that can help you make the most effective use of HCP-DM. It includes information on these topics:
Ways to configure HCP-DM Ways to optimize HCP-DM performance Best practices Additional usage considerations
91
Configuring HCP-DM
Configuring HCP-DM
The editable files listed in the table below control HCP-DM behavior.
File
install-dir\hcpdm\bin\ setupcmdline.bat or .../setupcmdline.sh install-dir/hcpdm/config/ hcpdm.properties install-dir/hcpdm/config/ hcpdm.logging.properties
Description
Specifies values in the command line that starts HCPDM. Modifying this file lets you control HCP-DM startup characteristics, including memory use. Controls HCP-DM program behavior. Controls logging mechanism behavior.
The following sections describe entries in these files that you might want to change to optimize HCP-DM behavior for your environment.
Unix time zone Use this setting only if HCP-DM uses the wrong time
zone on a Unix system. Windows systems do not have this issue.
92
Configuring HCP-DM
On Windows, you control the maximum heap size by setting the -Xmx parameter in the JAVA_CMD and JAVAW_CMD variable specifications in setupcmdline.bat. The lines in the batch file initially have these values:
if not defined JAVA_CMD if not defined JAVAW_CMD set JAVA_CMD=java -version:1.6+ -Xmx512M set JAVAW_CMD=javaw -version:1.6+ -Xmx512M
These lines specify the maximum heap size. Both lines should have the same values. Controlling time values on Unix systems Due to a known issue with Java on Unix systems, HCP-DM may use an incorrect time zone for its date-time values. To correct this behavior add the following entry to the HCPDM_JVMPROPS variable in setupcmdline.bat or setupcmdline.sh.
-Duser.timezone=timezone-specification
In this command timezone-specification must be a valid time zone name, such as America/New_York. Allowing NetBIOS name resolution For performance reasons, it is best not to use NetBIOS to resolve hostnames for connecting to HCP. By default, HCP-DM is configured to use the Sun DNS implementation. If you want to use NetBIOS as the name service provider, remove the following line from setupcmdline.bat:
set HCPDM_JVMPROPS=%HCPDM_JVMPROPS% "-Dsun.net.spi.nameservice.provider.1=dns,sun"
If you enable NetBIOS name resolution, HCP-DM may encounter timeout issues in name resolution that can significantly reduce throughput. For possible additional workarounds, see your service provider.
93
Configuring HCP-DM
The database-directory-path-root value must be an absolute directory path. This setting changes the database directory location to rootDBDir/.hds/ hcp-dm/database. For example, if you set rootDBDir to /myDBDir, the database path will be /myDBDIR/.hds/hcp-dm/database. The locations of all other files that were located in the user-home-dir/.hds/hcp-dm directory tree will be unchanged. This setting does not change the location of any other directories and files in the user-home-dir/.hds/hcp-dm directory, only the database directory. Note: If you change the database location, make sure the rootDBDir directory exists and that you have full permissions to it. If you do not have permissions you will not be able to access the database and HCP-DM will load, but will not do any jobs. For more information on the HCP-DM job database, see Understanding and managing jobs and the HCP-DM job database on page 9-6.
94
Configuring HCP-DM
Controlling the default load settings You can use the hcpdm.properties entries listed in the following table to specify the default values for the load setting.
Property
normalLoad. maxThreadsFilesystem
Description
The maximum number of operations that HCP-DM can perform concurrently on the local file system. The actual maximum number of operations is the smaller of this value and the maximum operations per node. The maximum value for this setting is 512.
normalLoad.maxThreads
The default setting for the load configuration Maximum operations per system setting. The maximum value for this setting is 1000
normalLoad. maxThreadsPerNode
The default setting for the load configuration Maximum operations per node setting. The value for this setting must be at least 2 and no more than normalLoad.maxThreads.
For considerations on appropriate maximum operations per node, see HCP-DM best practices on page 9-9. For more information on controlling the load see Load settings on page 4-12. Controlling connection timeouts In some cases, HCP may take a long time to respond to an HCP-DM request. For example, this problem might arise if there is a heavy load on the node that contains a specific directory or if the network is slow and has heavy traffic. If the time required to connect to HCP or get a response over the connection exceeds the configured timeout value, the operation will fail with a socket or connection timeout error. If you get multiple errors of either type, consider increasing the configured timeout values. The following settings in hcpdm.properties control the timeouts:
95
Description
The maximum number of hcpdmn.log files. The maximum size of a single hcpdmn.log file, in bytes. The maximum number of successn.log files.
The maximum size of a single successn.log file, in bytes. The maximum number of failuren.log files.
For more information on using log files, see Configuring and using log files on page 4-14.
96
When HCP-DM starts running a new job, it saves the complete state of the job specification, that is, the values of all fields on all tabs of the Job Details window. When HCP-DM resumes or starts rerunning a job, it updates the load schedule in the database, as this is the only job configuration information that can change after the job initially starts running. As the job runs, HCP-DM continues updating the database with information about the job status. However, if you pause and resume a job, HCP-DM may repeat operations that were incomplete and the database may not represent the complete current state. The way HCP-DM uses the job database has these implications:
The database can get very large if multiple large jobs are saved. Some HCP-DM error messages can indicate database problems. Resumed jobs can have errors.
The sections below describe these implications in detail and explain their effect on how you use and manage HCP-DM.
97
For more common errors, HCP-DM catches the error and displays or
logs an HCP-DM-specific error message that explains the cause.
For less common errors, the HCP-DM error information contains the raw
SQLState information. For a complete list of the possible SQLState values and their meanings, see http://db.apache.org/derby/docs/10.1/ ref/rrefexcept71493.html.
For delete operations HCP-DM can get object not found errors when it
tries to delete the same object a second time. When HCP-DM resumes a job that ended unexpectedly or was terminated abnormally by using a Control key combination, an additional consideration applies. While HCP-DM is running, it keeps a cache of objects that it has processed but not recorded in the job database. Unlike with a paused or canceled job, HCP-DM cannot save this cache to the database when it stops. As a result, the job may have additional 409 or object not found errors when it restarts. Also, the displayed metrics for the restarted job will differ from those shown in the Job Details window immediately before the job ended.
98
Break very large jobs into smaller jobs. for more information, see
Database performance management on page 9-7.
Avoid pausing jobs. For more information, see Errors when resuming
jobs on page 9-8.
99
For large files, the performance is generally limited by the network bandwidth, and values between 5 and 20 operations per node may be appropriate. For information on configuring the default load settings values, see Controlling the default load settings on page 9-5. For information on controlling load settings for an individual job, see Controlling the load on page 4-12. If you need additional information on appropriate setting values, see your namespace administrator.
The resulting file in the NTFS file system will be named x and will be
written to alternate data stream y. As a result, if you enter "more < x:y" in a Windows command prompt, Windows will type out the full file contents. For information on alternate data streams, see http:// support.microsoft.com/kb/105763.
The file will show as a 0-byte file named x in the HCP-DM local file
system pane and you will not be able to open it in HCP-DM.
910
Failure to copy custom metadata for objects under retention If you copy an object that is under retention and has custom metadata, and the custom metadata does not get written with the object, HCP-DM treats the copy operation as a failure, even though the object itself was copied, and the failure information indicates the cause of the problem. Failure due to DNS errors. If HCP-DM cannot get host information from the DNS server, it retries several times. If all attempts fail, it stops the job with a state of FAILED. In this case, you cannot resume it. After the DNS server errors are resolved, rerun the job. (The Job Details window will have a Rerun button, not a Resume button.) Directory paths that contain ampersands HCP-DM does not support ampersands (&) in directory paths in HCP releases earlier than 4.0. If you try to use HCP-DM to access directories with such paths, it displays the following error message.
Invalid XML in the response from HCP. One common cause is an ampersand (&) in a directory path. HCP-DM does not support ampersands (&) in directory paths in HCP releases earlier than 4.0.
Pausing a job that is preparing to restart If you pause a job while the state shows "Preparing to restart", the job state becomes FAILED. This is not a problem; if you rerun the job again, it automatically resumes where it left off. Maximum file and object pathnames The maximum length of file or object pathnames is 4095 bytes. This is an HCP limitation and applies to the total path including any source or destination directory specification, not just the contents of the copy job file. Soft links are not supported HCP-DM does not support NFS soft links. If your try to copy a soft link, the copy fails and HCP-DM indicates the object was not found when getting metadata. Also, if you try to get metadata for a soft link on the local file system, HCP-DM displays a message indicating a 404 (Not Found) error.
911
Invalid Java runtime version errors HCP-DM requires version 6 (also known as 1.6) of the Java Runtime Environment (JRE). If your system uses an earlier version, running HCPDM results in an error. The error message depends on your operating system and typically refers to java.lang.UnsupportedClassVersionError. If you get such an error, make sure that the shell or environment where you start HCP-DM uses a 1.6 version JRE. You can use this command to determine the Java version that is being run:
java -version
The response should include a version number that starts with 1.6. If you do not have a version 6 Java runtime on your system, you can download the JRE from http://www.java.com/en/download/manual.jsp.
912
Appendix1
Using HCP Data Migrator
The computer that runs HCP-DM must meet these minimum requirements:
In Windows: %USERPROFILE%\.hds\hcp-dm
For example: C:\Documents and Settings\lgreen\.hds\hcp-dm
In Unix: /user-home-directory/.hds/hcp-dm
For example: /lgreen/.hds/hcp-dm The hcp-dm\database directory, which contains the job definitions, can grow quite large. For example, if you copy ten million objects, the directory will require approximately 2.5 GB of free space. For information on changing the location of the hcp-dm\database directory, see Controlling the job database directory location on page 9-4.
Appendix-2
Decide where to install the utility. HCP-DM does not have any specific
location requirements. However, copy operations entail transferring data from the source to the client and from the client to the target. Therefore, transfer speeds for these operations depend on the connections between the client and the source and target systems.
If youre reinstalling HCP-DM in the same location as an existing HCPDM installation, delete the entire existing hcpdm directory.
Obtain and save the HCP-DM installation file from your system
administrator. The HCP-DM installation file is:
With the EXE or TGZ file, you need to save the file in the directory in which you want to install HCP-DM. With the ZIP file, you can choose the directory you want when you unpack the file.
From the Windows Start menu, select Run. Then run the installation file
from the Run window. A Command Prompt window opens.
Appendix-3
Appendix-4
Glossary
A
archive
The body of data stored in an HCAP 2.6 or earlier system, including both fixed-content data and metadata.
atime
In POSIX file systems, metadata that specifies the date and time a file was last accessed. In HCP, POSIX metadata that initially specifies the date and time at which an object was ingested. HCP does not automatically change the atime value when the object is accessed. Users and applications can change the atime value of a file or object, thereby causing it to no longer reflect the actual access or storage time.
authentication
See namespace access authentication.
C
cryptographic hash value
A system-generated metadata value calculated by a cryptographic hash algorithm from object data. This value is used to verify that the content of an object has not changed.
custom metadata
One or more user-defined properties that provide descriptive information about an object. Custom metadata, which is normally specified as XML, enables future users and applications to understand and repurpose object content.
Glossary1
Using HCP Data Migrator
D
data access account
A set of credentials that give a user or application access to one or more HCP namespaces. For each namespace, the account specifies which operations the user or application can perform.
Data Migrator
See HCP Data Migrator (HCP-DM).
default namespace
A namespace that supports the HTTP, WebDAV, CIFS, NFS, SMTP, and NDMP protocols and does not require user authentication for data access. An HCP system can have at most one default namespace.
default tenant
The tenant that manages the default namespace.
DNS
See domain name system (DNS).
domain
A group of computers and devices on a network that are administered as a unit.
DPL
See data protection level (DPL).
Glossary2
Using HCP Data Migrator
F
fixed-content data
A digital asset ingested into HCP and preserved in its original form as the core part of an object. Once stored, fixed-content data cannot be modified.
G
GID
Group identifier.
H
hash value
See cryptographic hash value.
HCAP
See Hitachi Content Archive Platform (HCAP).
HCP
See Hitachi Content Platform (HCP).
HCP-DM
See HCP Data Migrator (HCP-DM).
HCP namespace
A namespace that requires user authentication for data access. An HCP system can have multiple HCP namespaces.
HCP tenant
A tenant created to manage HCP namespaces.
Glossary3
Using HCP Data Migrator
hold
A condition that prevents an object from being deleted by any means and from having its metadata modified, regardless of its retention setting, until it is explicitly released.
HTTP
Hypertext Transfer Protocol. The protocol HCP uses to provide access to the contents of a namespace.
HTTPS
HTTP with SSL security. See HTTP and SSL.
I
index
See search index.
index setting
The property that specifies whether an object should be indexed.
item
A file in a local file system, an HCP or HCAP object, or a directory.
J
job
A copy or delete operation in progress or the configuration and status information for any given copy or delete operation. Jobs can be saved for later access and use.
Glossary4
Using HCP Data Migrator
node
M
metadata
System-generated and user-supplied information about an object. Metadata is stored as an integral part of the object it describes, thereby making the object self-describing.
N
namespace
A logical partition of the objects stored in an HCP system. A namespace consists of a grouping of objects such that the objects in one namespace are not visible in any other namespace. Namespaces are configured independently of each other and, therefore, can have different properties. HCP-DM treats HCAP 2.x archives and local file systems as namespaces.
namespace profile
A named set of configuration information that identifies a namespace or archive and associates it with parameters to be used in copy or delete operations.
node
A server running HCP software and networked with other such servers to form an HCP system.
Glossary5
Using HCP Data Migrator
object
O
object
An exact digital representation of data as it existed before it was ingested into HCP, together with the system and custom metadata that describes that data. An object is handled as a single unit by all transactions and services, including shredding, indexing, and versioning.
P
permission
One of these:
In POSIX permissions, the ability granted to the owner, the members of a group, or other users to access a file, object, or directory. A POSIX permission can be read, write, or execute. In a data access account, the granted ability to perform a specific type of operation in a given namespace.
policy
One or more settings that influence how transactions and services work on objects. Such a setting can be a property of an object, such as retention, or a property of a namespace, such as versioning.
POSIX
Portable Operating System Interface for UNIX. A set of standards that define an application programming interface (API) for software designed to run under heterogeneous operating systems.
privileged delete
A delete operation that works on objects regardless of their retention settings, except for objects on hold. This operation is available only to users and applications with explicit permission to perform it.
privileged purge
The operation that deletes all versions of an object regardless of whether the object is under retention, except if the object is on hold. This operation is available only to users and applications with explicit permission to perform it.
Glossary6
Using HCP Data Migrator
SSL
R
repository
The aggregate of the namespaces defined for an HCP system.
retention class
A named retention setting. The value of a retention class can be a duration, Deletion Allowed, Deletion Prohibited, or Initial Unspecified.
retention hold
See hold.
retention period
The period of time during which an object cannot be deleted.
retention setting
The property that determines the retention period for an object.
S
search facility
An interface between the search functionality provided by a system such as HDDS or HCP and the HCP Search Console. Only one search facility can be enabled at any given time.
search index
An index of the metadata and key terms in namespace objects. The active search system builds, maintains, and stores this index.
shred setting
The property that determines whether a data object will be shredded or simply removed when its deleted from HCP.
shredding
The process of deleting a data object and overwriting the locations where its bytes were stored in such a way that none of its data or metadata can be reconstructed. Also called secure deletion.
SSL
Secure Sockets Layer. A key-based Internet protocol for transmitting documents through an encrypted link.
Glossary7
Using HCP Data Migrator
system metadata
system metadata
System-managed properties that describe the content of an object. System metadata includes policies, such as retention and data protection level, that influence how transactions and services affect the object.
T
tenant
An administrative entity created for the purpose of owning and managing namespaces and data access accounts. Tenants typically correspond to customers, business units, or individuals.
U
UID
User ID.
V
versioning
A feature that allows the creation and management of multiple versions of an object.
W
WORM
Write once, read many. A data storage property that protects the stored data from being modified or overwritten.
Glossary8
Using HCP Data Migrator
Index
Symbols
& character, in directory paths 9-11 : character, Windows errors with 9-10 configuring connection timeouts 9-5 default load settings 9-5 HCP-DM 9-2 job database location 9-4 log files 9-6 memory usage 9-29-3 NetBIOS use 9-3 time zone 9-3 Conflict errors, when resuming jobs 9-8 connections configuring timeouts 9-5 specifying in namespace profiles 4-24-3 testing 4-4 copy jobs See also jobs rerunning using hcpdm command 8-5 resuming using hcpdm command 8-5 copying best practices 9-9 items and versions 5-25-4 metadata of objects in namespaces 3-6 to local file system, metadata of files 3-5 using hcpdm command 8-48-12 creating empty directories 5-12 namespace profiles 4-24-4 ctime of objects added to a namespace 3-6 viewing object value 5-10 custom metadata See also metadata about 1-2, 3-33-4 deleting 5-115-12 errors when storing 9-9 example XML 3-33-4 failure to copy 9-11 Job Details window list 6-3
A
access time See atime Additional Details section, Job Details window 6-66-7 ampersands, in directory paths 9-11 archives as HCP-DM sources or destinations 2-2 as namespaces 1-3, 4-2 lack of index property 3-6 atime of objects added to a namespace 3-6 viewing object value 5-10
B
Bad Request errors after changing versioning 9-10 when storing custom metadata 9-9 best practices 9-99-10
C
Cancel Job Details window button 6-86-9 canceled jobs, errors when resuming 9-8 canceling jobs effects 7-3 procedure 6-86-9 change time See ctime changing namespace profiles 4-5 Close Job Details window button 6-9 closing jobs 6-9 colons, errors with Windows file names 9-10
Index1
Using HCP Data Migrator
D
data access accounts, about 1-3 database configuring location of 9-4 for jobs 9-69-7 dates, specifying in retention settings 4-9, 4-10 default namespace, about 1-3 delete jobs See also jobs rerunning using hcpdm command 8-13 resuming using hcpdm command 8-13 deleting custom metadata 5-115-12 items 5-55-6 namespace profiles 4-5 objects 3-7 saved jobs 7-7 using hcpdm command 8-128-18 Deletion Allowed, specifying in retention settings 4-9 Deletion Prohibited, specifying in retention settings 4-9 destination, specifying 2-12 directories See also files; items; objects ampersands in paths 9-11 creating empty 5-12 deleting 5-55-6 renaming local 5-8 specifying source and destination 2-12 directory permissions 4-11 See also object permissions; POSIX metadata disk space, use of 9-7 display, refreshing 2-8, 2-9 DNS errors, and HCP-DM failures 9-11 DNS names See domain names domain names namespace profile considerations 4-6 specifying in namespace profiles 4-24-3 DPL, viewing object value 5-10
F
failed jobs failed state 7-6 recovering 7-7 status of 7-7 failed operations exported job results file 6-12 log file 4-14 failures caused by DNS errors 9-11 copying custom metadata 9-11 file locations, HCP-DM A-2 files See also directories; items; job files; objects deleting 5-55-6 exported job results 2-7, 6-126-13, 7-5 job 2-7
E
empty directories, creating 5-12 errorlevel, Windows environment variable 8-3 errors ampersands in directory paths 9-11 Bad Request 9-9, 9-10
Index2
Using HCP Data Migrator
index setting
logs 4-144-17 maximum paths of 9-11 opening 5-75-8 renaming 5-8 viewing properties 5-85-11 fixed-content data 1-2 fixed-content storage system 1-2 metadata handling 3-53-6 namespace profiles 2-42-5 navigation panels 2-82-10 optimizing behavior of 9-69-9 preferences 4-7 quick start 2-102-13 recovering from failures 7-7 source and destination locations 2-2 starting 2-10 system requirements A-2 version number 2-8 hcpdm command about 8-2 exit status codes 8-38-4 for copying 8-48-12 for deleting 8-128-18 for managing jobs 8-188-19 for managing profiles 8-198-23 functionality 2-4 rules 8-28-3 hcpdm copy command 8-48-12 hcpdm delete command 8-128-18 hcpdm job command 8-188-19 hcpdm profile command 8-198-23 HCP-specific metadata See also metadata about 3-2 Job Details window list 6-3 heap size, configuring 9-29-3 Hitachi Content Platform See HCP hold setting about 3-2 configuring preference 4-10 for versions 1-4 viewing object value 5-10 home directory initial display of 2-11 navigating to 2-8 Hostnames See domain names HTTPS security exceptions 2-112-12
G
GID See also POSIX metadata about 5-10 configuring preferences 4-11 group ID See GID GUI, functionality 2-32-4
H
hash algorithm, viewing object value 5-10 hash value, viewing object 5-10 HCAP See archives; HCP HCP about 1-11-2 metadata 3-2 namespaces 1-3 HCP-Data Migrator See HCP-DM HCP-DM See also hcpdm command about 2-22-4 best practices 9-99-10 capabilities 2-22-3 configuring 9-2 configuring connection timeouts 9-5 configuring default load settings 9-5 configuring job database location 9-4 configuring load preferences 4-124-14 configuring log files 9-6 configuring memory usage 9-29-3 file locations A-2 GUI functionality 2-32-4 installing A-3A-4 interfaces 2-3 jobs 2-52-6 jobs database 9-69-7 log files 4-144-17 main menu 2-8 main window 2-72-10 menus 2-8
I
importing exported job results 7-87-10 index setting about 3-2 configuring preference 4-8 for versions 1-4 viewing object value 5-10
Index3
Using HCP Data Migrator
ingest time
ingest time of objects added to a namespace 3-6 viewing object value 5-10 Initial Unspecified, specifying in retention settings 4-9 installing HCP-DM on Unix A-4 on Windows A-3A-4 preinstallation instructions A-3 IP addresses namespace profile considerations 4-6 specifying in namespace profiles 4-24-3 items See also directories; files; objects copying 5-25-4 definition 2-2 Job Details window listing 6-3 selecting 2-12 importing 7-87-10 improving performance of 9-7 log file entries 4-154-16 managing using hcpdm command 8-188-19 namespace configurations while running 9-10 pausing 6-8, 6-10, 7-2 progress information 6-3, 6-46-7 recovering from failed 7-7 reopening 7-2 rerunning copying using hcpdm command 8-5 rerunning deleting using hcpdm command 8-13 resuming 6-8, 6-10, 7-2 resuming copying using hcpdm command 8-5 resuming deleting using hcpdm command 8-13 running 6-8 running from files 7-87-10 running saved 7-6 saved 2-6 saving 6-7, 6-11 with errors 7-6 jobs database about 9-69-7 configuring size of 9-4 errors in 9-8 managing performance of 9-7 managing size of 9-7
J
Java runtime, invalid version errors 9-12 Job Details window about 6-26-4 buttons 6-76-8 Progress page 6-46-7 relation to Preferences window 6-4 job files about 2-7, 7-4 exported results 7-5 failed copies list 6-12 importing 7-87-10 running 7-87-10 succeeded operations list 6-12 using exported job results 7-87-10 job list exported job results file 6-12 jobs See also exported job results; exported job results files; saved jobs about 2-52-6 canceling 6-86-9 closing 6-9 configuring database location 9-4 deleting saved 7-7 detailed item transfer information 6-66-7 error status 6-2 errors when resuming 9-8 exported results 2-7 exporting results 6-7, 6-126-13 failed 7-6 failed due to DNS errors 9-11 Failed state after pausing 9-11 files 2-7
L
listing, versions 5-65-7 load configuring default settings 9-5 controlling 4-124-14 settings of saved jobs 7-3 load schedule configuring normal 4-13 configuring reduced 4-134-14 Job Details window display 6-3 overriding preferences 4-7 resetting 6-136-14 local file system configuring maximum operations 4-13 metadata of files copied to 3-5 profile 2-5 log files about 4-144-16 configuring size and number 9-6 entries in 4-154-16
Index4
Using HCP Data Migrator
objects
logging configuring files for 9-6 configuring frequency 4-17 namespace profiles about 2-42-5 configuring 2-11 creating 4-24-4 deleting 4-5 managing with the hcpdm command 8-19 8-23 modifying 4-5 namespace type 4-2 selecting 2-11 specifying connections 4-24-3 specifying names 4-2 specifying namespace credentials 4-3 specifying SSL 4-3 testing 4-4 namespaces about 1-3 changing configuration during jobs 9-10 metadata of copied objects 3-6 specifying in namespace profiles 4-3 navigating, source and destination panels 2-8 2-10 navigation panels, HCP-DM 2-82-10 NetBIOS, configuring use of 9-3 nodes about 1-4 maximum operation preferences 4-124-13 normal load schedule See load schedule NTFS file systems, and colons in file names 9-10
M
main menu, HCP-DM 2-8 main window 2-72-10 memory usage, configuring 9-29-3 menus, HCP-DM 2-8 metadata See also custom metadata; HCP-specific metadata; POSIX metadata; system metadata about 3-2 configuring hold preference 4-10 configuring index preference 4-8 configuring POSIX preferences 4-11 configuring retention preference 4-84-10 configuring shred preference 4-8 custom 1-2, 3-33-4 HCP specific 3-2 hold setting 3-2 index setting 3-2 of files copied to the local file system 3-5 of objects copied to namespaces 3-6 overriding preferences 4-7 POSIX 3-3 retention setting 3-2 shred setting 3-2 specifying custom 5-115-12 system 1-2 using destination settings 4-74-8 for versions 1-4 viewing 5-85-11 Metrics Job Details window display 6-4 modified time 5-10 See also mtime modifying namespace profiles 4-5 monitoring, operations 2-13 mtime of objects added to a namespace 3-6 viewing object value 5-10
O
Object not found errors, when resuming jobs 9-8 object permissions See also directory permissions; POSIX metadata configuring preferences 4-11 viewing value 5-10 object replication, property 5-11 object state, viewing property 5-11 object versions 1-4 objects See also directories; files; items about 1-2 copying, best practices 9-9 deleting 3-7, 5-55-6 listing versions 5-65-7 maximum paths of 9-11 opening 5-75-8 ownership 3-3 permissions 3-3 purging 3-7, 5-55-6
N
name, viewing item value 5-9 Namespace Profile Manager See also namespace profiles configuring namespace profiles 2-11 creating namespace profiles 4-24-4 deleting namespace profiles 4-5 modifying namespace profiles 4-5
Index5
Using HCP Data Migrator
objects, retention
retention 3-43-5 specifying custom metadata 5-115-12 storing 1-2 viewing properties 5-85-11 offsets, specifying in retention settings 4-9, 4-10 opening, objects, files, and versions 5-75-8 operations maximum on local file system 4-13 maximum per node 4-124-13 maximum per system 4-12 monitoring 2-13 starting 2-122-13 optimizing, HCP-DM behavior 9-69-9 Options, Job Details window page 6-3 overriding default retention setting 3-4 overriding 4-7 reduced load 4-134-14 retention 4-84-10 shred 4-8 UID 4-11 using destination settings 4-74-8 Preferences window, relation to Job Details window 6-4 Preparing to Restart state, pausing during 9-11 profiles See also namespace profiles about 2-42-5 local file system 2-5 Progress and Performance Job Details window display 6-4 progress, job 6-3 properties See metadata Properties window 5-85-11 pruning 1-4 purging objects 3-7, 5-55-6
P
parameters hcpdm copy command 8-58-9 hcpdm delete command 8-138-17 hcpdm profile command 8-218-22 path, viewing item property 5-9 paths ampersands in 9-11 maximum length 9-11 Pause Job Details window button 6-8 paused jobs, errors when resuming 9-8 pausing jobs in GUI 6-8 in the GUI 6-10 when in Preparing to Restart state 9-11 permissions See directory permissions; object permissions; POSIX metadata policies See HCP-specific metadata; metadata POSIX metadata See also metadata; directory permissions; GID; object permissions; UID about 3-3 configuring preferences 4-11 Job Details window list 6-3 preferences about setting 4-7 configuring POSIX metadata 4-11 directory permissions 4-11 GID 4-11 hold 4-10 index 4-8 load schedule 4-124-14 logging frequency 4-17 normal load 4-13 object permissions 4-11
Q
quick start 2-102-13
R
recovering from errors 7-8 reducing connection load 4-134-14 refreshing navigation panels 2-8, 2-9 the display 2-8 renaming, files and local directories 5-8 repetitive operations, running 7-8 replicated, property 5-11 rerunning jobs using hcpdm copy command 8-5 using hcpdm delete command 8-13 Resume Job Details window button 6-8 resuming jobs 6-8 in the GUI 6-10 using hcpdm command 8-5, 8-13 retention about 3-4 and failures to copy custom metadata 9-11 using expressions 4-10 retention classes about 3-4 specifying in retention settings 4-10 retention setting about 3-2 configuring preference 4-84-10 default 3-4
Index6
Using HCP Data Migrator
versions
overriding default 3-4 specifying a fixed date 4-9, 4-10 specifying a retention class 4-10 specifying an offset 4-9, 4-10 specifying special values 4-9, 4-10 values 3-5 for versions 1-4 viewing object value 5-10 viewing retention class 5-10 rules, for hcpdm command 8-28-3 Run Job Details window button 6-8 running exported jobs 7-87-10 repetitive operations 7-8 saved jobs 7-6 the current job 6-8 source, specifying 2-12 special values, specifying in retention settings 4-9, 4-10 SQLState error information 9-8 SSL allowing security exceptions 4-4 specifying in namespace profiles 4-3 starting HCP-DM 2-10 state, viewing property 5-11 status of failed jobs 7-7 status codes, hcpdm command 8-38-4 storing objects 1-2 succeeded operations exported job results file 6-12 log file 4-14 system metadata See also metadata about 1-2 viewing 5-85-11 system requirements A-2 system, maximum operation preferences 4-12
S
Save as Job Details window button 6-7 saved jobs See also jobs about 2-6, 7-2 creating 6-7 deleting 7-6, 7-7 effects of canceling 7-3 properties of 7-2 running 7-6, 7-6 size of 9-7 Saved Jobs window, using 7-57-6 saving jobs 6-7, 6-11 schedule normal load 4-13 reduced load 4-134-14 resetting 6-136-14 security certificates 2-112-12 security exceptions allowing 4-4 HTTPS 2-112-12 setting preferences 4-7 settings configuring connection timeouts 9-5 configuring default load 9-5 configuring log files 9-6 setupcmdline, configuring HCP-DM using 9-2 9-3 shred setting about 3-2 configuring preference 4-8 for versions 1-4 viewing object value 5-10 size, viewing item value 5-9 soft links 9-11
T
target See destination tenants See also namespaces about 1-3 specifying in namespace profiles 4-3 time zone, configuring 9-3 timeouts, configuring for connections 9-5 type, viewing item 5-9
U
UID See also POSIX metadata configuring preferences 4-11 viewing object value 5-10 Unix, configuring time zone for 9-3 user ID See UID
V
version number, HCP-DM 2-8 versioning, changing while running jobs 9-10 versions copying 5-25-4 listing 5-65-7 metadata for 1-4 object 1-4
Index7
Using HCP Data Migrator
versions, opening
opening 5-75-8 pruning 1-4 purging 3-7 viewing IDs for 5-10 viewing properties 5-85-11 viewing metadata 5-85-11
W
window, main 2-72-10 Windows configuring NetBIOS use 9-3 file names with colons 9-10 WORM 1-2
X
XML custom metadata 3-33-4 custom metadata errors 9-9
Index8
Using HCP Data Migrator
Hitachi Data Systems Corporate Headquarters 750 Central Expressway Santa Clara, California 95050-2627 U.S.A. Phone: 1 408 970 1000 www.hds.com info@hds.com Asia Pacific and Americas 750 Central Expressway Santa Clara, California 95050-2627 U.S.A. Phone: 1 408 970 1000 info@hds.com Europe Headquarters Sefton Park Stoke Poges Buckinghamshire SL2 4HD United Kingdom Phone: + 44 (0)1753 618000 info.eu@hds.com
MK-99ARC027-01