本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
pcluster stop
停止運算機群,讓主機節點持續執行。
pcluster stop [ -h ] [ -c
CONFIG_FILE
] [ -rREGION
]cluster_name
定位引數
cluster_name
-
停止所提供叢集名稱的運算機群。
使用 2.11.7 AWS ParallelCluster 版的範例:
具名引數
-h, --help
-
顯示 的說明文字
pcluster stop
。 -c
CONFIG_FILE
, --configCONFIG_FILE
-
指定要使用的替代組態檔案。
預設為
~/.parallelcluster/config
。 -r
REGION
, --regionREGION
-
指定 AWS 區域 要使用的 。使用 pcluster configure命令預設為 AWS 區域 指定的 。
$
pcluster stop
mycluster
Compute fleet status is: STOPPED. Submitting status change request. Request submitted successfully. It might take a while for the transition to complete. Please run 'pcluster status' if you need to check compute fleet status
將 Auto Scaling 群組參數設定為 min/max/desired = 0/0/0,並終止運算機群。頭部保持執行中。若要終止所有 EC2 資源和避免產生 EC2 費用,請考慮刪除叢集。