Commands to Control Services on UNIX Clients

Services can be stopped or started from a UNIX system. The following commands can be used to control services on UNIX clients:

Operation

Command

Description

Starting services

commvault -all start

Use this command to start all services.

commvault -instance <inst_name> start

Use this command to start the services for a specific instance.*

commvault start -service <service name> -all

For example:

commvault start -service cvd -all

Use this command to start a particular service for all instances.*

commvault 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.*

commvault [-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

commvault -all stop

Use this command to stop all services.

commvault -instance <inst_name> stop

Use this command to stop the services for a specific instance.*

commvault stop -service <service name> -all

For example:

commvault stop -service cvd -all

Use this command to stop a particular service for all instances.*

commvault stop -service <svc_name> -instance <inst>

For example:

commvault stop -service cvd -instance Instance002

Use this command to stop a particular service for a specified instance.*

Restarting services

commvault -all restart

Use this command to restart all services.

commvault restart -service <service name> -all

For example:

commvault restart -service cvd -all

Use this command to restart a particular service for all instances.*

commvault restart -service <svc_name> -instance <inst>

For example:

commvault restart -service cvd -instance Instance002

Use this command to restart a particular service for a specified instance.

commvault -instance <inst_name> restart

Use this command to restart services for a specific instance.*

Viewing services

commvault -all list

Use this command to view a list of all running services.

commvault -instance <inst_name> list

Use this command to view a list of running services for a specific instance.*

Viewing service status

commvault -all status

Use this command to view information about the client installation.

commvault -instance <inst_name> status

Use this command to view information about the client installation for a specific instance.

Viewing the CommServe computer name

commvault -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

commvault 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...