TCI2511 Lab Guide Generic v1-1 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 34

Lab Guide for

Operating and Managing


Hitachi NAS Platform
Key Software Features

TCI2511
Lab Group: __

Courseware Version 1.1


This training course is based on microcode 11. 3.3434.xx

Corporate Headquarters Regional Contact Information


2825 Lafayette Street Americas: +1 408 970 1000 or info@HDS.com
Santa Clara, California 95050-2639 USA Europe, Middle East and Africa: +44 (0) 1753 618000 or info.emea@HDS.com
www.HDS.com Asia Pacific: +852 3189 7900 or hds.marketing.apac@HDS.com

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.
Notice: This document is for informational purposes only, and does not set forth any warranty, expressed or implied, concerning any equipment or service offered
or to be offered by Hitachi Data Systems Corporation.
© Hitachi Data Systems Corporation 2013. All Rights Reserved.

L-ii
Table of Contents

Activity ......................................................................................................................................... 1
1. File System and File Sharing ................................................................................................. 1
Overview ............................................................................................................................... 1
Activity – Log in to the Storage Server ...................................................................................... 2
Activity – Check or Create Storage Pools ................................................................................... 3
Activity – Check or Create Enterprise Virtual Servers (EVS) ......................................................... 4
Activity – Check or Create File Systems (FS) .............................................................................. 5
Activity – Join Active Directory and Create Shares ...................................................................... 6
Activity ......................................................................................................................................... 9
2. File System Dedupe ............................................................................................................. 9
Overview ............................................................................................................................... 9
Activity – Create and Use File Systems (FS) for Dedupe ............................................................ 10
Activity ....................................................................................................................................... 13
3. Access Protocols ................................................................................................................ 13
Overview ............................................................................................................................. 13
Activity – Mixed Mode Security Descriptor ............................................................................... 14
Activity – Cluster Name Space (Optional!) ............................................................................... 16
Activity –h iSCSI (Optional!)................................................................................................... 17
Activity ....................................................................................................................................... 21
4. File and Object Replication ................................................................................................. 21
Overview ............................................................................................................................. 21
Activity – File Replication ....................................................................................................... 22
Activity – Setup Object Replication ......................................................................................... 23
Activity – Promote Object Replication Target Site ..................................................................... 24
Activity ....................................................................................................................................... 25
5. HNAS Data Migration Features ............................................................................................ 25
Overview ............................................................................................................................. 25
Activity – HNAS Internal Data Migration .................................................................................. 26
Activity – HNAS Data Migration to a HCP (Optional!) ................................................................ 27

L-iii
Table of Contents

L-iv
Activity

1. File System and File Sharing


Overview
Objectives
Upon completion of this lab activity, you will be asked to check if all EVSs and file systems,
CIFS shares and NFS exports are available as guided.

Summary of Activity
After checking the configuration modify and create any remaining EVSs and file systems,
share out into a CIFS after joining Active Directory, and export into a NFS environment.

References
In addition to the Student Guide, several Hitachi reference manuals are available to assist
you in successfully completing the lab:
 Hitachi NAS Platform File Services Administration Guide
MK-92HNAS006-xx
 Hitachi NAS Platform Server and Cluster Administration Guide
MK-92HNAS010- xx
 Student Lab Layout Hitachi NAS Platform

1
Activity 1. File System and File Sharing
Activity – Log in to the Storage Server

Activity – Log in to the Storage Server


1. Login into your SMU to make sure you have access.

Lab group SMU IP Address Using SMU

Group _ _ ___.___.___.___ smu _ _ _ _

2. Also make sure you have CLI access from Putty and that your ssc files are present on
your WS.
3. Check if the HCS server is correctly configure and the storage servers are present.
4. Finalize any access issues and configuration tasks before you continue to check the
storage server configuration.

2
1. File System and File Sharing Activity
Activity – Check or Create Storage Pools

Activity – Check or Create Storage Pools


1. Using the standard documentation as reference, check or create Storage Pools as listed
in the table below.

LUN
Storage Pool LUN Assignment DP/RG# LUNs
Size

SP _ _-1 4 LUNs RAID 4 + 1 DP: _ _ _ __,__,__,__ 100GB

SP _ _-2 4 LUNs RAID 1 + 1 RG: _ , _ , _ , _ __,__,__,__ 268GB

MTSP _ _-1 2 LUNs RAID 1 + 1 RG: _ _ __,__ 50GB


Tier 0

MTSP _ _-1 4 LUNs RAID 4 + 1 DP: _ _ _ __,__,__,__ 100GB


Tier 1

3
Activity 1. File System and File Sharing
Activity – Check or Create Enterprise Virtual Servers (EVS)

Activity – Check or Create Enterprise Virtual Servers


(EVS)
1. Check 3 EVSs as listed in the table below are already configured.

Name: Running Node IP Addresses Type Port

EVS _ _-1 Node _ 1 ___.___.___.___ File services ag1

EVS _ _-2 Node _ 2 ___.___.___.___ File services ag2

EVS _ _-3 Node _ 1 ___.___.___.___ File services ag2

avn _ _ Point to 192.0.2. _ _ _ ___.___.___.___ Admin ag1

4
1. File System and File Sharing Activity
Activity – Check or Create File Systems (FS)

Activity – Check or Create File Systems (FS)


1. Using the standard documentation as reference, check or create File Systems as
listed in the table below.

Name: EVS Size Block Auto Security Storage-Pool


Limit Size Expansion

FS _ _-1 EVS _ _-1 100GB 4KB Disable UNIX SP _ _-1

FS _ _-2 EVS _ _-2 200GB 32KB Enable Mix SP _ _-2

TFS _ _-3 EVS _ _-3 200GB 32KB Disable UNIX MTSP _ _-3

5
Activity 1. File System and File Sharing
Activity – Join Active Directory and Create Shares

Activity – Join Active Directory and Create Shares

1. To successfully join Active Directory Domain Controller, make sure the following is
correctly configured in advance:
a. Time and time zone is the same as ADS.
b. Make sure to check the EvsSecurity license and the EVSs are in the right security
context.

c. DNS is correctly configured for your Domain


d. To join the node into AD select CIFS Setup in the File Services section

EVS: CIFS-name Domain ADC IP Address DNS IP Address

EVS _ _-1 Win _ _-11 B ___.___.___.___ ___.___.___.___

EVS _ _-2 Win _ _-2 A ___.___.___.___ ___.___.___.___

EVS _ _-1 Win _ _-12 B ___.___.___.___ ___.___.___.___

EVS _ _-3 Win _ _-3 B ___.___.___.___ ___.___.___.___

6
1. File System and File Sharing Activity
Activity – Join Active Directory and Create Shares

2. After the EVSs have joined ADS use Remote Desktop login to your ADC and check the
computer names for the lab group.

7
Activity 1. File System and File Sharing
Activity – Join Active Directory and Create Shares

3. With the standard documentation as reference, create CIFS shares as listed in the
tables on the following page.

Name File System Path Using

SHR _ _-11 FS _ _-1 \ Microsoft MMC

SHR _ _-12 FS _ _-1 \lab _ _ Storage Server GUI

SHR _ _-2 FS _ _-2 \lab _ _ Storage Server CLI

SHR _ _-3 TFS _ _-3 \ Hitachi Command Suite HCS

4. Try to access the shares from a Microsoft Windows WS, using an existing account in the domain.

End of — Lab Activity 1

8
2. File System Dedupe Activity
Overview

Activity

2. File System Dedupe


Overview
Objectives
Upon completion of this lab activity, you will be able to follow the process to setup and
convert a file system to use dedupe and then check the efficiency.

Summary of Activity
Create a file system with dedupe enabled, convert an existing file system to use dedupe
and by creating different dummy files in the file system get a feeling of the dedupe
efficiency.

References
In addition to the Student Guide, several Hitachi reference manuals are available to assist
you in successfully completing the lab:

 Hitachi NAS Platform File Services Administration Guide


MK-92HNAS006-xx
 Hitachi NAS Platform Command Line Reference
 Student Lab Layout Hitachi NAS Platform

9
Activity 2. File System Dedupe
Activity – Create and Use File Systems (FS) for Dedupe

Activity – Create and Use File Systems (FS) for


Dedupe
1. Using the standard documentation as reference, check or create File Systems as listed
in the table below.

Name: EVS Size Block Grow on Security Storage- Dedupe


Limit Size Demand Pool

FSDS _ _-4 EVS _ _-1 20GB 32KB Disable Mixed SP _ _-1 Disable

FSDT _ _-5 EVS _ _-3 20GB 32KB Disable Mixed MTSP _ _-1 Disable

FSDS _ _-6 EVS _ _-1 20GB 32KB Disable Mixed SP _ _-1 Enable

2. Check the used space on all 3 file systems:


FSDS _ _-4: ____ FSDT _ _-5: ____ FSDS _ _-6: ____
3. Convert FSDS _ _ -4 for to enable dedupe and check used space:
FSDS _ _-4: ____
4. Schedule the dedupe job in the dedupe queue and check the usage after using:
dedupe-queue-add --full -f <FS>
FSDS _ _-4: ____ FSDS _ _-6: ____
5. On your Windows WS, map the dedupe shares as below:
Drive Z: SHR _ _-4/FSDS _ _-4 Drive Y: SHR _ _-6/FSDS _ _-6
6. Run the Dummy File generator using batch file as follows following the examples on
next page:
Normal to Z: FSDS _ _-4 Random to Drive Y: FSDS _ _-6
7. Schedule the dedupe job in the dedupe queue and check results after using:
dedupe-queue-add --incremental -f <FS>
dedupe-queue-status
After jobs are finished (few minutes):
fs-dedupe-history <FS>
And in the GUI as well. Was the space reclaimed immediately? ______
FSDS _ _-4: ____GB ____% FSDS _ _-6: ____GB ____%

10
2. File System Dedupe Activity
Activity – Create and Use File Systems (FS) for Dedupe

8. Log into you Windows WS using RDP which is assigned to you lab group, with the
Dummy File Creator installed, and test files made available.

9. Start Dummy File Creator

11
Activity 2. File System Dedupe
Activity – Create and Use File Systems (FS) for Dedupe

10. Select Multiple Files

11. Select Batch file

12. Create files (10 files 1GB each will take about 5 minutes).

End of — Lab Activity 2

12
3. Access Protocols Activity
Overview

Activity

3. Access Protocols
Overview
Objectives
Upon completion of this lab activity, you will be able to understand the Mixed Mode
Security.

Summary of Activity
In a File System create a CIFS Share and a NFS Export of the same directory and analyze
the security descriptor of files in different scenario.

References
In addition to the Student Guide, several Hitachi reference manuals are available to assist
you in successfully completing the lab:

 Hitachi NAS Platform File Services Administration Guide


MK-92HNAS006-xx
 Hitachi NAS Platform Server and Cluster Administration Guide
MK-92HNAS010- xx
 Student Lab Layout Hitachi NAS Platform

13
Activity 3. Access Protocols
Activity – Mixed Mode Security Descriptor

Activity – Mixed Mode Security Descriptor


1. Make sure the FS _ _-2 have mixed mode security style.
2. Using an username other than administrator, assign a Letter to the CIFS share from
Windows. Create a file: “winfile01.txt” using notepad.
3. Mount in a Linux the NFS export, change with “su – username” to another username
than root and create a file “unixfile01.txt”.
$ echo “Hello” > unixfile01.txt
4. In HNAS, use the commands:
$ evssel EVS _ _-2
$ filesystem-list
$ selectfs FS _ _-2
$ ls
$ cd finance
$ security-decode-file winfile01.txt
5. Analyze the display something similar to this:

Security Descriptor (on disk):


…..truncated….

SID : Everyone (S-1-1-0)

Unix security:

UID : root (0) (failed to map from security descriptor owner


ATLANTIS\salazar (S-1-5-21-277890798-3176104350-1877296245-1218))

GID : root (0) (failed to map from security descriptor group


ATLANTIS\Domain Users (S-1-5-21-277890798-3176104350-1877296245-513))

Mode: rwxr-xr-x

6. Security mode that applies to file is Mixed.How will the file “winfile01.txt” be
treated from UNIX? _____________
7. Who is the owner of this file seen from UNIX? __________ Why ? ______________
8. In HNAS, use the command security-decode-file with the file created from
UNIX:$ security-decode-file unixfile01.txt

14
3. Access Protocols Activity
Activity – Mixed Mode Security Descriptor

9. Analyze the display something similar to this:

Security Descriptor (derived from unix security):


…truncated….

Mask : 0x1120089 = ReadControl | Synchronize | AccessSACL |


FileReadData/FileListDirectory | FileReadEA | FileReadAttributes
SID : Everyone (S-1-1-0)

Unix security:
UID : 5003
GID : 1
Mode: rw-r--r--

Security mode that applies to file is Mixed.

5. How will the file “unixfile01.txt be treated from Windows? ________________


6. Using Windows view, who is the owner of this file? ________ Why ? ______
7. Using Windows, how does the security tab appear? _______________________
8. Create a mapping between the 2 users (Windows User and UNIX User) in HNAS.
a. Home > File Services > User Mappings
b. Use the Verification box:
c. Show Discovered Information (Filter)
9. Create a Mapping between the Groups.
10. Observe the difference.
HCLUS01-1:$ security-decode-file winfile05.txt
Security Descriptor (on disk):
…truncated….

Unix security:
UID : salazar (5003)
GID : staff ( 10 )
Mode: rwxr-xr-x

Security mode that applies to file is Mixed.

15
Activity 3. Access Protocols
Activity – Cluster Name Space (Optional!)

Activity – Cluster Name Space (Optional!)


1. Use 2 EVSs: EVS _ _-2 and EVS _ _-3 with preferred Cluster Node EVS _ _-2 to
node lab_-1 and EVS _ _-3 to node lab_-2.
2. Use 2 Files Systems FS _ _-2 and FS _ _-3 .
3. Using CIFS Setup check, integration of the 2 EVSs are with the same Active
Directory Domain.
4. Create a Cluster Name Space Root Label: HDS _ _ .
4. Home > File Services > CNS.
5. Add 2 CNS Directories (Japan and USA).
6. Use “Add Link” and select Japan. Create a link, Hitachi, to the File System FS _ _-2.
7. Do the same for USA, create a link, California, to the File System FS _ _-3.
8. Create a share pointing to the CNS: HDS _ _ .
9. From a Windows Client, map the share to a drive letter.
10. Is Read-Write permission enabled in the Japan and USA directories?
11. Copy or create txt files in Hitachi and California directories.
12. Open a txt file from Hitachi. Write and read several times.
13. Observe the Network statistics:
a. Change the selection of Cluster Node from: lab_-1 to lab_-2.
14. In which of the 2 Nodes are the frame numbers increasing?
Home > Status and Monitoring > Ethernet Statistics.
15. Now, open a txt file from California. Write and read several times.
16. Observe the Network statistics:
a. Change the selection of Cluster Node from: lab_-2 to lab_-1.
17. In which of the 2 Nodes are the frame numbers increasing?
Home > Status and Monitoring > Ethernet Statistics
18. The Windows client is using IP to map the drive letter; this IP belongs to an EVS.
How is the change in statistics from one Node to the other possible?

16
3. Access Protocols Activity
Activity –h iSCSI (Optional!)

Activity –h iSCSI (Optional!)


1. Create a iSCSI LU of 20GB in a file system.
What is the maximum size of a iSCSI LU ?

2. Define a iSCSI Target. In Access Configuration, put the IP of your Windows client.

17
Activity 3. Access Protocols
Activity –h iSCSI (Optional!)

3. In iSCSI initiator authentication, create a username.

4. Open the Windows client Control Panel, iSCSI Initiator Properties. In the Discovery
tab, add the IP of the EVS.
5. In the Target tab, “log on.” In CHAP authentication, put the data of the username
defined in the iSCSI initiator authentication.

18
3. Access Protocols Activity
Activity –h iSCSI (Optional!)

6. Verify it appears “connected.”


7. From Windows, create MBR, Primary partition and NTFS File System on this LU.

End of — Lab Activity 3

19
Activity 3. Access Protocols
Activity –h iSCSI (Optional!)

This page left blank intentionally.

20
4. File and Object Replication Activity
Overview

Activity

4. File and Object Replication


Overview
Objectives
Upon completion of this lab activity, you will be able to follow the process to setup file and
object Replication.

Summary of Activity
Create a replication pair using file and object replication. Use object replication in a disaster
recovery (DR) scenario and promote the disaster site as the primary. Discover which
manual tasks are required and if partly data loss can be expected.

References
In addition to the Student Guide, several Hitachi reference manuals are available to assist
you in successfully completing the lab:

 Hitachi NAS Platform Disaster Recovery Administration Guide


MK-92HNAS009-xx
 Student Lab Layout Hitachi NAS Platform

21
Activity 4. File and Object Replication
Activity – File Replication

Activity – File Replication


1. Under “Data Protection”  “File Replication” in the GUI,, create a rule call “All Files”
with no “File Exclusion" and enable “Use Changed Directory List.
2. Create a replication policy called “Dedupe Copy” using the rule “All Files” from source
FSDS _ _-4 to target FSDT _ _-5.
3. Schedule the policy to run daily.
4. Run the policy now and check the results.
5. Check the space used on source and target.

22
4. File and Object Replication Activity
Activity – Setup Object Replication

Activity – Setup Object Replication


1. Create an additional file system which will be used as object replication target and pay
attention to the target.

Name: EVS Size Block Grow on Security Storage Object


limit Size Demand Pool Target

FSDS _ _-4 EVS _ _-1 20GB 32KB Disable Mixed SP _ _-1 no

FSDT _ _-5 EVS _ _-3 20GB 32KB Disable Mixed MTSP _ _-1 no

FSDS _ _-6 EVS _ _-1 20GB 32KB Disable Mixed SP _ _-1 no

FSOT _ _-7 EVS _ _-3 20GB 32KB Disable Mixed MTSP _ _-1 yes

2. Check if the source file systems have: “Transfer Access Points During Object
Replication” “enabled” before setting up the policy.
3. Under “Data Protection”  “Object Replication” in the GUI,, setup a policy call
“Disaster” from source FSDS _ _-6 to target FSOT _ _-7
4. Pay attention to the source was deduped in the previous activity.
5. Schedule the policy to run every 30 min and then run the policy now.
6. Check active status and wait until the task is finished.
7. Check the usage at source and target.
8. Do another “run now” to discover the snapshot created for each run as shown in:
“Object Replication Status & Reports”.

23
Activity 4. File and Object Replication
Activity – Promote Object Replication Target Site

Activity – Promote Object Replication Target Site


1. Copy 2 new files to source file system and immediately after we accidentally unmount
and format the file system FSDS _ _-6.
2. Make sure the policy schedule did not run between copying in the files and unmount.
3. Check the share is not accessible on the Windows WS.
4. The Target file system and access point will now be promoted on recovery site.
5. Go to “Recover File System to Version” and recover the target file system.
6. Check file system status and which file system the share is now pointing to.
7. Check that the files is still accessible from you WS.
8. Are the 2 new files present? ________________
9. Try to figure out which steps are missing to fully recover.
a.
b.
c.
d.
e.

End of — Lab Activity 4

24
5. HNAS Data Migration Features Activity
Overview

Activity

5. HNAS Data Migration Features


Overview
Objectives
Upon completion of this lab activity, you will be able to follow the process for configuring
data migration between 2 file systems in the first part, and in the second part between the
HNAS and an HC.P

Summary of Activity
First, the configuration of an internal Data Migration and then the configuration of a data
migration to a HCP.

References
In addition to the Student Guide, several Hitachi reference manuals are available to assist
you in successfully completing the lab:

 Hitachi NAS Platform File Services Administration Guide


MK-92HNAS006-xx
 Hitachi NAS Platform Server and Cluster Administration Guide
MK-92HNAS010- xx
 Student Lab Layout Hitachi NAS Platform
 HCP Administration Guide
 Couse: TCI1927 – Hitachi Content Platform Architecture & Operations

25
Activity 5. HNAS Data Migration Features
Activity – HNAS Internal Data Migration

Activity – HNAS Internal Data Migration


1. Create file systems and shares as needed.

Name: EVS Size Block Grow on Security Storage Share


limit Size Demand Pool

FSDS _ _-8 EVS _ _-1 20GB 32KB Disable Mixed SP _ _-1 SHR _ _-8

FSDT _ _-9 EVS _ _-1 20GB 32KB Disable Mixed MTSP _ _-1

2. Use a File System FSDS _ _-8 with share and copied data as the FS_Source associated
to the EVS _ _-1.
3. Copy some of the test files (ppt, pptx and txt files) to the share.
4. Define a data migration rule (type WFS/HNAS) specifying the migration of only ppt and
txt files.
5. Create a Policy using this rule and select “When other conditions are not meet”.
6. Associate a Schedule: “Once Only.”
7. Select the “run now” button.
8. Verify the migration finished successfully.
9. Through the CLI of HNAS, use the command “stat” to verify it has created a CVL to
replace the files in the original file system.
10. Create and execute a Reverse Migrate Policy using the same rule as before.

26
5. HNAS Data Migration Features Activity
Activity – HNAS Data Migration to a HCP (Optional!)

Activity – HNAS Data Migration to a HCP (Optional!)


1. Using an installed HCP, log in to the Domain Controller using the same DNS server as
HCP (naslab _.eec).
Open the Tenant Management Console:
https://tnt _ _ .hcp18.naslab _ .eec:8000
Log in as: tnt _ _-adm Password: Hitach1!
2. In the “Namespaces” tab, click in Create a Namespace.

27
Activity 5. HNAS Data Migration Features
Activity – HNAS Data Migration to a HCP (Optional!)

3. Define a Namespace, name: ns _ _ .

Hard Quota = 5 GB
Soft Quota = 85%

28
5. HNAS Data Migration Features Activity
Activity – HNAS Data Migration to a HCP (Optional!)

4. Create another username in the Tenant and assign Data Access Permissions to the
Namespace:
hnas _ _ , Password: Hitach1!
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

5. Use the namespace browse of the namespace to create a directory (destination) in the
namespace.
6. In the details of the namespace, protocols tab, select HTTP as access protocol to this
namespace.
7. Create an external link in the CLI of HNAS:
>migration-add-external-path -s FS _ _-1 --type HCP-namespace -u hnas _ _
-p Hitach1! -n 2HCP _ _ -t http://ns _ _ .tnt _ _ .hcp18.naslab3.eec/rest/4HNAS _ _
8. Define this Environment variables in HNAS:
set xvl-auto-recall-on-modify false
Will look like:
mmb xvl-auto-recall-on-modify = '0x0' (0 dec)
set xvl-auto-recall-on-read false
Will look like:
mmb xvl-auto-recall-on-read = '0x0' (0 dec)

29
Activity 5. HNAS Data Migration Features
Activity – HNAS Data Migration to a HCP (Optional!)

9. Create a Policy referencing this External Link.


10. Create a Schedule and associate to the Policy:

11. Execute the Schedule “run now.”


12. Verify, with the stat command, it has created a CVL v2 replacing the files in the original
File System.
13. Try to modify a file.
What happens? __________________

End of — Lab Activity 5


End of Labs

30

You might also like