restart_all_services
Automatically stop and start all services in an Ambari cluster using a safe sequence, ideal for cluster-wide restarts, troubleshooting, or post-maintenance operations.
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 |