ECS: xDoctor RAP137 Toplam takas belleği ECS rafında tutarsız

Summary: Toplam takas belleği ECS rafı genelinde tutarsız.

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 raporları:

------------------------------------------------------------
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.0

Cause

  • Düğüm yeniden başlatıldıktan sonra SWAP yapılandırması 'na kaydedilmedi /etc/fstab.
  • Yerel SWAP bölümü önyükleme sırasında yüklenmedi.
  • Düğümün görüntüsü yeniden oluşturuldu ve düğüme SWAP uygulanmadı.
  • Genişletmesi olan bir kümeye hiçbir zaman daha fazla SWAP uygulanmadı. 
  1. Tüm düğümlerde SWAP tutarlılığı olup olmadığını onaylayın.
Not: Aşağıdaki çıktıda, SWAP'de yalnızca 8G'nin kümeyle eşleşmediği Raf 1 Düğüm 1'i gösterdiğini görüyoruz.


Komut:

# doit free -m | grep Swap

Örneğin:

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

 

  1. /etc/fstab'ın düğümde ek 8 GB SWAP kullanacak şekilde güncelleştirildiğini ve yerel SWAP bölümü girişinin mevcut olduğunu onaylayın.

Komut:

# svc_exec 'grep swap /etc/fstab'

Örneğin:

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

 

  1. SWAP dosyasının tüm düğümlerde mevcut olduğunu doğrulayın.
Komut: 
# svc_exec 'ls -lh /swapfile'
Örneğin:
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

ÖNEMLİ! xDoctor 4-8.104.0 ve üzeri sürümlerde yeni bir özellik yayınlandı. Bu bilgi tabanı (KB) artık çoğu sorunu destek müdahalesine gerek kalmadan ele alan xDoctor AutoPilot ile otomatikleştirilmiştir.

Bu özellik, xDoctor 4-8.104.0 ve üzeri sürümlere özgüdür, söz dizimi ve kullanım sorunları için ECS'ye bakın: ObjectScale: KB Otomasyon Komut Dosyalarını (Auto Pilot) çalıştırma. (Dell Destek'te oturum açılmasını gerektirebilir) 
 

  1. Otomasyon komutunu, xDoctor 4-8.104.0 ve üzeri sürümlere sahip birincil düğümden çalıştırın.
    Not: --target-node, --target-rack and --target-vdc bu komut dosyası için desteklenir.
Komut: 
# 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>
Örneğin:
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'...

 

  1. Gerçekleştirilen eylemlerin özetini gözden geçirin.

Örneğin:

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. ",
        "************************************************************************************************************************************************",
        "************************************************************************************************************************************************"
    ]
}

 

  1. MOTD yi değiştirme ayrıntıları ve uygulanan değişikliklerle güncellemeyi onaylayın.
    Not: Geçerli MOTD'nizde KB numarası veya /swapfile kelimesi varsa MOTD güncelleştirilmez.

Komut:

# yes or no

Örneğin:

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
  1. Yeni MOTD içeriği eklemek için MOTD değişiklik özetini inceleyin:

Örneğin:

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 Appliance
Article 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.