You are on page 1of 218

Mo

re
Le
ar
ni
ng
Re
so
ur
ce
s:
ht
tp
:/
/l
ea
rn
in
g.
hu
aw
ei
.c
om
/e
n
HCNA-Storage

n
Huawei Certified

/e
om
HCNA-Storage BSSN

.c
Building the Structure of Storage Network

ei
(Lab Guide)

aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar

Huawei Technologies Co.,Ltd


Le
re
Mo

HUAWEI TECHNOLOGIES
HCNA-Storage

Copyright © Huawei Technologies Co., Ltd. 2015. All rights reserved.

No part of this document may be reproduced or transmitted in any form or by any means

n
without prior written consent of Huawei Technologies Co., Ltd.

/e
Trademarks and Permissions

om
.c
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other

ei
trademarks and trade names mentioned in this document are the property of their respective
holders.

aw
Notice

hu
g.
The information in this document is subject to change without notice. Every effort has
been made in the preparation of this document to ensure accuracy of the contents, but all

in
statements, information, and recommendations in this document do not constitute the

rn
warranty of any kind, express or implied.

ea
/l
:/

Huawei Certified
tp

HCNA-BSSN Building the Structure of Storage Network Lab Guide


ht

Version 3.0
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

HUAWEI TECHNOLOGIES
HCNA-Storage

Huawei Certification System

n
/e
Relaying on its strong technical and professional training system, according to different

om
customers at different levels of ICT technology, Huawei certification is committed to provide

.c
customs with authentic, professional certification. Based on characteristics of ICT

ei
technologies and customers ’needs at different levels, Huawei certification provides customers
with certification system of four levels.

aw
hu
HCNA-Storage BSSN (Huawei Certified Network Associate –Storage Building the Structure of

g.
Storage Network) training aims to provide guidance to participants in learning contents related

in
to the HCNA-Storage exam.The training covers the knowledge, technologies and application
of SAN,NAS, and structure ,network, connection, deploying ,troubleshooting in Huawei SAN

rn
Storage system.
ea
/l
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
the following: SAN, NAS, Backup and DS technology, Unified storage system principle and
tp

application, Huawei storage solution planning, deployment, troubleshooting and maintenance.


ht

HCIE-Storage (Huawei Certified Internetwork Expert-Storage) is designed to endue engineers


s:

with a variety of Storage network and system technology and proficiency in maintenance,
ce

diagnostics and troubleshooting of Huawei solution, which equips the engineers with
ur

competence in planning, design and optimization of large-scale ICT Solution.


so
Re
ng
ni
ar
Le
re
Mo

HUAWEI TECHNOLOGIES
Mo
re
Le
ar
ni
ng
Re
so
ur
ce
s:
ht
tp
:/

HUAWEI TECHNOLOGIES
/l
ea
rn
in
g.
hu
aw
ei
HCNA-Storage

.c
om
/e
n
HCNA-Storage

Foreword

n
Outline

/e
HCNA-Storage covers the storage technologies (RAID, SCSI, iSCSI, FC) and its application,

om
focusing on the IP-SAN, FC-SAN architecture, networking, connectivity, deployment and

.c
maintenance.

ei
Content

aw
The course contains a total of 11 chpaters:

hu
Chapter1 Describes what is information, the life cycle of data , concept of business Continuity,

g.
and an introduction of components in an ICT infrastructure.

in
Chapter2 Describes what is DAS, SCSI technology, Hard Disk Technology, Solid State

rn
Technology.

ea
Chapter3 Describes What is NAS, Ethernet Basics, Ethernet Hardware Components.
/l
Chapter4 Describes the ideal ICT infrastructure, Storage protocols Fibre Channel, IP SAN
:/

Storage protocols iSCSI.


tp

Chapter5 Describes traditional RAID Technology.


ht

Chapter6 Describes basic concepts of Big Data, Object-based storage technologies, and
OceanStor 9000 key technologies of Big Data
s:

Chapter7 Describes backup concepts and topologies, backup technologies, disaster Recovery
ce

introduction.
ur

Chapter8 Describes concepts and background of Cloud Computing, Modules of Cloud


so

Computing, and Huawei FusionCloud Products..


Re

Chapter9 Describes Huawei Storage Products, Huawei RAID 2.0+,Huawei platform


improvements, Huawei NAS products, Huawei Backup products, and Huawei Licensing policy.
ng

Chapter10 Describes how to initialize a Huawei OceanStor system, how to configure a Huawei
ni

OceanStor system, File systems and Storage, and maintenance jobs.


ar

Chapter 11 Describes Data Cofferr, Pre-emptive replacements, Firmware and updates, principle
Le

of HyperSnap, SmartThin, HyperClone, SmartTier, and HyperReplication.

In conclusion, you should be able to plan and deploy SAN networks and storage systems, to
re

install, deploy, and maintain Huawei SAN storage products, and to become a qualified SAN
Mo

storage engineer or system administrator

Readers’ Knowledge Background


Know server fundamental and application.
HUAWEI TECHNOLOGIES
HCNA-Storage

Know SAN, NAS, DR concepts and technology.

Understand mainstream OS and DB operation and management.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

HUAWEI TECHNOLOGIES
HCNA-Storage

Icons Used in This Book

n
/e
om
.c
ei
FC Switch GE Switch Storage Array Host

aw
//

hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

HUAWEI TECHNOLOGIES
HCNA-Storage

Account for Experiment environment

n
Experiment network introduce

/e
om
The experiment environment aims to provide guidance to participants in learning contents
related to the HCNA-Storage exam( H13-612-ENG).

.c
Experiment contents include storage array hardware installation, network deploying of FC SAN

ei
and IP SAN, storage management, configuration RAID/LUN/ mapping ,connection between

aw
storage and hosts,storage maintenance etc.

hu
One suit of experiment equipment includes : 1 PCS GE switch,1 PCS FC switch,1 PCS Windows

g.
host(with OS and NIC or FC HBA card ),1PCS Linux host(with OS and NIC or FC HBA
card),1-2 PCS S5300 V3 or S5500 V3 storage array, several network cables ,2-4 PCS PC

in
for students.

rn
One suit of experiment equipment fits 2-4 students operating at the same time.

Equipment introduce
ea
/l
Device type Device name Software version
:/

Storage array S5300 V3 or S5500 V3 S5300 V300R002


tp

S5300 V300R002
ht

Switch SNS2124 OR S3900 General version


Server Windows 2008 SP2 Be compatible with storage
s:

SuSE 11 SP2
cable Network cable 8PCS Null
ce

FC 6 PCS
ur

Console PC PC Win7
so
Re
ng
ni
ar
Le
re
Mo

HUAWEI TECHNOLOGIES
n
/e
om
.c
ei
aw
hu
g.
in
BSSN-HCNA-Storage Lab Guide
rn
ISSUE 3.0 ea
/l

(For trainees)
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

Huawei Technologies Co., LTD.


All Rights Reserved.
re
Mo
BSSN HCNA Storage Lab Guide Issue 3.0 Table of Contents

TABLE OF CONTENTS

n
About this document ....................................................................................................................5

/e
om
Introduction to the lab environment .........................................................................................7

.c
Devices Used in Labs ............................................................................................................7
Cables ................................................................................................................................. 11

ei
Lay out of the rack ............................................................................................................... 12

aw
Connecting to the lab environment ....................................................................................... 14

hu
g.
Lab Exercise 1 – Initial setup and configuration .................................................................... 16
1.1 Configure storage array using Putty ................................................................................. 17

in
1.1.1 User Management using CLI .................................................................................. 19

rn
1.1.2 Manage storage device .......................................................................................... 25
1.2 ea
Logging in to the DeviceManager ..................................................................................... 26
/l
1.3 Basic Configuration Settings ............................................................................................ 27
:/

1.3.1 Set Device Name and Location .............................................................................. 27


1.3.2 Setting Storage Device Time.................................................................................. 28
tp

1.4 Monitoring Controller Enclosure ....................................................................................... 30


ht

1.5 Monitoring Disk Enclosures .............................................................................................. 35


1.6 Powering On and Off an Interface Module ........................................................................ 37
s:

1.7 Powering Off a Device ..................................................................................................... 39


ce
ur

Lab Exercise 2 – Working with Provisioning Functions ........................................................ 41


so

2.1 Creating a Disk Domain ................................................................................................... 43


2.2 Creating a Storage Pool ................................................................................................... 46
Re

2.3 Creating a LUN ................................................................................................................ 47


ng

2.4 Create LUN Group ........................................................................................................... 49


ni

Lab Exercise 3 – Configuration of Fibre Channel switches ................................................... 52


ar

3.1 Configure zoning for a Fibre Channel switch .................................................................... 56


Le

Lab Exercise 4.1 - Connecting SAN Storage Devices to Windows based Hosts .................. 62
re

4.1.1 Create Host ..................................................................................................................... 64


Mo

4.1.2 Creating a Host Group ..................................................................................................... 66


4.1.3 Create a Port Group......................................................................................................... 68
4.1.4 Create a Mapping View .................................................................................................... 69

Huawei confidential. No spreading without ii


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Table of Contents

4.1.5 Building a Fibre Channel SAN in the Windows environment ............................................. 71


4.1.6 Creating a Fibre Channel Host ......................................................................................... 72
4.1.7 Creating a Host Group ..................................................................................................... 77

n
4.1.8 Creating a Fibre Channel Port Group ............................................................................... 79

/e
4.1.9 Creating a Mapping View ................................................................................................. 80

om
Lab Exercise 4.2 - Connecting SAN Storage Devices to Linux based Hosts ........................ 83

.c
4.2.1 Building an IP SAN in the Linux environment.................................................................... 85

ei
4.2.1.1 Installing iSCSI software in the Linux environment ............................................ 85

aw
4.2.1.2 Querying the name of an initiator....................................................................... 89

hu
4.2.1.3 Configuring the iSCSI connection in the Linux environment ............................... 89

g.
4.2.2 Create iSCSI Host............................................................................................................ 90
4.2.3 Creating a iSCSI Host Group ........................................................................................... 92

in
4.2.4 Create a iSCSI Port Group ............................................................................................... 93

rn
4.2.5 Create a Mapping View .................................................................................................... 95

ea
4.2.6 Building a Fibre Channel SAN in the Linux environment ................................................... 97
/l
4.2.7 Creating a Fibre Channel Host ......................................................................................... 98
4.2.8 Creating a Host Group ................................................................................................... 103
:/

4.2.9 Creating a Fibre Channel Port Group ............................................................................. 105


tp

4.2.10 Creating a Mapping View ............................................................................................... 107


ht

Lab Exercise 5.1 – Installing Multipathing Software to a Windows based host .................. 109
s:

5.1.1 Viewing a LUN ............................................................................................................... 110


ce

5.1.2 Installing Multipathing software ...................................................................................... 111


ur

5.1.3 Using a LUN .................................................................................................................. 117


so

Lab Exercise 5.2 – Installing Multipathing Software to a Linux based host ........................ 123
Re

5.2.1 Viewing a LUN ............................................................................................................... 125


5.2.2 Installing Multipathing software in the Linux environment ................................................ 126
ng

5.2.3 Using a LUN .................................................................................................................. 128


ni
ar

Lab Exercise 6 – Expanding LUNs and use SmartThin to create Thin Provisioned LUNs . 139
Le

6.1 Expand an existing LUN................................................................................................. 141


6.2 Create Thin Provisioned LUN ......................................................................................... 145
re
Mo

Lab Exercise 7 – Using the HyperSnap feature to create Snapshots and recover data ..... 155
7.1 Creating a Snapshot ...................................................................................................... 157
7.2 Use Snapshot to recover data ........................................................................................ 158

Huawei confidential. No spreading without iii


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Table of Contents

7.2.1 File recovery using Snapshots ............................................................................. 158


7.2.2 Rollback snapshot................................................................................................ 162

Lab Exercise 8 – Working with the SmartTier licensed feature ........................................... 165

n
/e
8.1 Use SmartTier ............................................................................................................... 166

om
8.1.1 Create Storage Pool ............................................................................................ 166
8.1.2 Create LUN and LUN Group ................................................................................ 168

.c
8.2 Create SmartTier Service Monitoring Period................................................................... 172

ei
aw
Lab Exercise 9 – Routine maintenance lab of SAN storage products ................................. 178

hu
9.1 Exporting configuration data of the storage device using DeviceManager ....................... 179

g.
9.2 Using the Maintenance Tool........................................................................................... 180
9.3 Inspection (including reviewal inspection) ....................................................................... 181

in
9.4 Collecting information .................................................................................................... 186

rn
ea
Optional lab 10 – Using NAS features of the OceanStor V3 hardware ................................ 189
/l
Appendix 1 – Server RAID Configurations ........................................................................... 191
:/
tp

Appendix 2 – SAN Networking Lab ....................................................................................... 196


ht

2.1 Fibre Channel SAN Networking Lab of the OceanStor 5300 V3 ...................................... 196
2.2 IP SAN Networking Lab of the OceanStor 5300 V3 ........................................................ 206
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without iv


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 About This document

ABOUT THIS DOCUMENT

This document is designed for use in instructing trainees to configure and deploy Huawei storage

n
products. The information provided will help trainees in completing the lab sections of the training

/e
program.

om
.c
Scope of Application

ei
aw
The following hardware is recommended, but can vary in the lab environment:

hu
 Storage device: OceanStor 5300 V3

g.
 Rack server: RH2285 V2

in
Fibre Channel switch: SNS2124 V100R002
 IP switch: GE switch

rn
Safety Precautions ea
/l
:/

 Alarm and safety symbols


tp

When operating devices, observe the precautions provided by warning and safety symbols to
prevent personal injury and device damage.
ht

 Electrostatic discharge (ESD)


s:

When installing and maintaining devices, observe the ESD safety precautions to prevent
ce

personal injury and device damage.


ur

 Using lasers safely


When installing and maintaining devices, observe the laser safety precautions to prevent
so

personal injury and device damage.


Re

 Using optical fibers safely


ng

Use optical fibers in a safe and correct manner to ensure the normal operation of devices and
to prevent personal injury and device damage.
ni
ar

 Short circuit protection


When installing and maintaining devices, use and place tools in compliance with the
Le

regulations to prevent short circuits.


re

 Operating devices safely


Mo

When installing and maintaining devices, observe the electrical safety precautions to prevent
personal injury and device damage.

 Condensation prevention

Huawei confidential. No spreading without 5


permission..
5
BSSN HCNA Storage Lab Guide Issue 3.0 About This document

Before installing devices, ensure that no condensation is formed on the devices to prevent
power-on failures.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 6


permission..
6
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

INTRODUCTION TO THE LAB ENVIRONMENT

DEVICES USED IN LABS

n
/e
om
OCEANSTOR 5300 V3 (2.5-INCH DISK ENCLOSURE)

.c
Front panel

ei
aw
hu
g.
in
rn
 25 x 2.5-inch disks
 ea
Support for mainstream SAS disks, NL-SAS disks, and SSDs
/l
 The first four disks serve as coffer disks in 2 x (1+1) redundancy mode
:/

 Support for powering on and off each disk independently


tp

Rear panel
ht
s:
ce
ur
so
Re

1 2 3
ng

6 4 5
ni
ar
Le

1 Management network
port
re

2 Maintenance network
Mo

port

3 Serial port

Huawei confidential. No spreading without 7


permission..
7
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

1 Management network
port

n
4 Mini SAS expansion

/e
port

om
5 8 Gbit/s Fibre Channel
host port

.c
6 Gigabit Ethernet ports

ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 8


permission..
8
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

RH2285 V2

Front panel

n
/e
om
.c
ei
aw
hu
g.
in
rn
 2 x Intel® Xeon E5-2400 CPUs

 12 x RDIMM/LRDIMM memory slots ea


/l
 12 x 3.5-inch + 2 x 2.5-inch, 8 x 2.5-inch, or 26 x 2.5-inch SAS or SATA disks, RAID 0, 1, 5,
:/

10, 50, 6, and 60 available


tp

Rear panel
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

NOTE: You can manage the servers via the iMana interface. Appendix 1 will explain how to access
and configure the server via iMana.
re
Mo

Huawei confidential. No spreading without 9


permission..
9
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

SNS2124 FIBRE CHANNEL SWITCH

 8 to 24 Fibre Channel ports per set

n

/e
Support for a rate of 1, 2, 4, and 8 Gbit/s

om
 8-port expansion increments

.c
ei
aw
hu
g.
in
rn
1 2 3 4

ea
/l
1 Management serial port
:/

2 Management network port


tp

3 Fibre Channel port


ht

4 Power supply
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 10


permission..
10
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

CABLES

n
Ground cable

/e
om
Connects to the ground to prevent ESD.

.c
ei
Serial cable

aw
Connects to a serial port on a storage array so that the array

hu
can be managed using the command-line interface (CLI).

g.
in
Mini SAS HD cable

rn
SAS expansion cable
ea
/l
:/
tp

Network cable
ht

Connects to an iSCSI port or a management network port.


s:
ce
ur

Optical fiber (multi-mode)


so

Fibre Channel expansion cable


Re

Connects to a Fibre Channel host port.


ng
ni

AC power cable
ar
Le
re
Mo

Huawei confidential. No spreading without 11


permission..
11
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

DC power cable

n
/e
om
LAY OUT OF THE RACK

.c
ei
Front view of the rack

aw
hu
g.
in
rn
A
ea
/l
B
:/
tp
ht

C
s:
ce

D
ur
so

B
Re

A
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 12


permission..
12
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

A IP switch

Fibre Channel

n
B

/e
switch

om
Windows or Linux
C

.c
server

ei
Huawei OceanStor

aw
D
5300 V3

hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 13


permission..
13
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

Back view of the rack

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

CONNECTING TO THE LAB ENVIRONMENT


re
Mo

The exercises in this lab guide will be done using the hardware in one of the Huawei datacenters
available for training purposes.

Huawei confidential. No spreading without 14


permission..
14
BSSN HCNA Storage Lab Guide Issue 3.0 Introduction to the lab environment

Ask your instructor for the procedures to connect to the remote systems you will be using during these
labs.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 15


permission..
15
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

LAB EXERCISE 1 – INITIAL SETUP AND CONFIGURATION

Objectives

n
/e
om
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.

.c
Setting storage device time, Monitoring the controller enclosure, Monitoring disk enclosures,

ei
Powering On or Off an interface module and Powering Off a device will be done via the

aw
DeviceManager management web interface.

hu
 Getting knowledge of basic configuration and functions of SAN storage products

g.

in
Configure Disk Domains, Storage Pools, LUNs, LUN Groups, Hosts, Host Groups, Host Ports,
Port Groups, Mapping Views and Initiators

rn
 Configure Fibre Channel and IP SAN within a Windows environment
ea
/l
 Connect the created LUN to a Windows Server
:/

Devices
tp
ht

1. OceanStor 5300 V3
s:

2. Putty
ce

3. PC running the DeviceManager management interface


ur

4. IP switch
so

Networking diagram
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 16


permission..
16
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
rn
1.1 CONFIGURE STORAGE ARRAY USING PUTTY
ea
/l
In this section you will configure the Management IP address of the storage array using Putty.
:/
tp

1. Open the program called Putty.


ht

2. Below the Connection Type, select Serial

3. Choose the Serial Line and set the Speed to 115200. See the image below.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 17


permission..
17
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

4. Click Open.
ht
s:
ce
ur
so
Re
ng
ni

5. Enter the username and password.


ar
Le

NOTE
 The default user name for the storage system is admin, and the password is Admin@storage.
re


Mo

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.

Huawei confidential. No spreading without 18


permission..
18
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

This reduces the password leakage risks. For details about how to change the password, see
Modifying Login Password.

 For security reasons, entering a password displays no local echo.

n
/e
 The default IP addresses of the management ports for the 2U enclosure (5300 V3/ 5500 V3)

om
are 192.168.128.101 and 192.168.128.102 and the default subnet mask is 255.255.0.0.

.c
If the login is successful, the following message is displayed:

ei
aw
hu
g.
in
rn
ea
/l
:/

NOTE: When you log in to different devices, the login page displays different values. Obtain the
tp

correct value based on your actual conditions.


ht

6. Run the change system management_ip command to change the IP address of the management
s:

port. For example, set the IPv4 address, subnet mask and gateway of module 0 to 172.16.190.2,
ce

255.255.0.0 and 172.16.0.1. See the image below.


ur
so
Re
ng
ni
ar
Le

7. After changing the IP address of the management network port, run the show system
re

management_ip command to verify that the IP address changed correctly.


Mo

1.1.1 User Management using CLI

Huawei confidential. No spreading without 19


permission..
19
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

Show users

1. Use the show user command to show:


admin:/>show user

n
Name Level Status

/e
Type Lock Status

om
Create Time Domain

.c
User Group

ei
-----------

aw
----------- -------

hu
admin Super_admin

g.
Online Local

in
Unlocked

rn
2014-08-26/16:27:5
Create a new user ea 8 UTC+08:00
/l
--================
1. Use the create user command to add a admin:/>create user type=local
:/

===============
new user. user_name=testuser level=admin
tp

Password:******
ht

2. Add a user, testuser, whose user level is


admin user.
Reenter password:******
Command executed successfully.
s:
ce

NOTE
ur

User_name=? Name of a user or user group.


so

 For a local user, the value must start with a letter and contain 6 to 32
Re

ASCII characters including digits, letters, and underscores ( _ )


 For a domain user or a domain group, the value contain 1 to 64 ASCII
ng

characters, excluding double quotation marks ( “ )


ni
ar

Level=? Level of a user or user group.


Le

The value can be “super_admin”, “admin” or “guest”,


where:
re


Mo

“super_admin”: indicates a user at the super administrator level


 “admin”: indicates a user at the administrator level

Huawei confidential. No spreading without 20


permission..
20
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

 “guest”: indicates a user at the guest level

n
/e
om
Change the password of the current user

.c
1. Use the change user_password command to change the password of the current user.

ei
2. Change the password of testuser.

aw
admin:/>change user_password
Old password:*********

hu
New password:*************

g.
Reenter password:*************

in
Command executed successfully.

rn
NOTE ea
/l
 The password will be displayed behind asterix.
:/

 The password consists of 8 to 16 characters and is case-sensitive.


tp

 The password must contain special characters including ~ ! @ # $ % ^ & * ( ) - _ = + \ |


ht

[ { } ] ; : ' " , < . > / ? and space.


 The password must meet password complexity requirements:
s:

- When "password complex" is set to "Normal", the password must contain at least two of
ce

the following three: lowercase character, uppercase character, and number.


ur

- When password complex" is set to "High", the password must contain lowercase
so

character, uppercase character, and number.


Re

 The password must be different from the username and the username in reversed order.
ng

 One character must not appear for more than three times consecutively.[Note: You an use the
ni

"change safe_strategy" command to change the password and login policies of a storage
ar

system.]
Le
re

Delete a user
Mo

1. Use the del user user_name command to delete a user.

Huawei confidential. No spreading without 21


permission..
21
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

2. You must use the del user user_name


admin:/>delete user
command, followed by the username as shown
user_name=testuser
below.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 22


permission..
22
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

Change the user

1. Use the change user user_name command to change the level of a user.

n
/e
2. Change the level of the user testuser
admin:/> change user
to guest.

om
user_name=testuser

.c
level=guest

ei
NOTE

aw
hu
User_name=? Name of a user.

g.
To obtain the value, run show user

in
Level=? A user level that you want to change.

rn
The value can be “admin” or “guest”, where:
ea
/l
 “admin”: indicates a user at the administrator level.
 “guest”: indicates a user at the guest level.
:/
tp

Action=? The value can be “reset_password” or “offline”, where:


 “reset_password”: A user’s password will be initialized to a
ht

new password entered by the user.


s:

 “offline”: A user will be forced offline.


ce
ur

Reset the password of a user


so

1. Use the reset_password action to reset the password of a user.


Re

2. Reset the password of the user testuser. change user user_name=testuser


ng

action=reset_password
ni

NOTE: Only a super administrator has right New password:**********


ar

to run the resetpasswd command, and the Reenter password:**********


specified user's password is initialized as
Le

Command executed successfully.


123456.
re
Mo

Huawei confidential. No spreading without 23


permission..
23
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 24


permission..
24
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

1.1.2 Manage storage device

Controller enclosure management

n
/e
1. Use the show controller general

om
command to query information about admin:/>show
the controllers. controller general

.c
ei
Controller : 0A

aw
Health Status : Normal

hu
2. To query details on a specific
Running Status : Online

g.
controller, run the show controller
CPU : Intel(R) Xeon(R)

in
general controller=? command.
CPU E5540 @ 2.53GHz*2

rn
NOTE

controlle ID
ea Location : ENG0.A
/l
Role : Master
r=? of a
:/

cont Cache Capacity :


tp

rolle 24.000GB
ht

r.
CPU Usage(%) : 0
s:

Memory Usage(%) : 56
ce

Temperature(Celsius)
ur

: 59
so

Voltage(V) : 1.8
Re

Software Version :
ng

2.50.02.103
ni

PCB Version :
ar

STL1SPCA03G VER.A
Le

SES Version : --
re

BMC Version : 6.03T35


Mo

Logic Version : 230T01

BIOS Version :
06.03.05T02
Huawei confidential. No spreading without 25
permission..
25
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

1.2 LOGGING IN TO THE DEVICEMANAGER

1. Start Internet Explorer.

n
/e
2. In the address box, type https://192.168.128.101:8088 and press Enter.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

NOTE: The default management network port IP addresses of the controller A and controller B are
192.168.128.101 and 192.168.128.102, and the default subnet mask is 255.255.0.0.
s:

The default user name and password of the super administrator are admin and Admin@storage.
ce

This document uses the Windows operating system as an example to explain how to log in to the
DeviceManager. The login operations on other operating systems need to be adjusted accordingly.
ur
so

3. Click Advanced, Set the authentication mode and language.


Re

4. Type your username and password in Username and Password field respectively .
ng

5. Click Log In. The DeviceManager main window is displayed.


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 26


permission..
26
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

1.3 BASIC CONFIGURATION SETTINGS

1.3.1 Set Device Name and Location

n
/e
1. On the right navigation bar, click the settings button.

om
.c
2. In the Basic Service Settings area, click Basic Information.

ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

3. Select the Basic Information button.


s:

4. Set Device Name and Device Location.


ce
ur
so
Re
ng
ni
ar
Le

5. Click Save, The Execution Result dialog box is displayed, indicating that the operation succeeded.
re
Mo

Huawei confidential. No spreading without 27


permission..
27
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
6. Click Close.

ei
aw
1.3.2 Setting Storage Device Time

hu
g.
1. On the right navigation bar, click the settings button.

in
2. In the Basic Service Settings area, click Basic Information.

rn
3. Select the Device Time node.

ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar

4. Select Manual.
Le

5. Click Modify.
re

6. Change the storage device time, then click OK.


Mo

Huawei confidential. No spreading without 28


permission..
28
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

7. Check the checkbox and

n
click OK.

/e
om
.c
ei
aw
hu
g.
in
rn
8. Click Close.
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 29


permission..
29
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

1.4 MONITORING CONTROLLER ENCLOSURE

1. On the right navigation bar, click the system button.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
2. In the right function pane, click the cabinet whose Fibre Channel host port you want to view.
:/

3. Click the controller enclosure where the Fibre Channel host port resides.
tp

4. Click to switch to the rear view.


ht
s:

5. Click the Fibre Channel host port whose information you want to view.
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

6. Click Modify.

Huawei confidential. No spreading without 30


permission..
30
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
7. In Configured Rate (Gbit/s), select a data transfer rate for the Fibre Channel host port.
:/

8. Click Apply.
tp

9. Confirm the information in the dialog box and select I have read the previous information and
ht

understood subsequences of the operation.


s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

10. Click OK. The Success message box is displayed, indicating that the operation succeeded.

Huawei confidential. No spreading without 31


permission..
31
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

11. Click OK.

12. Click the Ethernet port whose information you want to view.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

13. Click Modify.


s:
ce

14. In the IPv4 address text box, enter an IP address for the Ethernet port.
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 32


permission..
32
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
15. In the Subnet Mask area, enter the subnet mask of the Ethernet port.
/l
16. In MTU (Byte), type a maximum transfer unit (MTU) for the packets transferred between the
:/

Ethernet port and the application server.


tp

NOTE: The MTU must be an integer ranging from 1500 to 9000.


ht
s:

17. Click Apply.


ce

18. Confirm the information in the dialog box and select I have read the previous information and
ur

understood subsequences of the operation.


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 33


permission..
33
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

19. Click OK. The Success message box is displayed, indicating that the operation succeeded.

20. Click OK.

n
21. Click the Ethernet port to which you want to add a route.

/e
22. Click Route Management.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

23. In IP Address, select the IP address of the Ethernet port.


s:

24. Click Add.


ce
ur
so
Re
ng
ni
ar
Le
re

25. In Type, select default.


Mo

26. In Gateway, enter the gateway where the local end Ethernet port's IP address resides.

27. Click OK. The route information is added to the route list.

Huawei confidential. No spreading without 34


permission..
34
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

28. Confirm the information in the dialog box and select I have read the previous information and
understood subsequences of the operation.

29. Click OK. The Success message box is displayed, indicating that the operation succeeded.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
30. Click Close.
:/
tp
ht
s:

1.5 MONITORING DISK ENCLOSURES


ce
ur

1. On the right navigation bar, click the system button.


so

2. In the right function pane, click the cabinet whose disk you want to view.
Re

3. Click the disk enclosure that houses the disk.


ng

4. Click the disk whose information you want to view.


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 35


permission..
35
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
5. Select the disk you want to locate and click Locate Disk in the lower area of the function pane.

rn
The Execution Result dialog box is displayed, indicating that the operation succeeded.
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni

NOTE: After the disk is replaced with a new one, the disk Location indicator remains on. In this
ar

case, cancel disk locating.


Le

6. Click Close.
re

7. Select the disk of which you want to cancel locating and click Cancel Locating in the lower area
Mo

of the function pane. The Execution Result message box is displayed, indicating that the
operation succeeded.

Huawei confidential. No spreading without 36


permission..
36
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
in
rn
8. Click Close.

ea
/l
1.6 POWERING ON AND OFF AN INTERFACE MODULE
:/

1. On the right navigation bar, click system


tp
ht

2. In the right function pane, click the cabinet whose interface module port you want to power on and
off.
s:

3. Click the controller enclosure that houses the interface module.


ce

4. Click to switch to the rear view.


ur

5. Click the interface module you want to power on and off.


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 37


permission..
37
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

6. Click Power On. The Success message box is displayed, indicating that the operation succeeded.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

7. Click OK. The interface module is powered on.


ng

8. Click Power Off.


ni

9. Confirm the information in the dialog box and select I have read the previous information and
ar

understood subsequences of the operation.


Le
re
Mo

Huawei confidential. No spreading without 38


permission..
38
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

n
/e
om
.c
ei
aw
hu
g.
10. Click OK. The Success message box is displayed, indicating that the operation succeeded.

in
11. Click OK. The interface module is powered off.

rn
ea
/l
:/

1.7 POWERING OFF A DEVICE


tp
ht

1. On the right navigation bar, click the setting button.


s:

2. In the Task area, choose Power Off Device.


ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 39


permission..
39
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 1 – Initial setup and configuration

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.

n
/e
5. Click OK. You have powered off the storage system.

om
.c
ei
aw
This is the end of lab exercise 1

hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 40


permission..
40
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

LAB EXERCISE 2 – WORKING WITH PROVISIONING


FUNCTIONS

n
/e
Purpose

om
.c
Upon completing this lab, the student will have a working knowledge of basic configuration and

ei
functions of SAN storage products. The Provisioning functions include Disk Domains, Storage Pools,

aw
LUNs and LUN Groups. The student will configure a Fibre Channel and IP SAN within a Windows
based environment and use Disk Management to add the created LUN. This lab uses the OceanStor

hu
5300 V3 as an example.

g.
in
Goals and tasks

rn

ea
Getting knowledge of basic configuration and functions of SAN storage products
/l
 Configure Disk Domains, Storage Pools, LUNs, LUN Groups
:/

 Configure Fibre Channel and IP SAN within a Windows environment


tp

 Connect the created LUN to a Windows Server


ht

Devices
s:
ce

1. OceanStor 5300 V3
ur

2. Maintenance terminal
so

3. IP switch
Re

4. Fibre Channel switch


ng

5. PC running the DeviceManager management interface


ni
ar

Networking diagram
Le
re
Mo

Huawei confidential. No spreading without 41


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

n
/e
Server
IP switch

om
.c
ei
Storage FC switch

aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 42


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

2.1 CREATING A DISK DOMAIN

In this section you will create a new Disk Domain

n
/e
NOTE:

om
The Disks in slots 0 through 3 of the controller enclosure are system coffer disks, which are used to

.c
save critical system data. Do not insert or remove the coffer disks, not change the sequence of the

ei
coffer disks unless it is absolutely necessary. Otherwise, system data may be damaged. Do not insert or

aw
remove disks in other slots unless necessary. Otherwise, data loss may occur.

hu
Ensure that coffer disks are of the same type.

g.
1. Login to the DeviceManager.

in
2. On the right navigation bar click the Provisioning button

rn
3. In the Storage Configuration and Optimization area, click Disk Domain.
4. Click the Create button. ea
/l
:/
tp
ht
s:
ce
ur

5. Enter a name for the Disk Domain in


so

the Name text box.


Re
ng

6. Optionally enter the functions and


ni

properties of the Disk Domain within


ar

the Description text box.


Le
re

7. In Disk Type, select the Manually


Mo

Select radius button to set the type of


disks that comprise the Disk
Domain.

Huawei confidential. No spreading without 43


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

8. Click Select.

n
/e
om
9. In the Available Disks area, select the disks that you want to add to the Disk Domain.

.c
10. Click to add the selected disks to the Disk Domain.

ei
11. Click OK.

aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

12. The Success box will display that the operation succeeded. Click OK.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 44


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 45


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

2.2 CREATING A STORAGE POOL

In this section you will create a Storage Pool.

n
/e
1. On the right navigation bar click the Provisioning button

om
2. In the Storage Configuration and Optimization area, click Storage Pool.

.c
3. Click the Create button.

ei
aw
hu
g.
in
rn
ea
/l
4. In the Name text box, enter a
:/

name for the Storage Pool.


tp
ht

5. Optionally enter the functions and


s:

properties of the Storage Pool


ce

within the Description text box.


ur
so

6. In the Usage field, select Block


Re

Storage Service. Note that File


Storage Service is also available.
ng
ni
ar

7. In Disk Domain, select the Disk


Le

Domain to be added.
re
Mo

8. In Storage Medium, select a RAID Policy and Capacity for the Storage Pool.

Huawei confidential. No spreading without 46


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

9. Click the Advanced button, but leave the Capacity Alarm Threshold at 80% and the Data
Migration Granularity at 4MB.
10. Click OK.

n
11. Check the information you just added and click the OK button at the Create Storage Pool wizard.

/e
12. The Execution Result dialog box is displayed and indicating that the operation succeeded.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

2.3 CREATING A LUN


ng

In this section you will create a new LUN within the Storage Pool that is just created.
ni
ar

1. On the right navigation bar click the Provisioning button


Le

2. Click LUN in the Block Storage Service area.


3. Click the Create button.
re
Mo

Huawei confidential. No spreading without 47


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

n
/e
om
.c
4. In the Name text box, enter a name

ei
for the new LUN.

aw
hu
5. Optionally enter a Description for

g.
the new LUN.

in
rn
6. In the Capacity, enter 20GB to
create a 20GB LUN.
ea
/l
:/
tp

7. In the Owning Storage Pool, select


ht

the Storage Pool to which the LUN


you are creating belongs.
s:
ce
ur

8. Click the Advanced button. The Advanced dialog box is displayed.


so
Re
ng
ni

9. Click the Properties tab.


ar

10. In Owning Controller, select


Le

Controller A. Note that it is also


possible to redirect the LUN via
re

controller B or let the system auto


Mo

select it.

Huawei confidential. No spreading without 48


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

11. Leave the Cache Policy and Prefetch Policy at default.

12. Take a look at the Tuning tab, but leave all settings at default. Note that there are several licensed
features available.

n
/e
13. Click OK to close the Advanced tab.

om
.c
ei
aw
14. Click OK to create the LUN. The Execution Result dialog box is displayed, indicating that the

hu
operation succeeded.

g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni

2.4 CREATE LUN GROUP


ar
Le

In this section of the lab you will create a new LUN Group for the LUN you created in the previous
re

lab.
Mo

1. On the right navigation bar click the Provisioning button

2. In the View and Management area, click LUN.

Huawei confidential. No spreading without 49


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

3. Select the LUN Group tab and click Create.

n
/e
om
.c
ei
aw
hu
g.
in
4. In the Name text box, enter a name for the new LUN Group.

rn
5. Optionally enter a Description for the new LUN Group.

ea
6. In the Available LUNs area, select the LUN you just created. Note that it is also possible to add
/l
multiple LUNs to a LUN Group.
:/

7. Click to add the selected LUN(s) to the LUN Group.


tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 50


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Lab Exercise 2 – Working with Provisioning Functions

8. Click OK to create the LUN Group. The Execution Result dialog box is displayed, indicating that
the operation succeeded.

9. Click Close.

n
/e
om
.c
ei
This is the end of lab exercise 2

aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 51


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

LAB EXERCISE 3 – CONFIGURATION OF FIBRE


CHANNEL SWITCHES

n
/e
Objectives

om
.c
Upon completing this lab, you will have a working knowledge of:

ei
 Principles and methods used in Fibre Channel SAN networking of the OceanStor 5300 V3.

aw
 Devices and components used in Fibre Channel networking of the OceanStor 5300 V3.

hu
g.
Devices

in
rn
1. OceanStor 5300 V3

2. Fibre Channel switch


ea
/l
3. Fibre Channel HBA inserted in a server
:/

4. Optical fibers
tp
ht

Networking Diagram
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 52


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

n
/e
om
PROCEDURE

.c
Task 1: Build a directly connected network with one single-port or dual-port HBA.

ei
aw
Procedure: Connect the devices as shown or draw a schematic diagram.

hu
g.
in
rn
ea
/l
:/
tp
ht
s:

Task 2: Build a multipathing network with one single-port HBA.


ce
ur

Procedure: Connect the devices as shown or draw a schematic diagram.


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 53


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

Task 3: Build a multipathing network with two single-port HBAs or one dual-port HBA.

n
/e
Procedure: Connect the devices as shown or draw a schematic diagram.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

Task 4: Build a full-redundancy network with two dual-port HBAs.


s:

Procedure: Connect the devices as shown or draw a schematic diagram.


ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Task 5: Configure zoning for a Fibre Channel switch. This task is optional. If the networking
Huawei confidential. No spreading without 54
permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

mode is simple, zoning is not required.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 55


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

3.1 CONFIGURE ZONING FOR A FIBRE CHANNEL SWITCH

1. Go to the Zone page on the Web Tools.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 56


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

2. Click New Zone to create a zone.

n
/e
om
.c
ei
aw
hu
g.
in
3. Select members for the zone from the Member Selection List area.

rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 57


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

4. Click the triangle to add the Selected Members to the Zone Members area.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

5. Click the Save Config button to save zone that you just created.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 58


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

6. Click the Zone Config tab and click the New Zone Config button.
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 59


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

7. From the Member Selection List, select a zone to add to the Zone Config Members area.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

8. Click the Enable Config button to enable the new zone configuration that you just created.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 60


permission..
Lab Exercise 3 – Configuration of Fibre Channel
BSSN HCNA Storage Lab Guide Issue 3.0 switches

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur

This is the end of lab exercise 3


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 61


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

LAB EXERCISE 4.1 - CONNECTING SAN STORAGE


DEVICES TO WINDOWS BASED HOSTS

n
/e
Objectives

om
.c
Upon completing this lab, you will have a working knowledge of creating a Host, Host Group, Port

ei
Group and Mapping View. The student will know how to configure a Fibre Channel and IP SAN

aw
within a Windows environment.

hu
 Create a Host

g.
 Create a Host Group

in

rn
Create a Port Group

 Create a Mapping View ea


/l
 Fibre Channel SAN configuration in the Windows environment
:/

 IP SAN configuration in the Windows environment


tp

 Disk management for Windows based hosts


ht

Devices
s:
ce

1. OceanStor 5300 V3
ur

2. Maintenance terminal
so

3. IP switch
Re

4. Fibre Channel switch


ng

5. PC running the DeviceManager management interface


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 62


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

Networking diagram ( Fibre Channel SAN )

n
/e
om
.c
Server
IP switch

ei
aw
hu
Storage FC switch

g.
in
rn
Networking diagram (IP SAN ) ea
/l
:/
tp
ht

IP switch
s:

Server
ce
ur
so
Re
ng

Storage
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 63


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

4.1.1 CREATE HOST

In this section you will create a host for iSCSI.

n
/e
1. On the right navigation bar click the Provisioning button

om
2. In the Block Storage Service, click Host.

.c
3. Choose Create  Manually Create.

ei
aw
4. In the Name text box, enter a name for the host.

hu
5. Optionally enter a Description of the host.

g.
6. In the OS, select Windows.

in
7. In the IP Address field, enter the IP address of the host.

rn
8. Click Next.
ea
9. In the Available Initiators area, select one or multiple initiators based on your service needed.
/l
NOTE:
:/

If the initiator information has been configured on the application server, the DeviceManager can
tp

automatically detect the configured initiator. You only need to select the initiator information from
ht

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.
s:
ce
ur

10. Click Create.


so

11. From the Type list, select iSCSI.


Re

12. In IQN, enter the iSCSI Qualified Name (IQN) of an iSCSI initiator. For example:
iqn-1991-05.com.microsoft:tc18124.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 64


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so

13. In the Available Initiators area, select one initiator.


Re

14. Click the button to add the initiator to the Selected Initiators area.

15. Finish the create Host wizard.


ng
ni

16. Carefully read the content in the dialog box. Then check the checkbox for confirmation and click
OK.
ar
Le
re
Mo

Huawei confidential. No spreading without 65


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
4.1.2 CREATING A HOST GROUP

hu
g.
In this section you will create a Host Group for the Host that is created in the previous lab.

in
rn
1. On the right navigation bar click the Provisioning button

2. In the Block Storage Service area, click Host. ea


/l
3. Open the Host Group tab and click Create.
:/

4. This will open the Create Host Group Wizard. In the Name text box, enter a name for the Host
tp

Group.
ht

5. Optionally enter a Description for the Host Group.


s:

6. Select the Host that you created in the Available Hosts area. Note that it is also possible to add
ce

multiple hosts to the Host Group.


ur

7. Click to add the Host to the Selected Hosts area.


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 66


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce

8. Click OK. The Execution Result message box is displayed, indicating that the operation
ur

succeeded
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 67


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

4.1.3 CREATE A PORT GROUP

In this lab you will create a Port Group for iSCSI usage.

n
/e
1. On the right navigation bar click the Provisioning button

om
2. In the Storage Configuration and Optimization, click Port.

.c
ei
3. Open the Port Group tab and click Create.

aw
4. In the Name text box, enter a name for the Port Group. For example: iSCSI-PortGroup.

hu
5. Optionally enter a Description of the Port Group.

g.
6. Select the ports that you want to add to the Port Group in the Available Ports list.

in
7. Click to add the ports to the Selected Ports area.

rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng

8. Click OK. The Execution Result message box is displayed, indicating that the operation
ni

succeeded.
ar
Le
re
Mo

Huawei confidential. No spreading without 68


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
4.1.4 CREATE A MAPPING VIEW

om
.c
In this lab you will create a Mapping View.

ei
aw
1. On the right navigation bar click the Provisioning button

hu
2. In the Block Storage Service area, click Mapping View.

g.
3. Click Create.

in
4. In the Name text box, enter a name for the Mapping View.

rn
5. Optionally enter a Description for the Mapping View.

6. In LUN Group, click


ea
. This will open the Select LUN Group dialog box.
/l
From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
:/

7.

click OK.
tp
ht

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.
s:
ce
ur
so
Re
ng
ni
ar

8. The result should be similar to the image below.


Le
re
Mo

Huawei confidential. No spreading without 69


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
9. Click OK. The Execution Result dialog box is displayed, indicating that the operation succeeded.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 70


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

4.1.5 BUILDING A FIBRE CHANNEL SAN IN THE WINDOWS


ENVIRONMENT

n
/e
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.

om
.c
ei
aw
Installing a Driver for the Fibre Channel HBA on the Windows-based Server

hu
1. Open the server chassis and install a Fibre Channel HBA.

g.
2. Start up the Windows-based server and log in to the server as a user in the Administrators group.

in
3. Install a Fibre Channel HBA driver for Windows Server 2003.

rn
ea
/l
:/

Querying the WWPN of a Fibre Channel HBA (Qlogic QLE2562 HBA)


tp

1. Double-click the icon of the Qlogic HBA application. The QConvergeConsole CLI window is
ht

displayed.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 71


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

2. In the Main Menu screen, type 1 and press Enter.

n
/e
om
.c
ei
aw
hu
g.
in
rn
3. In the FC Adapter Information screen, type 1 and press Enter. The Adapter Information
ea
screen is displayed, as shown in the red square in the following figure.
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni

4.1.6 CREATING A FIBRE CHANNEL HOST


ar
Le

In this lab you will create a host for Fibre Channel usage.
re

1. On the right navigation bar, click the Provisioning button


Mo

2. In the Block Storage Service area, click Host.

3. Choose Create > Manual Creation.

Huawei confidential. No spreading without 72


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
4. In the Name, enter Name of the host.
:/

5. In the Description, enter Description of the host.


tp

6. In the OS, select windows.


ht

7. Click Next.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 73


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:

8. In the Available Initiators area, select one or multiple initiators based on your service need.
ce
ur

NOTE:
If the initiator information has been configured on the application server, the DeviceManager can
so

automatically detect the configured initiator. You only need to select the initiator information from
Re

the initiator list rather than manually creating it, so you can skip Step 10 to 15. You do not add
ng

initiators on different application servers to a same host.


ni

9. Click Create.
ar

10. From the Type list, select FC.


Le

11. In WWPN, enter the WWPN number. For example: 21000024FF3FB076.


re
Mo

Huawei confidential. No spreading without 74


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
12. Click OK.
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

13. Click OK.

14. In the Available Initiators area, select one initiators based on your service need
ng
ni

15. Click to add the initiator to the Selected Initiators area.


ar
Le
re
Mo

Huawei confidential. No spreading without 75


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur

16. Click Next.


so
Re
ng
ni
ar
Le
re
Mo

17. Click Finish.

Huawei confidential. No spreading without 76


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
.

hu
18. Carefully read the content in the dialog box. Then select I have read the previous information

g.
and understood subsequences of the operation for confirmation.

in
rn
19. Click OK. The Execution Result dialog box is displayed indicating that the operation succeeded.

ea
/l
:/
tp
ht
s:
ce

20. Click close.


ur
so
Re
ng
ni

4.1.7 CREATING A HOST GROUP


ar

In this section you will create a Host Group for the Fibre Channel host.
Le
re

1. On the right navigation bar, click the Provisioning button


Mo

2. In the Block Storage Service area, click Host.

3. Click the Host Group tab.

4. Click Create.
Huawei confidential. No spreading without 77
permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

5. In the Name, enter Name of the host group.


tp

6. In the Description, enter Description of the host group.


ht

7. In the Available Hosts area, select one or multiple initiators based on your service need.
s:

8. Click to add the hosts to the Selected Hosts area.


ce

9. Click OK. The Execution Result message box is displayed, indicating that the operation
ur

succeeded.
so
Re
ng
ni
ar
Le
re
Mo

10. Click Close.


Huawei confidential. No spreading without 78
permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

4.1.8 CREATING A FIBRE CHANNEL PORT GROUP

In this section of the lab you will create a Fibre Channel Port Group.

n
/e
1. On the right navigation bar, click the Provisioning button

om
2. In the Storage Configuration and Optimization area, click Port.

.c
ei
3. Click the Port Group tab.

aw
4. Click Create.

hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng

5. In the Name, enter Name of the port group.


ni

6. In the Description, enter Description of the port group.


ar

7. Select the ports you want to add to the port group in Available Ports list.
Le

8. Click and add the ports to Selected Ports.


re

9. Click OK. The Execution result message box is displayed, indicating that the operation
Mo

succeeded.

Huawei confidential. No spreading without 79


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
10. Click Close.

ea
/l
:/
tp
ht

4.1.9 CREATING A MAPPING VIEW


s:

In this lab you will create a Mapping View.


ce
ur

1. On the right navigation bar click the Host button.


so

2. In the Block Storage Service area, click Mapping View.


Re

3. Click Create.
ng

4. In the Name text box, enter a name for the Mapping View.
ni

5. Optionally enter a Description for the Mapping View.


ar

6. In LUN Group, click . This will open the Select LUN Group dialog box.
Le

7. From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
re

click OK.
Mo

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.

Huawei confidential. No spreading without 80


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

8. The result should be similar to the image below.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:

9. Click OK. The Execution Result dialog box is displayed, indicating that the operation
ce

succeeded.
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 81


permission..
Lab Exercise 4.1 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Windows based Hosts

This is the end of lab exercise 4.1

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 82


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

LAB EXERCISE 4.2 - CONNECTING SAN STORAGE


DEVICES TO LINUX BASED HOSTS

n
/e
Objectives

om
.c
Upon completing this lab, you will have a working knowledge of creating a Host, Host Group, Port

ei
Group and Mapping View. The student will know how to configure a Fibre Channel and IP SAN

aw
within a Linux environment.

hu
 Create a Host

g.
 Create a Host Group

in

rn
Create a Port Group

 Create a Mapping View ea


/l
 Fibre Channel SAN configuration in the Linux environment
:/

 IP SAN configuration in the Linux environment


tp

 Disk management for Linux based hosts


ht

Devices
s:
ce

1. OceanStor 5300 V3
ur

2. Maintenance terminal
so

3. IP switch
Re

4. Fibre Channel switch


ng

5. PC running the DeviceManager management interface


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 83


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

Networking diagram ( Fibre Channel SAN )

n
/e
om
.c
Server
IP switch

ei
aw
hu
Storage FC switch

g.
in
rn
Networking diagram ( IP SAN ) ea
/l
:/
tp
ht

IP switch
s:

Server
ce
ur
so
Re
ng

Storage
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 84


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

4.2.1 BUILDING AN IP SAN IN THE LINUX ENVIRONMENT

4.2.1.1 Installing iSCSI software in the Linux environment

n
/e
1. Log in to the Linux-based application server as user root.

om
2. Run rpm -qa|grep open-iscsi to check whether the iSCSI RPM package is installed on the

.c
application server.

ei
aw
If the following information is displayed, the RPM

hu
#rpm -qa|grep open-iscsi
package is installed on the application server. Go to step

g.
4.2.1.2. open-iscsi-2.0.707-0.44

in
If not, go to step 3.

rn
3. Install the RPM package.
ea
/l
:/

Method 1: Using RPM commands


tp

Copy the iSCSI Initiator installation package to a directory on the Linux-based application server.
ht

Temporary files are usually put in the /tmp directory. Double-click rpm –ivh XXXX.rpm to
install the package.
s:
ce
ur

Method 2: Using YaST


so

 Run the yast command. The YaST screen is displayed.


Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 85


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
 ea
On the left of the screen, navigate to Software. Then on the right, select Software
/l
Management and press Enter.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re

 Press Alt+S and search for files that contain the string "iSCSI". The following figure shows
Mo

the Package Search screen. Press Alt+O to confirm the operation.

Package Search screen


Huawei confidential. No spreading without 86
permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
 Select open-iscsi to be installed, as shown in the following figure. Press Alt+A to confirm the
:/

operation.
tp

 Select open-iscsi
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

 Install the RPM package as prompted.

Huawei confidential. No spreading without 87


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
 Run chkconfig iscsi on to set the iSCSI service to automatic start.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 88


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

4.2.1.2 Querying the name of an initiator

Run cat /etc/iscsi/initiatorname.iscsi to query the initiator name. The result is shown in the red square

n
in the following figure.

/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

4.2.1.3 Configuring the iSCSI connection in the Linux environment


tp

1. Log in to the Linux-based application server as user root.


ht

2. Run iscsiadm –m discovery –t st –p 192.168.7.21 and iscsiadm –m discovery –t st –p


s:

192.168.7.22, where 192.168.7.21 is the IP address of the iSCSI host port connected to the
ce

application server. If multipathing is used, enter the command again. The parameter following –p
ur

is the IP address of the iSCSI host port on the other controller. The prerequisite is that the host can
properly communicate with the iSCSI host port on the other controller.
so

3. Run iscsiadm –m node –l to log in to the target.


Re

4. Run /etc/init.d/open-iscsi restart to restart the iSCSI service.


ng
ni

NOTE: Use the IP addresses that are provided by your instructor. IP addresses used in this lab
ar

guide may not be correct for your situation.


Le
re
Mo

Huawei confidential. No spreading without 89


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

4.2.2 CREATE ISCSI HOST

In this section you will create a host for iSCSI.

n
/e
1. On the right navigation bar click the Provisioning button

om
2. In the Block Storage Service area, click Host.

.c
3. Choose Create  Manually Create.

ei
aw
4. In the Name text box, enter a name for the host.

hu
5. Optionally enter a Description of the host.

g.
6. In the OS, select Linux.

in
7. In the IP Address field, enter the IP address of the host.

rn
8. Click Next.
ea
9. In the Available Initiators area, select one or multiple initiators based on your service needed.
/l
:/

NOTE: If the initiator information has been configured on the application server, the
tp

DeviceManager can automatically detect the configured initiator. You only need to select the
ht

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.
s:
ce

10. Click Create.


ur

11. From the Type list, select iSCSI.


so

12. In IQN, enter the iSCSI Qualified Name (IQN) of an iSCSI initiator. For example:
Re

iqn.1996-04.de.suse:01:36f28beb398c.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 90


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so

In the Available Initiators area, select one initiator.


Re

13. Click the button to add the initiator to the Selected Initiators area.
ng

14. Finish the create Host wizard.


ni

15. Carefully read the content in the dialog box. Then check the checkbox for confirmation and click
ar

OK.
Le
re
Mo

Huawei confidential. No spreading without 91


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
4.2.3 CREATING A ISCSI HOST GROUP

g.
In this section you will create a Host Group for the Host that is created in the previous lab.

in
rn
1. On the right navigation bar click the Provisioning button

2. In the Block Storage Service area, click Host. ea


/l
3. Open the Host Group tab and click Create.
:/

4. This will open the Create Host Group Wizard. In the Name text box, enter a name for the Host
tp

Group.
ht

5. Optionally enter a Description for the Host Group.


s:

6. Select the Host that you created in the Available Hosts area. Note that it is also possible to add
ce

multiple hosts to the Host Group.


ur

7. Click to add the Host to the Selected Hosts area.


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 92


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

8. Click OK. The Execution Result message box is displayed, indicating that the operation
ht

succeeded
s:
ce
ur
so
Re
ng
ni
ar
Le
re

4.2.4 CREATE A ISCSI PORT GROUP


Mo

In this lab you will create a Port Group for iSCSI usage.

Huawei confidential. No spreading without 93


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

1. On the right navigation bar click the Provisioning button

2. In the Storage Configuration and Optimization area, click Port.

n
3. Open the Port Group tab and click Create.

/e
4. In the Name text box, enter a name for the Port Group. For example: iSCSI-PortGroup.

om
5. Optionally enter a Description of the Port Group.

.c
6. Select the ports that you want to add to the Port Group in the Available Ports list.

ei
aw
7. Click to add the ports to the Selected Ports area.

hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

8. Click OK. The Execution Result message box is displayed, indicating that the operation
ng

succeeded.
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 94


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

4.2.5 CREATE A MAPPING VIEW

n
/e
In this lab you will create a Mapping View.

om
.c
1. On the right navigation bar click the Provisioning button

ei
2. In the Block Storage Service area, click Mapping View.

aw
3. Click Create.

hu
4. In the Name text box, enter a name for the Mapping View.

g.
in
5. Optionally enter a Description for the Mapping View.

rn
6. In LUN Group, click This will open the Select LUN Group dialog box.

7. ea
From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
/l
click OK.
:/
tp
ht

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.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 95


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

The result should be similar to the image below.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

8 Click OK. The Execution Result dialog box is displayed, indicating that the operation
ht

succeeded.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 96


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

4.2.6 BUILDING A FIBRE CHANNEL SAN IN THE LINUX ENVIRONMENT

In section of the lab you will install the Fibre Channel HBA driver for a Linux based server. You will

n
create a Fibre Channel Host, Host Group, Port Group and Mapping View.

/e
om
.c
ei
Installing a Driver for the Fibre Channel HBA on the Linux based Server

aw
1. Log in to the Linux-based application server as user root. Check whether the host has identified

hu
the HBA. If the host already has the driver for the HBA, go to step 2.

g.
in
2. Run cat /etc/issue to query the operating system version. The output is as follows:

rn
#cat /etc/issue

ea
Welcome to SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel \r (\l).
/l
:/
tp

3. Check whether the host has identified the Fibre Channel HBA. SUSE 10 has an HBA driver. Run
cat /sys/class/fc_host/host5/node_name to query the WWN of the HBA. If this file does not exist,
ht

go to step 2. The output is as follows:


s:

# cat /sys/class/fc_host/host5/node_name
ce

0x2000001b32923fd8
ur
so
Re

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
ng

application server.
ni
ar

4. Run rpm –ivh XXX where XXX is the name of the Fibre Channel HBA driver RPM package to
Le

install. Then perform step 1 again to check the result.


re
Mo

Huawei confidential. No spreading without 97


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

4.2.7 CREATING A FIBRE CHANNEL HOST

In this lab you will create a host for Fibre Channel usage.

n
/e
1. On the right navigation bar, click provisioning.

om
2. In the Block Storage Service area, click Host.

.c
ei
3. Choose Create > Manual Creation.

aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur

4. In the Name, enter Name of the host.


so

5. In the Description, enter Description of the host.


Re

6. In the OS, select Linux.


ng

7. Click Next.
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 98


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur

8. In the Available Initiators area, select one or multiple initiators based on your service need.
so
Re

NOTE:
ng

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
ni

the initiator list rather than manually creating it, so you can skip Step 10 to 15. You do not add
ar

initiators on different application servers to a same host.


Le
re

9. Click Create.
Mo

10. From the Type list, select FC.

Huawei confidential. No spreading without 99


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

11. In WWPN, enter the WWPN number. For example: 21000024FF3FB076.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

12. Click OK.


s:
ce
ur
so
Re
ng
ni
ar
Le

13. Click OK.


re

14. In the Available Initiators area, select one initiators based on your service need.
Mo

Huawei confidential. No spreading without 100


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

15. Click to add the initiator to the Selected Initiators area.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

16. Click Next.


ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 101


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
17. Click Finish.

rn
ea
/l
:/
tp
ht
s:
ce
ur
so

.
Re

18. Carefully read the content in the dialog box. Then select I have read the previous information
ng

and understood subsequences of the operation for confirmation.


ni

19. Click OK. The Execution Result dialog box is displayed indicating that the operation succeeded.
ar
Le
re
Mo

Huawei confidential. No spreading without 102


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
20. Click close.

rn
ea
/l
:/
tp

4.2.8 CREATING A HOST GROUP


ht

In this section you will create a Host Group for the Fibre Channel host.
s:
ce

1. On the right navigation bar, click provisioning


ur

2. In the Block Storage Service area, click Host.


so

3. Click the Host Group tab.


Re

4. Click Create.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 103


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

5. In the Name, enter Name of the host group.


ht

6. In the Description, enter Description of the host group.


s:

7. In the Available Hosts area, select one or multiple initiators based on your service need.
ce
ur

8. Click to add the hosts to the Selected Hosts area.


so

9. Click OK. The Execution Result message box is displayed, indicating that the operation
Re

succeeded.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 104


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
10. Click Close.

in
rn
ea
/l
4.2.9 CREATING A FIBRE CHANNEL PORT GROUP
:/
tp

In this section of the lab you will create a Fibre Channel Port Group.
ht

1. On the right navigation bar, click the Provisioning button


s:

2. In the Storage Configuration and Optimization area, click Port.


ce

3. Click the Port Group tab.


ur

4. Click Create.
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 105


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
5. In the Name, enter Name of the port group. ea
/l
6. In the Description, enter Description of the port group.
:/

7. Select the ports you want to add to the port group in Available Ports list.
tp
ht

8. Click and add the ports to Selected Ports.

9. Click OK. The Execution result message box is displayed, indicating that the operation
s:

succeeded.
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 106


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

10. Click Close.

n
/e
om
.c
4.2.10 CREATING A MAPPING VIEW

ei
aw
In this lab you will create a Mapping View.

hu
1. On the right navigation bar click the Provisioning button

g.
2. In the Block Storage Service area, click Mapping View.

in
rn
3. Click Create.

ea
4. In the Name text box, enter a name for the Mapping View.
/l
5. Optionally enter a Description for the Mapping View.
:/
tp

6. In LUN Group, click This will open the Select LUN Group dialog box.
ht

7. From the LUN Group list, select the LUN Group that you want to add to the Mapping View and
click OK.
s:
ce

Repeat steps 6 and 7 to add a Host Group and Port Group to the Mapping View. Note that you
ur

need to check the checkbox before you can add a Port Group.
so

8. The result should be similar to the image below.


Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 107


permission..
Lab Exercise 4.2 - Connecting SAN Storage Devices to
BSSN HCNA Storage Lab Guide Issue 3.0 Linux based Hosts

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
9. Click OK. The Execution Result dialog box is displayed, indicating that the operation succeeded.
:/
tp
ht
s:
ce
ur
so
Re

This is the end of lab exercise 4.2


ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 108


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

LAB EXERCISE 5.1 – INSTALLING MULTIPATHING


SOFTWARE TO A WINDOWS BASED HOST

n
/e
Objectives

om
.c
Upon completion of this lab, the student will be able to install the Multipathing software and view a

ei
LUN in Disk Management for Windows.

aw
 Install Multipathing software

hu

g.
View a LUN in Disk Management

in
 Use a LUN

rn
Hardware and software requirements
ea
/l
1. Server running Windows
:/

2. UltraPath Multipath software


tp

3. Disk Management
ht
s:

Networking diagram
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 109


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

5.1.1 Viewing a LUN


tp

In this section of the lab you will take a look at the LUN you just created. Multipathing software is not
ht

yet installed.
s:

1. Open the Server Manager, at your left hand side go to Storage and open Disk Management.
ce

2. If the new disk is not yet discovered, click Action at the top of the Server Manager and select
ur

Rescan Disks.
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 110


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

You will now see two new disks. This is because you configured two initiators. The Multipathing
software must be installed before you can use the disks.

n
3. At the left hand side of the Server Manager, choose Diagnostics and open the Device Manager.

/e
The disk information is displayed under Disk drives.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

5.1.2 Installing Multipathing software


tp

In this lab you will install the UltraPath Multipathing software.


ht

1. Obtain the Huawei supplied Multipathing software called UltraPath from the Huawei official
s:

website or the CD-ROM included with the delivery. Pay attention to the compatibility of the
ce

UltraPath.
ur

2. Decompress UltraPath
so

3. Double click the installation file


Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 111


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni

4. Install UltraPath as prompted.


ar
Le
re
Mo

Huawei confidential. No spreading without 112


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 113


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 114


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

5. After the setup is completed, click Finish.

6. Now the server needs to reboot before the installation is completed. Select the option Yes, I want
to restart my computer now and click Next.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce

8. After the operating system is restarted, open Disk Management. The number of new disks is half
ur

that discovered before the UltraPath installation.


so

9. Go to Device Manager and look at the disk drives. You should see the following disk(s) as
Re

UltraPath_Disk.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 115


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 116


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

5.1.3 Using a LUN


You will now configure the LUN by using Disk Management. After the LUN is created and a drive
letter is assigned you will put some data on it.

n
/e
1. Open Disk Management.

om
.c
2. Right click on the LUN you just created and select Online.

ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce

3. The LUN is not initialized yet. Click the right mouse button and select Initialize Disks.
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 117


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
4. Leave all settings at default and click OK.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

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.

Huawei confidential. No spreading without 118


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 119


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 120


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 121


permission..
Lab Exercise 5.1 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Windows based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

6. Now you can use the LUN, add some data on it.
tp
ht

This is the end of lab exercise 5.1


s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 122


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

LAB EXERCISE 5.2 – INSTALLING MULTIPATHING


SOFTWARE TO A LINUX BASED HOST

n
/e
Objectives

om
.c
Upon completion of this lab, the student will be able to install the Multipathing software and view a

ei
LUN in Disk Management for Linux.

aw
 Install Multipathing software

hu

g.
View a LUN in Disk Management

in
 Use a LUN

rn
Hardware and software requirements
ea
/l
1. Server running Linux
:/

2. UltraPath Multipath software


tp

3. Disk Management
ht
s:

Networking diagram
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 123


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 124


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

5.2.1 Viewing a LUN


In this section of the lab you will view the created LUN in a Linux environment

n
1. Run fdisk –l to view LUNs mapped to the host.

/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

2. You can also run lsscsi to view LUNs mapped to the host.
s:
ce
ur
so
Re

3. Two new disks are discovered although only one LUN is mapped to the host. Multipathing
ng

software must be installed before the disks can be used.


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 125


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

5.2.2 Installing Multipathing software in the Linux environment


In this section of the lab you will install the UltraPath
multipathing software in a Linux environment.

n
/e
The following figure shows the directory of the UltraPath

om
for Linux installation package.

.c
Copy the installation package to a directory on the

ei
Linux-based application server.

aw
hu
Log in to the Linux-based application server and navigate to the directory. Run the following
commands in sequence:

g.

in
dos2unix install.sh
 chmod +x install.sh

rn
 ./install.sh
ea
/l
The output is as follows:
:/
tp
ht
s:
ce
ur
so
Re

Select the initiator type based on the networking mode. Type 1 for an IP SAN and 2 for a Fibre
ng

Channel SAN.
ni

Select a system boot type. To boot the


ar

operating system on the local disk,


Le

type 1. To boot the operating system


on the SAN, type 2.
re

Once the installation is complete, you are asked to restart the operating system. Type Y.
Mo

Huawei confidential. No spreading without 126


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

n
/e
om
.c
Once the system starts up, check the number of disks. If only one disk exists, the multipathing

ei
software has taken effect.

aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng

NOTE
Do not copy the UltraPath installation package to a directory that contains a space in the path name,
ni

for example, /home/Dad Dir/. Otherwise, execution of the script install.sh will encounter an error.
ar
Le

If the UltraPath has been installed on the host and the directory of the UltraPath installation package
re

still exists, do not copy the new UltraPath installation package to that directory to avoid confusion.
Mo

Huawei confidential. No spreading without 127


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

5.2.3 Using a LUN


In this section of the lab you will use the LUN in a Linux environment.

n
1. Log in to the Linux-based application server as user root.

/e
om
2. In the case of a multipathing network, check whether the UltraPath for Linux software is installed

.c
on the application server: Run rpm –q UltraPath.

ei

aw
If the following information is displayed: Package UltraPath is not installed , the
UltraPath for Linux is not installed. Install the software by following the instructions detailed

hu
in the previous section.

g.
 If the following information is displayed: UltraPath-5.01.070-2 , the UltraPath for Linux is

in
installed.

rn
NOTE: UltraPath 5.01.070-2 is used as an example. The actual UltraPath version may be
different. ea
/l
:/

3. Enable the port services on the application server.


tp


ht

When iSCSI host ports are used and UltraPath is not installed, run service open-iscsi restart
to start the iSCSI service and scan for newly mapped LUNs.
s:

 When iSCSI host ports are used and UltraPath is installed, run /etc/init.d/iSCSI restart to
ce

start the iSCSI service. Run hot_add to scan for identifiable LUNs.
ur

 When Fibre Channel host ports are used and UltraPath is installed, run hot_add to identify
so

loaded LUNs, as shown in the following figure.


Re
ng
ni
ar
Le
re
Mo

NOTE: Sometimes, you may need to run hot_add several times to scan for newly mapped
LUNs.

Huawei confidential. No spreading without 128


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

 When Fibre Channel host ports are used and UltraPath is not installed, you need to restart the
host in order to discover disks.

n
4. Run fdisk -1 to view the information about all disks on the application server. The output is as

/e
follows:

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

5. In this example, run fdisk /dev/sdb to partition the sdb logical disk. The output is as follows:
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 129


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

linux-suse-icy:/usr/sbin # fdisk /dev/sdb

 Device contains neither a valid DOS partition table nor Sun,

n
/e
SGI or OSF disklabel

om
 Building a new DOS disklabel. Changes will remain in memory

.c
until you decide to write them. After that, of course, the

ei
previous content won't be recoverable.

aw
The number of cylinders for this disk is set to 10240. There is

hu
nothing wrong with that, but this is larger than 1024 and could

g.
in certain setups cause problems with:

in
1) software that runs at boot time. I.e old versions of LILO

rn
2) booting and partitioning software from other Oss. I.e DOS
FDISK, OS/2 FDISK
ea
/l
Warning: invalid flag 0x0000 of partition table 4 will be
:/

corrected by w(rite)
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 130


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

Command (m for help): m

Command action

n
a toggle a bootable flag

/e
b edit bsd disklabel

om
.c
c toggle the dos compatibility flag

ei
d delete a partition

aw
l list known partition types

hu
m print this menu

g.
n add a new partition

in
o create a new empty DOS partition table

rn
p print the partition table
ea
/l
q quit without saving changes
:/

s create a new empty Sun disklabel


tp

t change a partition's system id


ht

u change display/entry units


s:

v verify the partition table


ce

w write table to disk and exit


ur

x extra functionality (experts only)


so
Re

Command (m for help): n


ng

Command action
ni

e extended
ar

p primary partition (1-4)


Le

e
re
Mo

Partition number (1-4): 1

First cylinder (1-10240, default 1):

Using default value Huawei


1 confidential. No spreading without 131
permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

Last cylinder or +size or +sizeM or +sizeK (1-10240, default


10240): Using default value 10240

Command (m for help): w

n
/e
The partition table has been altered!

om
Calling ioctl() to re-read partition table.

.c
Syncing disks.

ei
aw
hu
g.
6. Set /dev/sdb as the logical partition.

in
linux-suse-icy:~ # fdisk /dev/sdb

rn
ea
The number of cylinders for this disk is set to 10240.
/l
There is nothing wrong with that, but this is larger than 1024
:/

and could in certain setups cause problems with:


tp

1) software that runs at boot time, I.e. old versions of LILO)


ht

2) booting and partitioning software from other OSs I.e. DOS


s:

FDISK, OS/2 FDISK)


ce
ur

Command (m for help): m


so

Command action
Re

a toggle a bootable flag


ng

b edit bsd disklabel


ni

c toggle the dos compatibility flag


ar

d delete a partition
Le

l list known partition types


re

m print this menu


Mo

Huawei confidential. No spreading without 132


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

n add a new partition

o create a new empty DOS partition table

n
p print the partition table

/e
q quit without saving changes

om
.c
s create a new empty Sun disklabel

ei
t change a partition's system id

aw
u change display/entry units

hu
v verify the partition table

g.
w write table to disk and exit

in
x extra functionality (experts only)

rn
ea
/l
Command (m for help): n
:/

Command action
tp

l logical (5 or over)
ht

p primary partition (1-4)


s:

l
ce
ur

First cylinder (1-10240, default 1): Using default value 1


so

Last cylinder or +size or +sizeM or +sizeK (1-10240, default


Re

10240): Using default value 10240


ng
ni

Command (m for help): w


ar

The partition table has been altered!


Le

Calling ioctl() to re-read partition table.


re

Syncing disks.
Mo

Huawei confidential. No spreading without 133


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

7. Run mkfs.ext3 /dev/sdb5 to create a file system for the sdb. (Perform this step based on actual

n
requirements.) The output is as follows:

/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 134


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

linux-suse-icy:~ # mkfs.ext3 /dev/sdb5

mke2fs 1.38 (30-Jun-2005)

n
/e
Filesystem label=

om
OS type: Linux

.c
ei
Block size=4096 (log=2)

aw
Fragment size=4096 (log=2)

hu
1310720 inodes, 2621432 blocks

g.
131071 blocks (5.00%) reserved for the super user

in
rn
First data block=0

Maximum filesystem blocks=2684354560 ea


/l
80 block groups
:/

32768 blocks per group, 32768 fragments per group


tp

16384 inodes per group


ht
s:

Superblock backups stored on blocks:32768, 98304, 163840,


ce

229376, 294912, 819200, 884736, 1605632


ur

Writing inode tables: done


so

Creating journal (32768 blocks): done


Re

Writing superblocks and filesystem accounting information:


ng

done
ni

This filesystem will be automatically checked every 36 mounts


ar

or 180 days, whichever comes first. Use tune2fs -c or -i to


Le

override.
re
Mo

Huawei confidential. No spreading without 135


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

8. Run the following command to create a directory. Name the directory based on actual
requirements: mkdir /mnt/sdb5

n
9. Run the following command to mount the device to the directory: mount /dev/sdb5 /mnt/sdb5

/e
om
10. Check whether the mounting is successful.

.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

This is the end of lab exercise 5.2


ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 136


permission..
Lab Exercise 5.2 – Installing Multipathing Software to
BSSN HCNA Storage Lab Guide Issue 3.0 a Linux based host

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 137


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

LAB EXERCISE 6 – EXPANDING LUNS AND USE


SMARTTHIN TO CREATE THIN PROVISIONED LUNS

n
/e
Objectives

om
.c
Upon completion of this lab, the student will be able to expand existing LUNs as well as creating Thin

ei
Provisioned LUNs.

aw
 Extend a LUN

hu

g.
Use Disk Management to extend a LUN

in
 Use SmartThin to create Thin Provisioned LUN

rn
Devices
ea
/l
1. OceanStor 5300 V3
:/

2. Server with Windows operating system


tp

3. IP switch
ht
s:

Networking Diagram
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 138


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 139


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

6.1 Expand an existing LUN

In this lab we will expand an existing LUN using the OceanStor DeviceManager and use Disk

n
Management to expand the LUN within a Windows environment.

/e
om
1. On the right navigation bar click the Provisioning button

.c
ei
2. In the Block Storage Service area, click LUN.

aw
hu
3. Select the LUN that you want to expand. Click the Expand button at the top, or click the right
mouse button on the LUN that you want to expand and select the Expand option.

g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 140


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

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.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur

5. Click OK.
so

6. An Info screen will open. Click OK.


Re

7. You have now successfully expanded the LUN.


ng

8. Open Disk Management and click Action at the top of the Server Manager and select Rescan
ni

Disks.You will now see the LUN with some unallocated space.
ar
Le
re
Mo

Huawei confidential. No spreading without 141


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

9. Now click the right mouse button at the existing partition. Select Extend Volume. This will open
the Extend Volume Wizard.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
10. At the Welcome screen click Next.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 142


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

11. Select the available space at the Selected area and click Next.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce

12. Click Finish to complete the Extend Volume Wizard.


ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 143


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

13. Take a look at the expanded partition and notice that it is expanded.
ht
s:
ce
ur
so
Re
ng

6.2 Create Thin Provisioned LUN


ni
ar

In this section of the lab you will create a Thin Provisioned LUN while using the SmartTier feature.
Le

1. On the right navigation bar click the Provisioning button


re
Mo

2. In the Block Storage Service area, click LUN.

3. Click the Create button.

4. In the Name text box type a name for the LUN.


Huawei confidential. No spreading without 144
permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

5. Check the Enable checkbox at the SmartThin option.

6. Choose the total capacity for the Thin Provisioned LUN.

n
7. In the Initially Allocated Capacity text box. Example: When the total capacity is 50gb and you

/e
fill in the Initially Allocated Capacity with 10gb, the LUN will take just 10gb on the Storage Pool.

om
This LUN can grow till 50gb.

.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

8. When all information is provided, click the OK button to create the Thin Provisioned LUN.

9. The Execution Result box will pop up that the action is succeeded.
re
Mo

Huawei confidential. No spreading without 145


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
10. Notice in the LUN tab that the new LUN is shown as a Thin LUN.

in
rn
ea
/l
:/
tp
ht

NOTE: Notify that the Initially Allocated Capacity is the space that will be used from the Storage
s:

Pool.
ce

11. Click the LUN Group tab.


ur
so

12. Click the Add Object button to add the Thin Provisioned LUN to one of the existing LUN Groups.
It is also possible to create a new LUN Group.
Re
ng
ni
ar
Le
re
Mo

13. From the Available LUNs area, select the Thin Provisioned LUN and click to add the LUN
to the Selected LUNs area.

Huawei confidential. No spreading without 146


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

14. Click OK.

n
/e
om
.c
ei
aw
hu
g.
in
rn
15. The Execution Result box will show that the operation is succeeded.
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng

16. Open the Server Manager and go to Disk Management.


ni
ar

17. At the top left of the Server Manager, first click Action
followed by the Rescan Disks option.
Le
re
Mo

Huawei confidential. No spreading without 147


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

18. You should see a new volume show up. Click the right mouse

n
button and choose Online.

/e
om
.c
ei
aw
19. The new LUN is not yet initialized. Click the right mouse button and select Initialize Disk. Leave

hu
all settings at default and click OK.

g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

20. Now the unallocated space is ready to create a volume on.

21. Right click the unallocated space and select New Simple Volume.
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 148


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
in
rn
22. Follow all steps from the New Simple Volume Wizard.

ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 149


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

23. Assign a drive letter and click Next.


s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 150


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

24. Assign a name for the new partition in the Volume Label text box.
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 151


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

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.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng

This is the end of lab exercise 6


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 152


permission..
Lab Exercise 6 – Expanding LUNs and use SmartThin
BSSN HCNA Storage Lab Guide Issue 3.0 to create Thin Provisioned LUNs

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 153


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

LAB EXERCISE 7 – USING THE HYPERSNAP FEATURE


TO CREATE SNAPSHOTS AND RECOVER DATA

n
/e
Objectives

om
.c
Upon completing this lab, you will have a working knowledge of using the HyperSnap feature,

ei
creating snapshots and using snapshots to recover data.

aw
 Use HyperSnap feature

hu

g.
Create snapshots

in
 Use snapshots

rn
 Recover data while using snapshots

ea
/l
Hardware and software requirements
:/

1. OceanStor 5300 V3
tp

2. PC running the DeviceManager management interface


ht

3. IP switch
s:
ce

Networking Diagram
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 154


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 155


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

7.1 CREATING A SNAPSHOT

In this lab you will create a Snapshot.

n
/e
1. First add some data on the LUN before you make the snapshot.

om
2. On the right navigation bar click the Provisioning button

.c
3. In the View and Management area, click LUN.

ei
4. Select a LUN where you want to create a Snapshot from. At the top menu bar, click More and

aw
select the Create Snapshot option.

hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so

5. The Create Snapshot wizard will open. You can change the name of the snapshot but that is not
Re

necessary.
ng

6. Optionally enter a Description for the snapshot.


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 156


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

n
/e
om
.c
ei
aw
hu
g.
7. Check the Activate Now checkbox to activate the snapshot.

in
8. Click OK.

rn
9. The Execution Result box will show that the operation is succeeded.

10. Click Close.


ea
/l
11. The Snapshot is now created. Look at the Snapshot part and look at the Snapshot. Notice that it
:/

the Running Status is Active and the Mapping is Unmapped.


tp
ht
s:
ce
ur

12. Delete some of the files from the LUN.


so
Re
ng
ni

7.2 USE SNAPSHOT TO RECOVER DATA


ar
Le

In this section of the lab you will use the snapshot that you created to recover data. First you will
re

recover a single file, after that you will rollback the snapshot.
Mo

7.2.1 File recovery using Snapshots

1. First you need to create a mapping for the snapshot you created. Go to the Lun Group tab.
Huawei confidential. No spreading without 157
permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

2. Select the LUN Group where the LUN is connected to. At the top menu bar, click the Add Object
button.

n
/e
om
.c
ei
aw
hu
g.
in
3. Go to the Snapshot tab.

rn
ea
4. Select the available Snapshot from the Available Snapshots area. Click the button to add
/l
the Snapshot to the Selected Snapshots area.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re

5. Click OK.
Mo

6. The Execution Result box will show that the operation is succeeded.

7. Click Close. The Snapshot is now mapped to the LUN Group.


Huawei confidential. No spreading without 158
permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

8. Open the Server Manager and go to Disk Management.

9. At the top left of the Server Manager, first click Action

n
followed by the Rescan Disks option.

/e
om
.c
ei
aw
hu
g.
10. You will now see show up an extra Disk. Put that Disk Online by clicking the right mouse button

in
and select Online.

rn
11. The Disk will automatically get a drive letter assigned to it (you may refresh the view of Disk
ea
Management). Open both partitions and take a look at all the data. Notice that the snapshot LUN
/l
has all data on it. Copy the missing files back to the original LUN.
:/

12. Open Disk Management and click the right


tp

mouse button on the Snapshot LUN. Click


ht

Offline.
s:
ce
ur
so
Re
ng
ni
ar
Le

Now you have recovered some files. We now need to unmap the Snapshot.
re

13. To unmap the snapshot, go to the Lun Group tab.


Mo

14. Select the LUN Group where the Snapshot is connected to. At the top menu bar, click the Remove
Object button.

Huawei confidential. No spreading without 159


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

n
/e
om
.c
ei
aw
hu
g.
15. Click the Snapshot tab.

in
16. Select the Snapshot from the Available Snapshots area and click the button to move the

rn
Snapshot to the Selected Snapshots area.

17. Click OK.


ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

18. A warning message will show up. Read this message, check the Checkbox and click OK.
re
Mo

Huawei confidential. No spreading without 160


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

n
/e
om
.c
ei
aw
hu
19. The Execution Result box will show that the operation is succeeded.

g.
in
rn
ea
/l
:/
tp
ht
s:
ce

7.2.2 Rollback snapshot


ur
so

1. First Delete the data from the partition where you created the snapshot from.
Re

2. Open the Server Manager and go to Disk Management.


ng

3. Right mouse click the volume and select Offline.


ni
ar
Le
re
Mo

Huawei confidential. No spreading without 161


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

4. Now go to the DeviceManager and click the Provisioning icon

5. Open the LUN tab.

n
6. Select the LUN that you set offline. At the bottom you will see the Snapshot area. Click the

/e
Snapshot tab. Notice that the Snapshot mapping is Unmapped.

om
.c
ei
aw
hu
g.
in
7. The Snapshot Running Status must be Active otherwise you can’t rollback the snapshot. If the
running status is Inactive, click the right mouse button and select Activate.

rn
ea
NOTE: When you manually Deactivate the Snapshot, the Snapshot data will be deleted. Ensure
/l
that the selected snapshot is correct and considered to have no useful data.
:/
tp

8. Select the Snapshot that you want to rollback. Click the right mouse button
ht

and select Start Rollback.


s:
ce

9. Now you can choose the Rollback Speed. The default rollback speed is
ur

Medium. Notice that it is also possible to change that to Low, High and
so

Highest.
Re

10. Click OK.


ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 162


permission..
Lab Exercise 7 – Using the HyperSnap feature to create
BSSN HCNA Storage Lab Guide Issue 3.0 Snapshots and recover datas

n
/e
om
.c
ei
aw
hu
g.
11. You will now get a warning because you are going to roll back the snapshot. Check the Checkbox

in
and click OK.

rn
12. The Execution Result box will display that the operation succeeded. Click OK.

13. The system will now roll back the Snapshot.


ea
/l
:/
tp
ht
s:
ce
ur

14. When the Running Status is showing Active again, you can open the Server Manager and go to
so

Disk Management.
Re

15. Click the right mouse button and select Online.


ng
ni
ar
Le

16. Take a look and notice that all the data is recovered.
re
Mo

This is the end of lab exercise 7

Huawei confidential. No spreading without 163


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

LAB EXERCISE 8 – WORKING WITH THE SMARTTIER


LICENSED FEATURE

n
/e
Objectives

om
.c
Upon completing this lab you will have a working knowledge of the SmartTier feature. The student

ei
will use the SmartTier feature and will create a SmartTier Service Monitoring Period as well as

aw
monitoring the actual data migration from one tier to another.

hu
 Use SmartTier feature

g.
 Create SmartTier Service Monitoring Period

in

rn
Monitor data migration

Hardware and software requirements


ea
/l
:/

1. OceanStor 5300 V3
tp

2. IP switch
ht

3. System running the OceanStor DeviceManager


s:

Networking Diagram
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 164


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

8.1 USE SMARTTIER


tp

In this section of the lab you will use the SmartTier feature.
ht
s:
ce

8.1.1 Create Storage Pool


ur
so

1. On the right navigation bar click the Provisioning button


Re

2. In the Storage Configuration and Optimization area, click Storage Pool.


ng

3. Click the Create button.


ni
ar
Le
re

4. At the Storage Medium part, select at least two different disk types.
Mo

5. Fill in a RAID Policy and Capacity.

6. Click the Set SmartTier Policy button.

Huawei confidential. No spreading without 165


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

7. Take a look at the available options. For this lab, leave the settings at Default.
ht

8. Click OK.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 166


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so

9. Leave the Advanced Settings at Default and click OK.


Re

10. Click OK to create the Storage Pool.


ng

11. The Execution Result box will display that the operation succeeded.
ni
ar
Le
re

8.1.2 Create LUN and LUN Group


Mo

1. On the right navigation bar click the Provisioning button

Huawei confidential. No spreading without 167


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

2. Click LUN in the Block Storage Service area.

3. Click the Create button.

n
/e
om
.c
ei
aw
4. In the Name text box, enter a name for the new LUN.

hu
5. Optionally enter a Description for the new LUN.

g.
6. In the Capacity, enter 50GB to create a 50GB LUN.

in
7. In the Owning Storage Pool, select the Storage Pool to which the LUN you are creating belongs.

rn
8. Click the Advanced button.
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

9. From the Owning Controller choose Controller A.


Huawei confidential. No spreading without 168
permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

10. Leave the Initial Capacity Allocation Policy at default.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

11. Click the Tuning tab.


re

12. At the SmartTier Policy, select one of the options that is available. In this example we choose
Mo

Relocation to low-performance tier.

13. Leave all other settings at Default.

Huawei confidential. No spreading without 169


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

14. Click OK at the Advanced settings screen.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

15. Click OK.

16. The Execution Result box will display that the operation is succeeded.

Huawei confidential. No spreading without 170


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
rn
17. Go to the LUN Group tab. ea
/l
18. You can create a new LUN Group, or add the created LUN to an existing LUN Group.
:/

19. Map the LUN Group to an existing Mapping View, or create a new Mapping View.
tp
ht

20. Open the Server Manager and go to Disk Management.

21. Make the LUN ready for use and copy some data to it.
s:
ce
ur
so
Re

8.2 CREATE SMARTTIER SERVICE MONITORING PERIOD


ng
ni

In this section of the lab you will create a service monitoring period for the SmartTier feature and take
a look at the data migration to a low performance tier.
ar
Le

1. On the right navigation bar click the Provisioning button


re

2. In the Storage Configuration and Optimization area, click Storage Pool.


Mo

3. Select the Storage Pool and


click the Properties button.

Huawei confidential. No spreading without 171


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

4. Click the SmartTier Policy tab.

n
/e
om
.c
ei
aw
5. In the Data Migration part, select Periodical.

hu
6. Choose the day of the course.

g.
7. Select a Start Time that is near the current time, so you can actual see the data move from one tier

in
to another.

rn
8. Choose a Duration for the Data Migration Plan.

9. Click Apply.
ea
/l
10. Click OK.
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 172


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur

11. The Execution Result box will display that the operation succeeded.
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 173


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
12. Wait a few minutes for the Data Migration to start and migrate some data to the other tier.
/l
13. To view the actual data migration, go to the Provisioning screen and click Storage Pool.
:/

14. Select the Storage Pool.


tp

15. Select the LUN that is in that Storage Pool.


ht

16. Click the Properties button.


s:
ce
ur
so

17. At the Properties window, click the SmartTier tab.


Re

18. Take a look at the Capacity Distribution and notice that the data is moving from one tier to
ng

another.
ni

NOTE: This screen will not update automatically. To get a live view of the SmartTier feature,
ar

follow steps 19 till 22.


Le
re
Mo

Huawei confidential. No spreading without 174


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

n
/e
om
.c
ei
aw
hu
g.
in
19. To get a live view of the data migration, select the Storage Pool.

rn
20. Click the Properties button.

ea
/l
:/
tp

21. At the Properties window of the Storage Pool, click the SmartTier Status tab.
ht

22. In this screen you will see the data move from one tier to another.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

23. When the Migration Status is Ready, the data is moved from one tier to the other one.

Huawei confidential. No spreading without 175


permission..
Lab Exercise 8 – Working with the SmartTier licensed
BSSN HCNA Storage Lab Guide Issue 3.0 feature

This is the end of lab exercise 8

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 176


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

LAB EXERCISE 9 – ROUTINE MAINTENANCE LAB OF


SAN STORAGE PRODUCTS

n
/e
Objectives

om
.c
Upon completing this lab, you will have a working knowledge of methods involved in collecting and

ei
saving various fault diagnosis information.

aw
Hardware and software requirements

hu
g.
1. OceanStor 5300 V3

in
2. IP switch

rn
3. Maintenance terminal

4. Networking cable
ea
/l
:/

Networking Diagram
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 177


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

9.1 EXPORTING CONFIGURATION DATA OF THE STORAGE DEVICE


USING DEVICEMANAGER

n
/e
After this lab, the student will be able to export configuration data of a SAN storage device using the
DeviceManager.

om
.c
1. Log in to the DeviceManager.

ei
2. On the right navigation bar, click the Settings button

aw
3. In the Task area, click Export Data.

hu
g.
in
rn
ea
/l
:/
tp
ht
s:

4. In Running Data of the Export Data dialog box, click Download.


ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 178


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

5. In System Log of the Export Data dialog box, click Download.


tp

6. In Disk Log of the Export Data dialog box, click Download.


ht

7. Click Close.
s:
ce
ur
so

9.2 USING THE MAINTENANCE TOOL


Re

In this lab you will use the OceanStor Toolkit.


ng

1. Download the OceanStor Toolkit maintenance tool package from the Huawei official website:
ni

www.huawei.com.
ar
Le
re
Mo

Huawei confidential. No spreading without 179


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
g.
in
rn
2. Install the OceanStor Toolkit as prompted. Click Next while maintaining the default options until
the installation is complete. ea
/l
3. Start the OceanStor Toolkit. Click ToolStore, select the tools you want to use. Custom install tools
:/
tp
ht
s:
ce
ur
so
Re

in OceanStor Toolkit.
ng

9.3 INSPECTION (INCLUDING REVIEWAL INSPECTION)


ni
ar

In this lab you will perform real time and full check on devices.
Le

1. Start the OceanStor Toolkit.


re

2. Click ToolCase and go to the Maintain tab page.


Mo

Huawei confidential. No spreading without 180


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
3. Click Inspection (including reviewal inspection). The Inspection Wizard dialog box is displayed.
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re

4. Click Next. The Select Devices tab page is displayed. Click Add Device. In the Add device
Mo

dialog box that is displayed, enter the basic information about the device and click Next.

Huawei confidential. No spreading without 181


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

5. If the device is displayed in the Inspection Device List, it is successfully added.


ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 182


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

6. Select the newly added device and click Next.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

7. On the Select Check Items tab page that is displayed, select the items to be checked and click
s:

Next.
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 183


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

8. On the Set Check Policy tab page that is displayed, set the check policy.
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 184


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

9. Click Next. The inspection starts.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

10. After the inspection is complete, click Finish. Handle the failed items as prompted.
ht

9.4 COLLECTING INFORMATION


s:
ce

In this section of the lab we will learn how to collect information about various devices.
ur
so

1. Start the OceanStor Toolkit. On the


Re

Maintain tab page, click Information


Collection. The Information
ng

Collection dialog box is displayed.


ni
ar
Le
re
Mo

2. Select the device whose information you want to collect and click Collect.

Huawei confidential. No spreading without 185


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
The OceanStor Toolkit starts to collect device information.

g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re

3. After the collection is complete, the progress bar reaches 100% and Collection Succeeded is
ng

displayed, as highlighted by the red square in the following figure.


ni
ar
Le
re

This is the end of lab exercise 9


Mo

Huawei confidential. No spreading without 186


permission..
Lab Exercise 9 – Routine maintenance lab of SAN
BSSN HCNA Storage Lab Guide Issue 3.0 storage products

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 187


permission..
Optional lab 10 – Using NAS features of the OceanStor
BSSN HCNA Storage Lab Guide Issue 3.0 V3 hardware

OPTIONAL LAB 10 – USING NAS FEATURES OF THE


OCEANSTOR V3 HARDWARE

n
/e
om
Please ask your instructor for a demonstration video about using the NAS feature

.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 188


permission..
Optional lab 10 – Using NAS features of the OceanStor
BSSN HCNA Storage Lab Guide Issue 3.0 V3 hardware

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 189


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

APPENDIX 1 – SERVER RAID CONFIGURATIONS

Objectives

n
/e
om
Upon completing this lab, you will know how to configure RAID on a server.

.c
Devices

ei
aw
 RH2285

hu
 monitor

g.
 mouse

in
 keyboard

rn
Networking Diagram ea
/l
:/

Connect the monitor, mouse, and keyboard directly to the server.


tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 190


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

PROCEDURE

Starting the CU Tool

n
/e
1. When Press Ctrl-C to Start LSI Corp Configuration Utility. is displayed during the system

om
startup, press Ctrl+C to start the CU tool.

.c
2. Then Please wait, invoking SAS Configuration Utility... is displayed. After the system is

ei
powered on and the self-checking is complete, the CU management window is displayed.

aw
Configuring RAID 0

hu
To configure redundant array of independent disks (RAID) 0 properties on the CU management screen,

g.
perform the following steps:

in
rn
1. Select an SAS controller.

ea
/l
:/
tp
ht
s:
ce
ur
so
Re

2. Press Enter. The Controller Properties screen is displayed.


ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 191


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
3. Select RAID Properties, and press Enter. The Select New Volume Type screen is displayed.

rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni

4. Choose Create RAID 0 Volume. The Create New Volume screen lists available hard disks.
ar
Le
re
Mo

Huawei confidential. No spreading without 192


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
CAUTION: The data on the selected hard disks will be lost.
/l
:/
tp
ht

5. Press the -, +, or space key to identify a hard disk to be configured or not for the current RAID
properties.
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

NOTE:

Huawei confidential. No spreading without 193


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

If a hard disk is identified as No, the hard disk is not configured with the current RAID properties.
If a hard disk is identified as Yes, the hard disk is configured with the current RAID properties.

n
6. Press C, and select Save changes then exit this menu.

/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 194


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

APPENDIX 2 – SAN NETWORKING LAB

2.1 Fibre Channel SAN Networking Lab of the OceanStor 5300 V3

n
/e
om
Objectives

.c
Upon completing this lab, you will have a working knowledge of:

ei

aw
Principles and methods used in Fibre Channel SAN networking of the OceanStor 5300 V3.

hu
 Devices and components used in Fibre Channel networking of the OceanStor 5300 V3.

g.
Devices

in
rn
1. OceanStor 5300 V3

2. Fibre Channel switch ea


/l
3. Fibre Channel HBA
:/

4. Optical fibers
tp
ht

Networking Diagram
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 195


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 196


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

PROCEDURE

Task 1: Build a directly connected network with one single-port or dual-port HBA.

n
/e
Procedure: Connect the devices as shown or draw a schematic diagram.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

Task 2: Build a multipathing network with one single-port HBA.


tp

Procedure: Connect the devices as shown or draw a schematic diagram.


ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 197


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

Task 3: Build a multipathing network with two single-port HBAs or one dual-port HBA.
s:

Procedure: Connect the devices as shown or draw a schematic diagram.


ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 198


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

Task 4: Build a full-redundancy network with two dual-port HBAs.

n
/e
Procedure: Connect the devices as shown or draw a schematic diagram.

om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

Task 5: Configure zoning for a Fibre Channel switch. This task is optional. If the networking mode is
simple, zoning is not required.
s:
ce

1. Go to the Zone page on the Web Tools.


ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 199


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

2. Create a zone.
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

3. Select members for the zone.


Huawei confidential. No spreading without 200
permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp

4. Add zone members.


ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 201


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

5. Save the configurations.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht

6. Create a zone configuration.


s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 202


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

7. Add a zone to the zone configuration.


tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 203


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

8. Enable the zone configuration.

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 204


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

2.2 IP SAN Networking Lab of the OceanStor 5300 V3

Objectives

n
/e
Upon completing this lab, you will have a working knowledge of:

om
.c
 Principles and methods used in IP SAN networking of the OceanStor 5300 V3.

ei
 Devices used in IP SAN networking of the OceanStor 5300 V3.

aw
hu
Devices

g.
1. OceanStor 5300 V3

in
2. IP switch

rn
3. Server
ea
/l
4. network cable
:/

Networking Diagram ( Label networking )


tp
ht
s:
ce
ur
so
Re
ng
ni
ar
Le

LNK FDX DIAG RPS PWR


1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 /ACT 47 /HDX
COMBO PORTS FAN TEMP

RESET
LNK/ACT LNK/ACT LNK/ACT LNK/ACT
re

2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
Mo

Huawei confidential. No spreading without 205


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
PROCEDURE

ei
aw
Task 1: Build a directly connected network with one or two network ports.

hu
Procedure: Connect the devices as shown or draw a schematic diagram.

g.
in
rn
ea
/l
:/
tp
ht
s:
ce

Task 2: Build a multipathing network with one network port.


ur

Procedure: Connect the devices as shown or draw a schematic diagram.


so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 206


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/
tp
ht
s:

Task 3: Build a multipathing network with two network ports.


ce

Procedure: Connect the devices as shown or draw a schematic diagram.


ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 207


permission..
BSSN HCNA Storage Lab Guide Issue 3.0 Appendix

n
/e
om
.c
ei
aw
hu
g.
in
rn
ea
/l
:/

Task 4: Build a full-redundancy network.


tp

Procedure: Connect the devices as shown or draw a schematic diagram.


ht
s:
ce
ur
so
Re
ng
ni
ar
Le
re
Mo

Huawei confidential. No spreading without 208


permission..
Mo
re
Le
ar
ni
ng
Re
so
ur
ce
s:
ht
tp
:/
/l
ea
rn
in
g.
hu
aw
ei
.c
om
/e
n

You might also like