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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these 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).
create remote_device general

create remote_device general

Function

The create remote_device general command is used to create remote devices. You must create a remote device by running this command before you can effortlessly perform LUN copy or remote replication tasks between the storage system and the remote device.

Format

create remote_device general array_type=? remote_user=? link_type=? { link_id=? | local_controller=? | local_port_id=? ip=? [ recovery_policy=? ] } *

Parameters

Parameter

Description

Value

array_type=? Type of a remote device.

The value can be:

"replication": The remote device is from Huawei.

remote_user=? The name of logging in to the remote device.

The username is mm_user.

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 Fibre Channel link. This parameter is valid only when link_type=? is set to "FC".

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

local_controller=? ID of a local controller to which a link routes. This parameter is valid only when link_type=? is set to "iSCSI".

The value is in the format of "XA", "XB", "XC" or "XD", where the "X" is an integer such as 0, 1.

local_port_id=? ID of an Internet Small Computer System Interface (iSCSI) host port. This parameter is valid only when link_type=? is set to "iSCSI".

To obtain the value, run "show port general".

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

-

recovery_policy=? A 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".

Level

Administrator

Usage Guidelines

If the version of the local device is different from that of the remote device, you need to add a remote device on the newer version device. Otherwise the operation may fail.1:The user used for communication authentication between remote devices.1.1:If the version of the local device is the same with that of the remote device, you need to use the machine-machine user. The machine-machine username is mm_user.1.2:If the version of the local device is different from that of the remote device, you need to use the super administrator or administrator account on the older version remote device. Obtain the super administrator or administrator account on the remote device.2:Password of the user used for communication authentication between remote devices.2.1:The default password of the machine-machine user is mm_user@storage. To change the password, run "change mm_user password".2.2:The password of the super administrator or administrator account is consistent with the password on the remote device.

Example

To create a remote device from Huawei, where the link type is "FC" and the link ID is "0", the name of logging in to the remote device is "admin", run the following command:

admin:/>create remote_device general array_type=replication remote_user=admin link_type=FC link_id=0
Password:*************
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 346850

Downloads: 1581

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