验证安装
您可以使用 Red Hat®
OpenShift® CLI (oc) 命令来验证 WebSphere Automation 安装和实例。
准备工作
WSA_OPERATOR_NAMESPACE=openshift-operators
WSA_INSTANCE_NAMESPACE=websphere-automation- 以集群管理员身份登录到 Red Hat OpenShift 集群。
- 验证 WebSphere Automation 安装。
- 验证 WebSphere Automation 实例。
有关验证 WebSphere Automation 实例部署的状态条件的更多信息,请参阅 定制资源状态条件。
验证 WebSphere Automation 安装
要验证 WebSphere Automation 操作程序安装,请运行列出有关 WebSphere Automation 操作程序的信息的 oc 命令。 请确保已设置 WSA_OPERATOR_NAMESPACE 环境变量。
- 验证是否存在操作程序预订。
oc -n $WSA_OPERATOR_NAMESPACE get subscription | grep websphere-automation存在操作程序预订时,命令输出会列出操作程序预订信息。
ibm-websphere-automation ibm-websphere-automation ibm-operator-catalog v1.10.0 - 验证操作程序的安装状态。
oc -n $WSA_OPERATOR_NAMESPACE get csv | grep websphere-automation对于成功安装,命令输出具有
Succeeded。ibm-websphere-automation.v1.10.0 IBM WebSphere Automation 1.10.0 Succeeded
验证 WebSphere Automation 实例
要验证 WebSphere Automation 实例部署,请运行列出定制资源的状态的 oc 命令。 请确保设置了 WSA_INSTANCE_NAMESPACE 环境变量。 有关状态条件的更多信息,请参阅 定制资源状态条件。
- 请检查
WebSphereAutomation定制资源的状态。oc -n $WSA_INSTANCE_NAMESPACE describe websphereautomation验证所有状态条件是否为
True。status: conditions: - message: All prerequisites and installed components are ready status: "True" type: Ready - status: "True" type: OperandRequestReady - status: "True" type: PlatformUIReady - message: Network policies are ready status: "True" type: NetworkPoliciesReady - message: Kafka cluster is ready status: "True" type: KafkaReady - message: Kafka resources are ready status: "True" type: KafkaResourcesReady - message: Data store is ready status: "True" type: DataStoreReady - status: "True" type: ActivityRecordManagerReady - status: "True" type: WebSphereAutomationAPIsReady - status: "True" type: ZenExtensionsReady - message: All prerequisites and WebSphere Secure components are ready status: "True" type: WebSphereSecureReady - message: All prerequisites and WebSphere Health components are ready status: "True" type: WebSphereHealthReady - status: "True" type: RunbookManagerReady - message: All updates to WebSphereAutomation instance have been processed status: "True" type: Reconciled - 请检查
WebSphereSecure定制资源的状态。oc -n $WSA_INSTANCE_NAMESPACE describe webspheresecure验证所有状态条件是否为
True。status: conditions: - message: All prerequisites and WebSphere Secure components are ready status: "True" type: Ready - message: File store is ready status: "True" type: FileStoreReady - message: Kafka cluster is ready status: "True" type: KafkaReady - message: Data store is ready status: "True" type: DataStoreReady - message: Kafka resources are ready status: "True" type: KafkaResourcesReady - message: Dependencies are ready status: "True" type: DependenciesReady - status: "True" type: CVEMonitorReady - status: "True" type: ServerRegistrationProcessorReady - status: "True" type: VulnerabilityNotifierReady - status: "True" type: VulnerabilityManagerReady - status: "True" type: WebSphereSecureAPIsReady - status: "True" type: MeteringAPIsReadyd - 如果已部署运行状况组件,请检查
WebSphereHealth定制资源的状态。oc -n $WSA_INSTANCE_NAMESPACE describe webspherehealth验证所有状态条件是否为
True。status: conditions: - message: All prerequisites and WebSphere Health components are ready status: "True" type: Ready - message: File store is ready status: "True" type: FileStoreReady - message: Kafka cluster is ready status: "True" type: KafkaReady - message: Dependencies are ready status: "True" type: DependenciesReady - message: Data store is ready status: "True" type: DataStoreReady - message: Kafka resources are ready status: "True" type: KafkaResourcesReady - status: "True" type: InvestigationManagerReady - status: "True" type: AnalysisManagerReady - status: "True" type: WebSphereHealthAPIsReady - status: "True" type: WebhooksAPIsReady - status: "True" type: ZenExtensionsReady - message: All updates to WebSphereHealth instance have been processed status: "True" type: Reconciled - 检查
Cartridge、CartridgeRequirement和AutomationBase自定义资源的状态。
定制资源状态条件
下表提供了有关验证 WebSphere Automation 实例部署的状态条件的信息。
| 类型 | 描述 |
|---|---|
Ready |
WebSphereAutomation, WebSphereHealth, 或 WebSphereSecure 实例的总体状态,报告所有前提组件和依赖项是否都已就绪。 如果状态为 |
WebSphereSecureReady |
WebSphereSecure 实例的总体状态,报告所有前提组件是否都已就绪。 如果状态为 |
WebSphereHealthReady |
WebSphereHealth 实例的整体状态,报告所有先决组件是否都已就绪。 如果状态为 |
KafkaReady |
事件流式方法的 Kafka 实例的状态。 如果状态为 |
KafkaResourcesReady |
KafkaTopics 和 Kafka 配置是否就绪的状态。 如果状态为 |
DataStoreReady |
数据存储的 Mongo 数据库服务的状态。 如果状态为 |
ActivityRecordManagerReady |
用于处理和组织信息记录的活动记录管理器部署的状态。 如果状态为 |
WebSphereAutomationAPIsReady |
WebSphereAutomation 核心 API 部署和服务的状态。 如果状态为 |
RunbookManagerReady |
用于定义和管理 Runbook 的 Runbook Manager 部署的状态。 如果状态为 |
FileStoreReady |
WebSphereSecure 或 WebSphereHealth 的文件存储状态。 如果状态为 |
DependenciesReady |
依赖关系(Kafka、DataStore,、活动记录管理器、运行簿管理器、API、机密和 configMaps)的总体状态。 如果状态为 |
CVEMonitorReady |
用于常见漏洞和风险 (CVE) 监视的 CronJob 状态。 如果状态为 |
ServerRegistrationProcessorReady |
服务器注册处理器部署的状态。 如果状态为 |
VulnerabilityNotifierReady |
漏洞通知程序部署的状态。 如果状态为 |
VulnerabilityManagerReady |
漏洞管理器部署的状态。 如果状态为 |
WebSphereSecureAPIsReady |
WebSphereSecure API 部署和服务的状态。 如果状态为 |
MeteringAPIsReady |
使用情况度量的测量 API 令牌和部署的状态。 如果状态为 |
WebSphereSecureUIReady |
WebSphereSecure UI 部署、翻译包、角色和权限设置以及扩展的状态。 如果状态为 |
FixManagerReady |
用于访问修订和更新的修订管理器部署的状态。 如果状态为 |
InstallationManagerReady |
用于安装修订和更新的 Installation Manager 部署的状态。 如果状态为 |
AnalysisManagerReady |
用于分析服务器运行状况信息的 Analysis Manager 部署的状态。 如果状态为 |
InvestigationManagerReady |
用于调查服务器运行状况问题的调查管理器部署的状态。 如果状态为 |
WebSphereHealthAPIsReady |
WebSphereHealth API 部署和服务的状态。 如果状态为 |
WebhooksAPIsReady |
Webhook API 部署和服务的状态。 如果状态为 |
Reconciled |
协调进程的总体状态。 在此状态下报告来自 WebSphere Automation 定制资源的配置验证的错误或来自 WebSphere Automation 操作程序迂到的操作错误的错误。 如果状态为 |