Scheduled outage:template, Service hours, Scheduled outage – HP UX B6941-90001 User Manual
Page 290
290
Chapter 5
Configuring ITO
Flexible-management Configuration
Service Hours
The following example template defines service hours for a SAP server
with the node name saparv01. This node has to be in service on
weekdays from 08:00 hours to 16:00 hours.
TIMETEMPLATES
# time template
TIMETEMPLATE “service hours”
DESCRIPTION “template match for service hours”
TIMETMPLCONDS
TIMETMPLCOND
TIME FROM 08:00 TO 16:00
WEEKDAY FROM Monday TO Friday
RESPMGRCONFIGS
RESPMGRCONFIG
DESCRIPTION “Define service hours for a SAP server”
MSGTARGETRULES
MSGTARGETRULE
DESCRIPTION “Buffer msg outside service hrs for SAP”
MSGTARGETRULECONDS
MSGTARGETRULECOND
DESCRIPTION “Node with SAP server”
NODE IP 0.0.0.0 “sapsrv01”
MSGOPERATIONS
MSGOPERATION
TIMETEMPLATE “outside service hours”
INSERVICE
Scheduled Outage
The following example template defines a scheduled outage that
suppresses all messages relating to the application oracle from node
sapsrv01.
CONDSTATUSVARS
CONDSTATUSVAR “ora_on_sapsrv01” False
RESPMGRCONFIGS
RESPMGRCONFIG
DESCRIPTION “define outage for oracle on node orasv01”
MSGTARGETRULES
MSGTARGETRULE
DESCRIPTION “outage for oracle on node orasv01”
MSGTARGETRULECONDS
MSGTARGETRULECOND
DESCRIPTION “Node with oracle server”
CONDSTATUSVAR “ora_on_sapsrv01”
NODE IP 0.0.0.0 “sapsrv01”
APPLICATION “oracle”
MSGOPERATIONS
MSGOPERATION
SUPPRESS