ECS: DNS-palvelimen lisääminen tai poistaminen

Summary: Tässä artikkelissa kerrotaan, miten ECS DNS -määrityksiä muutetaan.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Tärkeä huomautus: ECS:n toiminta riippuu suuresti asianmukaisesta DNS-selvityksestä. Jos DNS ei toimi oikein, seurauksena voi olla Data Unavailable (DU) -tila.

Varmista aina asia asiakkaalta ennen DNS-asetusten muuttamista.

Huomautus: Uusi ominaisuus on julkaistu xDoctor 4-8.104.0:ssa ja uudemmissa. Tämä on nyt automatisoitu xDoctorin avulla yrittääkseen nopeasti selvittää xDoctor RAP075 -virheiden mahdollisen syyn. Jos komentosarja ei pysty korjaamaan xDoctor RAP075 -virheitä, se antaa yksityiskohtaisen yhteenvedon havainnoistaan.

Lisätietoja on artikkelissa ECS: ObjectScale: KB Automation Scripts -komentosarjojen suorittaminen (Auto Pilot) (Tämän artikkelin lukeminen edellyttää kirjautumista rekisteröityneenä Dell-tukikäyttäjänä). Jos et pysty päivittämään xDoctor 4.8.104:ään tai uudempaan, noudata tämän artikkelin Manuaalinen-osaa .

Prosessi:

  1. Kehikon pääsolmun paikantaminen:
Komento:
# ssh master.rack
Esimerkki:
admin@ecsnode5:~>  ssh master.rack
admin@ecsnode1:~>
  1. Voit etsiä NAN-IP-osoitteen käyttämällä ilmoituksessa määritettyä IP-osoitetta tai kohteen getclusterinfo -i-osoitetta seuraavalla komentosarjalla:
Komento:
# getclusterinfo -i
Esimerkki:
admin@ecsnode1:~> getclusterinfo -i

Registered Racks
================

Ip Address        epoxy   seg mac             seg color    seg id    NAN Hostname
===============   =====   =================   ==========   =======   ============
169.254.1.1      False   00:00:00:00:00:00   red          1         provo-red.nanlocal
Node private      Node              Public                                BMC
Ip Address        Id       Status   Mac                 Ip Address        Mac                 Ip Address        Private.4(NAN)    Node Name
===============   ======   ======   =================   ===============   =================   ===============   ===============   =========
192.168.219.1     1        MA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.101   169.254.1.1       provo-red
192.168.219.2     2        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.102   169.254.1.2       sandy-red
192.168.219.3     3        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.103   169.254.1.3       orem-red
192.168.219.4     4        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.104   169.254.1.4       ogden-red
192.168.219.5     5        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.105   169.254.1.5       layton-red
192.168.219.6     6        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.106   169.254.1.6       logan-red
192.168.219.7     7        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.107   169.254.1.7       lehi-red
192.168.219.8     8        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.108   169.254.1.8       murray-red
Status:
M - Master, S - Slave
E - Epoxy
I - Initializing, U - Updating, A - Active
P - On, O - Off
! - Warning/Error list:
    1 -(W) Hostname set to default hostname set by installer


169.254.2.1      False   00:00:00:00:00:00   green        2         tucson-green.nanlocal
Node private      Node              Public                                BMC
Ip Address        Id       Status   Mac                 Ip Address        Mac                 Ip Address        Private.4(NAN)    Node Name
===============   ======   ======   =================   ===============   =================   ===============   ===============   =========
192.168.219.1     1        MA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.101   169.254.2.1       provo-green
192.168.219.2     2        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.102   169.254.2.2       sandy-green
192.168.219.3     3        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.103   169.254.2.3       orem-rgreen
192.168.219.4     4        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.104   169.254.2.4       ogden-green
192.168.219.5     5        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.105   169.254.2.5       layton-green
192.168.219.6     6        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.106   169.254.2.6       logan-green
192.168.219.7     7        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.107   169.254.2.7       lehi-green
192.168.219.8     8        SA       00:00:00:00:00      0.0.0.0           00:00:00:00:00      192.168.219.108   169.254.2.8       murray-green
Status:
M - Master, S - Slave
E - Epoxy
I - Initializing, U - Updating, A - Active
P - On, O - Off
! - Warning/Error list:
    1 -(W) Hostname set to default hostname set by installer

 

  1. Suorita automaatiokomento pääsolmusta, jossa on xDoctor 4-8.104.0 tai uudempi.  Tämä automaatio on valikkopohjainen, ja siinä on vahvistusvaiheet koko suorituksen ajan.

Huomautus: Seuraavat tarkistukset suoritetaan ennen uuden DNS-palvelimen IP-osoitteen lisäämistä:

    • Forward-DNS-haun vahvistaminen.
    • Tarkista käänteinen DNS-haku.
    • Tarkista ja näytä DNS-hakuristiriidat.

Komento:

# sudo xdoctor autopilot --kb 19614 --target-rack <rack color>

Esimerkki: (Tässä esimerkissä käsittelemme telinettä 1)

admin@ecsnode1:~> sudo xdoctor autopilot --kb 19614 --target-rack red

Using /etc/ansible/ansible.cfg as config file
VERSION: 3.0
Playbook tasks: 66
Role tasks: 28
Total tasks: 94 across 1 host(s)

 

Mahdollisuus automatisoidulle komentosarjalle:

  1. Valitse vaihtoehto, jonka haluat tehdä Lisää DNS-palvelin määritykseen tai Poista DNS-palvelin määrityksestä.
TASK [Ask user if they want to change DNS IP configuration or DNS search configuration] **********************************************************************************************************************
[Ask user if they want to change DNS IP configuration or DNS search configuration]
******************************************************************************
Please select one of the following options to change DNS IP or DNS search configuration:
******************************************************************************
(1) Change DNS IP configuration.
(2) Change DNS search configuration.

(0) Exit
******************************************************************************"

 

  1. DNS-IP-määritysten muuttaminen. 
TASK [Ask user if they want to add or remove a DNS server] ***************************************************************************************************************************************************
[Ask user if they want to add or remove a DNS server]
******************************************************************************
Please select one of the following options to add or remove an DNS server:
******************************************************************************
(1) Add an DNS server to the configuration.
(2) Remove an DNS server from the configuration.

(0) Exit
******************************************************************************
:
    1. Muuta DNS-IP-konfiguraatiota ->(1) Lisää DNS-palvelin kokoonpanoon.
TASK [Ask for DNS server IP if adding] ***********************************************************************************************************************************************************************
[Ask for DNS server IP if adding]
******************************************************************************
Enter the IP of the DNS server you want to add:
******************************************************************************
:
    1. DNS-IP-määritysten muuttaminen ->(2) Remove an DNS server from the configuration
TASK [Prompt user to select DNS server to remove] ************************************************************************************************************************************************************
[Prompt user to select DNS server to remove]
*******************************************************************************
Enter the letter of the DNS server you want to remove:
*******************************************************************************

(0) Exit
*******************************************************************************
:

 

  1. DNS-haun määritysten muuttaminen.
TASK [Ask user if they want to add or remove a DNS search domain] ********************************************************************************************************************************************
[Ask user if they want to add or remove a DNS search domain]
******************************************************************************
Please select one of the following options to add or remove an DNS search domain:
******************************************************************************
(1) Add a DNS search domain.
(2) Remove a DNS search domain.

(0) Exit
******************************************************************************
    1. DNS-haun määritysten muuttaminen. -> (1) Lisää DNS-hakuverkkotunnus.
TASK [Ask for DNS search domain if adding] *******************************************************************************************************************************************************************
[Ask for DNS search domain if adding]
******************************************************************************
Please enter the DNS search domain you want to add:
******************************************************************************
:
    1. DNS-haun määritysten muuttaminen. -> (2) DNS-hakuverkkotunnuksen poistaminen
TASK [Prompt user to select DNS search domain to remove] *****************************************************************************************************************************************************
[Prompt user to select DNS search domain to remove]
******************************************************************************
Please select the DNS search domain you want to remove:
******************************************************************************
(a) xxxx.xxxx.com

(0) Exit
******************************************************************************
:

Manuaalinen osio

Jos komentosarja epäonnistuu:

IP-osoitteiden ja DNSSearchin lisääminen DNS-määrityksiin:

Käyttö setrackinfo -a määrittääksesi DNS-palvelimen. Toista komento jokaiselle DNS-palvelimelle asiakkaan toimipaikassa (tai erota välilyönnillä).
# sudo setrackinfo -a DNSServer <DNS_Server_IP>

Example:
# sudo setrackinfo -a DNSServer x.x.x.x
# sudo setrackinfo -a DNSServer y.y.y.y
or
# sudo setrackinfo -a DNSServer x.x.x.x y.y.y.y
Käyttö setrackinfo -a määrittääksesi DNS-haun. Komento on suoritettava kerran jokaiselle spesifisimmälle tai vähiten tarkalle määrittelyjärjestykselle.
# sudo setrackinfo -a DNSSearch <DNS_Search_Specification>

Example:
# sudo setrackinfo -a DNSSearch corp.dell.com
# sudo setrackinfo -a DNSSearch dell.com

IP-osoitteiden poistaminen DNS-määrityksistä:

Käyttö setrackinfo -d yhden tai useamman poistaminen luettelosta (koskee DNSServeriä tai DNSSearchia)
Example:
# sudo setrackinfo -d DNSServer x.x.x.x y.y.y.y

Additional Information

Lisätietoja NTP-määrityksistä on artikkelissa KB ECS: NTP-palvelimen lisääminen tai poistaminen.

Affected Products

ECS Appliance

Products

ECS Appliance, Elastic Cloud Storage
Article Properties
Article Number: 000019614
Article Type: How To
Last Modified: 24 Jul 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.