ECS: Come aggiungere o rimuovere un server DNS

Summary: Questo articolo mostra come modificare la configurazione DNS di ECS.

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

Nota importante: La funzionalità ECS dipende fortemente dalla risoluzione DNS corretta. Se DNS non funziona correttamente, potrebbe verificarsi uno stato di non disponibilità dei dati (DU).

Prima di modificare le impostazioni DNS, verificare sempre con il cliente.

Nota: Una nuova funzionalità è stata rilasciata in xDoctor 4-8.104.0 e versioni successive. Questa operazione è ora automatizzata con xDoctor per tentare rapidamente di scoprire la potenziale causa degli errori xDoctor RAP075. Se lo script non è in grado di correggere gli errori di xDoctor RAP075, fornisce un riepilogo dettagliato dei risultati.

Per ulteriori informazioni, consultare l'articolo ECS: ObjectScale: Come eseguire gli script di automazione della KB (pilota automatico) (per visualizzare questo articolo è necessario accedere come utente registrato del supporto Dell). Se non si è in grado di eseguire l'aggiornamento a xDoctor 4.8.104 o versione successiva, seguire la sezione manuale di questo articolo.

Process:

  1. Per trovare il nodo master del rack:
Comando:
# ssh master.rack
Esempio:
admin@ecsnode5:~>  ssh master.rack
admin@ecsnode1:~>
  1. Per trovare l'IP NAN, è possibile utilizzare l'IP identificato nell'avviso o da getclusterinfo -i per la destinazione con questo script:
Comando:
# getclusterinfo -i
Esempio:
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. Eseguire il comando di automazione dal nodo master con xDoctor 4-8.104.0 e versioni successive.  Questa automazione è guidata da menu con passaggi di convalida durante l'esecuzione.

Nota: Prima di aggiungere il nuovo IP del server DNS, vengono eseguite le seguenti convalide:

    • Convalidare la ricerca DNS diretta.
    • Convalidare la ricerca DNS inversa.
    • Convalidare e visualizzare la mancata corrispondenza della ricerca DNS.

Comando:

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

Esempio: (In questo esempio stiamo lavorando sul rack 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)

 

Opzione per lo script di automazione:

  1. Selezionare l'opzione che si desidera eseguire aggiungendo un server DNS alla configurazione o Rimuovi un server DNS dalla configurazione.
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. Modifica della configurazione IP DNS. 
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. Modificare la configurazione IP DNS:> (1) aggiungere un server DNS alla configurazione.
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. Modifica della configurazione IP DNS ->(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. Modificare la configurazione della ricerca DNS.
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. Modificare la configurazione della ricerca DNS. -> (1) Aggiungi un dominio di ricerca DNS.
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. Modificare la configurazione della ricerca DNS. -> (2) Rimuovere un dominio di ricerca DNS
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
******************************************************************************
:

Sezione manuale

Nel caso in cui lo script non riesca:

Come aggiungere IP e DNSSearch alla configurazione DNS:

Utilizzare setrackinfo -a per configurare il server DNS. Ripetere il comando per ogni server DNS nel sito del cliente (o separarlo con uno spazio).
# 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
Utilizzare setrackinfo -a per configurare la ricerca DNS. È necessario eseguire il comando una volta per ogni ordine di specifica, dal più specifico al meno specifico.
# sudo setrackinfo -a DNSSearch <DNS_Search_Specification>

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

Come rimuovere gli IP dalla configurazione DNS:

Utilizzare setrackinfo -d per rimuovere uno o più elementi da un elenco (si applica a DNSServer o DNSSearch)
Example:
# sudo setrackinfo -d DNSServer x.x.x.x y.y.y.y

Additional Information

Per la configurazione NTP, consultare KB ECS: Come aggiungere o rimuovere un server NTP.

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.