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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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).
Configuring vStore Services

Configuring vStore Services

SmartMulti-Tenant creates multiple virtual storage systems in a physical storage system to implement flexible, easy-to-manage, and cost-effective storage sharing among vStores without affecting data security and privacy of each vStore. This section describes how to configure vStores and manage vStore services using commands.

Table 1-8 describes the procedures for configuring multi-tenant services for block.

Table 1-8 Configuring vStores for block

Procedure

Operation

Description

Reference

Allocating storage space

Creating a disk domain

A disk domain provides storage space for storage pools.

create disk_domain

Creating a storage pool

The storage space used by application servers is provided by the storage pools of the storage system.

create storage_pool

Creating a vStore role and a vStore

Creating a role

Storage systems control object operation permissions based on roles. After a role is assigned to a user, the user has the permission to access or operate the objects specified by the role. Storage systems provide typical default roles, which users can select from. Users can create roles if the system's default roles do not meet their requirements.

  1. Creating a role: create role general
  2. Assigning permissions: add role permit

Creating a vStore

This operation enables the storage system to allocate independent spaces to different users. A vStore not only gets complete storage services, but also keeps isolated from other vStores in resources and networks.

create vstore general

Switching a view

Switching to a vStore's view

This operation enables a storage system administrator to configure vStore networks and create file systems in the vStore view.

change vstore view

Creating a vStore user

Creating a vStore user

This operation creates a user for configuring and managing vStores. This user can log in to DeviceManager to manage and configure vStore services in the vStore view.

NOTE:

Only the super administrator can log in to the CLI and switch to the vStore view to configure and manage vStores.

create user

Creating a mapping

Creating a LUN

The host can use the storage space only after the storage space of the storage pool is divided into LUNs and the LUNs are mapped to the host.

create lun

Creating a LUN group

To allow hosts to use LUNs, users must add LUNs into LUN groups. Then, establish mapping views between the LUN groups and host groups. By doing so, the hosts in the host groups can use the LUNs in the LUN groups.

create lun_group

Creating a host

A host is a virtual application server on a storage system. Each host corresponds to an application server. For this reason, users can add an initiator for a host to establish a logical connection between the host in the storage system and application server.

create host

Creating a host group

A host group is a set of hosts. Only host groups can be added to a mapping view.

create host_group

Configuring an initiator

An initiator must be configured on an application server to set up a connection between the application server and storage system.

Creating a mapping view

The application server corresponding to a host in a host group can use the storage space designated by a LUN in a LUN group only after the host group and LUN group are added to the same mapping view.

create mapping_view

Making storage space available

Making storage space available

Application servers must scan for hard disks to detect the LUNs mapped by the storage system and use the storage space. For details, see the Huawei SAN Storage Host Connectivity Guide for XXX.

-

Table 1-9 describes the procedures for configuring multi-tenant services for file.

Table 1-9 Configuring vStores for file

Procedure

Operation

Description

Reference

Allocating storage space

Creating a disk domain

A disk domain provides storage space for storage pools of which storage tiers and available capacities depend on the disk types, capacity, and hot spare policy of the disk domain. The storage system automatically allocates hot spare space with different capacities based on hot spare policies to take over data from failed member disks.

create disk_domain

Creating a storage pool

The storage space used by application servers is provided by the storage pools of the storage system.

create storage_pool

Creating a vStore role and a vStore

Creating a role

Storage systems control object operation permissions based on roles. After a role is assigned to a user, the user has the permission to access or operate the objects specified by the role. Storage systems provide typical default roles, which users can select from. Users can create roles if the system's default roles do not meet their requirements.

  1. Creating a role: create role general
  2. Assigning permissions: add role permit

Creating a vStore

This operation enables the storage system to allocate independent spaces to different users. A vStore not only gets complete storage services, but also keeps isolated from other vStores in resources and networks.

create vstore general

Switching a view

Switching to a vStore's view

This operation enables a storage system administrator to configure vStore networks and create file systems in the vStore view.

change vstore view

Creating a vStore user

Creating a vStore user

This operation creates a user for configuring and managing vStores. This user can log in to DeviceManager to manage and configure vStore services in the vStore view.

NOTE:

Only the super administrator can log in to the CLI and switch to the vStore view to configure and manage vStores.

create user

Configuring the vStore network

Creating a logical port

Users can create a logical port for vStore administrators to log in to vStores for management and service access. The logical port is created based on Ethernet ports, bond ports, or VLANs. In addition, the logical port is set to associate with DNS zones and monitor DNS requests.

Creating a file system

Creating a file system

File systems can share storage resources in the form of directories.

create file_system general

Setting up a connection

Sharing a file system

A file system can be accessed only after it is shared. File systems can be shared using protocols: NFS and CIFS (including homedir share). Different protocols are used to share file systems. For details, see the Basic Storage Service Configuration Guide for File.

Creating share permissions

This operation enables users to set the sharing permission level.

Making storage space available

Making storage space available

After services are configured, access a shared file system on an application server as well as discover and use the file system (storage space provided by the storage system) shared by the storage system to the application server. For details, see the Basic Storage Service Configuration Guide for File.

-

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181601

Views: 309536

Downloads: 39

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