Valid on UNIX/Linux, Windows, z/OS
servicectrl controls awservices configuration information by specifying the component name, path, and configuration options. servicectrl can also be used to control agents and services remotely. The awservices process must be active on the related host (local or remote).
Windows
servicectrl lets you define any Windows executable as a dependency for any Agent Technology component. For example, you can define a dependency such that OpenIngres must be running before the OpenIngres agent can start.
Windows
install-path\services\bin
UNIX/Linux, z/OS
install-path/services/bin
Syntax
servicectrl {install|installauto|remove|update|start|stop|status|version} <coptions>
Installs the agent or service as a registered Agent Technology component.
Installs the agent or service and specifies that it must start automatically when awservices is started.
Removes the agent or services as a registered Agent Technology component.
Removes the agent or service from the registry and then installs it.
Lists the operational status (running or stopped) of the agent or service.
Lists the name of the agent or service, its version information, and the name of its executable file.
Note: These options have a double-dash(--) prefix.
Name that is used to identify the component.
Name for an instance of a component that has multiple instances with the same component name.
Host to which this command applies.
Full path where the component is located.
Default options to be used when the component is started.
Type of component. For Agent Technology components, the type is AWEXE. To install a component that is not a part of Agent Technology, the type is EXE. (Windows only)
With the password, specifies account under which the component is run.
Components that this component depends on, and starts them when this component is started if they are not running. Separate multiple component names with commas.
Starts this component when awservices is started.
Stops a component even though components depending on it are still running. Stops the dependent components first.
Installs the agent or service as a registered Agent Technology component.
Installs the agent or service and specifies that it is to start up automatically when awservices is started.
Removes the agent or service as a registered Agent Technology component.
Removes the agent or service from the registry and then installs it.
Starts the agent or service in the background.
Stops the agent or service.
Lists the operational status of the agent or service (that is, whether it is running or stopped).
Lists the name of the agent or service, its version information, and the name of its executable file.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|