Neoview Workload Management Services Guide (R2.3)

Considerations
Use a unique name for the service. You cannot add a service that already exists.
You cannot add a service named SYSTEM or HP_DEFAULT_SERVICE.
To execute this command in NS mode in NCI, see “How to Execute WMS Commands in
NCI” (page 55).
Examples
This command adds a service, DATALOADING, to the WMS configuration. The
DATALOADING service has URGENT priority, allows a maximum CPU busy of 90 percent,
and has an active period of 18:00 to 22:00:
ADD SERVICE dataloading PRIORITY URGENT,
MAX_CPU_BUSY 90, ACTIVE 18:00 TO 22:00
This command gives the SALESQUERIES service MEDIUM priority and adds a comment
that describes the service:
ADD SERVICE salesqueries PRIORITY MEDIUM,
COMMENT "manages sales queries"
ALTER SERVICE Command
The ALTER SERVICE command modifies the attributes of a service in the WMS configuration
on the Neoview platform. Altering a service takes effect immediately for all subsequently executing
queries associated with that service.
Syntax
ALTER SERVICE service-name [service-attribute[, service-attribute]...]
service-attribute is:
{ priority | service-threshold | output-option | comment }
priority is:
PRIORITY { URGENT | HIGH | MEDIUM-HIGH | MEDIUM | LOW-MEDIUM | LOW }
service-threshold is:
{ MAX_CPU_BUSY percentage }
| { MAX_MEM_USAGE percentage }
| { ACTIVE time-value TO time-value }
| { EXEC_TIMEOUT query-timeout-value }
| { WAIT_TIMEOUT query-timeout-value }
output-option is:
{ PLAN | NO_PLAN }
| { TEXT | NO_TEXT }
comment is:
{ COMMENT "comment-string" }
service-name
is the name of a user-defined service for managing queries.
service-name must exist in the WMS configuration but cannot be
the SYSTEM service. The service name is not case-sensitive and is
always converted to uppercase. WMS supports multibyte characters
in the service name. For guidelines on using multibyte character sets,
see the Neoview Character Sets Administrator's Guide.
priority is the priority of this service relative to other services. priority can
be one of these values in order of descending priority:
PRIORITY URGENT
PRIORITY HIGH
PRIORITY MEDIUM-HIGH
58 WMS Commands