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

OceanStor 9000 V300R005C00 File System Feature Guide 11

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

This section describes how to configure the NFS protocol enhancement feature to meet the customer requirements.

Prerequisites

The client communicates properly with the front-end service network of OceanStor 9000.

Context

The process of configuring the NFS protocol enhancement feature includes: obtain the installation package of DFSClient on the PC; create a directory and an NFS share using DeviceManager; and install DFSClient on and mount the NFS share to the Mac OS X client. For details, see Figure 12-14.

Figure 12-14  Configuration process

Procedure

  1. Visit http://support.huawei.com/enterprise and choose Technical Support > Product Support > Software Download > Cloud Storage > Scale-out Storage > OceanStor 9000 > Software Download. Select the desired software package OceanStor_9000_VxxxRxxxCxx_InfoTurbo.zip and download the installation package and digital certificate *.asc file.
  2. Choose Technical Support > Tools > All Tools > Software digital signature validation tool (PGP Verify), select the latest software version and download all the documents (including tool usage description documents), and verify the installation package following instructions in the documents.
  3. Use the FileZilla tool to upload the installation package to the installation path of the RHEL client.
    1. Double-click FileZilla.
    2. In Host, enter sftp://192.168.60.133. In Username, enter the user name of the RHEL client. In Password, enter the password of the RHEL client. Click Quickconnect.
    3. In the navigation tree on the right, right-click a directory under which you want to create a subdirectory. On the shortcut menu, choose Create directory and enter a directory name. Then click OK.
    4. Select the installation package in the navigation tree on the left, select home in the navigation tree on the right, and drag the files to be uploaded to the right side using the mouse.
  4. Log in to DeviceManager.
  5. Create a directory.
    1. Choose Provisioning > Create Share.
    2. Set Name to hpc and Parent Path to /. Click Advanced, select Read, Write, and Execute for User, User Group, and Others.
    3. Click OK.

    NOTE:

    In NFS file sharing, to prevent users' usage of a directory from being affected by UNIX permissions, select Read, Write, and Execute for User, User Group, and Others in the Advanced window of the directory, for details about how to create an NFS shared directory, see OceanStor 9000 File System Administrator Guide.

  6. Creates an NFS share.
    1. Choose Provisioning > Create Share.
    2. Set Share Type to NFS (Linux/UNIX/MAC) and Share Path to /hpc.
    3. Click Next. Set Description to hpc, and click Add, set parameters in the Add Client page as follows:

      • Type to Host.
      • Name or IP Address to 192.168.60.133, 192.168.60.134, 192.168.60.135, and 192.168.60.136.
      • Permission to Read-write.
      • set Write Mode to Asynchronous and Root Permission Constraint to no_root_squash in the Advanced choice.

      After setting the parameters, click OK.

    4. Click Next > Finish > Close, and follow the system prompts to complete creating NFS shares.

    NOTE:

    To allow user root to access shared directories and enhance the data read and write performance on a client, click Advanced on the Add Client page, set Write Mode to Asynchronous and Root Permission Constraint to no_root_squash.

  7. Log in to the RHEL client.
  8. Run rpm -ivh /home/OceanStor_9000-VxxxRxxxCxx_DFSClient_Redhat6.3.x86_64.rpm, install DFSClient.
  9. Configure the IP address routing policy for the RHEL client.
    1. Run vim /etc/iproute2/rt_tables, add routing table number.

      [root@localhost home]# vim /etc/iproute2/rt_tables
      1002 net2
      1003 net3
      1004 net4
      1005 net5
      ~
      :wq
      

    2. Run vim /etc/sysconfig/network-scripts/route-ethx, enter to xx.xx.0.0/16 dev ethx table netx.

      [root@localhost home]# vim /etc/sysconfig/network-scripts/route-eth2
      to 192.168.0.0/16 dev eth2 table net2 
      ~ 
      :wq 
      
      [root@localhost home]# vim /etc/sysconfig/network-scripts/route-eth3
      to 192.168.0.0/16 dev eth3 table net3 
      ~ 
      :wq 
      
      [root@localhost home]# vim /etc/sysconfig/network-scripts/route-eth4
      to 192.168.0.0/16 dev eth4 table net4 
      ~ 
      :wq 
      
      [root@localhost home]# vim /etc/sysconfig/network-scripts/route-eth5
      to 192.168.0.0/16 dev eth5 table net5 
      ~ 
      :wq 
      

    3. Run vim /etc/sysconfig/network-scripts/rule-ethx, enter from xx.xx.xx.xx/32 pref 1000 table netx.

      [root@localhost home]# vim /etc/sysconfig/network-scripts/rule-eth2
      from 192.168.60.133/32 pref 1000 table net2 
      ~ 
      :wq 
      
      [root@localhost home]# vim /etc/sysconfig/network-scripts/rule-eth3
      from 192.168.60.134/32 pref 1000 table net3 
      ~ 
      :wq 
      
      [root@localhost home]# vim /etc/sysconfig/network-scripts/rule-eth4
      from 192.168.60.135/32 pref 1000 table net4 
      ~ 
      :wq 
      
      [root@localhost home]# vim /etc/sysconfig/network-scripts/rule-eth5
      from 192.168.60.136/32 pref 1000 table net5 
      ~ 
      :wq 
      

    4. Run the service network restart command to restart the network to make the routing policy take effect.
  10. Configure the DNS server.
    1. Run the setup command.
    2. Press Enter. The Network configuration page is displayed.
    3. Press Enter. The DNS configuration page is displayed.
    4. Enter IP address of the DNS server 192.168.102.19, and click OK, Save&Quit, and Quit in turn.
  11. Mount the NFS share.
    1. Optional: Run showmount -e s.hw.com to check the shared path created on DeviceManager.
    2. Optional: Run mkdir /mnt/xnfs to create local directory to be mounted /mnt/xnfs.
    3. Run mount command mount.xnfs. -o vers=3,sip=192.168.60.133_192.168.60.134_192.168.60.135_192.168.60.136 s.hw.com:/hpc /mnt/xnfs.

Follow-up Procedure

Read and write data from and to the mounted directory.

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000101823

Views: 20314

Downloads: 99

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