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

File Access and Protocols Feature Guide 13

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

This document describes the implementation principles and application scenarios of the NAS feature. Also, it explains how to configure and manage NAS.
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).
Configuration Operations

Configuration Operations

After requirement analysis and service planning, you need to configure a CIFS share on DeviceManager.

Creating a File System

File systems provide storage space for CIFS shares. You can create different file systems to provide storage space for different CIFS shares.

Prerequisites

  • A storage pool is created and is used for file storage service.
  • Only administrators and super administrators are allowed to create file systems.
  • After enabling the file system function of a mirror domain, you can run the show mirror_domain general [ mirror_domain_id=? ] command to query the mirror domain information about a storage system. To obtain the mirror domain ID, run the show mirror_domain general command without parameters. To enable or disable the file system function of a mirror domain, run the change mirror_domain general mirror_domain_id=? nas_switch=? command. For details, see OceanStor 18500 V3&18800 V3 Mission Critical Storage System V300R003 Command Reference .

Context

Mirror domain: the storage engine that is responsible for access to and storage structure of data and indexes, storage space management, cache management, lock mechanism, and transaction mechanism at the storage layer.

Procedure

  1. On the DeviceManager page, choose Provisioning > File System.

    The File System page is displayed.

  2. Click Create.

    The Create File System dialog box is displayed.

  3. In the Create File System dialog box, configure planned parameters. Table 3-18 describes related parameters.

    Table 3-18  Create File System parameters

    Parameter

    Planned Value

    Name

    FileSystem

    Capacity

    1 TB

    Quantity

    3

    Owning Storage Pool

    StoragePool000

    NOTE:

    When creating multiple file systems, the storage system automatically appends a number to each file system name based on the number of file systems to be created for identification. Therefore, the file systems that are created are named FileSystem0000, FileSystem0001, and FileSystem0002 respectively.

  4. Click OK.

Creating a Local Authentication User Group

This section explains how to create a local authentication user group. Local authentication user groups help you control the share access permissions of local users.

Procedure

  1. On the DeviceManager page, click Provisioning > User Authentication.

    The User Authentication page is displayed.

  2. Click Local Authentication User Group.
  3. Click Create.

    The Local Authentication User Group dialog box is displayed.

  4. In User Group Name, enter group01.
  5. Click OK.

    The system starts adding the user group.

  6. In the Success dialog box that is displayed, click OK.
  7. Repeat 3 to 6 to create user groups group02 and group03.

Creating a Local Authentication User

This section describes how to create a local authentication user. For applications that use local authentication, local authentication user accounts are used to access a CIFS share.

Procedure

  1. On the DeviceManager page, click Provisioning > User Authentication.

    The User Authentication page is displayed.

  2. Click Create.

    The Local Authentication User dialog box is displayed.

  3. In the Local Authentication User dialog box, enter required local user information. Table 3-19 describes related parameters.

    Table 3-19  Local Authentication User parameters

    Parameter

    Value

    Username

    test_user01

    Password

    NOTICE:

    The default validity period for password is 180 days. When the password expires, the user may not access the share and services may be interrupted.

    You can modify the validity period for password in More > Set Security Policies.

    Password

    Confirm Password

    confirms password

    Primary Group

    group01

  4. Click OK.

    The system starts adding the user.

  5. In the Success dialog box that is displayed, click OK.
  6. Repeat 2 to 5 to add users test_user02 and test_user03 respectively to user groups group02 and group03.

Creating a CIFS Share

After creating a local user group and local users, you need to create a CIFS share. You can assign different permissions to different users when creating a CIFS share.

Procedure

  1. On the DeviceManager page, choose Provisioning > Share.

    The Share page is displayed.

  2. Create a CIFS share.
    1. Choose CIFS (Windows/MAC) > Create.

      The Create CIFS Share Wizard page is displayed.

    2. In File System, select file system FileSystem0000 which the CIFS share belongs. In Share Name, enter the planned CIFS share name share01.
    3. Click Next.

      The Set Permissions page is displayed.

    4. Click Next.

      The Summary page is displayed.

    5. Click Finish.

      The Execution Result page is displayed.

    6. Click Close.
  3. Repeat 2 to add CIFS shares share02 and share03.
  4. Configure access permissions for the CIFS share.
    1. Select share01.
    2. In Users/User Groups, click Add.

      The Add User/User Group dialog box is displayed.

    3. In User/User Group, select Local user group. In Name, click Find.

      The Select User Group dialog box is displayed.

    4. Select user group group01 and click OK.

      The Add User/User Group dialog box is displayed.

    5. In Permission Level, select Read-write. Click OK.

      The Execution Result page is displayed.

    6. Click Close.
  5. Repeat 4 to configure different access permissions for different user groups. Table 3-20 lists planned access permissions.

    Table 3-20  Access permission planning

    User Group

    share01

    share02

    share03

    group01

    Read-write

    Read-only

    Read-only

    group02

    Forbidden

    Read-write

    Read-only

    group03

    Forbidden

    Read-only

    Read-write

Accessing Shared Space

This section describes how the departments access shared space. After a CIFS share is configured, users need to map the shared space provided by the storage system to the network drive on the client.

Context

This section describes how to map the network drive on a client of the School Office. You can map the network drives on the other clients in the same way. Note that user names test_user02 and test_user03 must be used to map the network drives on the clients of the Teaching Affairs Office and Finance Office.

Procedure

  1. Map a network drive to a client.
    1. Right-click Computer on a Windows-based client.
    2. Select Map Network Drive.
    3. In Folder, enter \\172.16.150.40\share01, and select Connect using different credentials.

      172.16.150.40 is the logical IP address of the storage system.

    4. Click Finish.
  2. Authenticate the user.
    1. In the Windows Security dialog box, enter local user name test_user01 in User Name.
    2. In Password, enter the password of user test_user01.
    3. Click OK.
  3. View the mapped network drive.

    Double-click Computer. The Computer window is displayed, listing mapped network drives.

Translation
Download
Updated: 2019-08-14

Document ID: EDOC1000084098

Views: 30712

Downloads: 72

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