检查是否存在配置问题
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
ta check
是一个命令行工具,用于检测并帮助修复 Transfer Appliance 的配置问题。
如需查看所有类别,请按以下步骤操作:
ta check
若要选中单个类别,请执行以下操作:
ta check CATEGORY
如需查看有效类别的列表,请参阅下面的类别和检查。
响应和日志
每个测试都会返回以下状态之一:
- 已通过:满足所有条件。
- 失败:未满足任何必要条件。
- 警告:不满足条件,但不会阻止设备使用。
- 已跳过:设备类型不支持检查,或检查因内部错误而失败。
如需了解详情,请参阅位于 /mnt/ta_metadata/logs/tacheck/tacheck.log
的日志文件。
类别和检查
Category |
检查 |
Notes |
Transfer Appliance |
支持在线转移的 Transfer Appliance |
Edge Appliance |
hardware |
加密磁盘 |
确保设备的数据磁盘已加密。 |
check_circle |
check_circle |
check_circle |
驱动器 |
验证启动磁盘和数据磁盘数量是否正确。 |
check_circle |
check_circle |
check_circle |
software |
固件 |
确认设备固件是否为最新版本。 |
remove |
check_circle |
check_circle |
操作系统版本 |
确保设备操作系统是最新版本。 |
remove |
check_circle |
check_circle |
Google API |
确保已启用所有所需的 Google Cloud API。 |
remove |
check_circle |
check_circle |
encryption |
加密磁盘 |
确保设备的数据磁盘已加密。 |
check_circle |
check_circle |
check_circle |
TPM 封装的 DEK |
确保设备上存在加密的数据加密密钥 (DEK)。 |
check_circle |
check_circle |
check_circle |
keys |
键 |
查找设备上是否存在 key.json 服务帐号密钥文件。该文件必须位于 /tmp/key.json 或 /mnt/ta_metadata/key.json 。
|
remove |
check_circle |
check_circle |
启动时间密钥 |
检查操作系统启动时间密钥是否存在。 |
remove |
remove |
check_circle |
network |
网络接口 |
确保设备上的所有以太网端口均可正常使用。 |
remove |
check_circle |
check_circle |
以太网端口 IP |
检查是否已为所需端口分配 IP。 |
remove |
check_circle |
check_circle |
访问权限 |
通过 ping google.com 确认网络访问权限 |
remove |
check_circle |
check_circle |
usage |
流量消耗 |
将数据磁盘使用量与阈值 (75%) 进行比较。 |
check_circle |
check_circle |
check_circle |
启动使用情况 |
将启动磁盘用量与阈值 (75%) 进行比较。 |
check_circle |
check_circle |
check_circle |
RAM 使用情况 |
将 RAM 的总内存用量与阈值 (75%) 进行比较。
|
check_circle |
check_circle |
check_circle |
GPU 用量 |
将 GPU 的总内存用量与阈值 (75%) 进行比较。
|
remove |
remove |
check_circle
仅限 EA-GPU-T4 |
SSH |
唯一身份主机数 |
计算位于 ~/.ssh/config 文件中的唯一主机的数量,并在数量过多时发出警告。 |
remove |
check_circle |
check_circle |
SSH 配置 |
报告 ~/.ssh/config 文件中的拼写错误。 |
remove |
check_circle |
check_circle |
ABM |
Anthos API |
验证所有 Anthos API 是否都能从设备执行 ping 操作。 |
remove |
remove |
check_circle |
KubeConfig |
检查 .kube/config 文件是否存在。 |
remove |
remove |
check_circle |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]