ECS, xDoctor, RAP137 ECS 랙에서 총 SWAP 메모리 불일치
Summary: 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.
Symptoms
xDoctor 보고서:
------------------------------------------------------------
WARNING - Total swap memory inconsistent across the ECS rack
------------------------------------------------------------
Node = Nodes
Extra = {'Nodes': {'16383': ['169.254.1.8', '169.254.1.7', '169.254.1.6', '169.254.1.4', '169.254.1.3', '169.254.1.2', '169.254.1.1'], '8191': ['169.254.1.5']}}
Timestamp = 2022-12-01_145111
PSNT = CKM00190800120 @ 4.8-87.0Cause
- 노드 재부팅 후 스왑 구성이
/etc/fstab. - 부팅 시 기본 SWAP 파티션이 로드되지 않았습니다.
- 노드가 다시 이미지화되었으나 해당 노드에 SWAP이 적용되지 않았습니다.
- 확장된 클러스터에는 SWAP이 더 이상 적용되지 않았습니다.
- 모든 노드에서 SWAP 정합성이 보장되는지 확인합니다.
참고: 아래 출력은 SWAP에서 8G만 있는 랙 1 노드 1이 클러스터와 일치하지 않는 것을 보여줍니다.
명령:
# doit free -m | grep Swap
예:
admin@ecsnode1:~> svc_exec 'free -m | grep Swap' svc_exec v1.0.4 (svc_tools v2.8.0) Started 2022-11-30 22:15:56 Output from node: r1n1 retval: 0 Swap: 8191 552 23 Output from node: r1n2 retval: 0 Swap: 8191 2 8191 Output from node: r1n3 retval: 0 Swap: 16383 4 16379 Output from node: r1n4 retval: 0 Swap: 16383 0 16383 Output from node: r1n5 retval: 0 Swap: 16383 0 16383 Output from node: r1n6 retval: 0 Swap: 16383 3 16380 Output from node: r1n7 retval: 0 Swap: 16383 4 16379 Output from node: r1n8 retval: 0 Swap: 16383 699 15684
- 노드에서 8GB의 SWAP을 추가로 사용하도록 /etc/fstab이 업데이트되었는지, 기본 스왑 파티션 항목이 있는지 확인합니다.
명령:
# svc_exec 'grep swap /etc/fstab'
예:
admin@ecsnode1:~> svc_exec 'grep swap /etc/fstab' svc_exec v1.0.4 (svc_tools v2.8.0) Started 2022-11-30 22:19:21 Output from node: r1n1 retval: 0 LABEL=SWAP swap swap defaults 0 0 <-- missing extended swap partition Output from node: r1n2 retval: 0 /swapfile swap swap defaults 0 0 <-- missing native swap partition Output from node: r1n3 retval: 0 LABEL=SWAP swap swap defaults 0 0 /swapfile swap swap defaults 0 0 Output from node: r1n4 retval: 0 LABEL=SWAP swap swap defaults 0 0 /swapfile swap swap defaults 0 0 Output from node: r1n5 retval: 0 LABEL=SWAP swap swap defaults 0 0 /swapfile swap swap defaults 0 0 Output from node: r1n6 retval: 0 LABEL=SWAP swap swap defaults 0 0 /swapfile swap swap defaults 0 0 Output from node: r1n7 retval: 0 LABEL=SWAP swap swap defaults 0 0 /swapfile swap swap defaults 0 0 Output from node: r1n8 retval: 0 LABEL=SWAP swap swap defaults 0 0 /swapfile swap swap defaults 0 0
- SWAP 파일이 모든 노드에 있는지 확인합니다.
명령:
# svc_exec 'ls -lh /swapfile'예:
admin@ecsnode1:~> svc_exec 'ls -lh /swapfile' svc_exec v1.0.4 (svc_tools v2.8.0) Started 2022-11-30 22:26:48 Output from node: r1n1 retval: 0 ls: cannot access '/swapfile': No such file or directory Output from node: r1n2 retval: 0 -rw------- 1 root root 8.0G Feb 11 2022 /swapfile Output from node: r1n3 retval: 0 -rw------- 1 root root 8.0G Feb 11 2022 /swapfile Output from node: r1n4 retval: 0 -rw------- 1 root root 8.0G Feb 11 2022 /swapfile Output from node: r1n5 retval: 0 -rw------- 1 root root 8.0G Feb 11 2022 /swapfile Output from node: r1n6 retval: 0 -rw------- 1 root root 8.0G Feb 11 2022 /swapfile Output from node: r1n7 retval: 0 -rw------- 1 root root 8.0G Feb 11 2022 /swapfile Output from node: r1n8 retval: 0 -rw------- 1 root root 8.0G Jul 26 02:03 /swapfile
Resolution
중요! xDoctor 4-8.104.0 이상에서 새로운 기능이 릴리스되었습니다. 이 KB(Knowledge Base)는 이제 xDoctor AutoPilot을 통해 자동화되어 지원팀의 개입 없이도 대부분의 문제를 해결할 수 있습니다.
이 기능은 xDoctor 4-8.104.0 이상에 기본적으로 적용되며 구문 및 사용 문제는 ECS를 참조하십시오. ObjectScale: KB 자동화 스크립트(자동 파일럿)를 실행하는 방법(Dell 지원에 로그인해야 할 수 있음)
- xDoctor 4-8.104.0 이상이 설치된 주 노드에서 자동화 명령을 실행합니다.
메모:--target-node, --target-rack and --target-vdc이 스크립트에 대해 지원됩니다.
명령:
# sudo xdoctor autopilot --kb 205933 --target-node <NAN IP> # sudo xdoctor autopilot --kb 205933 --target-rack <Rack Name> # sudo xdoctor autopilot --kb 205933 --target-vdc <VDC Name>
예:
admin@ecsnode1:~> sudo xdoctor autopilot --kb 205933 --target-node 169.254.1.1 Checking for existing screen sessions... Starting screen session 'autopilot_kb_205933_20250627_212503'... Screen session 'autopilot_kb_205933_20250627_212503' started successfully. Attaching to screen session 'autopilot_kb_205933_20250627_212503'...
-
수행된 조치의 요약을 검토합니다.
예:
TASK [Summary for SWAP and fstab issues addressed] *********************************************************************************************************************************************
ok: [169.254.1.7] => {
"msg": [
"************************************************************************************************************************************************",
"************************************************************************************************************************************************",
" An 8GB swap file was created and configured as /swapfile with swap enabled. ",
" fstab was updated with entries for /swapfile, and a backup prior to the change was created in: /etc/fstab.28734.2024-08-28@19:44:38~. ",
" No duplicate entries were found in fstab. ",
"************************************************************************************************************************************************",
"************************************************************************************************************************************************"
]
}
-
스왑 세부 정보 및 적용된 변경 사항으로 MOTD를 업데이트하도록 확인합니다.
메모: 현재 MOTD에 KB 번호나 /swapfile과 같은 텍스트가 포함되어 있다면 MOTD가 업데이트되지 않습니다.
명령:
# yes or no
예:
The next steps are to detect keywords in the MOTD content and update the MOTD with custom content for the KB specifics. IMPORTANT! You will need customer permission to do this action for the KB. Would you like to proceed with the steps by typing 'Yes' or 'Y', or skip the MOTD update actions by typing 'No' or 'N': : y
-
MOTD 콘텐츠에 새로운 정보를 추가하는 데 필요한 MOTD 변경 사항의 요약을 검토합니다.
예:
TASK [MOTD summary] ****************************************************************************************************************************************************************************
ok: [169.254.1.7] => {
"msg": [
"************************************************************************************************************************************************",
"New MOTD content:",
"************************************************************************************************************************************************",
"************************************************************************************************************************************************",
[
"",
"==============================================================================================================================================",
"2024-08-28 | SR#84955203 | KB 186358 has been applied to this system, adding an 8GB swap file to /swapfile. Please reapply if a node has been reimaged.",
"=============================================================================================================================================="
],
"************************************************************************************************************************************************",
"************************************************************************************************************************************************"
]
}
Affected Products
ECS ApplianceArticle Properties
Article Number: 000205933
Article Type: Solution
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.