Managing Services By Domains and Types
This section explains how to manage REDHAWK core services either by domain or by type (domain, nodes, or waveforms). For additional information on managing service configurations and life cycle management, refer to Domain Manager Service, Device Manager Service, and Waveform Service.
Managing Services for a Domain
Services for a domain can be managed using the following commands.
- Reloading and restarting all services for a domain from current configuration files:
rhadmin update <Domain Name>- Starting all services in a domain:
rhadmin start <Domain Name>- Stopping all the services in a domain:
rhadmin stop <Domain Name>- Inspecting the status of all the services in a domain:
rhadmin status <Domain Name>- Running a custom status script for all the services in a domain and displaying the script output:
rhadmin query <Domain Name>- Restarting all the services for a domain:
rhadmin restart <Domain Name>Managing Services by Type
Each life cycle management command (start, stop, status, query, and restart) has an optional type parameter (domain, nodes, and waveforms), which restricts the command to execute against the specific type of service for a domain. In addition, the value all can be substituted for the <Domain Name> argument, which executes the command for a specific service type, regardless of the service type’s domain. The same command syntax is supported for all life cycle commands (start, stop, status, query, restart):
rhadmin command type <Domain Name>|allThe following commands demonstrate how to execute the start command using the type option.
- Starting a specific Domain Manager service:
rhadmin start domain <Domain Name>- Starting all defined Domain Manager services:
rhadmin start domain all- Starting all Device Manager services for a specific domain:
rhadmin start nodes <Domain Name>- Starting all Device Manager services:
rhadmin start nodes all- Starting all waveform services for a specific domain:
rhadmin start waveforms <Domain Name>- Starting all waveform services:
rhadmin start waveforms all
REDHAWK