No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionStorage 8.0.0 Block Storage Parts Replacement 04

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Replacing an SSD Card Used as Cache Online

Replacing an SSD Card Used as Cache Online

NOTE:

This section applies only to TaiShan 2280 V2 12-slot nodes, TaiShan 2280 V2 25-slot nodes, and TaiShan 5280 V2 36-slot nodes.

This section describes how to replace SSDs used as cache in scenarios that the SSDs are not faulty but their lifecycles are about to expire or the SSDs have defects. During the replacement, you do not need to stop system services.

Impact on the System

If the system service pressure is high, this task increases the response time of service operations. Perform this task during off-peak hours.

Prerequisites

  • The spare SSD card is ready.
  • The SSD card to be replaced has been located.
  • The storage pool to which the SSD card to be replaced belongs is normal, and no data reconstruction task is running.

Precautions

None

Tools and Materials

  • Flat-head screwdrivers
  • Phillips screwdrivers
  • ESD gloves
  • ESD wrist straps
  • ESD bags
  • Labels

Procedure

  1. Obtain the ESN of the SSD card to be replaced.

    1. Log in to DeviceManager, and choose Services > Block Service > Storage Pool.
    2. Click in the row where the desired storage pool resides, and select Disk Topology from the shortcut menu.
    3. Move the cursor to the SSD card to be replaced. SN that is displayed is the ESN of the SSD card to be replaced.

  2. Log in to the primary management node as user dsware, and run the sh /opt/dsware/client/bin/dswareTool.sh --op setServerStorageMode -ip Management IP address of the faulty node -mode 1 command to switch to the maintenance mode. To run this command, enter the name and password of CLI super administrator account admin as prompted.
  3. Start the storage pool data pre-flush.

    1. Log in to the primary management node as user dsware.
    2. Run the following command to start the data pre-flush. To run this command, enter the name and password of CLI super administrator account admin as prompted:

      sh /opt/dsware/client/bin/dswareTool.sh --op startPreflush -id Storage pool ID

    3. Run the following command to query the data pre-flush progress of the storage pool. The data pre-flush is complete when the progress is 100%. To run this command, enter the name and password of CLI super administrator account admin as prompted:

      sh /opt/dsware/tools/ops_tool/replace_ssd/query_preflush_process.sh

  4. Perform preprocessing on the node where the SSD card is to be replaced.

    1. Log in to the primary management node as user dsware.
    2. Run the following command to perform pre-processing on the node where the SSD card is to be replaced. When running the following command, enter the name and password of CLI super administrator account admin as prompted.

      sh /opt/dsware/tools/ops_tool/replace_ssd/preprocessing_replace_ssd_cache.sh -p Storage pool ID -a Management IP address of the node

  5. Remove the storage node from its cabinet and remove the chassis cover. For details, see Basic Operations.
  6. Remove the PCIe card from the riser card.

    1. Rotate the PCIe card latch to open it, as shown in step 1 in the following figure.
      Figure 12-1 Removing the PCIe card from a riser card
    2. Pull out the PCIe card, as shown in step 2 in the preceding figure.

  7. Place the removed SSD card in an ESD bag.
  8. Take the spare SSD card out of its ESD bag.
  9. Install the PCIe card on the riser card.

    1. Insert the PCIe card into the PCIe slot, as shown in step 1 in Figure 12-2.
      Figure 12-2 Installing a PCIe card on a riser card
    2. Close the latch on the PCIe slot, as shown in step 2 in Figure 12-2.

  10. Install the chassis cover and put the storage node into the cabinet. For details, see Basic Operations.
  11. Optional: Add the spare SSD card into the storage pool.

    1. Obtain the ESN of the spare SSD card.
      1. Log in to DeviceManager, and choose Services > Block Service > Storage Pool.
      2. Click in the row where the desired storage pool resides, and select Disk Topology from the shortcut menu.
      3. Move the cursor to the spare SSD card. SN that is displayed is the ESN of the spare SSD card.
    2. Run the following command to add the spare SSD card to the storage pool: When running the following command, enter the name and password of CLI super administrator account admin as prompted.

      sh /opt/dsware/client/bin/dswareTool.sh --op replaceSSDCache -id Storage pool ID -oldEsn ESN of the SSD card to be replaced -newEsn ESN of the spare SSD card -nodeMgrIp Management IP address of the node -type online

  12. Perform post-processing on the node where the SSD card is to be replaced.

    1. Log in to the primary management node as user dsware.
    2. Run the following command to perform post-processing on the node where the SSD card is to be replaced. When running the following command, enter the name and password of CLI super administrator account admin as prompted.

      sh /opt/dsware/tools/ops_tool/replace_ssd/postprocessing_replace_ssd_cache.sh -p Storage pool ID -a Management IP address of the node

  13. Cancel the data pre-flush of the storage pool.

    1. Log in to the primary management node as user dsware.
    2. Run the following command to cancel the data pre-flush of the storage pool. To run this command, enter the name and password of CLI super administrator account admin as prompted:

      sh /opt/dsware/client/bin/dswareTool.sh --op stopPreflush -id Storage pool ID

  14. Check the system status.

    On SmartKit, choose Home > Storage > Routine Maintenance > More > Inspection and check the system status.
    • If all inspection items pass the inspection, the inspection is successful.
    • If some inspection items fail, the inspection fails. Rectify the faults by taking recommended actions in the inspection reports. Perform inspection again after fault rectification. If the inspection still fails, contact Huawei technical support.

    For details, see the FusionStorage Block Storage Administrator Guide.

Follow-up Procedure

Label the replaced SSD card to facilitate subsequent operations.

Translation
Download
Updated: 2019-09-19

Document ID: EDOC1100081420

Views: 6095

Downloads: 4

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next