ECS:ECSノードのスワップ領域を増やす方法

Summary: スワップ ファイルを追加して使用可能なスワップ領域を増やす方法。

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

重要:xDoctor 4-8.104.0以降では、新機能がリリースされています。このナレッジベース(KB)記事は、xDoctor AutoPilotを使用して自動化され、サポートの関与を必要とせずにほとんどの問題に対処できるようになりました。

この機能は、xDoctor 4-8.104.0以降にネイティブです。構文と使用方法の問題については、「 ECS: ObjectScale: KBオートメーション スクリプト(Auto Pilot)を実行する方法
 

  1. xDoctor 4-8.104.0以降を搭載したプライマリー ノードから自動化コマンドを実行します。
コマンド: 
--target-node, --target-rack--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>
Example:

admin@ecsnode1:~> sudo xdoctor autopilot --kb 205933 --target-node 169.254.1.1
既存の画面セッションを確認しています...
画面セッション「autopilot_kb_205933_20250627_212503」を開始しています...
画面セッション「autopilot_kb_205933_20250627_212503」が正常に開始されました。
画面セッション 'autopilot_kb_205933_20250627_212503' にアタッチしています...

 

  1. 実行されたアクションの概要を確認します。

Example:

タスク[SWAPおよびfstabの問題のサマリーが対処されました] *********************************************************************************************************************************************
OK: [169.254.1.7] => {
    "msg": [
        "************************************************************************************************************************************************",
        "************************************************************************************************************************************************",
        " An 8GB swap file was created and configured as /swapfile with swap enabled.「
」fstabが/swapfileのエントリーで更新され、変更前のバックアップが次の場所に作成されました。/etc/fstab.28734.2024-08-28@19:44:38~.",
        " No duplicate entries were found in fstab.",
        "************************************************************************************************************************************************",
        "************************************************************************************************************************************************"
    ]
}

 

  1. 交換の詳細と適用された変更で今日のメッセージ(MOTD)を更新することを確認します。

コマンド:
メモ:
現在の MOTD に KB 番号またはワード /swapfile が含まれている場合、MOTD は更新されません。

# yes or no

Example:

The next steps are to detect keywords in the MOTD content and update the MOTD with custom content for the KB specifics.重要: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. 新しいMOTDコンテンツを追加するためのMOTD変更の概要を確認します。

Example:

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.ノードが再イメージ化されている場合は、再適用してください。」
            "=============================================================================================================================================="
],
"************************************************************************************************************************************************",
"************************************************************************************************************************************************"
]
}


この自動化に統合された追加のKB記事:
ECS:xDoctor RAP137 ECSラック全体でスワップ メモリーの合計に一貫性がありません

 

Affected Products

ECS
Article Properties
Article Number: 000186358
Article Type: How To
Last Modified: 18 Nov 2025
Version:  16
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.