Professional Documents
Culture Documents
HCNA-Storage V3 BSSN Building The Structure of Storage Network Training LAB
HCNA-Storage V3 BSSN Building The Structure of Storage Network Training LAB
With any Huawei Career Certification, you have the privilege on http://learning.huawei.com/en to enjoy:
n
1、e-Learning Courses: Logon http://learning.huawei.com/en and enter Huawei Training/e-Learning
/e
o m
If you have the HCNA/HCNP certificate:You can access Huawei Career Certification and Basic Technology e-Learning
courses.
e i .c
If you have the HCIE certificate: You can access all the e-Learning courses which marked for HCIE Certification Users.
aw
Methods to get the HCIE e-Learning privilege : Please associate HCIE certificate information with your Huawei account, and
hu
arn
Content: Huawei product training material and Huawei career certification training material.
//le
Method:Logon http://learning.huawei.com/en and enter Huawei Training/Classroom Training ,then you can download
training material in the specific training introduction page.
p :
3、 Priority to participate in Huawei Online Open Class (LVC)
t t
s :h
The Huawei career certification training and product training covering all ICT technical domains like R&S, UC&C, Security,
4、Learning Tools: rc e
Storage and so on, which are conducted by Huawei professional instructors.
u
s o
eNSP :Simulate single Router&Switch device and large network.
R e
WLAN Planner :Network planning tools for WLAN AP products.
n g
In addition, Huawei has built up Huawei Technical Forum which allows candidates to discuss technical issues with Huawei experts ,
ni
share exam experiences with others or be acquainted with Huawei Products.
a r
Statement:
L e
r e
This material is for personal use only, and can not be used by any individual or organization for any commercial purposes.
o
M
HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential 1
HCNA-Storage
Huawei Certified
HCNA-Storage BSSN
Building the Structure of Storage Network
e n
/
(Lab Guide)
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
sou
Re
i n g
r n
e a
e L
or
M Huawei Technologies Co.,Ltd
HUAWEI TECHNOLOGIES
HCNA-Storage
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.
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other
e n
trademarks and trade names mentioned in this document are the property of their respective
/
holders.
o m
Notice
e i .c
w
The information in this document is subject to change without notice. Every effort has
a
u
been made in the preparation of this document to ensure accuracy of the contents, but all
.h
statements, information, and recommendations in this document do not constitute the
g
n
warranty of any kind, express or implied.
ni
r
// lea
p :
t
Huawei Certified
t
:h
HCNA-BSSN Building the Structure of Storage Network Lab Guide
e s Version 3.0.1
r c
s ou
Re
i n g
r n
e a
e L
or
M
HUAWEI TECHNOLOGIES
HCNA-Storage
Relaying on its strong technical and professional training system, according to different
customers at different levels of ICT technology, Huawei certification is committed to provide
customs with authentic, professional certification. Based on characteristics of ICT
e n
technologies and customers ’needs at different levels, Huawei certification provides customers
/
with certification system of four levels.
o m
i
HCNA-Storage BSSN (Huawei Certified Network Associate –Storage Building the Structure of
e .c
w
Storage Network) training aims to provide guidance to participants in learning contents related
a
u
to the HCNA-Storage exam.The training covers the knowledge, technologies and application
g .h
of SAN,NAS, and structure ,network, connection, deploying ,troubleshooting in Huawei SAN
Storage system.
ni n
r
lea
HCNP-Storage certification is positioned in ability construction for IT information storage
: //
professional engineer or storage scheme expert. The curriculum includes, but is not limited to
t p
the following: SAN, NAS, Backup and DS technology, Unified storage system principle and
t
:h
application, Huawei storage solution planning, deployment, troubleshooting and maintenance.
e s
c
HCIE-Storage (Huawei Certified Internetwork Expert-Storage) is designed to endue engineers
r
ou
with a variety of Storage network and system technology and proficiency in maintenance,
es
diagnostics and troubleshooting of Huawei solution, which equips the engineers with
R
competence in planning, design and optimization of large-scale ICT Solution.
i n g
r n
e a
e L
or
M
HUAWEI TECHNOLOGIES
HCNA-Storage
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s:h
r c e
sou
Re
i n g
r n
e a
e L
or
M
HUAWEI TECHNOLOGIES
HCNA-Storage
Foreword
Outline
HCNA-Storage covers the storage technologies (RAID, SCSI, iSCSI, FC) and its application,
focusing on the IP-SAN, FC-SAN architecture, networking, connectivity, deployment and
maintenance.
e n
Content
/
The course contains a total of 11 chpaters:
o m
e i .c
Chapter1 Describes what is information, the life cycle of data , concept of business Continuity,
and an introduction of components in an ICT infrastructure.
aw
u
.h
Chapter2 Describes what is DAS, SCSI technology, Hard Disk Technology, Solid State
Technology.
i n g
n
Chapter3 Describes What is NAS, Ethernet Basics, Ethernet Hardware Components.
r
lea
Chapter4 Describes the ideal ICT infrastructure, Storage protocols Fibre Channel, IP SAN
Storage protocols iSCSI.
: //
t t
Chapter5 Describes traditional RAID Technology. p
s :h
Chapter6 Describes basic concepts of Big Data, Object-based storage technologies, and
r c e
OceanStor 9000 key technologies of Big Data
ou
Chapter7 Describes backup concepts and topologies, backup technologies, disaster Recovery
introduction.
es
R
Chapter8 Describes concepts and background of Cloud Computing, Modules of Cloud
i n g
Computing, and Huawei FusionCloud Products..
r n
Chapter9 Describes Huawei Storage Products, Huawei RAID 2.0+,Huawei platform
e a
improvements, Huawei NAS products, Huawei Backup products, and Huawei Licensing policy.
e L
or Chapter10 Describes how to initialize a Huawei OceanStor system, how to configure a Huawei
OceanStor system, File systems and Storage, and maintenance jobs.
M Chapter 11 Describes Data Cofferr, Pre-emptive replacements, Firmware and updates, principle
of HyperSnap, SmartThin, HyperClone, SmartTier, and HyperReplication.
In conclusion, you should be able to plan and deploy SAN networks and storage systems, to
install, deploy, and maintain Huawei SAN storage products, and to become a qualified SAN
storage engineer or system administrator
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
HUAWEI TECHNOLOGIES
HCNA-Storage
e n
/
m
FC Switch GE Switch Storage Array Host
//
.c o
e i
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
sou
Re
i n g
r n
e a
e L
or
M
HUAWEI TECHNOLOGIES
HCNA-Storage
Experiment contents include storage array hardware installation, network deploying of FC SAN
e n
and IP SAN, storage management, configuration RAID/LUN/ mapping ,connection between /
storage and hosts,storage maintenance etc.
o m
e i
One suit of experiment equipment includes : 1 PCS GE switch,1 PCS FC switch,1 PCS Windows.c
w
host(with OS and NIC or FC HBA card ),1PCS Linux host(with OS and NIC or FC HBA
a
u
card),1-2 PCS S5300 V3 or S5500 V3 storage array, several network cables ,2-4 PCS PC
for students.
g .h
i n
One suit of experiment equipment fits 2-4 students operating at the same time.
n
r
lea
Equipment introduce
://
Device type Device name Software version
tp
Storage array S5300 V3 or S5500 V3 S5300 V300R002
t S5300 V300R002
Switch SNS2124 OR S3900
s :h General version
Server Windows 2008 SP2
SuSE 11 SP2
r c e Be compatible with storage
cable
ou
Network cable 8PCS
s
Null
Console PC PC
e
FC 6 PCS
R Win7
i n g
r n
e a
e L
or
M
HUAWEI TECHNOLOGIES
e n
/
o m
ei.c
aw
u
g.h
ni n
r
//lea
p :
t t
: h
e s
r c
o u
es
R
i n g
rn
e a
e L
or
M
BSSN HCNA Storage Lab Guide Issue 3.0.1 Table of Contents
TABLE OF CONTENTS
a
u
1.1.2 Manage storage device .................................................................................................................... 19
.h
1.2 Logging in to the DeviceManager ........................................................................................................20
i n g
1.3 Basic Configuration Settings ...............................................................................................................21
n
1.3.1 Set Device Name and Location ........................................................................................................ 21
r
lea
1.3.2 Setting Storage Device Time ............................................................................................................ 22
//
1.4 Monitoring Controller Enclosure ..........................................................................................................24
:
1.5 Monitoring Disk Enclosures .................................................................................................................29
p
t t
1.6 Powering On and Off an Interface Module...........................................................................................30
h
1.7 Powering Off a Device ........................................................................................................................32
:
s
Lab Exercise 2 – Working with Provisioning Functions ............................................... 34
e
r c
2.1 Creating a Disk Domain ......................................................................................................................35
o u
2.2 Creating a Storage Pool......................................................................................................................37
e s
2.3 Creating a LUN ...................................................................................................................................38
n g
Lab Exercise 3 – Configuration
i
r4.1n - Connecting SAN Storage Devices to Windows based Hosts .......50
3.1 Configure zoning for a Fibre Channel switch .......................................................................................45
e a
Lab Exercise
e L
4.1 Building an IP SAN in the Windows environment .................................................................................52
o r
4.1.1 Configuring the iSCSI connection in the Windows environment ........................................................52
M
4.1.2 Create Host ......................................................................................................................................55
4.1.3 Creating a Host Group .....................................................................................................................57
4.1.4 Create a Port Group .........................................................................................................................58
4.1.5 Create a Mapping View ....................................................................................................................59
4.1.6 Building a Fibre Channel SAN in the Windows environment .............................................................61
4.1.7 Creating a Fibre Channel Host .........................................................................................................62
4.1.8 Creating a Host Group .....................................................................................................................66
4.1.9 Creating a Fibre Channel Port Group ...............................................................................................68
4.1.10 Creating a Mapping View................................................................................................................69
Lab Exercise 4.2 - Connecting SAN Storage Devices to Linux based Hosts ............. 71
4.2.1 Building an IP SAN in the Linux environment ....................................................................................73
4.2.1.1 Installing iSCSI software in the Linux environment .........................................................................73
4.2.1.2 Querying the name of an initiator ...................................................................................................75
4.2.1.3 Configuring the iSCSI connection in the Linux environment ............................................................75
4.2.2 Create iSCSI Host ............................................................................................................................77
4.2.3 Creating a iSCSI Host Group............................................................................................................79
e n
/
m
4.2.4 Create a iSCSI Port Group ...............................................................................................................80
o
i.c
4.2.5 Create a Mapping View ....................................................................................................................81
e
4.2.6 Building a Fibre Channel SAN in the Linux environment ...................................................................83
w
a
4.2.7 Creating a Fibre Channel Host .........................................................................................................84
u
.h
4.2.8 Creating a Host Group .....................................................................................................................89
n g
4.2.9 Creating a Fibre Channel Port Group ...............................................................................................90
i
Lab Exercise 5.1 – Installing Multipathing Software toaarWindows based host ......... 93
n
4.2.10 Creating a Mapping View................................................................................................................91
/ l e
: /
5.1.1 Viewing a LUN .................................................................................................................................94
tp
5.1.2 Installing Multipathing software .........................................................................................................95
t
hSoftware to a Linux based host .............106
5.1.3 Using a LUN ..................................................................................................................................100
o u
5.2.2 Installing Multipathing software in the Linux environment ................................................................108
e s
5.2.3 Using a LUN .................................................................................................................................. 111
R LUNs and use SmartThin to create Thin Provisioned
Lab Exercise 6 – Expanding
i n g
LUNs ............................................................................................................................... 118
rn
6.1 Expand an existing LUN ................................................................................................................... 119
a
e 7 – Using the HyperSnap feature to create Snapshots and recover data
6.2 Create Thin Provisioned LUN............................................................................................................123
L
e
Lab Exercise
r
o
......................................................................................................................................... 132
M
7.1 Creating a Snapshot .........................................................................................................................133
7.2 Use Snapshot to recover data ...........................................................................................................134
7.2.1 File recovery using Snapshots ....................................................................................................... 134
7.2.2 Rollback snapshot .......................................................................................................................... 138
7.3 Deactivating a snapshot ....................................................................................................................140
7.4 Delete snapshot ................................................................................................................................141
Lab Exercise 8 – Working with the SmartTier licensed feature ................................. 142
8.1 Use SmartTier ..................................................................................................................................143
Lab Exercise 9 – Routine maintenance lab of SAN storage products ...................... 152
9.1 Exporting configuration data of the storage device using DeviceManager ..........................................153
9.2 Using the Maintenance Tool ..............................................................................................................154
9.3 Inspection (including reviewal inspection)..........................................................................................155
9.4 Collecting information .......................................................................................................................160
e n
Optional lab 10 – Using NAS features of the OceanStor V3 hardware ...................... 162 /
o m
Appendix 1 – Server RAID Configurations .................................................................. 164
i . c 168
e
Appendix 2 – SAN Networking Lab ..............................................................................
w
a
2.1 Fibre Channel SAN Networking Lab of the OceanStor 5300 V3 .........................................................168
hu
2.2 IP SAN Networking Lab of the OceanStor 5300 V3 ...........................................................................175
g .
n i n
a r
l e
: //
t tp
: h
e s
r c
o u
es
R
i n g
a rn
Le
r e
o
M
This document is designed for use in instructing trainees to configure and deploy Huawei storage
products. The information provided will help trainees in completing the lab sections of the training
program.
Scope of Application
e n
The following hardware is recommended, but can vary in the lab environment:
/
Storage device: OceanStor 5300 V3.
o m
Rack server: RH1288 V3.
e i .c
w
Fibre Channel switch: SNS2124 V100R002.
IP switch: GE switch.
u a
g .h
n
Safety Precautions
ni
r
lea
Alarm and safety symbols
//
When operating devices, observe the precautions provided by warning and safety symbols to
prevent personal injury and device damage.
p :
Electrostatic discharge (ESD)
t t
:h
When installing and maintaining devices, observe the ESD safety precautions to prevent
s
personal injury and device damage.
Using lasers safely
r c e
ou
When installing and maintaining devices, observe the laser safety precautions to prevent
personal injury and device damage.
es
Using optical fibers safely
R
Use optical fibers in a safe and correct manner to ensure the normal operation of devices and
n g
to prevent personal injury and device damage.
i
r n
Short circuit protection
a
When installing and maintaining devices, use and place tools in compliance with the
e
L
regulations to prevent short circuits.
o When installing and maintaining devices, observe the electrical safety precautions to prevent
M
personal injury and device damage.
Condensation prevention
Before installing devices, ensure that no condensation is formed on the devices to prevent
power-on failures.
Front panel
e n
/
o m
e i .c
aw
u
g .h
25 x 2.5-inch disks
ni n
r
Support for mainstream SAS disks, NL-SAS disks, and SSDs
lea
The first four disks serve as coffer disks in 2 x (1+1) redundancy mode
: //
Support for powering on and off each disk independently
t t p
:h
Rear panel
e s
r c
s ou
Re
i n g
r n 1 2 3
a
1 2 3
e
eL
6 4 5
6 4 5
M 2.
3.
Maintenance network port.
Serial port.
4. Mini SAS expansion port.
5. 8 Gbit/s Fibre Channel host port.
6. Gigabit Ethernet ports.
RH1288 V3
Front panel
e n
/
o m
e i .c
aw
u
2 x Intel® Xeon E5-2600 V3 series CPUs
g .h
ni n
r
16 x RDIMM/LRDIMM memory slots
lea
4 x 3.5-inch SAS or SATA HDDs, 8 x 2.5-inch SAS/SATA HDDs or SSDs, RAID 0, 1, 5, 10,
50, 6, and 60 available
: //
t t p
s :h
Rear panel
r c e
s ou
Re
i n g
r n
e a
e L
or NOTE: You can manage the servers via the iMana interface. Appendix 1 will explain how to access
M
and configure the server via iMana.
e n
/
o m
e i .c
aw
u
1 2 1 2 3 3
g .h 4 4
ni n
r
1. Management serial port.
// lea
2. Management network port.
p :
t t
:h
3. Fibre Channel port.
4. Power supply.
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M
CABLES
Ground cable
e n
Serial cable
/
o m
Connects to a serial port on a storage array so that the array
can be managed using the command-line interface (CLI).
e i .c
aw
u
.h
Mini SAS HD cable
r c e
s
Optical fiber (multi-mode) ou
Re
g
Fibre Channel expansion cable
n i n
Connects to a Fibre Channel host port.
ar
L e
AC power cable
r e
o
M
DC power cable
e n
/
A A
o m
B
e i .c
aw
C u
g .h
D
ni n
r
// lea
B
p :
t t
A
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or A. IP switch.
M B.
C.
Fibre Channel switch.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
L
CONNECTING TO THE LAB ENVIRONMENT
ore The exercises in this lab guide will be done using the hardware in one of the Huawei datacenters
M available for training purposes.
Ask your instructor for the procedures to connect to the remote systems you will be using during
these labs.
Objectives
Upon completing this lab, the student will have a working knowledge of configuring the storage
array. The management IP will be configured via the serial command line by using the program
called Putty. Setting storage device time, Monitoring the controller enclosure, Monitoring disk
e n
enclosures, Powering On or Off an interface module and Powering Off a device will be done via the
/
DeviceManager management web interface.
o m
e i
Getting knowledge of basic configuration and functions of SAN storage products .c
aw
Configure Disk Domains, Storage Pools, LUNs, LUN Groups, Hosts, Host Groups, Host
u
.h
Ports, Port Groups, Mapping Views and Initiators
i n g
Configure Fibre Channel and IP SAN within a Windows environment
r n
lea
Connect the created LUN to a Windows Server
Devices
: //
t t p
:h
1. OceanStor 5300 V3
e s
c
2. Putty
r
ou
3. PC running the DeviceManager management interface
4. IP switch
es
R
i
Networking diagram
n g
r n
e a
e L
or
M
In this section you will configure the Management IP address of the storage array using Putty.
3. Choose the Serial Line and set the Speed to 115200. See the image below.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
4. Click Open.
or
M
NOTE
The default user name for the storage system is admin, and the password is
Admin@storage.
You must change the default login password immediately after you have logged in to the
storage system for the first time and periodically change your login password in the future.
e n
This reduces the password leakage risks. For details about how to change the password,
/
see Modifying Login Password.
o m
For security reasons, entering a password displays no local echo.
e i .c
w
The default IP addresses of the management ports for the 2U enclosure (5300 V3/ 5500
a
u
V3) are 192.168.128.101 and 192.168.128.102 and the default subnet mask is
255.255.0.0.
g .h
If the login is successful, the following message is displayed:
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
n
NOTE: When you log in to different devices, the login page displays different values. Obtain
r
a
the correct value based on your actual conditions.
e
e L
or 6. Run the change system management_ip command to change the IP address of the
management port. For example, set the IPv4 address, subnet mask and gateway of module 0
M to 172.16.190.2, 255.255.0.0 and 172.16.0.1. See the image below.
e n
/
7. After changing the IP address of the management network port, run the show system
o m
.c
management_ip command to verify that the IP address changed correctly.
e i
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
Show users
r Unlocked
lea
Create a new user
2014-08-26/16:27:5
//
1. Use the create user command to add a admin:/>create user type=local
new user.
p : 8 UTC+08:00
t
user_name=testuser level=admin
t --================
:h
2. Add a user, testuser, whose user level Password:******
===============
is admin user.
e s Reenter password:******
s ou
e
NOTE
R
g
User_name=? Name of a user or user group.
n i n For a local user, the value must start with a letter and contain 6 to 32
eL
ASCII characters, excluding double quotation marks ( “ )
or
M Level=? Level of a user or user group.
1. Use the change user_password command to change the password of the current user.
e n
Command executed successfully.
/
o m
NOTE
e i .c
The password will be displayed behind asterix.
aw
The password consists of 8 to 16 characters and is case-sensitive.
u
g .h
The password must contain special characters including ~ ! @ # $ % ^ & * ( ) - _ = + \ |
[ { } ] ; : ' " , < . > / ? and space.
ni n
The password must meet password complexity requirements:
r
-
// lea
When "password complex" is set to "Normal", the password must contain at least two
p :
of the following three: lowercase character, uppercase character, and number.
t t
:h
- When password complex" is set to "High", the password must contain lowercase
s
character, uppercase character, and number.
r c e
The password must be different from the username and the username in reversed order.
s ou
One character must not appear for more than three times consecutively.[Note: You an use
e
the "change safe_strategy" command to change the password and login policies of a
R
g
storage system.]
n i n
ar
L e
Delete a user
shown below.
1. Use the change user user_name command to change the level of a user.
e n
NOTE /
o m
User_name=? Name of a user.
e i .c
To obtain the value, run show user
aw
u
.h
Level=? A user level that you want to change.
i n g
The value can be “admin” or “guest”, where:
r n
lea
“admin”: indicates a user at the administrator level.
//
“guest”: indicates a user at the guest level.
Action=?
p :
The value can be “reset_password” or “offline”, where:
t t
:h
“reset_password”: A user’s password will be initialized to a
s
new password entered by the user.
r c
e “offline”: A user will be forced offline.
s ou
Re
Reset the password of a user
i n g
1. Use the reset_password action to reset the password of a user.
r n
2. Reset the password of the user testuser. change user user_name=testuser
e a
L
action=reset_password
g
Cache Capacity : 24.000GB
//
Temperature(Celsius) : 59
p :
t
Voltage(V) : 1.8
t
:h
Software Version : 2.50.02.103
r c SES Version : --
ing
BIOS Version : 06.03.05T02
arn
L e
r e
o
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
:
NOTE: The default management network port IP addresses of the controller A and controller B
p
t t
are 192.168.128.101 and 192.168.128.102, and the default subnet mask is 255.255.0.0.
:h
The default username and password of the super administrator are admin and
Admin@storage.
e s
r c
This document uses the Windows operating system as an example to explain how to log in to
ou
the DeviceManager. The login operations on other operating systems need to be adjusted
accordingly.
es
R
n g
3. Click Advanced, Set the authentication mode and language.
i
r n
4. Type your username and password in Username and Password field respectively .
e a
e L
5. Click Log In. The DeviceManager main window is displayed.
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
e
3. Select the Basic Information button.
r c
ou
4. Set Device Name and Device Location.
es
R
i n g
r n
e a
e L
or
M
5. Click Save, The Execution Result dialog box is displayed, indicating that the operation
succeeded.
6. Click Close.
e n
/
1.3.2 Setting Storage Device Time
o m
e i .c
w
1. On the right navigation bar, click the settings button.
M 5. Click Modify.
e n
/
o m
e i .c
aw
u
g .h
ni n
8. Click Close.
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
2. In the right function pane, click the cabinet whose Fibre Channel host port you want to view.
p :
3. Click the controller enclosure where the Fibre Channel host port resides.
t t
:h
4. Click to switch to the rear view.
e s
r c
5. Click the Fibre Channel host port whose information you want to view.
s ou
Re
i n g
r n
e a
e L
or
M
6. Click Modify.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
7. In Configured Rate (Gbit/s), select a data transfer rate for the Fibre Channel host port.
8. Click Apply.
p :
t t
:h
9. Confirm the information in the dialog box and select I have read the previous information
s
and understood subsequences of the operation.
e
r c
s ou
Re
i n g
r n
e a
e L
or
M
10. Click OK. The Success message box is displayed, indicating that the operation succeeded.
12. Click the Ethernet port whose information you want to view.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
13. Click Modify.
p :
t t
:h
14. In the IPv4 address text box, enter an IP address for the Ethernet port.
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M
15. In the Subnet Mask area, enter the subnet mask of the Ethernet port.
16. In MTU (Byte), type a maximum transfer unit (MTU) for the packets transferred between the
Ethernet port and the application server.
18. Confirm the information in the dialog box and select I have read the previous information
and understood subsequences of the operation.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
19. Click OK. The Success message box is displayed, indicating that the operation succeeded.
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
25. In Type, select default.
g .h
ni n
26. In Gateway, enter the gateway where the local end Ethernet port's IP address resides.
r
lea
27. Click OK. The route information is added to the route list.
: //
28. Confirm the information in the dialog box and select I have read the previous information
t t
and understood subsequences of the operation. p
s :h
29. Click OK. The Success message box is displayed, indicating that the operation succeeded.
r c e
s ou
Re
i n g
r n
e a
e L
or
M
30. Click Close.
2. In the right function pane, click the cabinet whose disk you want to view.
n
4. Click the disk whose information you want to view.
/ e
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
5. Select the disk you want to locate and click Locate Disk in the lower area of the function pane.
ou
The Execution Result dialog box is displayed, indicating that the operation succeeded.
es
R
i n g
r n
e a
e L
or
M
NOTE: After the disk is replaced with a new one, the disk Location indicator remains on. In this
case, cancel disk locating.
6. Click Close.
7. Select the disk of which you want to cancel locating and click Cancel Locating in the lower
area of the function pane. The Execution Result message box is displayed, indicating that the
operation succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
:h
8. Click Close.
e s
1.6
r c
POWERING ON AND OFF AN INTERFACE MODULE
s ou
e
1. On the right navigation bar, click system
R
and off.
i n g
2. In the right function pane, click the cabinet whose interface module port you want to power on
r n
a
3. Click the controller enclosure that houses the interface module.
e
eL
4. Click to switch to the rear view.
6. Click Power On. The Success message box is displayed, indicating that the operation
succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
7. Click OK. The interface module is powered on.
M 9. Confirm the information in the dialog box and select I have read the previous information
and understood subsequences of the operation.
e n
/
o m
e i .c
w
10. Click OK. The Success message box is displayed, indicating that the operation succeeded.
a
u
.h
11. Click OK. The interface module is powered off.
i n g
r n
lea
1.7 POWERING OFF A DEVICE
: //
t p
1. On the right navigation bar, click the Settings button.
t
:h
2. In the Task area, choose Power Off Device.
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M
3. Confirm the information in the dialog box and select I have read the previous information
and understood subsequences of the operation.
4. Click OK. The Success message box is displayed, indicating that the operation succeeded.
Purpose
n
Upon completing this lab, the student will have a working knowledge of basic configuration and
functions of SAN storage products. The Provisioning functions include Disk Domains, Storage
/ e
Pools, LUNs and LUN Groups. The student will configure a Fibre Channel and IP SAN within a
o m
.c
Windows based environment and use Disk Management to add the created LUN. This lab uses the
OceanStor 5300 V3 as an example.
e i
aw
Goals and tasks
u
g .h
i n
Getting knowledge of basic configuration and functions of SAN storage products
n
r
lea
Configure Disk Domains, Storage Pools, LUNs, LUN Groups
//
Configure Fibre Channel and IP SAN within a Windows environment
p
Connect the created LUN to a Windows Server :
t t
Devices
s :h
r c e
ou
1. OceanStor 5300 V3
s
2. Maintenance terminal
3. IP switch
Re
i n g
4. Fibre Channel switch
n
5. PC running the DeviceManager management interface
r
e a
L
Networking diagram
r e
o
M
Server
IP switch
Storage FC switch
NOTE:
The Disks in slots 0 through 3 of the controller enclosure are system coffer disks, which are used
n
to save critical system data. Do not insert or remove the coffer disks, not change the sequence of
the coffer disks unless it is absolutely necessary. Otherwise, system data may be damaged. Do not
/ e
insert or remove disks in other slots unless necessary. Otherwise, data loss may occur.
o m
.c
Ensure that coffer disks are of the same type.
e i
1. Login to the DeviceManager.
aw
2. On the right navigation bar click the Provisioning button
u
3. In the Storage Configuration and Optimization area, click Disk Domain.
g .h
4. Click the Create button.
ni n
r
// lea
p :
t t
s :h
r c e
s ou
5. Enter a name for the Disk Domain in
the Name text box.
Re
i n g
r n
6. Optionally enter the functions and
e a
L
properties of the Disk Domain within
e
the Description text box.
or
M 7. In Disk Type, select the Manually
Select radius button to set the type of
disks that comprise the Disk Domain.
8. Click Select.
9. In the Available Disks area, select the disks that you want to add to the Disk Domain.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
12. The Success box will display that the operation succeeded. Click OK.
s ou
Re
i n g
r n
e a
e L
or
M
n
3. Click the Create button.
/ e
o m
e i .c
aw
u
g .h
ni n
r
lea
4. In the Name text box, enter a
name for the Storage Pool.
: //
t t p
5. Optionally enter the functions
s :h
r
and properties of the Storage
c e
ou
Pool within the Description text
box.
es
R
i n g
n
6. In the Usage field, select Block
r
a
Storage Service. Note that File
e
eL
Storage Service is also available.
or
M 7. In Disk Domain, select the Disk
Domain to be added.
8. In Storage Medium, select a RAID Policy and Capacity for the Storage Pool.
9. Click the Advanced button, but leave the Capacity Alarm Threshold at 80% and the Data
Migration Granularity at 4MB.
10. Click OK.
11. Check the information you just added and click the OK button at the Create Storage Pool
wizard.
12. The Execution Result dialog box is displayed and indicating that the operation succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
o u
e
2.3 CREATING A LUNs
R
i n g
In this section you will create a new LUN within the Storage Pool that is just created.
arn
e
1. On the right navigation bar click the Provisioning button.
L
re
2. Click LUN in the Block Storage Service area.
o
3. Click the Create button.
ni n
the LUN you are creating belongs.
r
// lea
8. Click the Advanced button. The
p :
t t
:h
Advanced dialog box is displayed.
e s
r c
9. Click the Properties tab.
s ou
Re
10. In Owning Controller, select
i n g
Controller A. Note that it is also
n
possible to redirect the LUN via
ar
controller B or let the system auto
L e
select it.
14. Click OK to create the LUN. The Execution Result dialog box is displayed, indicating that the
operation succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
2.4 CREATE LUN GROUP
r c e
s ou
e
In this section of the lab you will create a new LUN Group for the LUN you created in the previous
lab.
R
i n g
r n
1. On the right navigation bar click the Provisioning button.
e a
2. In the Block Storage Service area, click LUN.
e L
r
3. Select the LUN Group tab and click Create.
o
M
4. In the Name text box, enter a name for the new LUN Group.
6. In the Available LUNs area, select the LUN you just created. Note that it is also possible to
add multiple LUNs to a LUN Group.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
a
8. Click OK to create the LUN Group. The Execution Result dialog box is displayed, indicating
L e
that the operation succeeded.
o
M
Objectives
n
Upon completing this lab, you will have a working knowledge of:
Principles and methods used in Fibre Channel SAN networking of the OceanStor 5300 V3.
/ e
o m
.c
Devices and components used in Fibre Channel networking of the OceanStor 5300 V3.
e i
Devices
aw
u
1. OceanStor 5300 V3
g .h
2. Fibre Channel switch
ni n
r
lea
3. Fibre Channel HBA inserted in a server
4. Optical fibers
: //
t t p
:h
Networking Diagram
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M
PROCEDURE
Task 1: Build a directly connected network with one single-port or dual-port HBA.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
Task 2:
lea
Build a multipathing network with one single-port HBA.
//
Procedure:
p :
Connect the devices as shown or draw a schematic diagram.
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
Task 3: Build a multipathing network with two single-port HBAs or one dual-port HBA.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
Task 4:
t
Build a full-redundancy network with two dual-port HBAs.
t
:h
Procedure: Connect the devices as shown or draw a schematic diagram.
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M
Task 5: Configure zoning for a Fibre Channel switch. This task is optional. If the networking
mode is simple, zoning is not required.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
3. Select members for the zone from the Member Selection List area.
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
4. Click the triangle to add the Selected Members to the Zone Members area.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
5. Click the Save Config button to save zone that you just created.
r c e
s ou
Re
i n g
r n
e a
e L
or
M
6. Click the Zone Config tab and click the New Zone Config button.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
7. From the Member Selection List, select a zone to add to the Zone Config Members area.
r c e
s ou
Re
i n g
r n
e a
e L
or
M
8. Click the Enable Config button to enable the new zone configuration that you just created.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n This is the end of lab exercise 3
e a
e L
or
M
Objectives
n
Upon completing this lab, you will have a working knowledge of creating a Host, Host Group, Port
Group and Mapping View. The student will know how to configure a Fibre Channel and IP SAN
/ e
within a Windows environment.
o m
Create a Host
e i .c
Create a Host Group
aw
u
Create a Port Group
g .h
Create a Mapping View
ni n
r
lea
Fibre Channel SAN configuration in the Windows environment
:
IP SAN configuration in the Windows environment
//
t
Disk management for Windows based hostst p
s :h
Devices
r c e
1. OceanStor 5300 V3
s ou
Re
2. Maintenance terminal
i
3. IP switch
n g
r n
a
4. Fibre Channel switch
e
eL
5. PC running the DeviceManager management interface
or
M
Server
e n
/
IP switch
o m
e i
FC switch
.c
w
Storage
u a
g .h
ni n
r
Networking diagram (IP SAN )
// lea
p :
t t
s :h
IP switch
r c e
ou
Server
es
R
i n g
r n
e a
eL
Storage
or
M
1. Double click on the iSCSI Initiator to run the application. (iSCSI initiator is a default software
preinstalled in windows server since Windows 2008)
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
:h
2. Choose the Discovery tab, and click on the Discovery Portal button, input the IP address
s
192.168.6.9 , 192.168.6.10 to discovery targets. Where 192.168.6.9 is the IP address of the
e
r c
iSCSI host port connected to the application server.
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
lea
3. Choose the Discovery tab, click on the Connect button after select the Discovered targets.
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
4. Click OK.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
NOTE: Use the IP addresses that are provided by the E-Lab network topology.
i n g
r n
e a
e L
or
M
e i .c
6. In the OS, select Windows.
aw
u
.h
7. In the IP Address field, enter the IP address of the host.
8. Click Next.
i n g
r n
9. In the Available Initiators area, select one or multiple initiators based on your service needed.
NOTE:
// lea
:
If the initiator information has been configured on the application server, the DeviceManager
p
t t
can automatically detect the configured initiator. You only need to select the initiator
:h
information from the initiator list rather than manually creating it, so you can skip Step 10 to 15.
e s
You do not add initiators on different application servers to a same host.
r c
s ou
10. Click Create.
Re
g
11. From the Type list, select iSCSI.
n i n
12. In IQN, enter the iSCSI Qualified Name (IQN) of an iSCSI initiator. For example:
ar
iqn-1991-05.com.microsoft:tc18124.
L e
r e
o
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
e
13. In the Available Initiators area, select one initiator.
R
ing
14. Click the button to add the initiator to the Selected Initiators area.
rn
15. Finish the create Host wizard.
e a
16. Carefully read the content in the dialog box. Then check the checkbox for confirmation and
eL
click OK.
or
M
In this section you will create a Host Group for the Host that is created in the previous lab.
g .h
7. Click to add the Host to the Selected Hosts area.
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
8. Click OK. The Execution Result message box is displayed, indicating that the operation is
succeeded.
e n
/
o m
e i .c
aw
u
4.1.4 CREATE A PORT GROUP
g .h
ni n
In this lab you will create a Port Group for iSCSI usage.
r
// lea
:
1. On the right navigation bar click the Provisioning button.
t t p
2. In the Storage Configuration and Optimization area, click Port.
s :h
3. Open the Port Group tab and click Create.
r c e
4. In the Name text box, enter a name for the Port Group. For example: iSCSI-PortGroup.
ou
5. Optionally enter a Description of the Port Group.
s
Re
6. Select the ports that you want to add to the Port Group in the Available Ports list.
7. Click
i n g
to add the ports to the Selected Ports area.
r n
e a
e L
or
M
8. Click OK. The Execution Result message box is displayed, indicating that the operation
succeeded.
e n
/
o m
e i .c
aw
u
g .h
4.1.5 CREATE A MAPPING VIEW
ni n
r
In this lab you will create a Mapping View.
// lea
p :
t t
1. On the right navigation bar click the Provisioning button.
s :h
2. In the Block Storage Service area, click Mapping View.
3. Click Create.
r c e
ou
4. In the Name text box, enter a name for the Mapping View.
s
Re
5. Optionally enter a Description for the Mapping View.
6.
i n g
In LUN Group, click . This will open the Select LUN Group dialog box.
7.
r n
From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
e a
click OK.
e L
or Repeat steps 6 and 7 to add a Host Group and Port Group to the Mapping View. Note that
M you need to check the checkbox before you can add a Port Group.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
c e
9. Click OK. The Execution Result dialog box is displayed, indicating that the operation
r
ou
succeeded.
es
R
i n g
r n
e a
e L
or
M
In section of the lab you will install the Fibre Channel HBA driver for a Windows based server. You
will create a Fibre Channel Host, Host Group, Port Group and Mapping View.
e n
/
Installing a Driver for the Fibre Channel HBA on the Windows-based Server
o m
1. Open the server chassis and install a Fibre Channel HBA.
e i .c
aw
2. Start up the Windows-based server and log in to the server as a user in the Administrators
group.
u
3. Install a Fibre Channel HBA driver for Windows Server.
g .h
ni n
r
// lea
p :
Querying the WWPN of a Fibre Channel HBA (Qlogic QLE2562 HBA)
t t
:h
1. Double-click the icon of the Qlogic HBA application. The QConvergeConsole CLI window is
s
displayed.
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
3. In the FC Adapter Information screen, type 1 and press Enter. The Adapter Information
g
screen is displayed, as shown in the red square in the following figure.
.h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
L
4.1.7 CREATING A FIBRE CHANNEL HOST
r e
o In this lab you will create a host for Fibre Channel usage.
e n
/
o m
e i .c
aw
u
4. In the Name, enter Name of the host.
g .h
5. In the Description, enter Description of the host.
ni n
r
lea
6. In the OS, select Windows.
7. Click Next.
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
8. In the Available Initiators area, select one or multiple initiators based on your service need.
NOTE:
If the initiator information has been configured on the application server, the DeviceManager
can automatically detect the configured initiator. You only need to select the initiator
information from the initiator list rather than manually creating it, so you can skip Step 10 to 15.
You do not add initiators on different application servers to a same host.
e n
/
9. Click Create.
o m
10. From the Type list, select FC.
e i .c
w
11. In WWPN, enter the WWPN number. For example: 21000024FF3FB076.
u a
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
n
12. Click OK.
ar
L e
r e
o
M
14. In the Available Initiators area, select one initiators based on your service need.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
16. Click Next.
e a
e L
or
M
e n
/
o m
e i .
.c
aw
u
.h
18. Carefully read the content in the dialog box. Then select I have read the previous
g
information and understood subsequences of the operation for confirmation.
ni n
r
19. Click OK. The Execution Result dialog box is displayed indicating that the operation
succeeded.
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
n
20. Click Close.
ar
L e
e
r 4.1.8
o CREATING A HOST GROUP
M
In this section you will create a Host Group for the Fibre Channel host.
4. Click Create.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
5. In the Name, enter Name of the host group.
p :
t t
:h
6. In the Description, enter Description of the host group.
e s
7. In the Available Hosts area, select one or multiple initiators based on your service need.
r c
ou
8. Click to add the hosts to the Selected Hosts area.
es
9. Click OK. The Execution Result message box is displayed, indicating that the operation
succeeded. R
i n g
r n
e a
e L
or
M
In this section of the lab you will create a Fibre Channel Port Group.
M 7. Select the ports you want to add to the port group in Available Ports list.
9. Click OK. The Execution result message box is displayed, indicating that the operation
succeeded.
e n
/
o m
e i .c
aw
u
g .h
n
10. Click Close.
ni
r
// lea
4.1.10 CREATING A MAPPING VIEW
p :
t t
s
In this lab you will create a Mapping View.:h
r c e
ou
1. On the right navigation bar click the Provisioning button.
es
2. In the Block Storage Service area, click Mapping View.
R
3. Click Create.
i n g
n
4. In the Name text box, enter a name for the Mapping View.
r
e a
5. Optionally enter a Description for the Mapping View.
e L
or 6. In LUN Group, click . This will open the Select LUN Group dialog box.
M 7. From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
click OK.
Repeat steps 6 and 7 to add a Host Group and Port Group to the Mapping View. Note that
you need to check the checkbox before you can add a Port Group.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
c e
9. Click OK. The Execution Result dialog box is displayed, indicating that the operation
r
ou
succeeded.
es
R
i n g
r n
e a
e L
or
M
Objectives
n
Upon completing this lab, you will have a working knowledge of creating a Host, Host Group, Port
Group and Mapping View. The student will know how to configure a Fibre Channel and IP SAN
/ e
within a Linux environment.
o m
Create a Host
e i .c
Create a Host Group
aw
u
Create a Port Group
g .h
Create a Mapping View
ni n
r
lea
Fibre Channel SAN configuration in the Linux environment
:
IP SAN configuration in the Linux environment
//
t
Disk management for Linux based hosts t p
s :h
Devices
r c e
s
1. OceanStor 5300 V3
ou
Re
2. Maintenance terminal
i n
3. IP switch g
r n
a
4. Fibre Channel switch
e
eL
5. PC running the DeviceManager management interface
or
M
Server
e n
/
IP switch
o m
e i
FC switch
.c
w
Storage
u a
g .h
ni n
r
Networking diagram ( IP SAN )
// lea
p :
t t
s :h
IP switch
r c e
ou
Server
es
R
i n g
r n
e a
eL
Storage
or
M
2. Run rpm -qa|grep open-iscsi to check whether the iSCSI RPM package is installed on the
application server.
e n
/
o m
.c
If the following information is displayed, the RPM
package is installed on the application server. Go to
e i
#rpm -qa|grep open-iscsi
u
3. Install the open-iscsi package.
g .h
ni n
r
lea
Run the yast command. The YaST screen is displayed.
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
On the left of the screen, navigate to Network Services. Then on the right, select iSCSI
Initiator and press Enter.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
lea
Select Install and press Enter. Wait until the installation is complete.
Select Service Start to be When Booting, as shown in the following figure. Optionally
change the last part of the IQN. Press Alt+O to confirm the operation.
Run cat /etc/iscsi/initiatorname.iscsi to query the initiator name. The result is shown in the bold
font in the following figure.
n
InitiatorName=iqn.1996-04.de.suse:01:myserver01
r
// lea
p :
t t
:h
4.2.1.3 Configuring the iSCSI connection in the Linux environment
e s
r c
1. Log in to the Linux-based application server as user root.
ou
2. To discover the iSCSI targets run the following command
s
-
Re
iscsiadm –m discovery –t st –p X.X.X.X
i n g
iscsiadm –m discovery –t st –p Y.Y.Y.Y
r nWhere X.X.X.X and Y.Y.Y.Y is the IP address of the iSCSI host port on controller A and
e a controller B of the storage device. The prerequisite is that the host can properly
eL
communicate with the iSCSI host port on the other controller.
or
M
o m
e i .c
4. Run iscsiadm –m node -l to login to the target.
aw
u
.h
5. Run iscsiadm –m session to check the established session.
//
iqn.2006-08.com.huawei:oceanstor:2100643e8c39c68a::22004:192.16
8.57.206
p :
t t
:h
tcp:[5]192.168.57.205:3260,8199
s
iqn.2006-08.com.huawei:oceanstor:2100643e8c39c68a::22006:192.16
e
8.57.205
r c
s ou
Re
g
NOTE: Use the IP addresses that are provided by your instructor or check it in the
i n
DeviceManager configuration. IP addresses used in this lab guide may not be correct for your
n
r
situation.
a
L e
r e
o
M
e i .c
6. In the OS, select Linux.
aw
u
.h
7. In the IP Address field, enter the IP address of the host.
8. Click Next.
i n g
r n
9. In the Available Initiators area, select one or multiple initiators based on your service needed.
// lea
:
NOTE: If the initiator information has been configured on the application server, the
p
t t
DeviceManager can automatically detect the configured initiator. You only need to select the
:h
initiator information from the initiator list rather than manually creating it, so you can skip Step
e s
10 to 15. Do not add initiators belonging to different application servers to a same host.
r c
ou
10. Click Create.
es
R
11. From the Type list, select iSCSI.
i n g
12. In IQN, enter the iSCSI Qualified Name (IQN) of an iSCSI initiator. For example:
n
iqn.1996-04.de.suse:01:36f28beb398c.
r
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
e
In the Available Initiators area, select one initiator.
R
ing
13. Click the button to add the initiator to the Selected Initiators area.
rn
14. Finish the create Host wizard.
e a
15. Carefully read the content in the dialog box. Then check the checkbox for confirmation and
e L click OK.
or
M
In this section you will create a Host Group for the Host that is created in the previous lab.
g .h
7. Click to add the Host to the Selected Hosts area.
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
8. Click OK. The Execution Result message box is displayed, indicating that the operation
succeeded.
e n
/
o m
4.2.4 CREATE A ISCSI PORT GROUP
e i .c
aw
In this lab you will create a Port Group for iSCSI usage.
u
g .h
1. On the right navigation bar click the Provisioning button.
ni n
r
lea
2. In the Storage Configuration and Optimization area, click Port.
//
3. Open the Port Group tab and click Create.
p :
t
4. In the Name text box, enter a name for the Port Group. For example: iSCSI-PortGroup.
t
:h
5. Optionally enter a Description of the Port Group.
e s
c
6. Select the ports that you want to add to the Port Group in the Available Ports list.
r
7. Click
ou
to add the ports to the Selected Ports area.
s
Re
i n g
r n
e a
e L
or
M
8. Click OK. The Execution Result message box is displayed, indicating that the operation
succeeded.
e n
/
o m
e i .c
aw
u
g .h
4.2.5 CREATE A MAPPING VIEW
ni n
r
In this lab you will create a Mapping View.
// lea
p :
1.
t t
On the right navigation bar click the Provisioning button.
2.
s :h
In the Block Storage Service area, click Mapping View.
3. Click Create.
r c e
4.
ou
In the Name text box, enter a name for the Mapping View.
s
5.
Re
Optionally enter a Description for the Mapping View.
6.
i n g
In LUN Group, click This will open the Select LUN Group dialog box.
r n
a
7. From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
L e
click OK.
r e
o
M Repeat steps 6 and 7 to add a Host Group and Port Group to the Mapping View. Note that
you need to check the checkbox before you can add a Port Group.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
8
t t
Click OK. The Execution Result dialog box is displayed, indicating that the operation
succeeded.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
In section of the lab you will install the Fibre Channel HBA driver for a Linux based server. You will
create a Fibre Channel Host, Host Group, Port Group and Mapping View.
e n
Installing a Driver for the Fibre Channel HBA on the Linux based Server
/
1. Log in to the Linux-based application server as user root. Check whether the host has
o m
identified the HBA. If the host already has the driver for the HBA, go to step 2.
e i .c
aw
2. Run cat /etc/issue to query the operating system version. The output is as follows:
u
#cat /etc/issue
g .h
ni n
r
Welcome to SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel \r (\l).
// lea
p :
3. Check whether the host has identified the Fibre Channel HBA. SUSE 10 has an HBA driver.
t t
:h
Run cat /sys/class/fc_host/host*/port_name to query the WWN of the HBA. If this file does
s
not exist, go to step 4. The output is as follows:
r c e
suse:~ # cat /sys/class/fc_host/host*/port_name
ou
0x210000e08b8baaae
0x210100e08babaaae
es
R
i n g
n
Run cat /sys/class/fc_host/host*/port_state to check the port status.
ar
L esuse:~ # cat /sys/class/fc_host/host*/port_state
Online
r e Online
o
M If the host did not identify the Fibre Channel HBA, you must manually install the HBA driver.
Download the RPM package from the official website of the HBA vendor and upload it to the
application server.
4. Run rpm –ivh XXX where XXX is the name of the Fibre Channel HBA driver RPM package to
install. Then perform step 1 again to check the result.
In this lab you will create a host for Fibre Channel usage.
i n g
5. In the Description, enter Description of the host.
r n
a
6. In the OS, select Linux.
e
e L
7. Click Next.
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
8. In the Available Initiators area, select one or multiple initiators based on your service need.
r n
a
NOTE:
e
eL
If the storage has been connected to the application server via FC, the DeviceManager can
or
automatically detect the configured initiator. You only need to select the initiator information
from the initiator list rather than manually creating it, so you can skip Step 10 to 15. Do not add
9. Click Create.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
12. Click OK.
r c e
s ou
Re
i n g
r n
e a
e L
or
M
13. Click OK.
14. In the Available Initiators area, select one initiators based on your service need.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
16. Click Next.
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h .
ni n
r
18. Carefully read the content in the dialog box. Then select I have read the previous
lea
information and understood subsequences of the operation for confirmation.
//
p :
19. Click OK. The Execution Result dialog box is displayed indicating that the operation
succeeded.
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
20. Click Close.
In this section you will create a Host Group for the Fibre Channel host.
7. In the Available Hosts area, select one or multiple initiators based on your service need.
9. Click OK. The Execution Result message box is displayed, indicating that the operation
succeeded.
e n
/
o m
e i .c
aw
u
10. Click Close.
g .h
ni n
ar
4.2.9 CREATING A FIBRE CHANNEL PORT e
// l GROUP
:
t tp
h
In this section of the lab you will create a Fibre Channel Port Group.
s :
c e
1. On the right navigation bar, click the Provisioning button.
r
o u
2. In the Storage Configuration and Optimization area, click Port.
es
3. Click the Port Group tab.
R
i n g
4. Click Create.
arn
L e
ore
M
7. Select the ports you want to add to the port group in Available Ports list.
9. Click OK. The Execution result message box is displayed, indicating that the operation
succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
10. Click Close.
Re
i n g
r n
a
e CREATING A MAPPING VIEW
L
4.2.10
ore
M In this lab you will create a Mapping View.
3. Click Create.
4. In the Name text box, enter a name for the Mapping View.
6. In LUN Group, click This will open the Select LUN Group dialog box.
7. From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
click OK.
Repeat steps 6 and 7 to add a Host Group and Port Group to the Mapping View. Note that
e n
you need to check the checkbox before you can add a Port Group.
/
o m
8. The result should be similar to the image below.
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
9. Click OK. The Execution Result dialog box is displayed, indicating that the operation
r n
a
succeeded.
L e
r e
o
M
Objectives
n
Upon completion of this lab, the student will be able to install the Multipathing software and view a
LUN in Disk Management for Windows.
/ e
o m
Install Multipathing software
e i .c
w
View a LUN in Disk Management
Use a LUN
u a
g .h
Hardware and software requirements
ni n
r
lea
1. Server running Windows
e s
c
Networking diagram
r
s ou
Re
i n g
r n
e a
e L
or
M
1. Open the Server Manager, at your left hand side go to Storage and open Disk Management.
2. If the new disk is not yet discovered, click Action at the top of the Server Manager and select
Rescan Disks.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
c e
You will now see two new disks. This is because you configured two initiators. The
r
ou
Multipathing software must be installed before you can use the disks.
es
R
3. At the left hand side of the Server Manager, choose Diagnostics and open the Device
i n g
Manager. The disk information is displayed under Disk drives.
r n
e a
e L
or
M
1. Obtain the Huawei supplied Multipathing software called UltraPath from the Huawei official
website or the CD-ROM included with the delivery. Pay attention to the compatibility of the
UltraPath.
2. Decompress UltraPath.
e n
/
m
3. Double click the installation file.
.c o
e i
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
4. Install UltraPath as prompted.
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
:h
5. After the setup is completed, click Finish.
e s
c
6. Now the server needs to reboot before the installation is completed. Select the option Yes, I
r
ou
want to restart my computer now and click Next.
es
R
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
:h
8. After the operating system is restarted, open Disk Management. The number of new disks is
e s
half that discovered before the UltraPath installation.
r c
ou
9. Go to Device Manager and look at the disk drives. You should see the following disk(s) as
s
UltraPath_Disk.
Re
i n g
r n
e a
e L
or
M
2. Right click on the LUN you just created and select Online.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
3. The LUN is not initialized yet. Click the right mouse button and select Initialize Disks.
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
lea
4. Leave all settings at default and click OK.
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
5. After the disk is initialized, click the right mouse button at the unallocated space and select
New simple volume to create a new partition.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
6. Now you can use the LUN, add some data on it. Use the Blank File Generator to generate
p :
t
some data.
t
s :h
r c e This is the end of lab exercise 5.1
s ou
Re
i n g
r n
e a
e L
or
M
Objectives
n
Upon completion of this lab, the student will be able to install the Multipathing software and view a
LUN in Disk Management for Linux.
/ e
o m
Install Multipathing software
e i .c
w
View a LUN in Disk Management
Use a LUN
u a
g .h
Hardware and software requirements
ni n
r
lea
1. Server running Linux
e s
c
Networking diagram
r
s ou
Re
i n g
r n
e a
e L
or
M
suse:~ # lsscsi
[0:0:0:0] disk LSI ST936701LC FN B41D /dev/sda
[0:0:1:0] disk LSI ST936701LC FN B41D /dev/sdb
e n
[3:0:0:0] disk HUAWEI S2600T 4202 - /
[3:0:0:1] disk HUAWEI S2600T 4202 /dev/sdc
o m
[4:0:0:0] disk HUAWEI S2600T 4202 -
e i .c
[4:0:0:1] disk HUAWEI S2600T 4202 /dev/sdd
aw
u
g
2. You can also run fdisk-l to view parameters of LUNs mapped to the host. .h
ni n
r
lea
suse:~ # fdisk -l
//
<...>
Disk /dev/sdc: 16.1 GB, 16106127360 bytes
p :
t t
64 heads, 32 sectors/track, 15360 cylinders, total 31457280 sectors
Units = sectors of 1 * 512 = 512 bytes
s :h
c e
Sector size (logical/physical): 512 bytes / 512 bytes
r
ou
I/O size (minimum/optimal): 512 bytes / 512 bytes
s
Disk identifier: 0x00000000
e
R
i n g
Disk /dev/sdc doesn't contain a valid partition table
r n
a
Disk /dev/sdd: 16.1 GB, 16106127360 bytes
e
e L
64 heads, 32 sectors/track, 15360 cylinders, total 31457280 sectors
Two new disks are discovered although only one LUN is mapped to the host. Multipathing software
must be installed before the disks can be used.
Copy the installation package to a home- directory of the root user on the Linux-based application
server. Ask your instructor about the location of the installation package.
Log in to the Linux-based application server and navigate to a home directory of the root user and
n
unzip the package.
Run the following commands in sequence:
/ e
o m
suse:/ # cd /root
suse:~ # unzip OceanStor_UltraPath_V100R008C20SPC100_SLES.zip
e i .c
suse:~ # cd SLES/
aw
u
Execute the following command
g .h
chmod +x install.sh
ni n
r
lea
./install.sh
1.
: //
Select a system boot type. To boot the operating system on the local disk, type 1. To boot
the operating system on the SAN, type 2.
t t p
suse:~/SLES # ./install.sh
s :h
complete iscsi checking.
r c e
ou
complete FC checking.
s
Verify the UltraPath existence.
e
R
The UltraPath is not installed.
n g
If the operating system is installed on a local drive of the server,
i
you are advised
r n
a
to choose boot from local; if the operating system is installed on
e
a SAN storage
L
e
system, you must choose boot from san. Please choose the boot type
or of your system:
<1>--boot-from-Local
M <2>--boot-from-SAN
please input your select: 1
2. Once the installation is complete, you are asked to restart the operating system. Type Y.
3. Once the system starts up, check the number of disks. If only one disk exists, the multipathing
software has taken effect.
e n
suse:~ # lsscsi
/
[0:0:0:0] disk LSI ST936701LC FN B41D /dev/sda
o m
[0:0:1:0]
[3:0:0:0]
disk
disk
LSI
HUAWEI
ST936701LC
S2600T
FN B41D /dev/sdb
4202 -
e i .c
[3:0:0:1] disk HUAWEI S2600T 4202 -
aw
u
.h
[4:0:0:0] disk HUAWEI S2600T 4202 -
[4:0:0:1] disk HUAWEI S2600T 4202
i n g -
n
[5:0:0:1] disk up updisk 4202 /dev/sdc
r
// lea
suse:~ # fdisk -l
p :
<...>
t t
:h
Disk /dev/sdc: 16.1 GB, 16106127360 bytes
e s
64 heads, 32 sectors/track, 15360 cylinders, total 31457280 sectors
r c
Units = sectors of 1 * 512 = 512 bytes
ou
Sector size (logical/physical): 512 bytes / 512 bytes
s
e
I/O size (minimum/optimal): 512 bytes / 512 bytes
R
g
Disk identifier: 0x00000000
i n
Disk /dev/sdc doesn't contain a valid partition table
n
ar
L e
r e
o
M
4. To find out the right disk name assigned to a LUN, run upadmin and then show vlun
command.
suse:~ # upadmin
UltraPath CLI #0 >show vlun
---------------------------------------------------------------
-------------------------------------------------
Vlun ID Disk Name Lun WWN Status
e n
Capacity
/
0 sdc LUN_for_Linux 6643e8c10039c68a00c2494100000000
o m
.c
Normal 15.00GB
---------------------------------------------------------------
------------------------------------------------- e i
UltraPath CLI #1 >quit
aw
u
g .h
ni n
NOTE
r
lea
Do not copy the UltraPath installation package to a directory that contains a space in the path
: //
name, for example, /home/Dad Dir/. Otherwise, execution of the script install.sh will encounter an
error.
t t p
s :h
r c e
If the UltraPath has been installed on the host and the directory of the UltraPath installation
ou
package still exists, do not copy the new UltraPath installation package to that directory to avoid
s
confusion.
Re
i n g
r n
e a
e L
or
M
2. In the case of a multipathing network, check whether the UltraPath for Linux software is
installed on the application server: Run rpm –q UltraPath.
e n
/
If the following information is displayed: Package UltraPath is not installed , the
o m
.c
UltraPath for Linux is not installed. Install the software by following the instructions detailed
in the previous section.
e i
aw
If the following information is displayed: UltraPath-8.01.047-2 , the UltraPath for Linux is
u
.h
installed.
i n g
r n
NOTE: UltraPath-8.01.047-2 is used as an example. The actual UltraPath version may be
lea
different.
: //
t p
3. Enable the port services on the application server.
t
s :h
When iSCSI host ports are used and UltraPath is not installed, run iscsiadm –m node –u
r c e
and then iscsiadm –m node -l to relogin to target and scan for newly mapped LUNs.
s ou
When iSCSI host ports are used and UltraPath is installed, run hot_add to scan for
e
identifiable LUNs.
R
g
When Fibre Channel host ports are used and UltraPath is installed, run hot_add to identify
i n
n
loaded LUNs, as shown in the following figure.
ar
e
suse:~ # hot_add
eL
Begin to delete LUNs whose mappings do not exist
or
Begin to delete LUNs whose mappings are changed.
NOTE: Sometimes, you may need to run hot_add several times to scan for newly mapped
LUNs.
When Fibre Channel host ports are used and UltraPath is not installed, to recover disks
you can run the following commands.
e n
/
m
4. Run fdisk -1 to view the information about all disks on the application server. The output is as
o
.c
follows:
e i
suse:~ # fdisk -l
aw
Disk /dev/sdb: 36.4 GB, 36401479680 bytes
u
255 heads, 63 sectors/track, 4425 cylinders, total 71096640 sectors
Units = sectors of 1 * 512 = 512 bytes
g .h
Sector size (logical/physical): 512 bytes / 512 bytes
ni n
I/O size (minimum/optimal): 512 bytes / 512 bytes
r
lea
Disk identifier: 0x0004342d
://
Device Boot Start End Blocks Id System
tp
/dev/sdb1 2048 4192255 2095104 82 Linux swap /
Solaris
t
:h
/dev/sdb2 4192256 71096319 33452032 83 Linux
e s
Disk /dev/sdc: 16.1 GB, 16106127360 bytes
r c
64 heads, 32 sectors/track, 15360 cylinders, total 31457280 sectors
ou
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
es
I/O size (minimum/optimal): 512 bytes / 512 bytes
R
Disk identifier: 0x00000000
n g
Disk /dev/sdc doesn't contain a valid partition table
i
r n
e a
e L
or
M
5. In this example, run fdisk /dev/sdc to partition the sdc logical disk. The output is as follows:
Device contains neither a valid DOS partition table, nor Sun, SGI
or OSF disklabel
e n
Changes will remain in memory only, until you decide to write them.
/
After that, of course, the previous content won't be recoverable.
o m
e i .c
Warning: invalid flag 0x0000 of partition table 4 will be corrected
aw
u
.h
by w(rite)
i n g
r n
lea
suse:~ # lsscsi
://
[0:0:0:0] disk IBM-ESXS ST936701LC FN B41D /dev/sda
tp
[0:0:1:0] disk IBM-ESXS ST936701LC FN B41D /dev/sdb
t
:h
[3:0:0:0] disk HUAWEI S2600T 4202 -
es
[3:0:0:1] disk HUAWEI S2600T 4202 /dev/sdc
[4:0:0:0] disk
r c HUAWEI S2600T 4202 -
ou
[4:0:0:1] disk HUAWEI S2600T 4202 /dev/sdd
es
R
i n g
r n
e a
e L
or
M
e n
/
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
o m
.c
t change a partition's system id
u change display/entry units
v verify the partition table
e i
w write table to disk and exit
aw
u
x extra functionality (experts only)
:h
Last sector, +sectors or +size{K,M,G} (2048-31457279, default
31457279):
e s
c
Using default value 31457279
r
ou
Command (m for help): w
s
The partition table has been altered!
e
R
Calling ioctl() to re-read partition table.
i n g
Syncing disks.
r n
e a
e L
or
M
e n
I/O size (minimum/optimal): 512 bytes / 512 bytes
/
Disk identifier: 0x0e20e9e4
o m
Device Boot
/dev/sdc1
Start
2048
End
31457279
Blocks
15727616 i
Id System
e83 Linux
.c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
7. Run mkfs.ext3 /dev/sdc1 to create a file system for the sdc1. (Perform this step based on
actual requirements.) The output is as follows:
e n
Block size=4096 (log=2)
/
Fragment size=4096 (log=2)
o m
983040 inodes, 3931904 blocks
196595 blocks (5.00%) reserved for the super user
e i .c
First data block=0
aw
u
.h
Maximum filesystem blocks=4026531840
120 block groups
i n g
n
32768 blocks per group, 32768 fragments per group
r
lea
8192 inodes per group
//
Superblock backups stored on blocks:
p :
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208
t t
s :h
Writing inode tables: done
r c e
ou
Creating journal (32768 blocks): done
s
Writing superblocks and filesystem accounting information: done
e
R
i n g
This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
r n
e a
e L
or
M
8. Run the following command to create a directory. Name the directory based on actual
requirements: mkdir /mnt/sdc1
9. Run the following command to mount the device to the directory: mount /dev/sdc1 /mnt/sdc1
e n
suse:~ # df -h
/
Filesystem Size Used Avail Use% Mounted on
o m
/dev/sdb2
udev
32G
3.9G
3.6G
124K 3.9G
27G 12%
1%
/
/dev
e i .c
tmpfs 3.9G 72K 3.9G 1% /dev/shm
aw
u
.h
/dev/sdc1 15G 166M 14G 2% /mnt/sdc1
i n g
r n
// lea
:
This is the end of lab exercise 5.2
p
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
Objectives
n
Upon completion of this lab, the student will be able to expand existing LUNs as well as creating
Thin Provisioned LUNs.
/ e
o m
Extend a LUN
e i .c
w
Use Disk Management to extend a LUN
ni n
r
lea
1. OceanStor 5300 V3
e s
c
Networking Diagram
r
s ou
Re
i n g
r n
e a
e L
or
M
In this lab we will expand an existing LUN using the OceanStor DeviceManager and use Disk
Management to expand the LUN within a Windows environment.
e n
2. In the Block Storage Service area, click LUN.
/
o m
e
mouse button on the LUN that you want to expand and select the Expand option.i .c
3. Select the LUN that you want to expand. Click the Expand button at the top, or click the right
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
4. The Expand LUN window will open. In the Added Capacity text box, fill in the amount of space
that the LUN will grow. Also take a look at all the different types that are available and notice
that Blocks, MB, GB and TB are shown.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
5. Click OK. Re
i n g
6. An Info screen will open. Click OK.
r n
a
7. You have now successfully expanded the LUN.
e
e L
8. Open Disk Management and click Action at the top of the Server Manager and select
or Rescan Disks.You will now see the LUN with some unallocated space.
9. Now click the right mouse button at the existing partition. Select Extend Volume. This will
open the Extend Volume Wizard.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
lea
10. At the Welcome screen click Next.
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
11. Select the available space at the Selected area and click Next.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
c e
12. Click Finish to complete the Extend Volume Wizard.
r
s ou
Re
i n g
r n
e a
e L
or
M
13. Take a look at the expanded partition and notice that it is expanded.
e n
/
o m
e i .c
6.2 Create Thin Provisioned LUN
aw
u
g .h
In this section of the lab you will create a Thin Provisioned LUN while using the SmartTier feature.
ni n
1. On the right navigation bar click the Provisioning button.
r
2. In the Block Storage Service area, click LUN.
// lea
3. Click the Create button.
p :
t t
:h
4. In the Name text box type a name for the LUN.
e s
5. Check the Enable checkbox at the SmartThin option.
r c
ou
6. Choose the Total Capacity for the Thin Provisioned LUN.
es
7. In the Initially Allocated Capacity text box. Example: When the total capacity is 50gb and
R
you fill in the Initially Allocated Capacity with 10gb, the LUN will take just 10gb on the Storage
n g
Pool. This LUN can grow till 50gb.
i
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
8. When all information is provided, click the OK button to create the Thin Provisioned LUN.
r n
9. The Execution Result box will pop up that the action is succeeded.
e a
e L
or
M
10. Notice in the LUN tab that the new LUN is shown as a Thin LUN.
e n
/
o m
.c
NOTE: Notify that the Initially Allocated Capacity is the space that will be used from the
Storage Pool.
e i
aw
u
.h
11. Click the LUN Group tab.
i n g
12. Click the Add Object button to add the Thin Provisioned LUN to one of the existing LUN
n
Groups. It is also possible to create a new LUN Group.
r
// lea
p :
t t
s :h
r c e
s ou
Re
ing
13. From the Available LUNs area, select the Thin Provisioned LUN and click to add the
LUN to the Selected LUNs area.
arn
14. Click OK.
L e
r e
o
M
e n
/
o m
e i .c
aw
u
15. The Execution Result box will show that the operation is succeeded.
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
L
16. Open the Server Manager and go to Disk Management.
r e17. At the top left of the Server Manager, first click Action
18. You should see a new volume show up. Click the right mouse
button and choose Online.
19. The new LUN is not yet initialized. Click the right mouse button and select Initialize Disk.
e n
Leave all settings at default and click OK. /
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
20. Now the unallocated space is ready to create a volume on.
i n g
21. Right click the unallocated space and select New Simple Volume.
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
22. Follow all steps from the New Simple Volume Wizard.
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
23. Assign a drive letter and click Next.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
24. Assign a name for the new partition in the Volume Label text box.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
25. Click the Finish button to complete the New Simple Volume Wizard. Notice that you can
access the Thin Provisioned LUN and put some data on it.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
r
This is the end of lab exercise 6
o
M
Objectives
n
Upon completing this lab, you will have a working knowledge of using the HyperSnap feature,
creating snapshots and using snapshots to recover data.
/ e
o m
Use HyperSnap feature
e i .c
w
Create snapshots
Use snapshots
u a
Recover data while using snapshots
g .h
ni n
r
lea
Hardware and software requirements
: //
p
1. OceanStor 5300 V3
t t
:h
2. PC running the DeviceManager management interface
3. IP switch
e s
r c
ou
Networking Diagram
es
R
i n g
r n
e a
e L
or
M
1. First add some data on the LUN before you make the snapshot.
2. On the right navigation bar click the Provisioning button.
n
3. In the View and Management area, click LUN.
4. Select a LUN where you want to create a Snapshot from. At the top menu bar, click More and
/ e
select the Create Snapshot option.
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
5. The Create Snapshot wizard will open. You can change the name of the snapshot but that is
not necessary.
r n
a
6. Optionally enter a Description for the snapshot.
e
e L
or
M
8. Click OK.
9. The Execution Result box will show that the operation is succeeded.
11. The Snapshot is now created. Look at the Snapshot part and look at the Snapshot. Notice that
n
it the Running Status is Active and the Mapping is Unmapped.
/ e
o m
e i .c
aw
u
.h
12. Delete some of the files from the LUN.
i n g
r n
// lea
p :
7.2 USE SNAPSHOT TO RECOVER DATA
t t
s :h
c e
In this section of the lab you will use the snapshot that you created to recover data. First you will
r
ou
recover a single file, after that you will rollback the snapshot.
es
7.2.1
R
File recovery using Snapshots
i n g
n
1. First you need to create a mapping for the snapshot you created. Go to the Lun Group tab.
ar
e
2. Select the LUN Group where the LUN is connected to. At the top menu bar, click the Add
eL
Object button.
or
M
4. Select the available Snapshot from the Available Snapshots area. Click the button to
add the Snapshot to the Selected Snapshots area.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
5. Click OK.
r c e
s ou
6. The Execution Result box will show that the operation is succeeded.
Re
7. Click Close. The Snapshot is now mapped to the LUN Group.
i n g
8. Open the Server Manager and go to Disk Management.
r n
e a
9. At the top left of the Server Manager, first click Action
eL
followed by the Rescan Disks option.
or
M
10. You will now see show up an extra Disk. Put that Disk Online by clicking the right mouse
button and select Online.
Huawei confidential. No spreading without 135
permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0.1 Snapshots and recover data
11. The Disk will automatically get a drive letter assigned to it (you may refresh the view of Disk
Management). Open both partitions and take a look at all the data. Notice that the snapshot
LUN has all data on it. Copy the missing files back to the original LUN.
e n
/
o m
e i .c
aw
u
g .h
ni
Now you have recovered some files. We now need to unmap the Snapshot.n
r
13. To unmap the snapshot, go to the LUN Group tab.
// lea
p :
t
14. Select the LUN Group where the Snapshot is connected to. At the top menu bar, click the
t
:h
Remove Object button.
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M 15. Click the Snapshot tab.
16. Select the Snapshot from the Available Snapshots area and click the button to move
the Snapshot to the Selected Snapshots area.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
18. A warning message will show up. Read this message, check the Checkbox and click OK.
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
a
19. The Execution Result box will show that the operation is succeeded.
e
e L
or
M
1. First Delete the data from the partition where you created the snapshot from.
e n
/
o m
e i .c
aw
4. Now go to the DeviceManager and click the Provisioning icon.
u
5. Open the LUN tab.
g .h
ni n
r
6. Select the LUN that you set offline. At the bottom you will see the Snapshot area. Click the
lea
Snapshot tab. Notice that the Snapshot mapping is Unmapped.
: //
t t p
s :h
r c e
s ou
Re
7. The Snapshot Running Status must be Active otherwise you can’t rollback the snapshot. If
i n g
the running status is Inactive, click the right mouse button and select Activate.
r n
a
NOTE: When you manually Deactivate the Snapshot, the Snapshot data will be deleted.
e
eL
Ensure that the selected snapshot is correct and considered to have no
or
useful data.
M 8. Select the Snapshot that you want to rollback. Click the right mouse
button and select Start Rollback.
9. Now you can choose the Rollback Speed. The default rollback speed is Medium. Notice that
it is also possible to change that to Low, High and Highest.
e n
/
o m
e i .c
aw
u
g .h
11. You will now get a warning because you are going to roll back the snapshot. Check the
Checkbox and click OK.
ni n
r
lea
12. The Execution Result box will display that the operation succeeded. Click OK.
r n
a
to Disk Management.
L e
15. Click the right mouse button and select Online.
r e
o
M
16. Take a look and notice that all the data is recovered.
e n
/
o m
e i .c
aw
u
2. Select the LUN where the snapshot is created.
g .h
3. Click the Snapshot tab at the bottom.
ni n
r
4. Select the Snapshot.
// lea
p :
t t
:h
5. Click the right mouse button.
e s
6. Click Deactivate.
r c
s ou
Re
i n g
r n
7.
a
Read the message and check the
e
eL
checkbox.
or 8. Click OK.
1. Go to the LUN screen and select the LUN with the snapshot.
2. Click the Snapshot tab at the bottom.
3. Select the snapshot.
4. Click the Delete button.
e n
/
o m
e i .c
aw
u
5. A Warning window will show.
g .h
Read the message.
ni n
6. Check the checkbox.
r
lea
7. Click OK.
: //
t t p
s :h
r c e
8.
s
The Execution Result will ou
Re
show that the snapshot is
n g
successfully deleted. Click
i
n
Close.
ar
L e
r e
o
M
Objectives
n
Upon completing this lab you will have a working knowledge of the SmartTier feature. The student
will use the SmartTier feature and will create a SmartTier Service Monitoring Period as well as
/ e
monitoring the actual data migration from one tier to another.
o m
Use SmartTier feature
e i .c
Create SmartTier Service Monitoring Period
aw
u
Monitor data migration
g .h
ni n
Hardware and software requirements
r
// lea
1. OceanStor 5300 V3
p :
2. IP switch
t t
s :h
3. System running the OceanStor DeviceManager
r c e
ou
Networking Diagram
es
R
i n g
r n
e a
e L
or
M
In this section of the lab you will use the SmartTier feature.
n
1. On the right navigation bar click the Provisioning button.
e i
aw
u
g .h
ni n
r
4. At the Storage Medium part, select at least two different disk types.
// lea
6. Click the Set SmartTier Policy button.
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
7. Take a look at the available options. For this lab, leave the settings at Default.
8. Click OK.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or 9. Leave the Advanced Settings at Default and click OK.
M
10. Click OK to create the Storage Pool.
11. The Execution Result box will display that the operation succeeded.
e n
/
o m
e i .c
4. In the Name text box, enter a name for the new LUN.
aw
u
5. Optionally enter a Description for the new LUN.
g .h
6. In the Capacity, enter 50GB to create a 50GB LUN.
ni n
r
lea
7. In the Owning Storage Pool, select the Storage Pool to which the LUN you are creating
//
belongs.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
11. Click the Tuning tab.
12. At the SmartTier Policy, select one of the options that is available. In this example we choose
Relocation to low-performance tier.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
16. The Execution Result box will display that the operation is succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
17. Go to the LUN Group tab.
r
// lea
18. You can create a new LUN Group, or add the created LUN to an existing LUN Group.
p :
t
19. Map the LUN Group to an existing Mapping View, or create a new Mapping View.
t
:h
20. Open the Server Manager and go to Disk Management.
e s
21. Make the LUN ready for use and copy some data to it.
r c
s ou
Re
i n g
8.2 CREATE SMARTTIER SERVICE MONITORING PERIOD
arn
In this section of the lab you will create a service monitoring period for the SmartTier feature and
L e
take a look at the data migration to a low performance tier.
7. Select a Start Time that is near the current time, so you can actual see the data move from
.c o
one tier to another.
e i
8. Choose a Duration for the Data Migration Plan.
aw
u
9. Click Apply.
g .h
10. Click OK.
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
11. The Execution Result box will display that the operation succeeded.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
:
12. Wait a few minutes for the Data Migration to start and migrate some data to the other tier.
p
t t
13. To view the actual data migration, go to the Provisioning screen and click Storage Pool.
ou
16. Click the Properties button.
s
Re
i n g
r n
e a
17. At the Properties window, click the SmartTier tab.
e L
r
18. Take a look at the Capacity Distribution and notice that the data is moving from one tier to
o another.
M NOTE: This screen will not update automatically. To get a live view of the SmartTier feature,
follow steps 19 till 22.
e n
/
o m
e i .c
19. To get a live view of the data migration, select the Storage Pool.
aw
u
.h
20. Click the Properties button.
i n g
r n
// lea
p :
t t
21. At the Properties window of the Storage Pool, click the SmartTier Status tab.
s :h
22. In this screen you will see the data move from one tier to another.
r c e
s ou
Re
i n g
r n
e a
e L
or
M
23. When the Migration Status is Ready, the data is moved from one tier to the other one.
Objectives
n
Upon completing this lab, you will have a working knowledge of methods involved in collecting and
saving various fault diagnosis information.
/ e
o m
.c
Hardware and software requirements
e i
1. OceanStor 5300 V3
aw
u
.h
2. IP switch
3. Maintenance terminal
i n g
r n
lea
4. Networking cable
Networking Diagram
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
After this lab, the student will be able to export configuration data of a SAN storage device using
the DeviceManager.
e n
2. On the right navigation bar, click the Settings button.
/
3. In the Task area, click Export Data.
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
ou
4. In Running Data of the Export Data dialog box, click Download.
es
R
i n g
r n
e a
e L
or
M
7. Click Close.
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
2. Install the OceanStor Toolkit as prompted. Click Next while maintaining the default options
n g
until the installation is complete.
i
r n
3. Start the OceanStor Toolkit. Click ToolStore, select the tools you want to use. Custom install
e a
tools in OceanStor Toolkit.
e L
or
M
In this lab you will perform real time and full check on devices.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
ou
3. Click Inspection (including reviewal inspection). The Inspection Wizard dialog box is displayed.
es
R
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
:
4. Click Next. The Select Devices tab page is displayed. Click Add Device. In the Add device
p
t t
dialog box that is displayed, enter the basic information about the device and click Next.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
:h
6. Select the newly added device and click Next.
e s
r c
s ou
Re
i n g
r n
e a
e L
or
M
7. On the Select Check Items tab page that is displayed, select the items to be checked and
click Next.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
c e
8. On the Set Check Policy tab page that is displayed, set the check policy.
r
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
9. Click Next. The inspection starts.
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
10. After the inspection is complete, click Finish. Handle the failed items as prompted.
In this section of the lab we will learn how to collect information about various devices.
n
Collection. The Information
Collection dialog box is displayed.
/ e
o m
e i .c
aw
u
g .h
ni n
r
lea
2. Select the device whose information you want to collect and click Collect.
: //
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
eL
The OceanStor Toolkit starts to collect device information.
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
lea
3. After the collection is complete, the progress bar reaches 100% and Collection Succeeded is
//
displayed, as highlighted by the red square in the following figure.
p :
t t
s :h
r c e
s ou This is the end of lab exercise 9
Re
i n g
r n
e a
e L
or
M
Please ask your instructor for a demonstration video about using the NAS feature.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
Objectives
Upon completing this lab, you will know how to configure RAID on a server.
Devices
e n
/
RH2285
o m
Monitor
e i .c
Mouse
aw
u
Keyboard
g .h
ni n
r
Networking Diagram
// lea
:
Connect the monitor, mouse, and keyboard directly to the server.
t t p
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
PROCEDURE
1. When Press Ctrl-C to Start LSI Corp Configuration Utility. is displayed during the system
startup, press Ctrl+C to start the CU tool.
2. Then Please wait, invoking SAS Configuration Utility... is displayed. After the system is
powered on and the self-checking is complete, the CU management window is displayed.
e n
/
o m
.c
Configuring RAID 0
e i
To configure redundant array of independent disks (RAID) 0 properties on the CU management
screen, perform the following steps:
aw
u
1. Select an SAS controller.
g .h
ni n
r
// lea
p :
t t
s :h
r c e
s ou
Re
i n g
r n
2. Press Enter. The Controller Properties screen is displayed.
e a
e L
or
M
3. Select RAID Properties, and press Enter. The Select New Volume Type screen is displayed.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
:
4. Choose Create RAID 0 Volume. The Create New Volume screen lists available hard disks.
p
t t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
5. Press the -, +, or space key to identify a hard disk to be configured or not for the current RAID
properties.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
NOTE:
p :
t t
If a hard disk is identified as No, the hard disk is not configured with the current RAID
:h
properties.
e s
If a hard disk is identified as Yes, the hard disk is configured with the current RAID properties.
r c
ou
6. Press C, and select Save changes then exit this menu.
es
R
i n g
r n
e a
e L
or
M
Objectives
Upon completing this lab, you will have a working knowledge of:
e n
/
m
Principles and methods used in Fibre Channel SAN networking of the OceanStor 5300 V3.
o
i .c
Devices and components used in Fibre Channel networking of the OceanStor 5300 V3.
e
Devices
aw
u
g .h
n
1. OceanStor 5300 V3
ni
2. Fibre Channel switch
r
3. Fibre Channel HBA
// lea
4. Optical fibers
p :
t t
Networking Diagram
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
PROCEDURE
Task 1: Build a directly connected network with one single-port or dual-port HBA.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
Task 2:
:
Build a multipathing network with one single-port HBA.
p
t t
Procedure: Connect the devices as shown or draw a schematic diagram.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
Task 3: Build a multipathing network with two single-port HBAs or one dual-port HBA.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
:h
Task 4: Build a full-redundancy network with two dual-port HBAs.
e s
c
Procedure: Connect the devices as shown or draw a schematic diagram.
r
s ou
Re
i n g
r n
e a
e L
or
M
Task 5: Configure zoning for a Fibre Channel switch. This task is optional. If the networking mode
is simple, zoning is not required.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
2. Create a zone.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
4. Add zone members.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
6. Create a zone configuration.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
8. Enable the zone configuration.
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
Objectives
Upon completing this lab, you will have a working knowledge of:
Principles and methods used in IP SAN networking of the OceanStor 5300 V3.
e n
Devices used in IP SAN networking of the OceanStor 5300 V3.
/
o m
Devices
e i .c
1. OceanStor 5300 V3
aw
u
2. IP switch
g .h
3. Server
ni n
r
lea
4. Network cable
FAN
RPS
TEMP
PWR
RESET
M
LNK/ACT LNK/ACT LNK/ACT LNK/ACT
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
PROCEDURE
Task 1: Build a directly connected network with one or two network ports.
e n
/
o m
e i .c
aw
u
g .h
ni n
r
Task 2:
// lea
Build a multipathing network with one network port.
p :
t
Procedure: Connect the devices as shown or draw a schematic diagram.
t
s :h
r c e
s ou
Re
i n g
r n
e a
e L
or
M
e n
/
o m
e i .c
aw
u
g .h
ni n
r
// lea
p :
t t
Task 4:
s :h
Build a full-redundancy network.
r c e
Procedure: Connect the devices as shown or draw a schematic diagram.
s ou
Re
i n g
r n
e a
e L
or
M
o m
If you have the HCNA/HCNP certificate:You can access Huawei Career Certification and Basic Technology e-Learning
courses.
e i .c
If you have the HCIE certificate: You can access all the e-Learning courses which marked for HCIE Certification Users.
aw
Methods to get the HCIE e-Learning privilege : Please associate HCIE certificate information with your Huawei account, and
hu
arn
Content: Huawei product training material and Huawei career certification training material.
//le
Method:Logon http://learning.huawei.com/en and enter Huawei Training/Classroom Training ,then you can download
training material in the specific training introduction page.
p :
3、 Priority to participate in Huawei Online Open Class (LVC)
t t
s :h
The Huawei career certification training and product training covering all ICT technical domains like R&S, UC&C, Security,
4、Learning Tools: rc e
Storage and so on, which are conducted by Huawei professional instructors.
u
s o
eNSP :Simulate single Router&Switch device and large network.
R e
WLAN Planner :Network planning tools for WLAN AP products.
n g
In addition, Huawei has built up Huawei Technical Forum which allows candidates to discuss technical issues with Huawei experts ,
ni
share exam experiences with others or be acquainted with Huawei Products.
a r
Statement:
L e
r e
This material is for personal use only, and can not be used by any individual or organization for any commercial purposes.
o
M
HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential 1