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
This command has the following format:
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.
Starts the agent or service in the background.
Stops the agent or services.
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.
Note: These options have a double-dash(--) prefix.
Specifies the name used to identify the component.
Specifies the name for an instance of a component that has multiple instances with the same component name.
Name of the host to which this command applies.
Specifies the full path where the component is located.
List of default options to be used when the component is started.
Specifies the 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 password, specifies account under which the component is to be run.
Specifies components on which this component is dependent, and starts them when this component is started if they are not already 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 © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |