

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# `[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)