Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Replacement Guide
Issue 1.1
Date 2015-06-30
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://www.huawei.com
Contents
4 Procedure ........................................................................................................................................ 5
4.1 Faulty Disk Replacement Guide ................................................................................................................................... 6
4.1.1 Replacing Faulty Disks .............................................................................................................................................. 6
4.2 Risky Disk Replacement Guide .................................................................................................................................... 7
4.2.1 Method 1 .................................................................................................................................................................... 7
4.2.1.1 Replacing Member disk .......................................................................................................................................... 8
4.2.1.2 Replacing Free disk or Free Spare disk .................................................................................................................. 9
4.2.2 Method 2 .................................................................................................................................................................... 9
4.2.2.1 Replacing Non-RAID Coffer Disks ...................................................................................................................... 10
4.2.2.2 Replacing Non-Coffer Free Disks ........................................................................................................................ 12
4.2.2.3 Replacing Free Hot Spare Disks ........................................................................................................................... 12
4.2.2.4 Replacing Non-Coffer RAID Member Disks ....................................................................................................... 13
4.2.2.5 Replacing Coffer RAID Member Disks ............................................................................................................... 14
5 Appendix ...................................................................................................................................... 15
5.1 Word Definition .......................................................................................................................................................... 15
5.2 ISM Usage Guide ....................................................................................................................................................... 16
5.2.1 V100R001C00 Usage Guide.................................................................................................................................... 16
5.2.2 V100R002C00 Usage Guide.................................................................................................................................... 18
5.3 CLI Usage Guide ........................................................................................................................................................ 21
5.4 Disk Replacement Guide ............................................................................................................................................ 23
5.5 Setting a Hot Spare Disk ............................................................................................................................................. 25
5.6 Checking the Status of Reconstruction and Copyback ............................................................................................... 26
5.6.1 Checking the Status of Reconstruction and Copyback in the CLI ........................................................................... 26
5.6.2 Checking the Status of Reconstruction and Copyback on ISM ............................................................................... 28
Reviewed By Date
Reviewed By Date
Approved By Date
2 Background
This document describes in detail the procedure for replacing faulty disks or risky disks (not
faulty yet) to guide field disk replacement.
The replacement procedure described in this document can be used only when RAID groups
are in a Normal or Degrade state and services are running properly. If the RAID groups are in
a faulty state and are not running properly, contact Huawei R & D engineers for treatment.
3.2 Precautions
Disk replacement occupies bandwidth for disks. Therefore, replace disks during off-peak
hours.
Note the following when you replace disks:
1. Disks are compact devices. Handle disks with care. Refrain from rough handling.
2. Do not pile or stack disks. Wear ESD gloves when you replace a disk.
3. Disk slot ID starts from 0. Do not pull out a disk from a wrong slot.
Exporting the configuration file enables you to back up the configurations of the storage system.
----End
Collecting storage system logs enables you to archive the running status and configurations of sites.
----End
4 Procedure
Log in to the storage device through command line interface (CLI). Run showdisk -logic to
view the logical status of disks.
CAUTION
Refer to section 5.1 "Word Definition" for the definitions and identification methods of the
terms such as coffer disk, member disk, and hot spare disk.
Logic status of a disk will not change to Normal immediately after you replace the disk and run
showdisk -logic to view its status. The disk logic status will change to Normal after both the
reconstruction and copyback are complete.
After you replace a hot spare disk, set the new disk as a hot spare disk according to section 5.5 "Setting a
Hot Spare Disk."
----End
CAUTION
If you want to know more about the definitions and identification methods of the terms such
as coffer disk, member disk, and hot spare disk, see section 5.1 "Word Definition."
Run showupgradepkginfo-t 1 to check the package information and determine a risky disk
replacement method based on the Package Version.
4.2.1 Method 1
CAUTION
If you want to know more about the definitions and identification methods of the terms such
as coffer disk, member disk, and hot spare disk, see section 5.1 "Word Definition."
You must replace a disk based on its slot information, logic type, and logic status. For details,
see the following table:
Procedure
Step 1 In the CLI, enter developer, and then enter the password debug@storage as prompted.
Step 2 Run showdisk -logic and confirm the enclosure ID and slot ID of the risky disk that you want
to replace. The Disk Location shows the enclosure ID and slot ID of the disk.
Step 3 Run simudiskimpendfail -e enclosureid -s slotid. where enclosureid is the enclosure ID and
slotid the slot ID.
For example, if the Disk Location is (1,0), run simudiskimpendfail -e 1 -s 0.
After you run this command, the system will send out an alarm indicating that the disk is going to fail.
Step 4 At the same time, a precopying process will automatically start, copying data of that disk to a
hot spare disk. Run showdisk -e enclosureid -s slotid to view the precopying progress. Wait
until the disk logic status change to Reconstructed. Then replace the disk according to
section 5.4 "Disk Replacement Guide."
Step 5 After replacing the disk, check the reconstruction and copyback status by following the
instructions in section 5.6 "Checking the Status of Reconstruction and Copyback."
CAUTION
For one storage system, only one coffer disk can be replaced at a time.
During the replacement, an alarm will pop up indicating that the coffer disk is going to fail.
----End
Procedure
Step 1 Identify free or free hot spare disks. For details, see section 5.1 "Word Definition." The
following figure shows such a disk in slot (0, 9) and (0,10).
Step 2 Select a risky disk and replace it following the instructions in section 5.4 "Disk Replacement
Guide."
Step 3 Set the new disk as a hot spare disk. For details, see section 5.5 "Setting a Hot Spare Disk."
----End
4.2.2 Method 2
CAUTION
If you want to know more about the definitions and identification methods of the terms such
as coffer disk, member disk, and hot spare disk, see section 5.1 "Word Definition."
To replace a disk whose Logic Status is Used spare, you must wait until other disks are replaced. A disk
whose Logic Status is Used spare will be automatically released and its Logic Status will change to
Free spare or its Logic Type change to Free.
Procedure
Step 1 Confirm that the risky disks are coffer disks (or system disks, as shown in the red box in
Figure 4-1, which reside in the first four slots of the controller enclosure). For details about
how to identify a coffer disk, see section 5.1 "Word Definition."
Figure 4-1 shows the locations of coffer disks in a 2 U 24-disk controller enclosure.
Figure 4-2 shows the locations of coffer disks in a 4 U 24-disk controller enclosure.
The following figure shows a coffer disk (in slot 0) whose Logic Type is Free.
Step 2 Select a risky disk and replace it following the instructions in section 5.4 "Disk Replacement
Guide."
CAUTION
For one storage system, only one coffer disk can be replaced at a time.
During the replacement, an alarm will pop up indicating that the coffer disk is going to fail.
Wait 5 minutes before replacing a second coffer disk and replace the second coffer disk after
the mentioned alarm is cleared.
Alarm
indicator Running
indicator
----End
Procedure
Step 1 Identify free disks residing in non-coffer disk slots. For details, see section 5.1 "Word
Definition." The following figure shows such a disk in slot (0, 10).
Step 2 Select a risky disk and replace it following the instructions in section 5.4 "Disk Replacement
Guide."
----End
Procedure
Step 1 Identify free hot spare disks residing in non-coffer disk slots. For details, see section 5.1
"Word Definition." The following figure shows such a disk in slot (0, 9).
Step 2 Select a risky disk and replace it following the instructions in section 5.4 "Disk Replacement
Guide."
Step 3 Set the new disk as a hot spare disk. For details, see section 5.5 "Setting a Hot Spare Disk."
----End
Procedure
Step 1 If the storage system has free disks but no hot spare disk, select a free disk and set it as a hot
spare disk following the instructions in section 5.5 "Setting a Hot Spare Disk." If the storage
system has no free disk, insert a disk into an empty slot and set the disk as a hot spare disk.
The capacity of a hot spare disk must be the same as that of a RAID member disk.
Step 2 In the CLI, run startdiskswap -se 0 -ss 5 -te 0 -ts 16 to pre-copy data from disk (0,5) to disk
(0,16). Disk (0,5) and disk (0,16) here are used as examples of a disk to be replaced and a free
hot spare disk respectively.
CAUTION
If the system displays a message indicating that the disk type is invalid, check whether the
target disk is a hot spare disk. If it is a hot spare disk but the command execution still fails,
contact Huawei for rectification.
Step 3 Run showdisk -logic to check the precopy status. If the status of the target disk in slot (0, 16)
is Normal and that of the original disk in slot (0, 5) is Free, the precopy is complete.
If Logic Status of the original disk is Precopying, the precopy is ongoing, as shown in the
following figure:
Step 4 Replace the risky disk in slot (0, 5). For details, see section 5.4 "Disk Replacement Guide."
Set the new disk in slot (0, 5) as a hot spare disk. For details, see section 5.5 "Setting a Hot
Spare Disk."
Step 5 Run startdiskswap -se 0 -ss 16 -te 0 -ts 5 to precopy data from the disk in slot (0, 16) back to
the disk in slot (0, 5).
Step 6 Check the precopy status following the instructions in section 5.6 "Checking the Status of
Reconstruction and Copyback." If the status of the disk in slot (0, 5) is Normal and that of the
disk in slot (0, 16) is Free, the copy is complete and the disk replacement is successful. Set
the disk in slot (0, 16) as a hot spare disk. For details, see section 5.5 "Setting a Hot Spare
Disk."
CAUTION
When you run the startdiskswap command, ensure that the enclosure ID and slot ID are
correct. Do not use this command on coffer disks.
Replace a second disk only after the replacement of the first disk is complete. If copyback of a
disk is ongoing, do not perform any operation on other disks.
----End
Procedure
If the storage system has free disks but no hot spare disk, select a free disk and set it to be a
hot spare disk following the instructions in section 5.5 "Setting a Hot Spare Disk." If the
storage system has no free disk, insert a hard disk into an empty slot on the storage system
and set it to be a hot spare disk. (Note: The capacity of a hot spare disk must be the same as
that of a RAID member disk.)
Step 1 Select a risky disk and replace it following the instructions in section 5.4 "Disk Replacement
Guide."
Step 2 After a hard disk has been replaced, the system starts reconstruction automatically. After the
reconstruction is complete, the system copies data back to the new disk automatically. For
details about how to check the status of reconstruction and copyback, see section 5.6
"Checking the Status of Reconstruction and Copyback." When Logic Status of the new disk
changes to Normal, the copyback is complete and the disk replacement is successful.
CAUTION
Replace a second disk only after the replacement of the first disk is complete. If copyback of a
disk is ongoing, do not perform any operation on other disks.
----End
5 Appendix
Identify the types of disks based on the command output information such as Disk Location,
Logic Status, and Logic Type, as described in the following table:
B. Enter the default user name admin and password Admin@storage respectively in User
Name and Password. In the Discovery Modes area, select a mode and enter required
information such as an IP address or IP segment.
C. Click OK. The Task Manager page is displayed. Click Close to close the Task
Manager page. You have successfully logged in to the storage system.
----End
If JRE 1.6.0_20 is not installed on the client, the dialog box reading "Sorry, failed to find any suitable
Java plug-in for your web browser." is displayed. Take the recommended actions to handle the
problem.
Step 3 Select your desired language on the login page and click OK.
Step 4 On the welcome page of ISM, click Discover Device. The Discover Device dialog box is
displayed.
Step 5 In the Authentication area, enter the default user name admin and password
Admin@storage respectively in User Name and Password. In the Discovery Modes area,
select Specify IP Address (discover a device using its IP address) and enter the IP address
of the device.
Step 6 Click OK. The Task Manager page is displayed. Click Close to close the Task Manager
page. You have successfully logged in to the storage system.
----End
This document uses PuTTY as an example. You can download the software from
http://www.chiark.greenend.org.uk.
Step 2 Select Session. In the Host Name (or IP address) text box in the Specify your connection
by host name or IP address area, enter the IP address of the management network port.
Select SSH for Protocol.
Step 3 Click Open. The PuTTY window is displayed.
Step 4 On the CLI, enter the user name and password. After you have logged in, you can use CLI
commands on PuTTY.
CAUTION
The default super administrator name is admin and the password is Admin@storage. Use the
new user name and password if the user name and password have been changed.
----End
This step helps you locate the disk that you want to replace from a large number of disk enclosures or
disks. However, you may skip this step if you can locate the disk. If a disk is faulty, locating the disk
may fail.
1. Log in to ISM. In the navigation tree, choose Device Info > Storage Unit > Disks and
select the disk to be replaced. For example, select disk (0,5) and choose Locate Disk >
Locate.
If ISM is unavailable, run the following command on the CLI to locate the disk.
locatedisk –e enclosureid –s slotid –sw on
2. After the disk has been located, its Alarm indicator is blinking red, as shown in the
following figure:
Locating a hard disk
Alarm
indicator Running
indicator
If the Alarm indicator of more than one disk is red, contact Huawei 800 engineers to handle the faulty
disks first.
3. After you have found the disk, select the hard disk and choose Locate Disk > Unlocate
on ISM.
Step 2 Remove the disk module.
1. Wear ESD gloves.
2. Press the latch on the disk handle in the direction of the arrow, as shown in step 1 in the
following figure:
3. Open the disk handle, pull out 1/3 of the disk, wait 30 seconds, and then remove the disk
module, as shown in step 2 in the following figure:
4. Put the removed disk module into an ESD bag.
Step 4 Check whether the installation is successful by observing the disk Running indicator and
Alarm indicator. If the Running indicator is steady green, the disk installation is successful.
If the disk Running indicator blinks when the disk is starting, the data is being copied back to the new
disk.
----End
If ISM is unavailable, run the following command on the CLI to set a hot spare disk.
chgdisklogictype –e enclosureid –s slotid –logic spare
Reconstruction
is in progress.
Copyback is
in progress.
Copyback is
complete.
Step 2 Run showdisk -e enclosureid -s slotid to view the reconstruction and copyback progress of a
disk.
Reconstruction progress:
Copyback progress:
----End
----End