跳转到内容

health

{
"fqdn": "f5-xc-ce-vm-01.mcn-ce-ha-eastus01.<tenant>.tenant.int.ves.io",
"hostname": "f5-xc-ce-vm-01",
"initial_password_changed": false,
"lte_support": false,
"os_info": {
"bios": {
"date": "02/27/2023",
"vendor": "American Megatrends Inc.",
"version": "090008"
},
"board": {
"asset_tag": "",
"name": "Virtual Machine",
"serial": "0000-0012-8461-9609-8160-6492-47",
"vendor": "Microsoft Corporation",
"version": "7.0"
},
"chassis": {
"asset_tag": "7783-7084-3265-9085-8269-3286-77",
"serial": "0712-1620-0683-5176-5415-6621-39",
"type": 3,
"vendor": "Microsoft Corporation",
"version": "7.0"
},
"cpu": {
"cache": 36608,
"cores": 8,
"cpus": 8,
"flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch tpr_shadow ept vpid ept_ad fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves vnmi avx512_vnni arch_capabilities",
"model": "Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz",
"speed": 2600,
"threads": 8,
"vendor": "GenuineIntel"
},
"gpu": null,
"kernel": {
"architecture": "x86_64",
"release": "5.14.0-687.20.1.el9_8.x86_64",
"version": "#1 SMP PREEMPT_DYNAMIC Sun Jun 28 21:16:58 EDT 2026"
},
"memory": {
"size_mb": 32862,
"speed": 0,
"type": "Other"
},
"network": [
{
"driver": "hv_netvsc",
"ip_address": [],
"link_quality": "QUALITY_UNKNOWN",
"link_type": "LINK_TYPE_UNKNOWN",
"mac_address": "60:45:bd:eb:3f:f2",
"name": "a-i-eth0",
"port": "",
"speed": 0
},
{
"driver": "hv_netvsc",
"ip_address": [
"10.0.2.4/26"
],
"link_quality": "QUALITY_UNKNOWN",
"link_type": "LINK_TYPE_UNKNOWN",
"mac_address": "60:45:bd:eb:38:ea",
"name": "eth1",
"port": "",
"speed": 0
},
{
"driver": "hv_netvsc",
"ip_address": [
"10.0.3.4/26",
"fe80::55af:2cd4:23a1:7e06/64"
],
"link_quality": "QUALITY_UNKNOWN",
"link_type": "LINK_TYPE_UNKNOWN",
"mac_address": "60:45:bd:eb:3d:f3",
"name": "eth2",
"port": "",
"speed": 0
}
],
"numa_nodes": 1,
"os": {
"architecture": "amd64",
"name": "Red Hat Enterprise Linux 9.2026.14.8 (Plow)",
"release": "9.8",
"vendor": "rhel",
"version": "9.2026.14"
},
"product": {
"name": "Virtual Machine",
"serial": "0000-0017-0286-6106-1467-9169-19",
"vendor": "Microsoft Corporation",
"version": "7.0"
},
"storage": [
{
"driver": "sd",
"model": "Virtual Disk",
"name": "sda",
"serial": "600224804d1ace4f4eb093605c1c6c6c",
"size_gb": 68,
"vendor": "Msft"
}
],
"usb": []
},
"os_version": "9.2026.14",
"public_ip": "10.0.1.4/26",
"roles": [],
"software_version": "crt-20260201-0179",
"state": "PROVISIONED",
"version": "branch: https://gitlab.com/f5/volterra/ves.io/vpm/-/commits/release-2026-2-0 <br>commit-sha: https://gitlab.com/f5/volterra/ves.io/vpm/-/commit/e2c462ac0d03ea8fd3d0d02a229d5768e050a6f5 15174995873 2026-07-03T21:34:06Z <br>",
"vesop_ssh_enabled": true,
"vesop_ssh_remaining_time": "",
"wifi_support": false
}

从这里开始。该命令开销小、响应结构化,并能回答关于任何 CE 的首要问题:statePROVISIONED 表示节点已注册并完成配置。

其他任何状态——WAITING_FOR_CONFIG,或完全没有响应——都意味着应停止调试数据平面,转而排查注册问题。

响应中还包含操作系统及内核版本、底层虚拟机的产品与厂商信息,以及软件构建版本。该构建版本字符串决定了节点上存在哪些命令,因此在假设某命令缺失之前,值得先记录该信息。

由于响应为 JSON 格式,可以方便地进行查询:

Terminal window
... /vpm/debug/global/health | jq -r '.state, .os_info.os.name'