restart_all_services
Restart all services in an Ambari cluster by stopping and starting them in sequence. Use for troubleshooting, maintenance, or configuration changes requiring a full cluster restart.
Instructions
Restarts all services in the Ambari cluster (stop all, then start all).
[Tool Role]: Dedicated tool for automated bulk restart of all Ambari services, ensuring safe stop and start sequence.
[Core Functions]:
Stop all running services and wait for completion
Start all services and wait for completion
Return clear success or error message for LLM automation
[Required Usage Scenarios]:
When users request to "restart all services", "bulk restart", "cluster-wide restart"
When troubleshooting or recovering cluster-wide issues
When maintenance or configuration changes require a full restart
Returns: Bulk restart operation result (success: English completion message, failure: English error message) - Success: "All services restart operation completed successfully." - Failure: "Error: ..." with details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||