Got it

Mapping between the IP address and host name

Created: Jan 21, 2021 07:22:06Latest reply: Jan 21, 2021 07:54:07 449 7 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello team,

How to add the mapping between the IP address and host name of the storage system? Thank you.

Featured Answers
little_fish
Admin Created Jan 21, 2021 07:54:07

Dear Phany,

You can follow this procedure:

  1. Log in to a backup server as an administrator and modify the /etc/hosts file on the backup server. Then add the backup IP address and host name of the storage system.
    For example: 10.169.60.47 and nas01 are the logical port IP address and host name of the storage system, respectively. 10.169.108.240 and nbu-lyp are the IP address of the backup server and host name, respectively.



    nbu-lyp:~ # vi /etc/hosts


    #
    # hosts         This file describes a number of hostname-to-address
    #               mappings for the TCP/IP subsystem.  It is mostly
    #               used at boot time, when no name servers are running.
    #               On small systems, this file can be used instead of a
    #               "named" name server.
    # Syntax:
    #
    # IP-Address  Full-Qualified-Hostname  Short-Hostname
    #

    10.0.0.1       localhost

    # special IPv6 addresses
    ::1             localhost ipv6-localhost ipv6-loopback

    fe00::0         ipv6-localnet

    ff00::0         ipv6-mcastprefix
    ff02::1         ipv6-allnodes
    ff02::2         ipv6-allrouters
    ff02::3         ipv6-allhosts
    10.169.60.47         nas0110.169.108.240       nbu-lyp

    nbu-lyp:~ # vi /etc/hosts



    #
    # hosts         This file describes a number of hostname-to-address
    #               mappings for the TCP/IP subsystem.  It is mostly
    #               used at boot time, when no name servers are running.
    #               On small systems, this file can be used instead of a
    #               "named" name server.
    # Syntax:
    #
    # IP-Address  Full-Qualified-Hostname  Short-Hostname
    #

    10.0.0.1       localhost

    # special IPv6 addresses
    ::1             localhost ipv6-localhost ipv6-loopback

    fe00::0         ipv6-localnet

    ff00::0         ipv6-mcastprefix
    ff02::1         ipv6-allnodes
    ff02::2         ipv6-allrouters
    ff02::3         ipv6-allhosts
    10.169.60.47         nas0110.169.108.240       nbu-lyp

  2. On the backup server, run telnet host name 10000. If the connection is successful, the configuration is correct.


    host name indicates the host name of NDMP.

    10000 indicates the port number of NDMP.


    nbu-lyp:~ # telnet nas01 10000 

    Trying 10.169.60.47... 

    Connected to nas01. 

    Escape character is '^]'. 

    ^] 

    telnet> quit 

    Connection closed.  


Thank you.

View more
  • x
  • convention:

Unicef
Unicef Created Jan 21, 2021 08:17:08 (0) (0)
Very good  

Recommended answer

Unicef
MVE Created Jan 21, 2021 07:27:13

Hope it can help:

1. Log in to a backup server as an administrator and modify the /etc/hosts file on the backup server. Then add the backup IP address and host name of the storage system.
2. On the backup server, run telnet host name 10000. If the connection is successful, the configuration is correct.
host name indicates the host name of NDMP.
10000 indicates the port number of NDMP.

https://support.huawei.com/enterprise/en/doc/EDOC1100067327/81210317/how-to-add-the-mapping-between-the-ip-address-and-host-name-of-the-storage-system

Thanks!
View more
  • x
  • convention:

little_fish
little_fish Created Jan 21, 2021 08:02:50 (0) (0)
 
Unicef
Unicef Reply little_fish  Created Jan 21, 2021 08:17:23 (0) (0)
 
All Answers
Dear phany,
What's your storage system and host OS?
View more
  • x
  • convention:

Oceanstor v3 and OS Linux.
View more
  • x
  • convention:

Hope it can help:

1. Log in to a backup server as an administrator and modify the /etc/hosts file on the backup server. Then add the backup IP address and host name of the storage system.
2. On the backup server, run telnet host name 10000. If the connection is successful, the configuration is correct.
host name indicates the host name of NDMP.
10000 indicates the port number of NDMP.

https://support.huawei.com/enterprise/en/doc/EDOC1100067327/81210317/how-to-add-the-mapping-between-the-ip-address-and-host-name-of-the-storage-system

Thanks!
View more
  • x
  • convention:

little_fish
little_fish Created Jan 21, 2021 08:02:50 (0) (0)
 
Unicef
Unicef Reply little_fish  Created Jan 21, 2021 08:17:23 (0) (0)
 

Dear Phany,

You can follow this procedure:

  1. Log in to a backup server as an administrator and modify the /etc/hosts file on the backup server. Then add the backup IP address and host name of the storage system.
    For example: 10.169.60.47 and nas01 are the logical port IP address and host name of the storage system, respectively. 10.169.108.240 and nbu-lyp are the IP address of the backup server and host name, respectively.



    nbu-lyp:~ # vi /etc/hosts


    #
    # hosts         This file describes a number of hostname-to-address
    #               mappings for the TCP/IP subsystem.  It is mostly
    #               used at boot time, when no name servers are running.
    #               On small systems, this file can be used instead of a
    #               "named" name server.
    # Syntax:
    #
    # IP-Address  Full-Qualified-Hostname  Short-Hostname
    #

    10.0.0.1       localhost

    # special IPv6 addresses
    ::1             localhost ipv6-localhost ipv6-loopback

    fe00::0         ipv6-localnet

    ff00::0         ipv6-mcastprefix
    ff02::1         ipv6-allnodes
    ff02::2         ipv6-allrouters
    ff02::3         ipv6-allhosts
    10.169.60.47         nas0110.169.108.240       nbu-lyp

    nbu-lyp:~ # vi /etc/hosts



    #
    # hosts         This file describes a number of hostname-to-address
    #               mappings for the TCP/IP subsystem.  It is mostly
    #               used at boot time, when no name servers are running.
    #               On small systems, this file can be used instead of a
    #               "named" name server.
    # Syntax:
    #
    # IP-Address  Full-Qualified-Hostname  Short-Hostname
    #

    10.0.0.1       localhost

    # special IPv6 addresses
    ::1             localhost ipv6-localhost ipv6-loopback

    fe00::0         ipv6-localnet

    ff00::0         ipv6-mcastprefix
    ff02::1         ipv6-allnodes
    ff02::2         ipv6-allrouters
    ff02::3         ipv6-allhosts
    10.169.60.47         nas0110.169.108.240       nbu-lyp

  2. On the backup server, run telnet host name 10000. If the connection is successful, the configuration is correct.


    host name indicates the host name of NDMP.

    10000 indicates the port number of NDMP.


    nbu-lyp:~ # telnet nas01 10000 

    Trying 10.169.60.47... 

    Connected to nas01. 

    Escape character is '^]'. 

    ^] 

    telnet> quit 

    Connection closed.  


Thank you.

View more
  • x
  • convention:

Unicef
Unicef Created Jan 21, 2021 08:17:08 (0) (0)
Very good  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.