Hitachi Data Ingestor To Cloud Onramp
Hitachi Data Ingestor To Cloud Onramp
Hitachi Data Ingestor To Cloud Onramp
MK-93MNGSV003-00
2011-2013 Hitachi, Ltd. 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, Ltd. Hitachi, Ltd., 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 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 might not be currently available. Refer to the most recent product announcement for information about feature and product availability, or contact Hitachi Data Systems Corporation at https://portal.hds.com. Notice: Hitachi, Ltd., products and services can be ordered only under the terms and conditions of the applicable Hitachi Data Systems Corporation agreements. The use of Hitachi, Ltd., products is governed by the terms of your agreements with Hitachi Data Systems Corporation. 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 in this document or website are properties of their respective owners.
HCS-CA On-Ramps Guide for HDI October 2013 Hitachi Data Systems
Page ii
Document created by GSS FCS Services Engineering First review draft First RC version
Contact
Hitachi Data Systems 2845 Lafayette Street Santa Clara, California 95050-2627 https://portal.hds.com North America: 1-800-446-0744
HCS-CA On-Ramps Guide for HDI October 2013 Hitachi Data Systems
Page iii
Table of Contents
Introduction ................................................................................................................................................. 1 Overview ...................................................................................................................................................... 2 Contacting Hitachi Data Systems Support ............................................................................................ 2 Accessing the Hitachi Cloud Service Through On-Ramps ..................................................................... 2 Constructing the Namespace URL Access Point.................................................................................. 3 Accessing a Replicated Namespace on the Secondary Datacenter .................................................... 4 MAPI Support and Workarounds ............................................................................................................... 4 MAPI Workaround: Adding Quotas ....................................................................................................... 4 MAPI Workaround: Editing the File System .......................................................................................... 4 MAPI Workaround: Expanding the File System .................................................................................... 5 Configuring Hitachi Data Ingestor for HCS-CA ........................................................................................ 6 HDI Migration to HCS-CA Overview ..................................................................................................... 6 Configuring the Tenant .......................................................................................................................... 6 Creating the File System ....................................................................................................................... 7 Configuring Migration to HCS-CA ......................................................................................................... 8 Configuring a Migration Policy ............................................................................................................ 12 Specifying the Stub Threshold ............................................................................................................ 14 Monitoring Namespace Hard Quotas .................................................................................................. 15 Monitoring Tenant Hard Quotas .......................................................................................................... 15 Setting Up Quota Information.............................................................................................................. 16 Recovering From Exceeding a Storage Quota Limit........................................................................... 17 Backing Up the HDI Configuration ...................................................................................................... 19
HCS-CA On-Ramps Guide for HDI October 2013 Hitachi Data Systems
Introduction
Hitachi Cloud Service for Content Archiving (HCS-CA) is an enterprise-level public and enterprise-to-cloud data storage solution offered by Hitachi Data Systems (HDS). HDS maintains your data remotely and securely using our hardware, software, and personnel, while you retain easy access to your data, regardless of location. HDS fully-managed cloud services include steps to: Provide an object storage solution that enables you to store, share, protect, preserve, analyze and retrieve file data from an enterprise-level cloud platform Move content from primary stores on-site into off-site cloud storage Store copies of files remotely in a secure facility, reducing backup Monitor consumption and availability Allow versioning on cloud-stored files
The following figure illustrates the seamless integration of Hitachi Cloud Service for Content Archiving with three of the most common types of cloud on-ramps.
Page 1
Although the process for configuring these on-ramps is generally straightforward, it is different for each type of archiving application. This guide covers several of the more common on-ramp applications likely to make use of HCS-CA.
Overview
Existing local file systems may have many large files that are accessed infrequently. These are good candidates for migration to the cloud. We refer to the creation and configuration of these cloud migration paths, which differ depending on the source system or archite cture, as onramps.
Additional details you will need to know include: The tenant name for the HCS-CA subscription The Namespace name The name of the archive destination directory in the Namespace The content location for your HCS-CA subscription, which will vary depending on which Hitachi datacenter you chose to host your account
You can use the HCS-CA administrative interface at https://console.cloud.hds.com to collect the information for any given Namespace. The data access user login and password is found through the user list on the Data Access Users page, under the Content Archive tab. Note: Currently, there is no Namespace browser available, so you will need to collect this information manually. For more information, see the Hitachi Cloud Service for Content Archiving Users Guide.
Page 2
The designations az1 or nj1 indicate whether the content location is at our Arizona or New Jersey datacenter. In addition, these are SSL encrypted connections, so the prefix https:// is used. Note: When additional Hitachi data centers are added and made available, new content location URLs will become available for each one. Therefore, a complete URL looks like this: https://namespace.tenant.content.us-az1.cloud.hds.com/rest or https://namespace.tenant.content.us-nj1.cloud.hds.com/rest For example, with a tenant named BindersBooks, a Namespace named sjalpha1, and using the Hitachi New Jersey datacenter as the primary site, the constructed URL for the first Namespace created would be: https://sjalpha1.BindersBooks.content.us-nj1.cloud.hds.com/rest And for the subsequent Namespaces, the URLs would be: https://sjbetanamespace2.BindersBooks.content.us-nj1.cloud.hds.com/rest https://sjgammnamespace3.BindersBooks.content.us-nj1.cloud.hds.com/rest The data access user credentials for accessing a particular would be: Username for the data access user The data access users password
Note: With a replicated site HCS-CA subscription, in general you should direct your on-ramp requests to your primary hosted site. If there is any problem accessing the primary site, HCS-CA automatically retrieves data from the secondary replication site instead.
HCS-CA On-Ramps Guide for HDI October 2013 Hitachi Data Systems Page 3
[-R {allow|deny}]] [-L {allow|deny}] [--hcp-replica-host host-name] [[--hcp-account user-name] --hcp-password password] [--versioning {use|do_not_use}] [--period-to-hold period] [--compaction use] [-y]
fsedit -h
service@node-0:~$ sudo lulist Device files for use: /dev/enas/lu00 SAS7K 2048.000GB /dev/enas/lu01 SAS7K 2048.000GB /dev/enas/lu02 SAS7K 500.000GB /dev/enas/lu05 SAS7K 100.000GB <-- created/mapped with SNM2
service@node-0:~$ sudo fsexpand cifs1 lu05 HCS-CA On-Ramps Guide for HDI October 2013 Hitachi Data Systems Page 5
service@node-0:~$ sudo fslist List of File Systems: The number of file systems(1) File system(used by) : cifs1 <-- was 200G
Total disk capacity(GB) : 300.000 Device status Device files Block used(GB) Block free(GB) I-node used I-node free Volume manager Mount status Quota : normal : lu03 lu05 : 39.956 : 259.883 : 35029 : 314472235 : use : rw : on
Page 6
service@node-0:~$ sudo archcpset --host content.us-ca1.cloud.hds.com -tenant hdi --user-name hdi --password HDI.Data
The specific steps are as follows: Navigate to Processing node (HDI1) > Node Name (node-0). Click the Create and Share File System button at the bottom of the page.
From the Create and Share File System page: Enter a share name. This will be used for the File System name. Deselect the Use Namespace checkbox. The Namespace will be configured during the migration set up. In the Capacity section, to limit the capacity of the LU to be used (optional), select File System LU Size and specify the capacity. Select the LU to be used to create the File System by clicking the Add File System LUs button. When finished, at the bottom of the page, click OK
Page 7
Check to make sure the settings are correct, then click the Confirm button at the bottom of the page.
Page 8
The next page displayed lists the steps and settings involved with creating the migration link. Click the Next button to continue.
Page 9
The Policy Name page displays. Enter a name for the policy. A description for the policy is optional. Click Next to continue.
Page 10
On the Source/Target page, use the drop-down list under File System Name to select the appropriate File System. Enter the HCS-CA service Namespace name in the section, Input the Migration Target.
Page 11
After you have set up the migration policy parameters, click Next. HDI uses a two step process for migrating data to HCS-CA: Step 1: Migrate all data meeting the conditions set in the configured migration policy. Step 2: Create stub files when the file system reaches its configured threshold, beginning with the oldest files first.
Use the drop-down lists to specify the rules to select the files. To add additional conditions, click the plus (+) button. To remove a condition, click the minus (-) button. To reset all the rules, click Reset. When satisfied with your rule set, click Next to continue. In the next step, create a schedule for running the migration policy.
Page 12
Click Next to review and confirm the policy. You can also enter an optional policy description at this point. When satisfied, click Confirm to continue.
Page 13
Figure 12. HDI Migration Wizard review and confirm migration policy.
When finished, the migration policy is added to the Task Management list as a scheduled item. You should verify it is correct.
Figure 13. HDI Task Management list showing scheduled migration tasks.
threshold value, HDI performs stub processing on files until the file system capacity is higher than the threshold amount again. Stub processing is performed on the oldest files first. The default stub threshold setting is 10%. Therefore, for example, a file system with a capacity of 200 GB would trigger the stubbing process whenever free space drops below 20 GB. To set the threshold, use the CLI command sudo arcreplimitset. The following example shows how to set the stub threshold to 20% for the file system cifs1.
service@node-0:~$ sudo arcreplimitset --rest-size 20% --file-system cifs1 service@node-0:~$ sudo arcreplimitget --file-system cifs1 Replication limit rest size : 20% service@node-0:~$
Note: If you are copying data to HDI and migrating data to the HCP at the same time, and the stubbing process begins, it can have an effect on CIFS access and result in network errors.
the Tenant hard quota can be in an oversubscribed state, but on the next incremental data migration, it will fail. For example, in the following illustration, the bar graph in the upper right shows the Tenant (hdi1) subscription of 200 GB has been exceeded by 41.97 GB.
Upon the next migration process, the status report indicates it failed. In the following illustration, it reports near the end that of the 641 files to be migrated, they all failed.
Page 16
Note: For more information on how to set quotas, see the Hitachi Data Ingestor Cluster Administrators Guide or the Hitachi Data Ingestor CLI Administrators Guide. Some additional guidelines: A CIFS client cannot view quota information from the Windows properties display. To do this, use the File Services Manager. A default quota cannot be set for a group.
To set the default quota use the command sudo quotaset. In the following example, the default soft quota is set to 180 GB and the hard quota to 190 GB.
service@node-0:~$ sudo quotaset -d -b 180g,190g cifs1 service@node-0:~$
A quota monitoring schedule also needs to be set. In the next example, the quota is monitored every six hours.
service@node-0:~$ sudo quotaset -m -s 01:00,06:00,13:00,19:00 cifs1 service@node-0:~$
The following illustration shows in the middle column a series of warning messages as the migrated data approached and then exceeded both the soft and hard quota limits. In the bottom
HCS-CA On-Ramps Guide for HDI October 2013 Hitachi Data Systems Page 17
left, orange line on the graph shows when this happened. The blue line shows how to the right of the graph, the quota was increased.
Page 18
To resolve this, you need to create a system-backup-data Namespace manually on the HCP, using the same username as the current Namespace. The following illustration shows one such example Namespace.
Page 19
Once this is done, you will be able to create or modify the backup schedule and transfer the system backup files to the Namespace.
Page 20
Hitachi Data Systems Corporate Headquarters 2845 Lafayette Street Santa Clara, California 95050-2639 U.S.A. www.hds.com Regional Contact Information Americas +1 408 970 1000 info@hds.com Europe, Middle East, and Africa +44 (0) 1753 618000 info.emea@hds.com Asia Pacific +852 3189 7900 hds.marketing.apac@hds.com
Page 21