0% found this document useful (0 votes)
69 views34 pages

Scenario-Based Practice of Basic Storage Service Configurations (For File)

The document outlines the HCIA-Storage certification training provided by Huawei, focusing on scenario-based practices for configuring basic storage services for file systems. It details the course objectives, necessary tools, and step-by-step procedures for configuring storage systems, including creating file systems, dtree management, and setting up NFS shares. The training is aimed at Huawei engineers and ICT professionals to enhance their skills in storage technology and service deployment.

Uploaded by

Emanuel Tavares
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views34 pages

Scenario-Based Practice of Basic Storage Service Configurations (For File)

The document outlines the HCIA-Storage certification training provided by Huawei, focusing on scenario-based practices for configuring basic storage services for file systems. It details the course objectives, necessary tools, and step-by-step procedures for configuring storage systems, including creating file systems, dtree management, and setting up NFS shares. The training is aimed at Huawei engineers and ICT professionals to enhance their skills in storage technology and service deployment.

Uploaded by

Emanuel Tavares
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Huawei Storage Certification Training

HCIA-Storage
Scenario-based Practice of
Basic Storage Service Configurations
(for File)
ISSUE: 5.0

HUAWEI TECHNOLOGIES CO., LTD

1
Copyright © Huawei Technologies Co., Ltd. 2022. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without
prior written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their
respective holders.

Notice
The purchased products, services and features are stipulated by the contract made between
Huawei and the customer. All or part of the products, services and features described in this
document may not be within the purchase scope or the usage scope. Unless otherwise specified
in the contract, all statements, information, and recommendations in this document are provided
"AS IS" without warranties, guarantees or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made
in the preparation of this document to ensure accuracy of the contents, but all statements,
information, and recommendations in this document do not constitute a warranty of any kind,
express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129
People's Republic of China
Website: [Link]

Huawei Proprietary and Confidential


Copyright © Huawei Technologies Co.,Ltd
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 1

Huawei Certification System


Huawei Certification is an integral part of the company's "Platform + Ecosystem" strategy, and
it supports the ICT infrastructure featuring "Cloud-Pipe-Device". It evolves to reflect the latest
trends of ICT development. Huawei Certification consists of two categories: ICT Infrastructure
Certification, and Cloud Service & Platform Certification, making it the most extensive technical
certification program in the industry.
Huawei offers three levels of certification: Huawei Certified ICT Associate (HCIA), Huawei
Certified ICT Professional (HCIP), and Huawei Certified ICT Expert (HCIE).
Huawei Certification covers all ICT fields and adapts to the industry trend of ICT convergence.
With its leading talent development system and certification standards, it is committed to
fostering new ICT talent in the digital era, and building a sound ICT talent ecosystem.
Huawei Certified ICT Associate-Storage (HCIA-Storage) is designed for Huawei engineers,
college students and ICT industry personnel. HCIA-Storage covers knowledge about storage
technology trends, storage basic technologies, storage common advanced technologies, storage
business continuity solutions and storage system O&M management.
The HCIA-Storage certificate system introduces you to the industry and market, helps you in
innovation, and enables you to stand atop the Storage frontiers.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 2
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 3

Contents

1 References and Tools............................................................................................................... 4


1.1 References .................................................................................................................................................................... 4
1.2 Software Tools .............................................................................................................................................................. 4
1.3 Version Description....................................................................................................................................................... 4
2 Scenario-based Practice of Basic Storage Service Configurations .............................................. 5
2.1 Training Procedure ..........................................................................................................Erro! Indicador não definido.
2.2 Course Overview ........................................................................................................................................................... 5
2.3 Objectives ..................................................................................................................................................................... 5
2.4 Grouping ..........................................................................................................................Erro! Indicador não definido.
2.5 Case Background........................................................................................................................................................... 5
2.6 Tasks and Suggested Answers ...................................................................................................................................... 5
2.6.1 Scenario-based Practice: Basic Service Planning and Configurations ........................................................................ 5
2.7 Auxiliary Materials and Tools ...........................................................................................Erro! Indicador não definido.
2.8 Trainee Assessment .........................................................................................................Erro! Indicador não definido.
2.9 Assessment Form .............................................................................................................Erro! Indicador não definido.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 4

1 References and Tools

1.1 References
Commands and documents listed in this document are for reference only, and actual ones may vary
with product versions.
1. Huawei OceanStor Dorado all-flash series product documentation

NOTE
Features supported by Huawei OceanStor Dorado all-flash products vary between product models.
For details, see the product documentation specific to the product model. Log in to the Huawei
technical support website ([Link] and type the name of a
documentation or tool in the search box to search for, browse, and download the desired
documentation or tool.

1.2 Software Tools


PuTTY

NOTE
You are advised to use open-source software PuTTY to log in to a terminal. You can use the common
domain name ([Link]) of PuTTY to browse or download the desired documentation or tool.

1.3 Version Description


Name Version Quantity Remarks
Storage device Huawei OceanStor Dorado V6 1

Windows operating Windows Server 2012 and Windows Recommended


--
system (OS) Server 2016 version

Recommended
Linux OS SUSE, Red Hat, CentOS, and EulerOS --
version

S5700 switch -- 1
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 5

2 Scenario-based Practice of Basic Storage


Service Configurations

2.1 Course Overview


This course provides case studies and scenario-based practices to help trainees consolidate their
knowledge on initial configuration and basic service deployment and implementation of Huawei
OceanStor all-flash storage.

2.2 Objectives
⚫ To understand common networking modes of storage services
⚫ To plan and design networks
⚫ To complete the initial configuration of the storage system
⚫ To plan and configure file services

2.3 Case Background


NOTE
Cases in this document are examples only, and configurations may vary according to the actual
environment. For details, see the product documentation specific to the product model and version.
Company W needs a high-performance storage system to support new services. To meet service
development requirements, the company purchases a Huawei OceanStor all-flash storage system and
deploys two test servers to ensure proper service running. Server A runs the Windows OS, server B
runs the Linux OS, and storage devices provide file storage services for the two servers over an IP
network.
As a storage engineer, you are responsible for network planning and design, initial configuration, and
file service configuration of the storage system.

2.4 Tasks and Suggested Answers


2.4.1 Scenario-based Practice: Basic Service Planning and Configurations
[Link] Background
Storage engineer A has created two 10 GB file systems named FileSystem001 and FileSystem002, and
a CIFS share and an NFS share for the corresponding client host.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 6

[Link] Question
Provide key steps of the file service configuration process.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Configuration Process in the desired product documentation.
[Suggested Answer]

[Link] Task 1: Configuring the File System


Based on the case background and planning, configure the file service on the Windows and Linux
servers. Then, use the storage space on the application servers, that is, write a test file, such as [Link],
to the servers, respectively.

Step 1 Create a storage pool.


To ensure that the application servers can use the storage space of the storage system, create a
storage pool named StoragePool001.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 7

NOTE
During configuration initialization, if you have specified that all disks are used to create a unique
storage pool, skip this step.
If this step is performed, the capacity of the storage pool depends on the actual planning and
experiment environment.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Creating a Storage Pool in the desired product documentation.
1. Choose System > Storage Pools.
2. Click Create.
3. Set the storage pool parameters.
4. Click OK.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 8

Step 2 Create a file system.


Create a 10 GB file system named FileSystem001.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Creating a File System in the desired product documentation.

1. Choose Services > File Service > File Systems.


2. Select the vStore for which you want to create a file system from the vStore drop-down list in the
upper left corner.
3. Click Create.
4. Set the name of the file system to FileSystem001 and the owning storage pool to StoragePool001.
5. Change to Security Style to NTFS.
6. Set the capacity of the file system to 10 GB and the application type to NAS_Default.
7. On Shares section below, turn-off both NFS and CIFS shares control switches. Also, in Protection
section at the bottom page, turn-off the “Add to HyperCDP Schedule” control switch.
8. Click OK.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 9

9. Still in the same panel, repeat the steps from 3 to 8 to create a new similar File System named
FileSystem002, but change the Security Style to UNIX.
10. Click OK.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 10

Step 3 Create a dtree.


A dtree is created to manage the space used by all files in a directory and the access permission of the
directory.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > (Optional) Creating a Dtree in the desired product documentation.

1. Choose Services > File Service > Dtrees.


2. Select the vStore to which the desired file system belongs from the vStore drop-down list in the
upper left corner.
3. Click Create.
4. Set the Owning File System to FileSystem001
5. Set the dtree name to Dtree001.
6. Click OK.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 11

7. Still in the same panel, repeat the steps from 3 to 6 to create a new Dtree002 on FileSystem002,
but change the Security Style to UNIX.

Step 4 Create a quota.


A quota is created to limit the space usage and file quantity used by a dtree.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > (Optional) Creating a Quota in the desired product documentation.
1. Choose Services > File Service > Quotas > Custom Quotas.
2. Select the vStore to which the desired file system belongs from the vStore drop-down list in the
upper left corner.
3. Click Create.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 12

4. Select file system FileSystem001 and dtree Dtree001 for which you want to create a quota.
5. Set Quota Type to Directory quota.
6. Set Hard Quota and Soft Quota of Space Quota to 10 GB and 8 GB, respectively.
7. Set the Hard Quota and Soft Quota of File Quantity Quota to 30 thousand and 20 thousand,
respectively.
8. Click OK.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 13

[Link] Question
Which information needs to be planned before a file system is shared?
[Suggested Answer]
1. Logical port: (ANY IP ADDRESS SHOWED BELOW IN THE TABLE IS JUST TO REFERENCE. ASK TO
NSTRUCTOR ABOUT THE CORRECT IP ADDRESSES IN THE LAB SHEET)

Mapping View 1: Logical Ports

Data
Name Role IP Address Port Type Home Port
Protocol

Ethernet
FSLP001 Service NFS [Link] CTE0.A.IOM2.P1
port

Mapping View 2: Logical Ports

Data
Name Role IP Address Port Type Home Port
Protocol

Ethernet
FSLP002 Service CIFS [Link] CTE0.B.IOM2.P1
port

2. File system
Set a file system shared through the NFS.
Set a file system or its dtrees shared through the CIFS.

3. Permission
Client and client's permissions for an NFS share, including read-only and read-write.
Permission of a user or user group to access a CIFS share. The permissions include full control, read-
only, read-write, and forbidden.

4. Local authentication user (CIFS)


The storage system employs local authentication users in a non-domain environment.

[Link] Task 2: Configuring an NFS Share


Step 1 Draw a flowchart for configuring an NFS share.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 14

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > Configuration Process in the
desired product documentation.

Step 2 Check the license.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > Checking the License in the
desired product documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 15

1. Choose Settings > License Management.


2. In the middle function pane, verify that NAS Foundation is displayed in the feature list.

Step 3 Enable the NFSv4 service.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > (Optional) Enabling the NFSv4
Service in the desired product documentation.

1. Choose Settings > File Service > NFS Service.


2. Select the vStore for which you want to enable the NFSv4 service from the vStore drop-down list
in the upper left.
3. Click Modify in the upper right.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 16

4. Select NFSv4.0 Service as required.


5. Click Save.

6. Confirm the information in the dialog box and select I have read and understand the
consequences associated with performing this operation.

7. Click OK.

Step 4 Configure the network and create a logical port.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > Configuring the Network >
Creating a Logical Port in the desired product documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 17

1. Choose Services > Network > Logical Ports.


2. Click Create. The Create Logical Port page is displayed on the right.

3. Configure logical port parameters. Set Name to FSLP001, Role to Service, Data Protocol to NFS, IP
Address to [Link], and Home Port to CTE0.A.IOM2.P1.
4. Click OK.

NOTE: Optionally, you can try to ping the new Logical Port created to test the connectivity.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 18

Step 5 Create an NFS share.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > Creating an NFS Share in the
desired product documentation.
1. Choose Services > File Service > Shares > NFS Shares.
2. Select the vStore to which the desired file system belongs from the vStore drop-down list in the
upper left corner.
3. Click Create.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 19

4. Set basic parameters as follows: File System to FileSystem002 and Dtree to Dtree002.
5. You can configure access permissions for the NFS share now or later. At thus point, leave blank.
6. Click OK.

Step 6 Add an NFS share client.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > Adding an NFS Share Client in
the desired product documentation.

1. Choose Services > File Service > Shares > NFS Shares.
2. Select the vStore to which the desired NFS share belongs from the vStore drop-down list in the
upper left corner.
3. Click More on the right of the desired NFS share and select Add Client.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 20

4. Set client attributes. Enter host IP address [Link] (ask to your instructor which host client
IP address you can use), and set UNIX Permission to Read-write and root Permission Constraint
to no_root_squash.
Note: Your host client IP must in the same network segment of the Logical Port where the shares
are published. Otherwise, routes must be created.
5. Click OK.

6. The execution results are as follows:

Step 7 Access an NFS share.


Scenario-based Practice of Basic Storage Service Configurations (for File) Page 21

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring an NFS Share > Accessing an NFS Share in the
desired product documentation.

1. Log in to the client as user root.


2. Run the showmount -e [Link] command to view available NFS shares of the storage
system.

3. Run the mkdir /mnt/nfs_share1 command to create the /mnt/nfs_share1 directory.


4. Run the mount -t nfs [Link]:/FileSystem002/ /mnt/nfs_share1 command to mount the
NFS share.
5. Run the df -h command to check whether the mount is successful.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 22

[Link] Task 3: Configuring a CIFS Share


Step 1 Draw a flowchart for configuring a CIFS share.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > Configuration Process in the
desired product documentation.

Step 2 Check the license.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > Checking the License in the
desired product documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 23

1. Choose Settings > License Management.


2. In the middle function pane, verify that NAS Foundation is displayed in the feature list.

Step 3 Configure the network and create a logical port.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > Configuring the Network >
Creating a Logical Port in the desired product documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 24

1. Choose Services > Network > Logical Ports.


2. Click Create. The Create Logical Port page is displayed on the right

3. Configure logical port parameters. Set Role to Service, Data Protocol to CIFS, IP Address to
[Link], and Home Port to CTE0.A.IOM2.P1.
4. Click OK.

Step 4 Configure the CIFS service.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > (Optional) Setting the CIFS
Service in the desired product documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 25

1. Choose Settings > File Service > CIFS Service.


2. Select the desired vStore from the vStore drop-down list in the upper left corner.
3. Click Modify in the upper right.

4. Set basic parameters and enable SMB3 Encryption.


5. Click Save.

Step 5 Configure a local authentication user.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > Configuring a Local
Authentication User (Group) > Creating a Local Authentication User in the desired product
documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 26

1. Choose Services > File Service > Authentication Users > Windows Users > Local Authentication
Users.
2. Select the vStore for which you want to create a local authentication user from the vStore drop-
down list in the upper left corner.
3. Click Create.

4. Set basic parameters as follows: Name to Windows_User, Password (enter “Huawei@123”)and


select Administrators and Users in the Available Groups list.
5. Click OK.

6. T
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 27

7. The execution results are as follows:

Click Close.

Step 6 Create a CIFS share.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > Creating a CIFS Share in the
desired product documentation.

1. Choose Services > File Service > Shares > CIFS Shares.
2. Select the vStore to which the desired file system belongs from the vStore drop-down list in the
upper left corner.
3. Click Create.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 28

4. Set basic parameters as follows: File System to FileSystem001, Dtree to Dtree001, and Share
Name to share_for_user.
5. Click Add to add user permissions.

6. Set Type to Local Windows authentication user, select Windows_User in the Available Users or
User Groups list, set Permission to Read-write, and click OK.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 29

7. Click OK.

8. The execution results are as follows:

9. Click Close.

Step 7 Access a CIFS share.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Configuring Basic
Storage Services > Sharing File Systems > Configuring a CIFS Share > Accessing a CIFS Share in the
desired product documentation.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 30

1. Choose Map network drive on a Windows client.

2. On the Windows explorer window, in the displayed Map Network Drive dialog box, enter
\\[Link]\share_for_user in the Folder text box to configure the network folder you want
to map, and click Finish.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 31

3. In the displayed Windows Security dialog box, enter the user name Windows_User and password
for accessing the CIFS share.

4. Click OK.

5. The execution results are as follows:

6. You can put some data in the share and monitor the consume space, alerts generated by quota
thresholds and so on.
Scenario-based Practice of Basic Storage Service Configurations (for File) Page 32

[Link] Question
Provide key steps of the service space reclamation process.

[Suggested Procedure]
For details, see Configure > Basic Storage Service Configuration Guide for File > Managing Basic
Storage Services in the desired product documentation.
[Suggested Answer]

You might also like