# Commands to Control Services on Commvault Cloud

Services can be stopped or started from Commvault Cloud. The following commands can be used to control services:

Operation | Command | Description
--- | --- | ---
Starting services | `metallic -all start` | Use this command to start all services.
| `metallic -instance <inst_name> start` | Use this command to start the services for a specific instance.*
| `metallic start -service <service name> -all` For example: `metallic start -service cvd -all` | Use this command to start a particular service for all instances.*
| `metallic start -service <svc_name> -instance <inst>` For example: `start -service cvd -instance Instance002` | Use this command to start a particular service for a specific instance.*
| `metallic [-force] start` | Use this command to forcefully start the services. This may be needed in certain circumstances such as when services cannot be started due to a partially installed update. In such cases, you can perform one of the following: Use the [-force] option to start the services and then use Automatic Update to install the Commvault release or the update from the CommServe computer. Alternatively, install the latest release. Services will be automatically started after the installation of the release.
Stopping services | `metallic -all stop` | Use this command to stop all services.
| `metallic -instance <inst_name> stop` | Use this command to stop the services for a specific instance.*
| `metallic stop -service <service name> -all` For example: `metallic stop -service cvd -all` | Use this command to stop a particular service for all instances.*
| `metallic stop -service <svc_name> -instance <inst>` For example: `metallic stop -service cvd -instance Instance002` | Use this command to stop a particular service for a specified instance.*
Restarting services | `metallic -all restart` | Use this command to restart all services.
| `metallic restart -service <service name> -all` For example: `metallic restart -service cvd -all` | Use this command to restart a particular service for all instances.*
| `metallic restart -service <svc_name> -instance <inst>` For example: `metallic restart -service cvd -instance Instance002` | Use this command to restart a particular service for a specified instance.
| `metallic -instance <inst_name> restart` | Use this command to restart services for a specific instance.*
Viewing services | `metallic -all list` | Use this command to view a list of all running services.
| `metallic -instance <inst_name> list` | Use this command to view a list of running services for a specific instance.*
Viewing service status | `metallic -all status` | Use this command to view information about the client installation.
| `metallic -instance <inst_name> status` | Use this command to view information about the client installation for a specific instance.
Viewing the CommServe computer name | `metallic -csname` | Use this command to display the name of the CommServe computer associated with the client. If you have multiple instances, this command displays the name of the CommServe computer associated with each instance.
Getting help | `metallic help` | Use this command to display help.

* Instance refers to two independent installations of the software on the same machine. Each instance has an independent set of binaries, use different network ports, and may connect to a different CommServe computer. (Instances do not refer to virtual machines.)

×

Loading...