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

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
change remote_device link

change remote_device link

Function

The "change remote_device link" command is used to modify the attributes of a link to a remote device.

Format

change remote_device link link_type=? link_id=? { bandwidth_limit_enabled=? [ bandwidth=? ] | bandwidth_utilization_rate=? | ip=? | recovery_policy=? | fast_write_enabled=? } *

Parameters

Parameter

Description

Value

link_type=?

Type of a link.

The value can be:

  • "FC": The remote device and the local device connect to each other through Fibre Channel links.
  • "iSCSI": The remote device and the local device connect to each other through iSCSI links.

link_id=?

ID of a link.

To obtain the value, run "show remote_device link".

bandwidth_limit_enabled=?

Whether or not to enable bandwidth limitation.

The value can be:

  • "yes": Bandwidth limitation will be enabled.
  • "no": Bandwidth limitation will be disabled.

bandwidth=?

Bandwidth of a link. This parameter is valid only when "bandwidth_limit_enabled=?" is set to "yes".

The value is an integer followed by a unit. The unit can be G, M or K, which respectively correspond to Gbps, Mbps or Kbps. For example, the value can be "500M".

bandwidth_utilization_rate=?

Bandwidth utilization rate.

The value ranges from 1 to 100, expressed in percentage.

The default value is "75".

ip=?

IP address of a remote device. This parameter is valid only when "link_type=?" is set to "iSCSI".

-

recovery_policy=?

Link recovery policy. This parameter is valid only when "link_type=?" is set to "iSCSI".

The value can be:

  • "automatic": indicates automatic recovery.
  • "manual": indicates manual recovery.

The default value is "automatic".

fast_write_enabled=?

State of the fast write function. This parameter is valid only when link_type=? is set to "iSCSI".

The value can be "yes" or "no", where:

  • "yes": Indicates fast write is enabled.
  • "no": Indicates fast write is disabled.

Level

Administrator

Usage Guidelines

  • A link bandwidth too large will invade the bandwidth resources for other services, whereas a link bandwidth too small will cause service instability or timeout.
  • Before running this command, ensure that the set bandwidth is appropriate for onsite requirements.

Example

  • Modify the attributes of Fibre Channel link "4", where bandwidth limitation will be enabled, the bandwidth threshold is "400M", and the bandwidth utilization rate is "80%".
    admin:/>change remote_device link link_type=FC link_id=4 bandwidth_limit_enabled=yes bandwidth=400M bandwidth_utilization_rate=80 
    WARNING: You are going to modify the parameters of the link (source-target information). A link bandwidth above the threshold affects the performance of other services, and a link bandwidth below the threshold affects the performance of the current service. Changing the IP address information of the link or fast_write policy may cause link reconnection that interrupts services. 
    Suggestion: Before you set the link threshold, determine the link bandwidth that is actually required and the bandwidth that can be allocated from the physical link to the current connection. Before you modify the IP address information and fast_write policy, check whether any standby replication link exists;Whether the fast_write policy should take effect instantly is determined after the driver negotiation. 
    Have you read warning message carefully?(y/n)y 
      
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Modify the attributes of ISCSI link "1" and enable the fast write function.
    admin:/>change remote_device link link_type=ISCSI link_id=1 fast_write_enabled=yes 
    WARNING: You are going to modify the parameters of the link (source-target information). A link bandwidth above the threshold affects the performance of other services, and a link bandwidth below the threshold affects the performance of the current service. Changing the IP address information of the link or fast_write policy may cause link reconnection that interrupts services. 
    Suggestion: Before you set the link threshold, determine the link bandwidth that is actually required and the bandwidth that can be allocated from the physical link to the current connection. Before you modify the IP address information and fast_write policy, check whether any standby replication link exists;Whether the fast_write policy should take effect instantly is determined after the driver negotiation. 
    Have you read warning message carefully?(y/n)y 
      
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 320974

Downloads: 38

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