ECS: DNS 서버를 추가하거나 제거하는 방법
Summary: 이 문서에서는 ECS DNS 구성을 수정하는 방법을 보여줍니다.
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
중요 사항: ECS 기능은 적절한 DNS 확인에 크게 좌우됩니다. DNS가 제대로 작동하지 않으면 DU(Data Unavailable) 상태가 될 수 있습니다.
DNS 설정을 변경하기 전에 항상 고객에게 확인하십시오.
참고: xDoctor 4-8.104.0 이상에서는 새로운 기능이 릴리스되었습니다. 이제 xDoctor로 자동화되어 xDoctor RAP075 오류의 잠재적 원인을 신속하게 발견할 수 있습니다. 스크립트가 xDoctor RAP075 오류를 수정할 수 없는 경우 결과에 대한 자세한 요약을 제공합니다.
자세한 내용은 다음 문서를 참조하십시오. ECS: ObjectScale: KB 자동화 스크립트(자동 파일럿)를 실행하는 방법(이 문서를 보려면 등록된 Dell 지원 사용자로 로그인해야 함) xDoctor 4.8.104 이상으로 업그레이드할 수 없는 경우 이 문서의 수동 섹션을 따르십시오.
프로세스:
- 랙의 마스터 노드를 찾으려면 다음을 수행합니다.
명령:
# ssh master.rack
예:
admin@ecsnode5:~> ssh master.rack admin@ecsnode1:~>
- NAN IP를 찾으려면 다음 스크립트와 함께 타겟에 대한 알림 또는 getclusterinfo -i 에서 식별된 IP를 사용할 수 있습니다.
명령:
# getclusterinfo -i
예:
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
- xDoctor 4-8.104.0 이상이 설치된 마스터 노드에서 자동화 명령을 실행합니다. 이 자동화는 실행 전반에 걸쳐 유효성 검사 단계를 통해 메뉴로 구동됩니다.
참고: 새 DNS 서버 IP를 추가하기 전에 다음 유효성 검사가 수행됩니다.
-
- 정방향 DNS 조회를 검증합니다.
- 역방향 DNS 조회를 검증합니다.
- DNS 조회 불일치를 확인하고 표시합니다.
명령:
# sudo xdoctor autopilot --kb 19614 --target-rack <rack color>
예: (이 예에서는 랙 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)
자동화 스크립트 옵션:
- 수행할 옵션을 선택합니다. 구성에 DNS 서버 추가 또는 구성에서 DNS 서버 제거를 선택합니다.
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 ******************************************************************************"
- DNS IP 구성을 변경합니다.
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 ****************************************************************************** :
-
- DNS IP 구성 변경 ->(1) 구성에 DNS 서버를 추가합니다.
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: ****************************************************************************** :
-
- DNS IP 구성 변경
->(2) Remove an DNS server from the configuration
- DNS IP 구성 변경
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 ******************************************************************************* :
- 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 ******************************************************************************
-
- DNS 검색 구성을 변경합니다. -> (1) 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: ****************************************************************************** :
-
- DNS 검색 구성을 변경합니다. -> (2) 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 ****************************************************************************** :
Manual 섹션
스크립트가 실패하는 경우:
DNS 구성에 IP 및 DNSSearch를 추가하는 방법:
이전(예전) 메시지로 이동과
setrackinfo -a 을 클릭하여 DNS 서버를 구성합니다. 고객 사이트(또는 공백으로 구분)의 각 DNS 서버에 대해 명령을 반복합니다.
# 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이전(예전) 메시지로 이동과
setrackinfo -a DNS 검색을 구성합니다. 가장 구체적인 것부터 가장 덜 구체적인 것까지 각 사양 순서에 대해 명령을 한 번 실행해야 합니다.
# sudo setrackinfo -a DNSSearch <DNS_Search_Specification> Example: # sudo setrackinfo -a DNSSearch corp.dell.com # sudo setrackinfo -a DNSSearch dell.com
DNS 구성에서 IP를 제거하는 방법:
이전(예전) 메시지로 이동과
setrackinfo -d 목록에서 하나 이상을 제거하려면(DNSServer 또는 DNSSearch에 적용됨)
Example: # sudo setrackinfo -d DNSServer x.x.x.x y.y.y.y
Additional Information
NTP 구성의 경우 KB ECS: NTP 서버를 추가하거나 제거하는 방법
Affected Products
ECS ApplianceProducts
ECS Appliance, Elastic Cloud StorageArticle Properties
Article Number: 000019614
Article Type: How To
Last Modified: 24 July 2025
Version: 8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.