PowerScale:如果使用自訂 sysctl 值,rpcbind 會在更新期間失敗

Summary: 如果為「kern.ipc.somaxconn」設定自訂值,在升級至特定 OneFS 版本時,「rpcbind」無法正確啟動。

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

升級至下列其中一個 OneFS 版本後:

  • 9.7.1.3
  • 9.10.0.0

用戶端存取在所有通訊協定中都會中斷,且正在執行中 isi auth 叢集上的命令會導致出現下列錯誤:

p970-1# isi auth users list
Unable to connect to authentication daemon.  Please wait until authentication daemon has restarted and retry.

訊息在 /var/log/messages 指示連接到遠端過程呼叫 (RPC) 伺服器失敗:

2024-11-25T14:59:51.084340+00:00 <1.3> p970-1(id1) isi_celog_capture[4169]: drive_d_connect: Failed to connect to RPC server at 127.0.0.1 (errno=Invalid argument, rpc clnt_stat=15); retrying 2 of 3.

Cause

在兩個受影響的 OneFS 版本中評估此設定的邏輯問題會導致此問題。在所有其他版本中都解決了這個問題。

Resolution

如果在升級至受影響的 OneFS 版本之前解決此問題,則可以避免此問題。如果叢集已受到影響,則亦可執行復原步驟。

升級之前

使用以下文稿檢查自訂值:

sys_files="/etc/mcp/templates/sysctl.conf
/etc/mcp/override/sysctl.conf
/etc/local/sysctl.conf";

while read -r file; do
  grep "somaxconn" "$file" 2>/dev/null
  done <<<"$sys_files"

如果有輸出;記下該值(512 很常見),然後使用以下腳本刪除該條目:

sys_files="/etc/mcp/templates/sysctl.conf
/etc/mcp/override/sysctl.conf
/etc/local/sysctl.conf";

while read -r file; do
  sed -i bak "s/^kern.ipc.somaxconn.*//g" "$file" 2>/dev/null
  done <<<"$sys_files"

現在可以安全地執行升級。升級後,使用下列命令將設定還原為先前寫下的值。替 $val 並註明值。

isi_sysctl_cluster kern.ipc.somaxconn=$val

然後根據偏好使用任何程序,一次手動將節點重新開機。


撞擊後

受影響的節點必須重新開機。

shutdown -r now

Products

Isilon, PowerScale OneFS
Article Properties
Article Number: 000253297
Article Type: Solution
Last Modified: 01 May 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.