ras_infra_get_halb_status
Check the health and operational state of High Availability Load Balancer devices in your Parallels RAS farm to monitor availability and diagnose gateway connectivity issues.
Instructions
Get the status of HALB (High Availability Load Balancer) devices in the farm. Returns device health, IP addresses, and operational state. Use this to monitor load balancer availability or diagnose gateway connectivity issues.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/infrastructure.ts:164-171 (handler)Handler function for ras_infra_get_halb_status that calls the RAS API to get HALB device statusasync () => { try { const data = await rasClient.get("/api/infrastructure/halbs/status"); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } catch (err) { return { content: [{ type: "text" as const, text: sanitiseError(err, "Failed to retrieve HALB status") }], isError: true }; } }
- src/tools/infrastructure.ts:153-172 (registration)Tool registration for ras_infra_get_halb_status with title, description, and empty input schemaserver.registerTool( "ras_infra_get_halb_status", { title: "HALB Status", description: "Get the status of HALB (High Availability Load Balancer) devices in the farm. " + "Returns device health, IP addresses, and operational state. Use this to monitor " + "load balancer availability or diagnose gateway connectivity issues.", annotations: READ_ONLY_ANNOTATIONS, inputSchema: {}, }, async () => { try { const data = await rasClient.get("/api/infrastructure/halbs/status"); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } catch (err) { return { content: [{ type: "text" as const, text: sanitiseError(err, "Failed to retrieve HALB status") }], isError: true }; } } );
- src/tools/infrastructure.ts:155-163 (schema)Tool schema definition for ras_infra_get_halb_status including metadata and empty input parameters{ title: "HALB Status", description: "Get the status of HALB (High Availability Load Balancer) devices in the farm. " + "Returns device health, IP addresses, and operational state. Use this to monitor " + "load balancer availability or diagnose gateway connectivity issues.", annotations: READ_ONLY_ANNOTATIONS, inputSchema: {}, },