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 2600 V3 Video Surveillance Edition V300R006 Basic Storage Service Configuration Guide for File

This document is applicable to OceanStor OceanStor 2600 V3 Video Surveillance Edition. This document describes the basic storage services and explains how to configure and manage basic storage services for storage system.
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).
How Can I Configure and Use DNS-based Load Balancing?

How Can I Configure and Use DNS-based Load Balancing?

The following uses a configuration example to describe how to configure and use DNS-based load balancing.

Context

  • As shown in Table 5-1, a dual-controller storage system has two logical ports, which are created based on Ethernet ports on controller A and controller B.
    Table 5-1 Logical port information

    Logical Port Name

    IPv4 Address

    Home Port

    LogicPort_01

    192.168.20.10

    CTE0.A.IOM0.P0

    LogicPort_02

    192.168.20.20

    CTE0.B.IOM0.P0

  • An NFS share named /nfs_share and a CIFS share named cifs_share have been created on the storage system.
  • A client wants to access the storage system using the domain name abc123.com and uses the port bandwidth usage as the load balancing policy.

Storage System Configuration

NOTE:
  • The following describes how to configure the storage system on DeviceManager.
  • GUIs may vary with product versions and models. The actual GUIs prevail.
  1. Create a DNS zone.

    A DNS zone contains IP addresses of a group of logical ports. A host can use the name of a DNS zone to access shared services provided by a storage system. Services can be evenly distributed to logical ports.

    1. Choose Settings > Storage Settings > File Storage Service > DNS-based Load Balancing.
    2. In the DNS Zone area, Click Add.

      The Add DNS Zone dialog box is displayed.

    3. In Domain Name, type the domain name of the DNS zone you want to add and click OK. (In this example, enter abc123.com.)
    4. Click Save.

      The Execution Result page is displayed.

    5. Click Close.
  2. Configure logical ports to listen to DNS requests and associate with the DNS zone.
    1. Choose Provisioning > Port > Logical Ports.
    2. Select LogicPort_01 and click Properties.

      The Logical Port Properties page is displayed.

    3. In Listen DNS Query Request, select Enable.
    4. In DNS Zone, click .

      The Select DNS Zone dialog box is displayed.

    5. Select DNS zone abc23.com and click OK.

      The Logical Port Properties page is displayed.

    6. Click OK.

      The security alert dialog box is displayed.

    7. Confirm the information in the dialog box and select I have read and understand the consequences associated with performing this operation.
    8. Click OK.
    9. Perform 2.a, 2.b, 2.d to 2.h to associate LogicPort_02 with the DNS zone.
  3. Configure a DNS-based load balancing policy and enable DNS-based load balancing.
    1. Choose Settings > Storage Settings > File Storage Service > DNS-based Load Balancing.
    2. For Load Balancing Policy, select Bandwidth usage from the drop-down list.
    3. For DNS-based Load Balancing, select Enable.
    4. Click Save.

      The Warning dialog box is displayed.

    5. Confirm the information in the dialog box and select I have read and understand the consequences associated with performing this operation.
    6. Click OK.

      The Execution Result page is displayed.

    7. Click Close.

Client Configuration

NOTE:

The following describes how to configure DNS server addresses and access shares on a Linux client (Red Hat 6.5) and Windows client (Windows Server 2012).

  1. Configure DNS server addresses on the client.
    1. Linux client

      Add nameserver 192.168.20.10 to the /etc/resolv.conf file.

    2. Windows client

      In properties of the Ethernet port, set Preferred DNS server to 192.168.20.10.

  2. Use the client to access shared file systems through the DNS zone domain name.
    NOTE:
    • The following describes how to use a Linux client to access the NFS share /nfs_share and a Windows client to access the CIFS share cifs_share.
    • To access other types of shares, use the similar method. Replace the IP address of the logical port originally used to access shares with the DNS zone domain name (abc23.com).
    1. Use a Linux client to access an NFS share.

      Replace the IP address of the logical port originally used to access the NFS share with the DNS zone domain name (abc23.com).

    2. Use a Windows client to access a CIFS share.

      In the Map Network Drive dialog box, set the mapping network folder in the format of \\DNS zone domain name \sharename.

      Complete user authentication as prompted. After authentication succeeds, the client can access the shared space.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100021203

Views: 43221

Downloads: 68

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