

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# `[global]` 區段
<a name="global"></a>

指定與 `pcluster` 相關的全域組態選項。

```
[global]
```

**Topics**
+ [`cluster_template`](#cluster-template)
+ [`update_check`](#update-check)
+ [`sanity_check`](#sanity-check)

## `cluster_template`
<a name="cluster-template"></a>

定義預設用於叢集的`cluster`區段名稱。如需`cluster`區段的詳細資訊，請參閱 [`[cluster]` 區段](cluster-definition.md)。叢集名稱必須以字母開頭，包含不超過 60 個字元，且僅包含字母、數字和連字號 (-)。

例如，以下設定會指定預設使用會啟動 `[cluster default]` 的區段。

```
cluster_template = default
```

[更新政策：更新期間不會分析此設定。](using-pcluster-update.md#update-policy-setting-ignored)

## `update_check`
<a name="update-check"></a>

**（選用）** 檢查 的更新`pcluster`。

預設值為 `true`。

```
update_check = true
```

[更新政策：更新期間不會分析此設定。](using-pcluster-update.md#update-policy-setting-ignored)

## `sanity_check`
<a name="sanity-check"></a>

**（選用）** 嘗試驗證叢集參數中定義的資源組態。

預設值為 `true`。

**警告**  
如果 `sanity_check` 設定為 `false`，則會略過重要的檢查。這可能會導致您的組態無法如預期般運作。

```
sanity_check = true
```

**注意**  
在 2.5.0 AWS ParallelCluster 版之前，[`sanity_check`](#sanity-check)預設為 `false`。

[更新政策：更新期間不會分析此設定。](using-pcluster-update.md#update-policy-setting-ignored)