Professional Documents
Culture Documents
TCI2743 Lab Guide v2-0 PDF
TCI2743 Lab Guide v2-0 PDF
TCI2743
Hitachi Vantara
Corporate Headquarters Regional Contact Information
2845 Lafayette Street Americas: +1 866 374 5822 or info@hitachivantara.com
Santa Clara, CA 95050-2639 USA Europe, Middle East and Africa: +44 (0) 1753 618000 or info.emea@hitachivantara.com
www.HitachiVantara.com | community.HitachiVantara.com Asia Pacific: +852 3189 7900 or info.marketing.apac@hitachivantara.com
© Hitachi Vantara Corporation 2018. All rights reserved. HITACHI is a trademark or registered trademark of Hitachi, Ltd., All other trademarks, service marks and
company names are properties of their respective owners.
L-ii
Lab 1: HCP Configuration and Documentation
Objective
In this lab, you will identify Hitachi Content Platform (HCP) configuration and locate appropriate
documentation
Activities
• Identify HCP configuration
Resources
• Assembling and Configuring HCP G10 with Local Storage
• Assembling and Configuring HCP with Attached Storage
1-1
Lab 1: HCP Configuration and Documentation
End of Lab 1.
1-2
Lab 2: DNS Integration
Objective
In this lab, you will validate the integration of the Hitachi Content Platform (HCP) in the existing DNS
environment.
Activities
• Verify availability of HCP System Management Console GUI via IP address
• Verify availability of HCP System Management Console GUI via DNS name
Resources
• Administering HCP
2-1
Lab 2: DNS Integration
Verify Availability of HCP System Management Console GUI via DNS Name
Now you will learn to verify availability of HCP system management console GUI via DNS name.
Note the admin. preceding the HCP Cluster FQDN – required for proper name resolution
End of Lab 2.
2-2
Lab 3: First Login, User Accounts, VLAN Management and
Active Directory Setup
Objective
In this lab, you will use the default starter account and create other management accounts in HCP
System Management Console. You should be able to exchange SSL certificates as well.
Activities
• Login HCP system
• Create new management accounts
• Check system status as Monitor account
• Check DNS and IP settings as Service account
• Enable hidden master and notification to DNS server
• Enable performance optimization for cloud access
• Integrate HCP with Active Directory
Resources
• Administering HCP
Important: If you use Mozilla Firefox as Browser, then to open the HCP System Management Console of a
HCP v7.2 in Mozilla Firefox, it´s possible that you may need to Refresh Firefox – Help -> Troubleshooting
Information -> Refresh Firefox button.
3-1
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
3-2
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
o Username: monitor
o Full Name: monitor
o Roles: monitor
o Authentication: Local
o Password: hds123
o Description: monitoring account
o Enable account
4. Click on Create User Account button. If you see the green bar with “Successfully created user
account,” your account has been created and you can see it in list of accounts.
Note: The Authorization Token displayed may be highlighted, copy/paste it into an editor window in
the assigned Management Server.
3-3
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
o __________________________________________________________
o __________________________________________________________
o __________________________________________________________
o __________________________________________________________
o __________________________________________________________
5. What are back end, private, IP addresses?
o __________________________________________________________
o __________________________________________________________
o __________________________________________________________
o __________________________________________________________
6. What is the Cluster Domain name? ______________________________________
3-4
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
3-5
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
3-6
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
3-7
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
11. Click Add Groups and then log out. You should see log in screen with Active Directory option
now.
12. You can now select your domain and log in using Active Directory credentials.
13. Similarly, you can set up Tenant Access and Data Access.
3-8
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
14. In Active Directory Users and Computers, check Computers folder. HCP by default is added as
OU=Computers:
End of Lab 3.
3-9
Lab 3: First Login, User Accounts, VLAN Management and Active Directory Setup
3-10
Lab 4: SMC Storage Configuration
Objective
In this lab, you will use System Management Console to add and configure Storage Components, Storage
Pools and Service plans. You will also learn how to add Hitachi Content Platform (HCP) S10 or HCP S30
node to an HCP cluster and how to manage it.
Activities
• Review existing storage configuration and add external NFS storage
• Create new storage pool
• Create new service plan
• Review remaining options for external storage
Resources
• Administering HCP
Important: Once you learn to manage the storage configurations, you can create complex tiering policies
and tier to S3 compatible storage and NFS storage. This knowledge will be useful when designing hybrid
cloud storage configurations.
4-1
Lab 4: SMC Storage Configuration
6. Which Storage Components can we add? Make sure you are familiar with all options. If you do
not know which storage component to add, ask the instructor for clarification.
7. Select NFS option as a new storage component and click Go, this will start Storage Component
Addition wizard.
4-2
Lab 4: SMC Storage Configuration
8. In the wizard, first you need to specify component name and, optionally, its description. Type
“NFS_X external storage” as a name. Replace “X” with your lab group number. As description,
you should type name of device that is providing NFS storage and its serial number. In our
exercise, type “Third-party NFS Storage”. Click Next.
9. Now you are supposed to specify Hostname or IP Address of external storage. Use the details
from your lab setup sheet, for example: 172.25.9.9.
10. At this point, you need to specify whether the storage component you are about to add is or is
not a compliant storage. What impact this setting will have? Ask the instructor or search the
documentation:
______________________________________________________________________________
___________________________________________________________________________
15. In Storage/Components navigate to newly added NFS storage. Go through all tabs: Overview,
Settings, Mount Points, Manage.
16. What actions you can take in Manage tab?
____________________________________________
4-3
Lab 4: SMC Storage Configuration
9. Go to Storage>Pools and see the newly added pool. Make yourself familiar with all the tabs.
4-4
Lab 4: SMC Storage Configuration
2. Supply the Service Plan name and Description: Tier_to_NFS / Tier to NFS, DPL1.
3. In the following step, you can import settings from other existing Service Plan. Currently, there is
only one option “Default”, select “Default” and click Next.
4. Review configuration and click Finish.
4. Now you can configure storage tiering policy. In Transition you can specify time after which
objects are moved to new tier and primary storage utilization threshold. Specify 1 day and 1%.
Click Next.
4-5
Lab 4: SMC Storage Configuration
5. In the next step, you can enable data rehydration and determine for how long you wish to keep
data rehydrated on the primary storage. You can also Enable metadata-only configuration.
6. Select “Enable rehydration” and type “7 days”.
7. What will the data rehydration do?
______________________________________________________________________________
______________________________________________________________________________
______
8. Click Next.
9. In this step you can configure Storage Pools. Select “NFS Storage Pool_X”.
4-6
Lab 4: SMC Storage Configuration
4-7
Lab 4: SMC Storage Configuration
4-8
Lab 4: SMC Storage Configuration
4-9
Lab 4: SMC Storage Configuration
7. Select S Series pool as ingest device for data. Metadata will always remain on Primary.
8. Confirm and finish the wizard. The service plan is now ready to be applied to a namespace.
End of Lab 4.
4-10
Lab 5: Creating Tenants, Tenant User Accounts and
Namespaces
Objective
In this lab, you will create and manage tenants, namespaces and data access accounts. Learner should
be able to set up the permission mask and download the chargeback reports.
Activities
• Create tenants using System Management Console
• Change tenant settings using System Management Console
• Create tenant user accounts using Tenant Management Console
• Create and configure namespaces using Tenant Management Console
• Change Namespace Settings using Tenant Management Console
• Create and setup data access permissions using Tenant Management Console
• Check the Permission Mask settings
Resources
• Administering HCP
• Managing a Tenant and Its Namespaces
5-1
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
5-2
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
o Username: legal
o Authentication: local
o Password: password123
o Management network: hcp_system
o Data network: Data_VLAN (if no VLAN created, hcp_system)
o Enable these features:
o Replication – Selected Namespaces
o Retention mode selection
o Service Plan Selection
5. Click on the Create Tenant button. If you can see the green stripe reading “Successfully created
tenant LegalX,” your tenant was created, and you can see it in the list of tenants.
5-3
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
3. On the Tenant Management Console login screen, the tenant has “built-in” user account defined
during tenant creation. Use tenant credentials and login (username: marketing, password:
password123).
4. Because the “built-in” tenant account password was set up by the HCP System admin, the
Tenant admin is forced to change it. Please change the password to your common lab password
(hds123). If you can see the green stripe, the password was changed.
5. Your “built-in” tenant account has security role access; therefore, you can only see a few menu
items. To add more roles, drag your cursor over the Security menu and click on Users. This
brings up a list of your tenant accounts.
6. Click on the marketing user account and add another role (monitor, administrator, compliance).
Then, click the Update User Account button.
7. If you can see the green stripe, click the Close button and close the window. You can observe
more menu items now.
5-4
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
5-5
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
5-6
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
7. Why were you unable to set up Retention Mode settings when you were creating the corporate
namespace?
__________________________________________________________________________
8. Click the Create Namespace button.
9. What is the retention mode of the marketing namespace, in this case?
__________________________________________________________________________
10. Logout of the MarketingX tenant.
11. Log into LegalX tenant as legal.
12. Click on the Namespaces menu item.
13. Click Create Namespace.
14. Create namespace Archive with these settings:
5-7
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
Note: Do not forget to confirm every change by clicking the Update Settings button.
o Can you change the Hash settings?
________________________________________________________________________
o What is the retention mode of the Corporate namespace?
________________________________________________________________________
o Can you change the retention mode of the Corporate namespace? Why?
________________________________________________________________________
o What is the DPL setting of the corporate namespace? Can you change it?
________________________________________________________________________
o What Protocols are enabled?
________________________________________________________________________
o Can you enable CIFS, NFS or SMTP?
________________________________________________________________________
Why?
________________________________________________________________________
11. By clicking on icon , go back into the HCP System Management Console.
12. Click on Tenants menu item.
13. Enter the LegalX tenant as legal.
14. Can you access LegalX tenant without login? Why? _________________________________
15. Click on Namespaces menu item.
16. Decrease the size of the Archive namespace to 40GB.
17. Explore all namespace settings and enable shredding, disposition and set the default retention
settings to special value initially unspecified.
Note: Do not forget to confirm every change by clicking on Update settings button.
o What is retention mode of Archive namespace?
________________________________________________________________________
___________________________________
o Can you change retention mode of Archive namespace?
___________________________
o Why?
____________________________________________________________________
o What protocols of Archive namespace are enabled by default?
_______________________________________________________________________
5-8
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
Create and Setup Data Access Permissions Using Tenant Management Console
You will setup the namespace data access permissions for a tenant user account.
5-9
Lab 5: Creating Tenants, Tenant User Accounts and Namespaces
3. Check the System Permission Mask settings. Do not change anything! These permissions will
impact all tenants.
4. Check the Tenant permission mask settings. Enter the MarketingX tenant as marketing.
5. You can see MarketingX tenant permission mask settings in the right upper corner of the
overview screen. If you click on the Edit button, you change these tenant permission settings.
However, do not change anything! These permissions will impact all namespaces in the
MarketingX tenant, NOT in the LegalX tenant.
6. Check Corporate namespace permissions. Click on Namespaces menu item and expand
Corporate namespace settings.
7. You can see Corporate namespace permission mask settings in the upper right corner of the
overview screen. If you click on the Edit button, you change these namespace permission
settings.
However, do not change anything! These permissions will impact just this namespace, not
others.
8. Log out of the tenant and close web browser.
End of Lab 5.
5-10
Lab 6: Ingest, Archive and Access Objects via All Ways
Objective
In this lab, you will ingest, archive and access Hitachi Content Platform (HCP) objects through
Namespace Browser, REST, CIFS and HCP-DM.
Activities
• Archive and access files using Namespace Browser
• Use REST API to archive and access files
• Enable CIFS protocol for archive namespace
• Map data and metadata directories of archive namespace
• Copy file and check retention setting
• Download DM tool
• Create a Namespace Profile for HCP Tenant
• Copy Files from Management Server to Namespace
• Use DragonDisk Freeware Utility to Ingest Data into HCP via HS3 API (Optional)
• Enable MAPI in System Management Console
Resources
• Administering HCP
• Managing a Tenant and Its Namespaces
• Using a Namespace
6-1
Lab 6: Ingest, Archive and Access Objects via All Ways
3. Log in to the Corporate namespace as corporate (the data access account you configured in a
previous lab). In case you get the warning “Forbidden” simply log out and log in as corporate.
(this can happen if you try to access NS browser from tenant when logged in with a user account
that has no data access permissions.
4. Now you can see the content of your Corporate namespace, which is currently empty. Create a
new folder named “viaWEB” by using the Create button in the upper right corner of the screen.
5. Enter the viaWEB folder.
6. You will upload several files here now. Files for upload are prepared in Desktop\Tools\ folder in
your server. Click on the Upload Object tab in upper right corner. Then, use the Browse and
Upload buttons and upload 3 files one-by-one.
6-2
Lab 6: Ingest, Archive and Access Objects via All Ways
cd C:/Tools/curl/bin
3. Ingest a file from C:/Tools/Data to namespace Corporate without any additional settings. The
syntax is: curl -iT path to the archiving file -k -b hcp-ns-auth=base64username:MD5password
path to the namespace folder. For example:
curl -iT c:\Tools\Data\hcp.pdf -k -b hcp-ns-auth=Y29ycG9yYXRl:
db0f7525402339a9a555a7f043202132
https://corporate.marketing1.data.training1.local/rest/viaREST/hcp.pdf
4. Use the Corporate Namespace Browser and check if the hcp.pdf file was archived correctly.
5. Use CURL to ingest another file with retention enabled for five days. This can be achieved by
adding ?retention=A+5d at the end of the string, for example:
6-3
Lab 6: Ingest, Archive and Access Objects via All Ways
8. Enabling anonymous access requires you to set up the permissions for this kind of access. Enable
(check) all permissions (Browse, Read, Write, Delete, Purge) for anonymous.
9. Click the Update Settings button.
10. On what conditions you can use authenticated access with CIFS?
___________________________
11. Try to enable CIFS protocol also for Corporate namespace in Marketing tenant.
12. Is that possible?
___________________________________________________________________
13. Why?
____________________________________________________________________________
14. Log out of the LegalX tenant.
6-4
Lab 6: Ingest, Archive and Access Objects via All Ways
o Drive: P:
o Folder: \\archive.legalX.data.trainingX.local\LegalX_Archive\data
(where X is your lab number)
4. Click Finish.
5. Click the Tools menu item and select Map Network Drive.
6. Setup these settings:
• Drive: R:
• Folder: \\archive.legalX.data.trainingX.local\LegalX_Archive\metadata
(where X is your lab number)
7. Click Finish.
6-5
Lab 6: Ingest, Archive and Access Objects via All Ways
o ________________________________________________________________________
o ________________________________________________________________________
9. Open the retention text file again. Notice the text changed.
10. How it is possible we could modify the retention setting?
______________________________________________________________________________
This should explain how we can change/modify retention setting for objects:
11. Can we change retention settings for existing objects using the GUI?
______________________________________________________________________________
12. How can we change retention settings for existing objects?
_________________________________
13. Close Windows Explorer.
Download DM Tool
Next, you will perform steps to download the DM tool.
1. Open web browser.
2. Log into any tenant (for example, MarketingX).
3. Click on the download icon in top right corner and select HCP-DM (windows installer).
4. Save it on your server desktop as hcpdm.exe.
5. Log out of the tenant console and close the web browser.
6. Start hcpdm.exe. It will extract the HCP-DM files on your desktop into HCPDM folder.
7. Enter HCPDM\bin. There is migrator.bat file; try to execute this file.
8. Verify that Java is installed. Installation files are on the Share folder, if needed.
9. Execute migrator.bat – the GUI will start
6-6
Lab 6: Ingest, Archive and Access Objects via All Ways
4. Keep Connect by domain name settings and specify the Domain name which is the HCP DNS
name. For example, data.training1.local. Click Next.
5. Fill in these settings:
o Tenant: MarketingX
o Namespace: corporate
o Data Access username: corporate
o Data Access password: hds123
6. Click Next.
7. Click Test and test the connection.
8. Click Confirm Security Exception button.
9. If the test finished successfully, click Finish.
10. In same way, create the namespace profile: hcpX-legalX-archives.
11. Once you have finished, close the Namespace Profile Manager window by clicking Close.
Use DragonDisk Freeware Utility to Ingest Data into HCP via HS3 API (Optional)
In this activity, you will use the DragonDisk freeware utility to ingest data into HCP via HS3 API.
1. Open the Tools folder on your Windows Server. Locate the DragonDisk installation file and
install the software.
6-7
Lab 6: Ingest, Archive and Access Objects via All Ways
2. DragonDisk is one of many 3rd party software products that can connect to S3 compatible cloud
storage services. DragonDisk is a freeware utility that can connect Amazon S3 storage cloud or
Google Cloud Storage. Because HCP 6.x now offers S3 compatible API, DragonDisk works with
HCP without the need for any modifications.
3. First, it is necessary to configure HCP to support data ingestion via S3 API.
4. To connect to the S3 compatible client, you need to enable MAPI on the System level and on the
Tenant level.
5. Log in to the system the management console with an account that has the Security role. In the
Security panel, select MAPI.
oUser account used to access HCP via HS3 must have “Allow namespace management”
permission active.
o Go to Security panel and select Users.
o Select Corporate user account.
o Enable “Allow namespace management.”
5. Set “Namespace Defaults.” S3 compatible cloud storages are using so-called “Buckets” that are
equivalent to HCP Namespaces. Whenever the S3 API compatible client creates a new Bucket,
HCP will create a new Namespace with configuration taken from Namespace Defaults.
6-8
Lab 6: Ingest, Archive and Access Objects via All Ways
Similarly, you can use other S3 API clients. Cyber Duck S3 Client is very popular. If you are interested,
you can try to set it install it and configure it.
End of Lab 6.
6-9
Lab 6: Ingest, Archive and Access Objects via All Ways
6-10
Lab 7: Search With Metadata Query Engine
Objective
In this lab, you will search Hitachi Content Platform with the Metadata Query Engine (MQE).
Activities
• Enable and configure MQE service
• Locate and display specific objects using MQE Console
Resources
• Administering HCP
7-1
Lab 7: Search With Metadata Query Engine
7-2
Lab 7: Search With Metadata Query Engine
Note – this is now out on the Web in public domain – the web site
https://sourceforge.net/projects/hcpmetadataquer/ contains the download button for the latest
stable version.
End of Lab 7.
7-3
Lab 7: Search With Metadata Query Engine
7-4
Lab 8: Replication
Objective
In this lab, you will to set up and manage HCP replication links.
Activities
• Download installed SSL server certificate
• Upload downloaded SSL server certificate
• Create a replication link
• Add tenants to link
• Monitor the replication process
• Set geo protection using Geo EC
Resources
• Administering HCP
• Replicating Tenants and Namespaces
8-1
Lab 8: Replication
8-2
Lab 8: Replication
8-3
Lab 8: Replication
8-4
Lab 8: Replication
3. Check the schedule and set up normal replication priority for Mon-Fri and high replication
priority for Sat-Sun.
There is a “Schedule Override” option. What does it do?
__________________________________________________________________________________
________________________________________________________________________________
8-5
Lab 8: Replication
5. Change the settings to 7 minutes and enable Automatic Failover (lower values are not accepted).
6. If your implementation uses load balancers you do not need to worry about Failovers.
7. How can you delete the link?
8. Can you recreate an active-active link once you delete it (do not try)?
______________________________________________________________________________
9. Can you recreate an active-passive link once you delete it?
_________________________________
8-6
Lab 8: Replication
11. DNS Failover should be used in implementations that don’t use load balancers. DNS Failover
should be always used in active-passive implementations.
The advantage of an active-active configuration is that both primary system and replica are R/W.
1. Try to access a namespace on replica. Use the namespace browser. Try to write data to remote
tenants.
2. Go to Marketing Tenant Management Console.
3. Go to Namespaces>Corporate>Services>Replication.
4. Explore replication settings.
5. Explore Replication Verification Service and enable it.
6. Check logs for non-replicated objects.
7. Why we should always enable “Read from remote system” and “Accept requests redirected
from other systems in the replication topology”?
___________________________________________
8. Explore Collision Handling options. How collisions handled in implementations that use
versioning? ____________________________________________________________________
A > B
B > C
C > A
No Tenant has been configured to use the Replication Links, yet.
8-7
Lab 8: Replication
3. Create Tenant s3 on the first Cluster with Replication enabled and Erasure Coding set to
Selected namespaces.
4. Create Namespace one in Tenant s3 with Replication and Erasure Coding enabled.
Note that the Namespace does not yet contain any objects.
5. Login to the System Management Console of the same cluster.
6. Navigate to Services -> Geo-distributed EC and click the Create Erasure Coding Topology button
7. On the next pop-up window, enter a name and description for the topology
8. On the next pop-up, the topology is to be selected, along with the participating HCP systems:
9. The Link Selection pop-up allows to select the replication links to use, and since there are no
options, select Next.
10. On the Settings Selection pop-up, keep the default Chunk Distribution, change the Minimum
Object dropdown to 16KB, and leave the Delay and Restore Period at 0
Note that in a production environment these values would depend on operational requirements.
11. Review the settings on the Review page, and if applicable clk Finish to create the topology.
12. Result – as soon as the Topology is created, we will see the Topology Status, and are prompted
to add a Tenant to the configuration – scroll down and select the checkmark next to the s3
Tenant previously created.
13. Opening the page on the other HCP Clusters in the topology will indicate the Tenant and
Namespace are replicated, and the Namespace Browser on any of the HCP Clusters may be used
to ingest some objects, or any other ingestion method may be used. Verify the objects are
replicated by visiting the other Namespaces.
End of Lab 8.
8-8
Lab 9: Monitor and Logs
Objective
In this lab, you will enable and set up the Syslog server, SNMP environment and download internal HCP
logs.
Activities
• Enable and configure Syslog server
• Enable and configure SNMP
• Enable and configure Email Alerts
• Download node logs
• Download Chargeback Reports
• Check Performance Monitor
Resources
• Administering HCP
9-1
Lab 9: Monitor and Logs
Note: The last thing you would do in a real environment is specify the IP address of the customer or
your syslog server. You do not have a syslog server in this lab, therefore you will not set up this IP
address.
8. Click the Update Settings.
9. Drag your cursor over Monitoring menu and click on System Events.
10. Check if you can see the logs about syslog changed configuration.
9-2
Lab 9: Monitor and Logs
Note: The last thing you would do in a real environment is specify the IP address of the customer or
your SNMP manager, where the traps (SOS messages) will be sent. You do not have SNMP manager
in this, so you will not set up these IP address.
9. Click Update Settings.
10. SNMP manager requires the HCP MIB definition file. Download this MIB file from this screen and
save it to the desktop of your server.
11. Go back to System Events.
12. Check whether you can see the logs on SNMP changed configuration.
13. How many logs about SNMP are there? ____________________________________________
14. What is the Event ID of these messages? ___________________________________________
9-3
Lab 9: Monitor and Logs
9-4
Lab 9: Monitor and Logs
Questions
9-5
Lab 9: Monitor and Logs
End of Lab 9.
End of Labs
9-6