Sunteți pe pagina 1din 152

Hitachi Content Platform

Using HCP Data Migrator

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

Introduction to Hitachi Content Platform.............................................1-1


About Hitachi Content Platform Object-based storage . . . . . . . Namespaces and tenants . . . . Object versions . . . . . . . . . . . HCP nodes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... .... .... .... .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1-2 1-3 1-4 1-4

Getting started with HCP Data Migrator .............................................2-1


About HCP Data Migrator . . . . . . . . . . . . HCP-DM capabilities . . . . . . . . . . . . . HCP-DM GUI . . . . . . . . . . . . . . . . hcpdm command . . . . . . . . . . . . . Profiles . . . . . . . . . . . . . . . . . . . . . . HCP-DM jobs . . . . . . . . . . . . . . . . . . Job flow. . . . . . . . . . . . . . . . . . . . Saved jobs . . . . . . . . . . . . . . . . . . Job files . . . . . . . . . . . . . . . . . . . . Exported job results . . . . . . . . . . . The HCP Data Migrator GUI main window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... .... .... .... .... .... .... .... .... .... .... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 2-2 2-3 2-4 2-4 2-5 2-5 2-6 2-7 2-7 2-7

Contents Using HCP Data Migrator

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 . . . . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

.. .. .. .. .. .. .. ..

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

.2-10 .2-10 .2-11 .2-11 .2-12 .2-12 .2-12 .2-13

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

Configuring HCP Data Migrator in the GUI.........................................4-1


Configuring namespace profiles . . . . . . . . . . . . . . . . . . . . . . Creating a namespace profile. . . . . . . . . . . . . . . . . . . . . Modifying a namespace profile. . . . . . . . . . . . . . . . . . . . Deleting a namespace profile. . . . . . . . . . . . . . . . . . . . . Considerations for using a domain name or IP addresses . Using a domain name . . . . . . . . . . . . . . . . . . . . . . . . Using IP addresses . . . . . . . . . . . . . . . . . . . . . . . . . . Setting preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying destination metadata settings . . . . . . . . . . . . Configuring HCP-specific metadata. . . . . . . . . . . . . . . . . Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shred . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retention. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring POSIX metadata . . . . . . . . . . . . . . . . . . . . . Controlling the load . . . . . . . . . . . . . . . . . . . . . . . . . . . Load settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Load schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring and using log files . . . . . . . . . . . . . . . . . . . . Understanding job log files . . . . . . . . . . . . . . . . . . . . Configuring logging frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 . . . . . . . . 4-2 . . . . . . . . 4-5 . . . . . . . . 4-5 . . . . . . . . 4-5 . . . . . . . . 4-6 . . . . . . . . 4-6 . . . . . . . . 4-7 . . . . . . . . 4-7 . . . . . . . . 4-8 . . . . . . . . 4-8 . . . . . . . . 4-8 . . . . . . . . 4-8 . . . . . . . .4-10 . . . . . . . .4-11 . . . . . . . .4-12 . . . . . . . .4-12 . . . . . . . .4-13 . . . . . . . .4-14 . . . . . . . .4-14 . . . . . . . .4-17

iv

Contents Using HCP Data Migrator

Managing items with the HCP-DM GUI ..............................................5-1


Copying items and versions . . . . . . . . . . . . . . . . . . . . . . . Deleting or purging items . . . . . . . . . . . . . . . . . . . . . . . . Listing object versions . . . . . . . . . . . . . . . . . . . . . . . . . . Opening objects, versions, and files . . . . . . . . . . . . . . . . . Renaming files and directories in the local file system . . . . Viewing and managing item properties . . . . . . . . . . . . . . . Viewing properties . . . . . . . . . . . . . . . . . . . . . . . . . . Properties window . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying custom metadata for objects . . . . . . . . . . . Creating empty directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 . 5-5 . 5-6 . 5-7 . 5-8 . 5-8 . 5-9 . 5-9 .5-11 .5-12

Managing jobs in the Job Details window...........................................6-1


About the Job Details window . . . Monitoring job progress . . . . . . . Managing jobs . . . . . . . . . . . . . . Job Details window buttons . . Running a job . . . . . . . . . . . Canceling or closing a job . . . Pausing and resuming a job . Saving a job. . . . . . . . . . . . . Exporting job results. . . . . . . Resetting the load schedule. . . . . . . . . . . . .... .... .... .... .... .... .... .... .... .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. .. .. .. .. .. .. .. .. .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 . 6-4 . 6-7 . 6-7 . 6-8 . 6-8 .6-10 .6-11 .6-12 .6-13

Using saved jobs and job files ............................................................7-1


About saved jobs and job files . . . . . . . . . . . . . . . . . About saved jobs . . . . . . . . . . . . . . . . . . . . . . . About job files . . . . . . . . . . . . . . . . . . . . . . . . . About exported job results files . . . . . . . . . . . . . Working with saved jobs in the GUI . . . . . . . . . . . . . About the Saved Jobs window . . . . . . . . . . . . . . Running a saved job . . . . . . . . . . . . . . . . . . . . . Deleting saved jobs . . . . . . . . . . . . . . . . . . . . . Recovering from failed jobs and HCP-DM failures. Rerunning jobs with failed operations . . . . . . . . . Running jobs from job files in the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... ... ... ... ... ... ... ... ... ... ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 7-2 7-4 7-5 7-5 7-5 7-6 7-7 7-7 7-7 7-8

Using the hcpdm command................................................................8-1


About the hcpdm command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 hcpdm command rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 hcpdm command exit status codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3

Contents Using HCP Data Migrator

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

Using HCP-DM effectively ..................................................................9-1


Configuring HCP-DM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using setupcmdline to configure HCP-DM at startup. . . . . . . . . . . Configuring HCP-DM properties . . . . . . . . . . . . . . . . . . . . . . . . . Controlling HCP-DM logging behavior . . . . . . . . . . . . . . . . . . . . . Understanding and optimizing HCP-DM behavior . . . . . . . . . . . . . . . . Understanding and managing jobs and the HCP-DM job database . Database size management . . . . . . . . . . . . . . . . . . . . . . . . . . Database performance management . . . . . . . . . . . . . . . . . . . Database error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . Errors when resuming jobs . . . . . . . . . . . . . . . . . . . . . . . . . . Storing custom metadata XML . . . . . . . . . . . . . . . . . . . . . . . . . . HCP-DM best practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Additional HCP-DM considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 . 9-2 . 9-3 . 9-6 . 9-6 . 9-6 . 9-7 . 9-7 . 9-8 . 9-8 . 9-9 . 9-9 .9-10

Appendix: Installing HCP Data Migrator .....................................Appendix-1


HCP-DM system requirements . . . . . . . HCP-DM file locations . . . . . . . . . . . . . Before installing HCP-DM . . . . . . . . . . Installing HCP-DM on a Windows client Using the EXE file . . . . . . . . . . . . . Using the ZIP file . . . . . . . . . . . . . Installing HCP-DM on a Unix client . . . . vi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... ... ... ... ... ... ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix-2 . Appendix-2 . Appendix-3 . Appendix-3 . Appendix-3 . Appendix-4 . Appendix-4

Contents Using HCP Data Migrator

Glossary Index

Contents Using HCP Data Migrator

vii

viii

Contents Using HCP Data Migrator

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

Have experience using command-line interfaces, if you are using the


hcpdm command

Have a basic understanding of HCP concepts

Product version
This book applies to version 4.1 of HCP-DM, which accompanies release 4.1 of HCP.

Preface Using HCP Data Migrator

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 3, Managing metadata

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

Chapter 9, Using HCP-DM effectively

Appendix, Installing HCP Data Migrator

Preface Using HCP Data Migrator

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:

Administering HCP This book explains how to use an HCP system to


monitor and manage a digital object repository. It discusses the capabilities of the system, as well as its hardware and software components. The book presents both the concepts and instructions you need to configure the system, including creating the tenants that administer access to the repository. It also covers the processes that maintain the integrity and security of the repository contents.
Preface Using HCP Data Migrator

xi

Related documents

Managing a Tenant and Its Namespaces This book contains complete


information for managing the HCP tenants and namespaces created in an HCP system. It provides instructions for setting up both administrative user accounts and data access accounts, configuring the HTTP protocol, which allows access to namespaces, managing search, and downloading installation files for HCP Data Migrator and the HCP client tools. It also explains how to work with retention classes and the privileged delete functionality.

Managing the Default Tenant and Namespace This book contains


complete information for managing the default tenant and namespace in an HCP system. It provides instructions for changing tenant and namespace settings, configuring the protocols that allow access to the namespace, managing search, and downloading installation files for HCP Data Migrator and the HCP client tools. It also explains how to work with retention classes and the privileged delete functionality.

Replicating Tenants and Namespaces This book covers all aspects of


tenant and namespace replication. Replication is the process of copying tenants and namespaces from one HCP system to another to ensure data availability and enable disaster recovery. The book describes how replication works, contains instructions for working with replication links, and explains how to monitor the replication process.

HCP Management API Reference This book contains the information


you need to use the HCP management API. This REST API enables you to create and manage tenants and namespaces programmatically. The book explains how to use the API to access an HCP system, specify resources, and update and retrieve resource properties.

Using a Namespace This book describes the properties of objects in


HCP namespaces. It provides instructions for accessing namespaces by using the HTTP protocol for the purpose of storing, retrieving, and deleting objects, as well as changing object metadata such as retention and shred settings. It also explains how to manage namespace content and view namespace information in a web browser.

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

Preface Using HCP Data Migrator

Related documents

Searching Namespaces This book describes the HCP Search Console.


It explains how to search namespaces for objects that satisfy criteria you specify. It also explains how to manage and manipulate queries and search results. The book contains many examples, which you can use as models for your own searches.

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.

Installing an HCP System This book provides the information you


need to install the software for a new HCP system. It explains what you need to know to successfully configure the system and contains step-by-step instructions for the installation procedure.

Third-Party Licenses and Copyrights This book contains copyright


and license information for third-party software distributed with or embedded in HCP.

HCP-DM Third-Party Licenses and Copyrights This book contains


copyright and license information for third-party software distributed with or embedded in HCP Data Migrator.

Installing an HCP 500 System Final On-site Setup This book


contains instructions for deploying an assembled and configured HCP 500 system at a customer site. It explains how to make the necessary physical connections and reconfigure the system for the customer computing environment.

Installing an HCP 300 System Final On-site Setup This book


contains instructions for deploying an assembled and configured HCP 300 system at a customer site. It explains how to make the necessary physical connections and reconfigure the system for the customer computing environment.

Preface Using HCP Data Migrator

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

Preface Using HCP Data Migrator

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.

Introduction to Hitachi Content Platform Using HCP Data Migrator

11

About Hitachi Content Platform

About Hitachi Content Platform


Hitachi Content Platform is the distributed, fixed-content, data storage system from Hitachi Data Systems. It provides a cost-effective, scalable, easy-to-use repository that can accommodate all types of data, from simple text files to medical images to multigigabyte database images. A fixed-content storage system is one in which the data cannot be modified. HCP uses write-once, read-many (WORM) storage technology, internal processes, and various kinds of metadata to ensure the integrity of the stored data. It also provides easy access to the repository for adding, retrieving, and, when allowed, deleting the stored data.

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:

Fixed-content data An exact digital reproduction of data as it


existed before it was stored. Once its in the repository, this fixedcontent data cannot be modified.

System metadata System-managed properties that describe the


fixed-content data (for example, its size and creation date). System metadata includes settings, such as retention and data protection level, that influence how transactions and internal processes affect the object.

Custom metadata Metadata that a user or application provides to


further describe an object. Custom metadata is specified as XML. You can use custom metadata to create self-describing objects. Future users and applications can use this metadata to understand and repurpose the object content. For more information on metadata, see Chapter 3, Managing metadata.

12

Introduction to Hitachi Content Platform Using HCP Data Migrator

Namespaces and tenants

Namespaces and tenants


An HCP repository is partitioned into namespaces. A namespace is a logical grouping of objects such that the objects in one namespace are not visible in any other namespace. To the user of a namespace, the namespace is the repository. Namespaces provide a mechanism for separating the data stored for different applications. For example, one namespace could be used for accounts receivable while another is used for accounts payable. Namespaces are owned and managed by administrative entities called tenants. A tenant typically corresponds to an actual organization such as a company or a division or department within a company. A tenant can also correspond to an individual person. Note: HCP-DM treats HCAP 2.6 archives as namespaces. This manual uses the term namespace to refer to HCP namespaces, default namespaces, and HCAP archives. HCP and default namespaces An HCP system can have multiple HCP namespaces and one default namespace. To access an HCP namespace, users and applications must present valid credentials. Access to the default namespace is open to all users and applications. HCP namespaces and the default namespace have different characteristics, including the protocols that can be used to access them and the metadata they support. The default namespace and HCAP archives have similar characteristics. New applications are typically written against HCP namespaces. The default namespace is typically used for legacy applications. Data access accounts To access an HCP namespace, any client, including HCP-DM, must provide valid credentials. These credentials are defined by a data access account. The account specifies a username and password. It also specifies which namespaces the user or application can access and which operations the user or application can perform in each of those namespaces. To get a data access account, see your namespace administrator.

Introduction to Hitachi Content Platform Using HCP Data Migrator

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

Introduction to Hitachi Content Platform Using HCP Data Migrator

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 HCP-DM and its features, including information on


profiles and jobs

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

About HCP Data Migrator

About HCP Data Migrator


HCP Data Migrator (HCP-DM) is a utility for copying, managing, and deleting data. When you copy data from one location to another, the source and destination locations can be any combination of:

A local file system, including remote directories mounted on the local


file system

An HCP or default namespace An HCAP archive


Supported operations include copying between two locations in a single namespace (including an HCAP archive) or local file system. You can also delete data from any of the locations listed above.

HCP-DM capabilities
With HCP-DM, you can:

Copy one or more items


Notes:

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

About HCP Data Migrator

Create empty directories Set, change, or delete custom metadata for objects
HCP-DM provides two interfaces:

A graphical user interface (GUI) A command-line tool


The HCP-DM GUI lets you use all HCP-DM features. The command line tool provides a subset of those features.

HCP-DM GUI
With the HCP-DM GUI you can:

Interactively configure, start, and manage the copying or deleting


(including purging) of single or multiple objects or files, including entire directory trees.

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.

Correct problems and resume copying or deleting if HCP-DM closes


abnormally during a copy or delete operation.

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

About HCP Data Migrator

Control the load that HCP-DM puts on HCP systems. HCP-DM is


multithreaded. You can configure the maximum number of concurrent connections HCP-DM makes to an HCP system and to individual HCP nodes. You can limit the maximum number of concurrent operations on the local file system. You can also schedule a reduced load to run during a specific time of day.

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:

A namespace profile represents an HCP namespace, a default


namespace, or an HCAP archive. You use HCP-DM to define namespace profiles.

24

Getting started with HCP Data Migrator Using HCP Data Migrator

About 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:

Not Started Preparing to Restart Running Paused

Getting started with HCP Data Migrator Using HCP Data Migrator

25

About HCP Data Migrator

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

The HCP Data Migrator GUI main window

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.

Exported job results


You can export job results to files. These files contain lists of the items in the job. The contents of the files are determined by the current state of the job. For each job, you can export any combination these files:

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.

The HCP Data Migrator GUI main window


The main window of the HCP-DM GUI contains a menu bar, two navigation panels, and buttons to transfer items between the panels (that is, from a source to a destination).

Getting started with HCP Data Migrator Using HCP Data Migrator

27

The HCP Data Migrator GUI main window

Menu bar The menu bar in the main window has these menus:

The File menu lets you:

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

The HCP Data Migrator GUI main window

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

HCP Data Migrator quick start

Create directories View item properties

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.

HCP Data Migrator quick start


The following procedure will help you understand the HCP-DM workflow and get started using the HCP-DM GUI. This procedure describes how to run HCP-DM and define and run a copy or delete job interactively. It has these steps: 1. Start HCP-DM. 2. Configure namespace profiles. 3. Select the profile or profiles. 4. Select the directory or directories. 5. Select the items. 6. Initiate the operation. 7. Monitor the progress.

Step 1: Start HCP-DM


To start the HCP-DM GUI:

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

HCP Data Migrator quick start

The HCP-DM main window opens.

Note: In Windows, a command window appears briefly.

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.

Step 2: Configure namespace profiles


You need to create a namespace profile for each namespace you want to access. To configure a profile: 1. In the menu bar, select File
Namespace Profile Manager.

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.

Step 3: Select the profile or profiles


If you want to perform a copy operation, select the source and destination profiles. If you want to perform a delete operation, select a single profile in either panel. To select a profile, click on the profile control to display the profile list. Then click on the profile you want. When all of these are true, HCP-DM displays the Allow Security Exception window before running the job:

The namespace profile for the job requires HTTPS.

Getting started with HCP Data Migrator Using HCP Data Migrator

211

HCP Data Migrator quick start

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.

Step 4: Specify the directory or directories


In each navigation panel youre using, navigate to a directory. You can type the directory path in the address box or navigate using the directory list. The address box has a dropdown list that displays up to 25 directories to which you have most recently navigated using the current profile. Note: In Windows, to navigate to a path on different drive, enter in the absolute path in the address box.

Step 5: Select the items


In the source panel or the panel showing the directory from which you want to delete, select the items to be copied or deleted. You can select objects, files, and directories. Note: You can drag items directly into the destination panel from any application that supports drag and drop.

Step 6: Start the operation


To start the operation: 1. Do either of these:

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.

The Job Details window opens.

212

Getting started with HCP Data Migrator Using HCP Data Migrator

HCP Data Migrator quick start

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.

Step 7: Monitor the operation


When copying or deleting starts, the Progress page in the Job Details window shows information about the job progress. You can follow the progress and take action as needed. During an operation, you can monitor information such as the rate of transfer, numbers of items copied or number of items deleted, and number of errors. Also, a tabbed Additional Details section contains lists of items that are currently being processed, were copied or deleted, and failed to be copied or deleted. Note: The information in the Additional Details section is cleared when you pause, rerun, or reopen a job. You can manage the job while it runs, for example, by pausing or canceling it. For detailed information on using the Job Details window, see Chapter 6, Managing jobs in the Job Details window.

Getting started with HCP Data Migrator Using HCP Data Migrator

213

HCP Data Migrator quick start

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.

For information on setting metadata values in the hcpdm command, see


Chapter 8, Using the hcpdm command.

For more information on metadata, see Using a Namespace or Using


the Default Namespace.

Managing metadata Using HCP Data Migrator

31

About HCP metadata

About HCP metadata


In HCP (and HCAP), objects have system metadata and custom metadata. System metadata consists of HCP-specific information such as retention and shred settings and, for default namespaces and HCAP archives only, POSIX metadata. HCP lets you specify metadata in these circumstances:

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.

You can specify, change, or delete custom metadata for objects in a


namespace if the namespace is configured to allow such changes. You can view metadata values for all objects in a namespace and for directories in the default namespace or archive.

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

Managing metadata Using HCP Data Migrator

About HCP metadata

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>

Managing metadata Using HCP Data Migrator

33

About HCP metadata

You can specify custom metadata in two ways:

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.

Enter text in HCP-DM by typing or loading it from a file. This technique


supports a maximum of 32,762 bytes of metadata, but lets you edit the text before you run the job.

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

Managing metadata Using HCP Data Migrator

How HCP-DM handles metadata

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.

Specific date and time

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.

How HCP-DM handles metadata


When HCP-DM copies items from one location to another, the metadata for the copies depends on the destination type, destination configuration, HCP-DM configuration, and source item. Also, the metadata for an object (in addition to the namespace configuration and data access permissions) determines whether HCP-DM can delete the object.

Copying to the local file system


When HCP-DM copies items to the local file system, the file metadata such as modified time or POSIX ctime is set by the destination operating system. HCP-DM does not set metadata for files on the local file system and does not copy any custom metadata to the local file system.

Managing metadata Using HCP Data Migrator

35

How HCP-DM handles metadata

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:

HCP-DM applies the metadata settings of the source objects to the


objects added to the destination.

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.

If the object retention setting is not a retention class, the retention


value of the copy is the same as that of the original object. Therefore, the retention period of the copy ends at the same time as that for the original.

If the object retention setting is a retention class, the retention class of


the copy is the same as that of the original object and the retention period of the copy is the full length of the retention class, starting at the time the object is copied.

If the object retention setting is a retention class and the destination


does not have the class defined, the destination does not accept the object and returns a 400 Bad Request error.

36

Managing metadata Using HCP Data Migrator

How HCP-DM handles metadata

Deleting and purging objects


The following rules apply to deleting and purging objects:

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.

If an object in a default namespace or HCAP archive is under retention


or has a retention setting of Initial Unspecified or Deletion Prohibited, HCP-DM cannot delete the object.

If HCP-DM cannot delete an object due to retention rules, the object is


included in the Objects Failed count in the Metrics section of the Job Details window. It is listed on the Job Details window Failed panel at the time of the failure, but may not appear there at a later time. (The Failed panel presents a snapshot in time.) The object is also included in the failed objects list when you export the job results.

Managing metadata Using HCP Data Migrator

37

How HCP-DM handles metadata

38

Managing metadata Using HCP Data Migrator

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

Configuring namespace profiles

Configuring namespace profiles


You need to create a profile for each namespace that you want to access. After you create a namespace profile, you can modify or delete it.

Creating a namespace profile


To create a namespace profile: 1. In the HCP-DM main window select File Namespace Profile Manager to open the Namespace Profile Manager window. 2. Click on the Create button to open the Namespace Profile Manager. 3. In the Profile Name field, type a profile name. The name must be between one and 128 characters long and can include special characters and spaces. Then click on the Next button. Note: If a namespace profile name contains spaces, you need to enclose the name in double quotation marks in the hcpdm command line. 4. On the Namespace Type page, select the type of namespace for which youre creating the profile: HCP namespace, HCP default namespace, or HCAP 2.x. Then click on the Next button. 5. On the Connection page, select the method HCP-DM will use to connect to the HCP system: Connect by domain name (also called a hostname or DNS name) or Connect by IP address. For considerations on which method to use, see Considerations for using a domain name or IP addresses on page 4-5. 6. Do either of these:

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

Configuring namespace profiles

If you selected Connect by IP address:


1. If youre connecting to an HCP namespace, type the fully

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.

9. If you are configuring a profile for an HCP namespace:

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

Configuring namespace profiles

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:

To allow a security exception:


1. Optionally, select the Permanently store this exception check

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.

Click on the Finish button to close the wizard.

44

Configuring HCP Data Migrator in the GUI Using HCP Data Migrator

Configuring namespace profiles

Modifying a namespace profile


You can change any of the properties of a namespace profile. For example, you can change the profile name or switch from using a domain name to using IP addresses. To modify a namespace profile: 1. In the HCP-DM main window, select File
Namespace Profile Manager.

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.

Deleting a namespace profile


To delete a namespace profile: 1. In the HCP-DM main window, select File
Namespace Profile Manager.

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.

Considerations for using a domain name or IP addresses


The Namespace Profile Manager lets you choose whether to connect to HCP (or HCAP) by using a domain name or by using node IP addresses. The following sections provide information that can help you decide which method to use.

Configuring HCP Data Migrator in the GUI Using HCP Data Migrator

45

Configuring namespace profiles

Using a domain name


If you configure a namespace profile to use a domain name for connections, HCP-DM uses a domain name to connect to the HCP (or HCAP) system. The following considerations apply to this option:

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.

If your client uses a hosts file to map HCP hostnames to IP addresses,


the client has full responsibility for converting any domain names to IP addresses. Therefore, HCP cannot spread the load or prevent attempts to connect to an unavailable node.

In general, you should use the domain name instead of IP addresses


whenever possible.

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.

Specify the frequency at which HCP-DM logs job status information.


For information on logging preferences and how to set them, see Configuring logging frequency on page 4-17. To set preferences, select Preferences from the Edit menu. This opens the Preferences window, which has four tabbed pages two for metadata and one each for load and logging settings. You can override metadata preferences for objects copied from the local file system before you start a job. You can override the load preferences before you start a job and while a job is paused. You cannot override logging preferences. For information on:

Overriding metadata and load preferences, see Managing jobs on


page 6-7

Overriding load preferences during a copy operation, see Resetting the


load schedule on page 6-13

How HCP-DM sets metadata values, see How HCP-DM handles


metadata on page 3-5

Specifying destination metadata settings


To use a destination metadata setting:

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.

Configuring HCP-specific metadata


The Policies page in the Preferences window lets you specify the HCPspecific metadata for objects copied from the local file system to a namespace. You can change these values on a per-job basis before you run a job. For all metadata except Hold, you can specify that the objects get their metadata values from HCP, that is, the metadata gets the default value for objects added to the destination namespace. To do this, select Use destination namespace setting as the setting value.

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

The table below describes the options for retention settings.


Retention Method
Use destination namespace setting Offset

Description and Values


HCP-DM does not specify a retention value. The destination namespace's default setting takes effect. A specific length of time after the object is copied to the destination. Type integers in any combination of the Years, Months, and Days fields. You do not need to specify values in all fields. HCP-DM treats empty fields as zero values. When you specify an offset. the retention period expires on the day when the period ends, at the time of day when the object was copied.

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

Description and Values


The name of a retention class defined for the destination namespace. HCAP archives do not support retention classes. If you specify a retention class when the destination is an HCAP archive, the copy operations fail. Copy operations also fail if you specify a retention class that is invalid for a destination HCP or default namespace. If you dont know the retention classes defined for your destination namespace, see your namespace administrator.

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

Configuring POSIX metadata


The POSIX Metadata page specifies the POSIX metadata for the objects created from files copied to a default namespace or archive. To specify a POSIX metadata setting: 1. Select the checkbox to the left of the property setting. If the checkbox is not selected, the copied object gets the value specified by the destination parent directory. 2. Specify a value for the property you have selected, as described in the table below.
Property
UID

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

Controlling the load


HCP-DM is multithreaded. It can create multiple concurrent connections to the HCP or HCAP system and can make multiple concurrent requests to the local file system, so it can copy or delete multiple items concurrently. To prevent overloading the HCP system or its nodes, particularly when copying:

You can configure the maximum number of concurrent operations that


HCP-DM can perform.

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.

5. Click on the OK button.

Configuring and using log files


HCP-DM maintains three sets of log files that contain information about the job. You can use these files to monitor job progress and determine job errors.

Understanding job log files


HCP-DM stores the following log files in the install-dir/hcpdm/log directory:

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:

Date and time, in this format:


mm/dd hh:mm:ss.ms
The hour value uses a 24-hour clock and the local time zone. In the format string ms corresponds to the number of milliseconds into the current second.

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:

mm/dd/yy hh:mm:ss AM|PM

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

Configuring logging frequency


You can configure the frequency with which HCP logs information in the successn.log and failuren.log files in the Preferences window only. Changes take effect immediately and apply to all jobs that are running or that you start or restart after you make the changes. You can specify separately how frequently to log successful operations and failed operations. The options are:

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 one or more items, including directories and their subdirectories


(but not empty directories), from one directory to another.

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

Copying items and versions

Copying items and versions


To copy objects, files, and directories, or a historic version of an object: 1. Select the source profile and directory in the source panel. Skip this step if want to drag and drop items from a source such as Windows Explorer or the Konqueror Linux application. If you are copying a historic version of an object from an HCP namespace, open the version list for the object by double-clicking on the object entry in the directory. 2. Select the destination profile and directory in the destination panel. Notes:

For each object to be copied, the destination directory path length


plus the object name length must not exceed 4,095 bytes. Any attempt to copy an object that does not meet this requirement will fail. If each character in a path requires one byte, the path can be up to 4,095 characters. If any characters in a path require two or more bytes, the additional bytes reduce the maximum number of characters.

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

Copying items and versions

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

Copying items and versions

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.

To read custom metadata when the job runs:


1. Click on the Custom Metadata tab. 2. Select the Read custom metadata from a file when the job runs option. 3. Do either of these:

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.

To enter custom metadata in the Copy Job Details window:


1. Click on the Custom Metadata tab. 2. Select the Use custom metadata text entered below option. 3. Do either of these:

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

Deleting or purging items

Deleting or purging items


You can use either navigation panel to delete one or more items, including directories. In HCP namespaces, after you choose the delete operation, you can convert it to a purge, privileged delete, or privileged purge operation:

A purge operation deletes all versions of an object, not just the current
version.

A privileged delete operation deletes objects whether or not they are


under retention.

A privileged purge does both operations.


Purge, privileged delete, and privileged purge operations require the data access account to have additional privileges. You cannot delete or purge individual versions of an object or objects that are on hold. Also, namespaces can be configured to prevent deletion or purging of objects under retention, even through privileged operations. To delete or purge items: 1. In either navigation panel, select the profile you want and the directory containing the items you want to delete or purge. 2. In the navigation panel, select the items to delete or purge. 3. Do either of these:

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.

Listing object versions


If versioning is enabled for an HCP namespace, you can view a list of versions of each object. To list the versions of an object: 1. Select the namespace profile you want and the directory containing the object. 2. Double-click on the object. The version list appears in the navigation panel. The version list is similar to a list of objects in a directory, with these differences:

The entry in the address control has this format:


Versions for: object-spec

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

Opening objects, versions, and files

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.

Opening objects, versions, and files


You can open an object, file, or version of an object from either navigation panel. The procedure for opening objects and versions depends on whether versioning is enabled and, if so, which version you want to open. Opening an object when versioning is not enabled or opening a file To open an object in a namespace that does not have versioning enabled or to open a file: 1. Select the profile and directory. 2. Do one of these:

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:

Double-click on the item with the version you want to open

Managing items with the HCP-DM GUI Using HCP Data Migrator

57

Renaming files and directories in the local file system

Select the item with the version you want to open and press the Enter key.

The version listing appears in the navigation panel. 3. Do any of these:

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.

Renaming files and directories in the local file system


To rename a file or directory in the local file system: 1. Select the local file system and the directory containing the item you want to rename. 2. Select the file or directory you want to rename. 3. Do either of these:

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.

Viewing and managing item properties


HCP-DM can display detailed properties for these types of items:

Objects Individual versions of objects

58

Managing items with the HCP-DM GUI Using HCP Data Migrator

Viewing and managing item properties

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

Viewing and managing item properties


(Continued)

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.

Retention Value Retention Class

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

Viewing and managing item properties


(Continued)

Property
State

Applies to
Objects in HCP namespaces

Description
The state of the object or object version. Either:

created The object has not been deleted or the


version is one that was ingested.

Replicated Objects in HCP and default namespaces

deleted The object has been deleted or the


version is a deletion record.

Indication of whether the object has been replicated to another HCP system: true or false.

Custom Metadata page of the object Properties window


N/A All namespaces Custom metadata XML for the object, if any.

Specifying custom metadata for objects


You can set, edit, or delete the custom metadata for an object in a directory list. You cannot change the custom metadata using an entry in a version list, even if it is the current version. Note: You cannot view or change custom metadata that exceeds 1MB in length. To set, edit, or delete the custom metadata for an object: 1. Display the object properties, as described in Viewing and managing item properties on page 5-8. 2. Click on the Custom Metadata tab. The Custom Metadata page shows any custom metadata currently associated with the object. 3. Type new custom metadata or edit the existing custom metadata. To delete all custom metadata, delete the entire contents of the page. 4. Click on the Save button. HCP-DM displays a confirmation message.

Managing items with the HCP-DM GUI Using HCP Data Migrator

511

Creating empty directories

5. In the message window, click on the Yes button:

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.

Creating empty directories


To create an empty directory in a namespace or the local file system: 1. Select the profile and the directory in which you want to create the new directory. 2. Ensure that nothing is selected in the navigation panel. 3. In the directory listing, right-click to display the context menu. Then select New Directory. 4. In the New Directory window, type a name for the new directory. Directories in the local file system are subject to the naming conventions of the client platform. 5. Click on the OK button. HCP-DM creates the directory.

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

About the Job Details window

About the Job Details window


The Job Details window appears after you specify a job. For example, the window appears when you click on the double-arrow button in the navigator for a copy job or after you select Delete from the File or context menu. The Job Details window lets you control copy and delete jobs and view status as a job progresses. If youve saved the current job, the window title includes the job name. The top section of the Job Details window displays the information listed in the table below.
Field
Source Profile Source Directory Destination Profile (copy only)

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

About the Job Details window

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

Before the job starts Before the job starts

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

Custom Metadata Options

Before the job starts Before the job starts

Load Schedule

All

Before the job starts, while it is paused, or after it completes or fails

Managing jobs in the Job Details window Using HCP Data Migrator

63

Monitoring job progress

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.

Monitoring job progress


The Progress page is automatically updated as the operation progresses. The table below lists the page sections.
Section
Metrics

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.

Progress and Performance

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

Monitoring job progress

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.

Total data size to copy Start or resume time Run time

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

Monitoring job progress


(Continued)

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:

Processing Objects or files that currently being copied or deleted.


For delete operations, the list also includes directories. This page can be useful if the Progress and Performance section shows 0 objects or bytes per second, because this page will show any large files that are being copied and are not yet reflected in the progress information.

Succeeded Objects or files that were successfully copied or deleted.


For delete operations, the list also includes directories.

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.

Size Elapsed time

All Succeeded Failed

Start Time End Time Reason

Failed Failed Failed

Managing jobs
You use the buttons at the bottom of the Job Details window to manage the current job.

Job Details window buttons


The bottom of the Job Details window has four buttons. Some buttons have different functions and labels or are disabled, depending on the job state. The table below describes the buttons.
Button
Export Results

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.

Canceling or closing a job


The Job Details window always displays either a Cancel or a Close button. Canceling a job To end the current job without completing it or saving it, click on the Cancel button. After HCP-DM cancels the job, it closes the Job Details window.

68

Managing jobs in the Job Details window Using HCP Data Migrator

Managing jobs

When you click on the Cancel button:

HCP-DM displays a confirming prompt. To cancel the job, click on the


Yes button.

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

Pausing and resuming a job


To stop a job before it finishes, click on the Pause button. Pausing (or canceling) a job stops operations that are in process. This action can have these consequences:

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

You can resume a job if any of these is true:

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

Exporting job results


You can export the results of a completed or paused job to a set of files. You can save the files to any location in the local file system. You can export job results into any combination of the files described in the following table.
File Name
file-prefix JobList.txt

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.

Resetting the load schedule


You use the Load Schedule page of the Job Details window to change the number of concurrent operations that HCP can perform. Uses for this feature include:

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:

Saved jobs Job files Exported job results files


The chapter provides detailed information about each of these items and describes how to save or create them and how to use them to manage and run jobs.

Using saved jobs and job files Using HCP Data Migrator

71

About saved jobs and job files

About saved jobs and job files


Saved jobs are stored internally by HCP-DM. Job files are stored as text files in the local file system. A saved job is a full dynamic representation of all job information. A job file is a static representation of the items to copy or delete in a job.

About saved jobs


You can save a job before operations start, while they are paused, or after they complete. For instructions on saving a job see Saving a job on page 6-11. After saving a job, you can:

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.

Correct any problems that caused individual copy or delete operations


to fail and rerun a job that failed or completed with errors. In this case, HCP-DM tries to copy or delete only those items that previously failed. Saved jobs have these properties:

HCP-DM keeps the job status, including information on which items


have been copied or deleted, up to date as the job progresses.

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.

If you do not explicitly save a job that runs to completion, HCP-DM


does not keep the job information and you cannot reopen the job, even if the job did not copy or delete all the specified items.

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

About saved jobs and job files

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

About saved jobs and job files

About job files


A job file is a text file that specifies the paths of the items to copy or delete in a job. You can create a job file from scratch or you can use exported job results files as job files. For information on exported job results files, see About exported job results files below. Job files let you:

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).

Specify the items to copy or delete in advance. For example, an


application could generate a job file that you then use in HCP-DM.

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:

Items can be objects, files, or directories. If you specify a directory,


HCP-DM copies or deletes everything in the directory and all its subdirectories.

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

Working with saved jobs in the GUI

About exported job results files


When you export job results, you save a static set of information about the state of the items in the job at the time you export the results. When you export job results, you can save any combination of three files:

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.

Working with saved jobs in the GUI


You can create, run, and delete saved jobs. For instructions on saving a job, see Saving a job on page 6-11.

About the Saved Jobs window


You use the Saved Jobs window to open or delete a saved job. To display this window, select Saved Jobs from the File menu. The window shows this information for each job:

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

Working with saved jobs in the GUI

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.

Running a saved job


To run a saved job: 1. On the File menu, select Saved Jobs. 2. In the Saved Jobs window, select the saved job you want to run. 3. Click on the Open button to load the job. 4. In the Job Details window, click on the Run, Resume, or Rerun button to start or resume the job or rerun the failed operations in a job. 5. In the Job Details window, monitor and manage the progress, as described in Chapter 6, Managing jobs in the Job Details window.

76

Using saved jobs and job files Using HCP Data Migrator

Working with saved jobs in the GUI

Deleting saved jobs


To delete one or more saved jobs: 1. In the File menu, select Saved Jobs. 2. In the Saved Jobs window, select the saved jobs you want to delete. You can use the Control and Shift keys to select multiple jobs or a range of jobs. 3. Click on the Delete button. 4. In response to the confirming prompt, click on the OK button.

Recovering from failed jobs and HCP-DM failures


If an error ends a job before it completes or HCP-DM closes while processing the job, HCP-DM keeps the job information as a saved job, even if you did not save it. As a result, you can fix the problem, reopen the job, and complete job processing. In this case, the job status may not be completely up to date. This can result in HCP-DM repeating operations it has already completed, but should not result in operations being skipped. For more information, see Errors when resuming jobs on page 9-8. To restart the job: 1. Restart HCP-DM, if necessary. 2. In the File menu, select Saved Jobs. The Saved Jobs window opens. If you did not save the job before the problem occurred, the job name is the date and time it started running. 3. In the Saved Jobs window, select the failed job and click on the Open button to open the job and display the Job Details window. 4. Click on the Run button.

Rerunning jobs with failed operations


If a job completes without copying or deleting all the specified items, the Progress page of the Job Details window lists the number of items that failed in the Objects failed entry of the Metrics section.

Using saved jobs and job files Using HCP Data Migrator

77

Running jobs from job files in the GUI

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.

Running jobs from job files in the GUI


You can import an exported job results file, except a failures list, and run it as a new job. For example, you can use an exported job list to run a repetitive operation. You can also create your own custom job files, for example, by entering the list in a text editor or using an application that writes a list of files to copy or move. You cannot import and run a failures list because a job file can contain only paths and not error information.

78

Using saved jobs and job files Using HCP Data Migrator

Running jobs from job files in the GUI

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.

For a copy job:

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.

Then click on the OK button.

Using saved jobs and job files Using HCP Data Migrator

79

Running jobs from job files in the GUI

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.

Using the hcpdm command Using HCP Data Migrator

81

About the hcpdm command

About the hcpdm command


The hcpdm command provides a command-line interface to a substantial subset of the HCP-DM features. The actual command name depends on your operating system:

On Unix, the command is hcpdm.sh. In Windows, the command is hcpdm.bat.


As a general rule, this book uses the term hcpdm command to encompass both versions. The hcpdm command is located in the install-dir/hcpdm/bin directory. The hcpdm command has these subcommands:

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.

hcpdm command rules


The hcpdm command follows these rules:

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.

Several commonly used parameters have shortcut forms. For example,


you can use either --help or -h to get a help message.

82

Using the hcpdm command Using HCP Data Migrator

About the hcpdm command

Profile names, paths, and parameter values that contain spaces must
be surrounded by double quotation marks.

Type hcpdm -h or hcpdm --help to show a brief message showing the


valid subcommands. Include a subcommand name in the command, for example, hcpdm copy -h, to display a brief description of all valid parameters for the specified subcommand.

hcpdm command exit status codes


When the hcpdm command completes, it sets a command line interpreter exit status variable to a code that indicates whether the command was successful and, if it was not, the reason for the error. The method to access this variable depends on the operating system and command line interpreter. In Unix, it is often accessed by the exit $? or $? command. In Windows, the status is stored in the errorlevel environment variable, which you can access with the echo %errorlevel% command. The list below describes the hcpdm command exit status codes and describes some possible causes and remedies for errors that cause nonzero values. 0. The command completed successfully. 1. The command arguments were not valid. Check the command for typographic or other errors. You can use the command with the --help parameter to view a summary of the syntax or check your command against the syntax described in this book. 2. There was an error with the SSL certificate. One possible cause of this problem is that the certificate was self-signed (which is true for standard HCP certificates) and you did not specify the --insecure parameter. 3. The specified host is unknown. Make sure that the namespace profile is correct and there are no problems with your network or HCP system. You can also 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. Note: For information about log files see Configuring and using log files on page 4-14.

Using the hcpdm command Using HCP Data Migrator

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

Using the hcpdm command Using HCP Data Migrator

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.

(-s | --source-profile) (source-profile-name | LFS)

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.

(-d | --destinationprofile) destinationprofile-name | LFS

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.

Using the hcpdm command Using HCP Data Migrator

85

hcpdm copy
(Continued)

Parameter --destination-path destinationdirectory-path

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:\).

--index (true | false)

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

Using the hcpdm command Using HCP Data Migrator

hcpdm copy
(Continued)

Parameter --hold (true | false)

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.

--shred (true | false)

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.

Using the hcpdm command Using HCP Data Migrator

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-max-sys-ops operation-count --reduced-max-node-ops operation-count --reduced-start hh:mm

--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

Using the hcpdm command Using HCP Data Migrator

hcpdm copy
(Continued)

Parameter --export-results results-typespecification

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.

Using the hcpdm command Using HCP Data Migrator

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

Using the hcpdm command Using HCP Data Migrator

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.

Omitting an optional metadata parameter is equivalent to selecting the


Use destination namespace setting option in the GUI. For example, if you copy a file to a default namespace, the index setting for the new object will be the value for the directory into which it is copied. For more information on copying and metadata, see How HCP-DM handles metadata on page 3-5.

If you omit any of the load management parameters, the HCP-DM


preferences specify the value.

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

This command tells HCP-DM to:

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).

Copy the files to the /rest/BusDoc/Mktg directory in the destination


namespace. The rest directory is the root of the directory tree in an HCP namespace, so the directory path in the command does not include it.

Using the hcpdm command Using HCP Data Migrator

811

hcpdm delete

Copy the files specified in the C:\CopyFiles\MoveWork.txt (Windows) or


/CopyFiles/MoveWork.txt (Unix) file. This file contains paths relative to the C:\MyDocs\Work directory (Windows) or /myDocs/work directory (Unix)

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

Using the hcpdm command Using HCP Data Migrator

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.

(-p | --profile) (profile-name | LFS)

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.

Using the hcpdm command Using HCP Data Migrator

813

hcpdm delete
(Continued)

Parameter --path directory-path

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

Using the hcpdm command Using HCP Data Migrator

hcpdm delete
(Continued)

Parameter --reason reason-text

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.

--reduced-max-sys-ops operation-count --reduced-max-node-ops operation-count --reduced-start hh:mm

Using the hcpdm command Using HCP Data Migrator

815

hcpdm delete
(Continued)

Parameter --reduced-end hh:mm

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

Using the hcpdm command Using HCP Data Migrator

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.

Using the hcpdm command Using HCP Data Migrator

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

This command tells HCP-DM:

To delete objects and directories from the HCP namespace identified by


the Europe Finance profile.

To look up the objects to delete in the C:\BusDocs\Mktg (Windows) or the


/busDocs/mktg (Unix) directory and their subdirectories.

To allow the use of HTTPS certificates that are not signed by a trusted
authority.

To delete the items specified in the C:\DeleteFiles\Deleteable.txt (Windows)


or /DeleteFilesFiles/Deleteable (Unix) file. This file contains paths relative to the directory specified by the --path parameter.

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:

Name The job name assigned by a user in the HCP-DM GUI or


automatically by HCP-DM.

818

Using the hcpdm command Using HCP Data Migrator

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.

Using the hcpdm command Using HCP Data Migrator

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.

To display syntax rules for the hcpdm profile command:


hcpdm.(bat|sh) profile ( -h | --help )

820

Using the hcpdm command Using HCP Data Migrator

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

This parameter is required.

--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.

Using the hcpdm command Using HCP Data Migrator

821

hcpdm profile
(Continued)

Parameter --ips ip-address,...

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:

Some special characters have meaning to the operating system


command line interpreter. Do not use these characters in passwords, or make sure that you successfully escape them in the command line.

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

Using the hcpdm command Using HCP Data Migrator

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:

Identifies the finance namespace owned by the europe tenant defined


in the HCP system hcp.example.com

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

Using the hcpdm command Using HCP Data Migrator

823

hcpdm profile

824

Using the hcpdm command Using HCP Data Migrator

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

Using HCP-DM effectively Using HCP Data Migrator

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.

Using setupcmdline to configure HCP-DM at startup


You can modify the setupcmdline.sh or setupcmdline.bat file contents to control certain HCP-DM behaviors, including:

Memory usage Change this setting to increase or reduce the memory


used by HCP-DM.

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.

NetBIOS name resolution Change this setting to allow hostname


resolution using NetBIOS. Controlling HCP-DM memory usage You can increase or decrease the amount of memory that HCP-DM uses by specifying the size of the Java heap that it uses. In Unix, you use the HCPDM_MAX_HEAP and HCPDM_MIN_HEAP parameters in setupcmdline.sh specify the heap sizes. For example: HCPDM_MAX_HEAP="512M" HCPDM_MIN_HEAP="32M"

92

Using HCP-DM effectively Using HCP Data Migrator

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.

Configuring HCP-DM properties


Change the contents of the install-dir/config/hcpdm.properties file to control and optimize the following properties:

HCP-DM database location Default load settings

Using HCP-DM effectively Using HCP Data Migrator

93

Configuring HCP-DM

Connection timeouts Metadata copying among default and HCAP namespaces


Controlling the job database directory location The .hds/hcp-dm/database directory, which contains the HCP-DM job database, can grow quite large. By default, the database directory path is user-home-dir/.hds/hcp-dm/database. Each user has a separate database directory. If the drive that holds the users home directory does not have enough space, you can change the database directory location to a drive with more free space. To change the database directory location, specify the following value in the hcpdm.properties file:
rootDBDir=database-directory-path-root

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

Using HCP-DM effectively Using HCP Data Migrator

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:

http.socket_timeout.millis The amount of time that HCP will wait for


data on an existing HTTP connection, in milliseconds. The default is 60000 (one minute).

http.connection_timeout.millis The amount of time that HCP will wait


for an HTTP connection to be established, in milliseconds. The default is 30000 (30 seconds).

Using HCP-DM effectively Using HCP Data Migrator

95

Understanding and optimizing HCP-DM behavior

Controlling HCP-DM logging behavior


The install-dir\hcpdm\config\hcpdm.logging.properties file configures HCP-DM logging behavior. The table below describes entries that you might want to change to control the maximum space used by log files.
Entry
com.archivas.logging.FileHandler. count com.archivas.logging.FileHandler. limit com.archivas.clienttools.arcutils. arcmover.impl.jobs.Success ProgressLogger.numRotateFiles com.archivas.clienttools.arcutils. arcmover.impl.jobs.Success ProgressLogger.fileSizeBytes com.archivas.clienttools.arcutils. arcmover.impl.jobs.Failure ProgressLogger.numRotateFiles com.archivas.clienttools.arcutils. arcmover.impl.jobs.Failure ProgressLogger.fileSizeBytes

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.

The maximum size of a single failuren.log file, in bytes.

For more information on using log files, see Configuring and using log files on page 4-14.

Understanding and optimizing HCP-DM behavior


The following sections describe some of the details of how HCP-DM works that can affect the program behavior and some of the errors that you can encounter when running HCP-DM. It also provides information on ways to limit these errors and optimize program behavior.

Understanding and managing jobs and the HCP-DM job database


HCP-DM uses a database to manage job information and maintains complete information in the database for the current job and each saved job. Effectively, the current job is always a saved job, but HCP-DM automatically deletes it if you do not explicitly save it and it completes successfully or if you cancel it without saving.

96

Using HCP-DM effectively Using HCP Data Migrator

Understanding and optimizing HCP-DM behavior

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.

Database size management


The database for each saved HCP-DM job can take up a significant amount of disk space. For example, the database for a job that copies ten million objects requires approximately 2.5 GB of disk space. For this reason, you should limit the number of saved jobs, and particularly large saved jobs. If you need to retain information about such jobs, it is a good idea to export the job results and then delete (or not save) the job. If you need to maintain large saved jobs and the drive that contains your home directory has limited space, you can change the location of the .hds directory and therefore database directory that it contains to a drive with more space. For information on configuring the .hds directory location, see Controlling the job database directory location on page 9-4.

Database performance management


Database queries and updates slow substantially for very large jobs. To improve performance, break jobs with 10 million or more objects or files into smaller jobs.

Using HCP-DM effectively Using HCP Data Migrator

97

Understanding and optimizing HCP-DM behavior

Database error messages


When an error occurs in the database, it reports the error to HCP-DM using an Apache Derby SQLStates status value. HCP-DM then handles the error in these ways:

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.

Errors when resuming jobs


HCP-DM can encounter errors when you resume jobs. This includes jobs that you pause, jobs that you cancel and save (or save and cancel), and jobs that end unexpectedly. When HCP-DM stops processing, it may be finding directories, that is, iterating and reading through directories to find objects or files that they contain. In this case, HCP may already have saved some, but not all, of the directory entries to the job database when the job stopped running. When HCP-DM resumes the job, it rereads the entire directory it had been in the process of reading. This can result in HCP-DM saving duplicate entries for items in the directory that were already in the database. In this case, HCP-DM tries to copy or delete the objects represented by the duplicate entries more than once. This behavior has the following effects:

For copy operations, if the destination namespace does not support


versioning this behavior can lead to 409 (Conflict) errors. If the namespace supports versioning, it can result in the destination having two identical versions of objects.

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

Using HCP-DM effectively Using HCP Data Migrator

HCP-DM best practices

Storing custom metadata XML


Saving custom metadata may fail with an HTTP 400 (Bad Request) error in either of these cases:

The XML has a large number of different elements and attributes.


In this case, try restructuring the XML to have fewer different elements and attributes. For example, try concatenating multiple element values, such as the different parts of an address, to create a new value for a single element. If you cannot restructure the XML to prevent failures, ask your namespace administrator about reconfiguring the namespace to prevent HCP from checking that custom metadata XML is well-formed.

A number of clients try to store custom metadata for multiple objects at


the same time. In this case, limit the number of concurrent requests from clients to the namespace by reducing the load settings.

HCP-DM best practices


The following best practices can improve HCP-DM performance and help reduce errors:

Break very large jobs into smaller jobs. for more information, see
Database performance management on page 9-7.

Delete completed saved jobs. For more information, see Database


size management on page 9-7.

Do not copy objects to or from a namespace by mounting the


namespace or configuring it as a CIFS directory and then specifying the local file system as the source or destination. Instead, create a namespace profile and use it. This method is much more efficient.

Avoid pausing jobs. For more information, see Errors when resuming
jobs on page 9-8.

Under some circumstances, HCP-DM performance with 1KB objects can


be best at about 30 operations per node. If your jobs contain mostly small objects, consider increasing the maximum operations per node setting above the default value of 20.

Using HCP-DM effectively Using HCP Data Migrator

99

Additional HCP-DM considerations

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.

Changing the namespace configuration while a job is running can have


unexpected consequences. If you disable versioning while a job is running, for example, HCP-DM will get HTTP 400 (Bad Request) errors for all directories it parses after the change. As a general rule, avoid changing the HCP or namespaces configuration while a job is running, paused, or otherwise incomplete.

Additional HCP-DM considerations


The following topics describe additional considerations for limiting HCP-DM errors and improving the programs efficiency. They also describe specific behaviors and ways you can respond to them. Copying objects with colons in the filename to Windows If characters in an object name are invalid in Windows filenames, HCP-DM will not copy the object to Windows. However, HCP-DM does copy objects that contain colon characters in their names, even though the character has a special meaning in the Windows NTFS file system. Any files with colons in the names that HCP-DM copies to an NTFS file system will have non-standard behavior. Using an object named x:y as an example, you will get the following behavior:

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

Using HCP-DM effectively Using HCP Data Migrator

Additional HCP-DM considerations

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.

Using HCP-DM effectively Using HCP Data Migrator

911

Additional HCP-DM considerations

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

Using HCP-DM effectively Using HCP Data Migrator

Installing HCP Data Migrator


HCP Data Migrator runs on both Windows and Unix clients. This chapter contains instructions for installing the utility in both environments. It also describes the system requirements for running HCP-DM.

Appendix1
Using HCP Data Migrator

HCP-DM system requirements

HCP-DM system requirements


HCP-DM runs on any Windows or Unix client that supports the Oracle Java Runtime Environment (JRE) version 6 or later. Before running HCP-DM, ensure that you have a suitable version of the JRE installed on the client. You can download and install the JRE from:
http://java.com/en/download/index.jsp

The computer that runs HCP-DM must meet these minimum requirements:

1.6 Ghz processor 2 Gb RAM 100 Mbps Ethernet card


Windows clients should have the most recent applicable Microsoft Windows Service Pack installed.

HCP-DM file locations


The HCP-DM program files are installed in a directory named hcpdm, which is created during the installation process. HCP-DM stores user-specific files, including namespace profiles and saved jobs, in:

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

Installing HCP Data Migrator Using HCP Data Migrator

Before installing HCP-DM

Before installing HCP-DM


Before you install or update HCP-DM:

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.

If a version of HCP-DM earlier than release 4.1 is already present on


the client, delete the .hds/hcp-dm directory.

Obtain and save the HCP-DM installation file from your system
administrator. The HCP-DM installation file is:

For Windows, either hcpdm.exe or hcpdm.zip For Unix, hcpdm.tgz

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.

Installing HCP-DM on a Windows client


To install HCP-DM on a Windows client, you use either the EXE or ZIP installation file.

Using the EXE file


To use the EXE file to install HCP-DM, do one of these:

In Windows Explorer, double-click on the installation file.


A Command Prompt window opens.

From the Windows Start menu, select Run. Then run the installation file
from the Run window. A Command Prompt window opens.

Installing HCP Data Migrator Using HCP Data Migrator

Appendix-3

Installing HCP-DM on a Unix client

In a Windows Command Prompt window, enter the name of the


installation file. The installer runs in the Command Prompt window and installs HCP-DM. If you started the installer from Windows Explorer or the Run window, the Command Prompt window closes automatically when the installation is complete.

Using the ZIP file


To use the ZIP file to install HCP-DM, unpack the installation file into the directory of your choice. Be sure to keep the directory paths that are in the ZIP file.

Installing HCP-DM on a Unix client


To install HCP-DM on a Unix client, use this command to unpack the installation file:
tar zxf hcpdm-version.tgz

Appendix-4

Installing HCP Data Migrator Using HCP Data Migrator

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

data access account

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).

data protection level (DPL)


The number of copies of an object HCP must maintain in the repository. Each namespace has its own DPL setting that applies to all objects in that namespace.

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.

domain name system (DNS)


A network service that resolves domain names into IP addresses for client access.

DPL
See data protection level (DPL).

Glossary2
Using HCP Data Migrator

Hitachi Content Archive Platform (HCAP)

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 Data Migrator (HCP-DM)


An HCP utility that can transfer data from one location to another and delete data from a location. Each location can be a local file system, an HCP namespace, a default namespace, or an HCAP 2.x archive.

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.

Hitachi Content Archive Platform (HCAP)


The predecessor to Hitachi Content Platform.

Glossary3
Using HCP Data Migrator

Hitachi Content Platform (HCP)

Hitachi Content Platform (HCP)


A distributed object-based storage system designed to support large, growing repositories of fixed-content data. HCP provides a single scalable environment that can be used for archiving, business continuity, content depots, disaster recovery, e-discovery, and other services. With its support for multitenancy, HCP securely segregates data among various constituents in a shared infrastructure. Clients can use a variety of industry-standard protocols and various HCP-specific interfaces to access and manipulate objects in an HCP repository.

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 access authentication


The process of checking the credentials presented by users and applications when they try to access an HCP namespace.

namespace access protocol


A protocol that can be used to transfer data to and from namespaces in an HCP system.

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

custom metadata, specifying


specifying 5-115-12 viewing 5-85-11 viewing object XML 5-11 copying custom metadata 9-11 DNS and HCP-DM failures 9-11 exported job results field 6-12 failed jobs 7-6 HCP-DM unexpectedly stopped 7-6 invalid JRE version 9-12 invalid XML 9-11 jobs database 9-8 log file 4-14 messages for database 9-8 overall job 6-2 recovering using exported job results 7-8 when resuming jobs 9-8 when storing custom metadata 9-9 Windows file names with colons 9-10 examples hcpdm copy command 8-118-12 hcpdm delete command 8-18 hcpdm job command 8-19 hcpdm profile command 8-23 exit status codes, hcpdm command 8-38-4 Export Results Job Details window button 6-7 exported job results files about 7-5 error field 6-12 failed copies list 6-12 importing 7-87-10 job list 6-12 saved files 6-12 saving 6-126-13 succeeded operations 6-12 using 7-87-10 exported job results, about 2-7 exported jobs, running 7-87-10 exporting job results 6-7, 6-126-13

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

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

S-ar putea să vă placă și