ASAP 2.8 Server Manual

ASAP Conversational Interface Commands
HP NonStop ASAP Server Manual522303-007
6-82
RANK Command
To define an action to reload a CPU after it fails:
RANK CPU, STATUS ACTION "TACL RELOAD <#DOMAIN>, PRIME" WAIT
15
To define a goal and action to secure the NonStop OS userid file to "OOOO":
RANK FILE $SYSTEM.SYSTEM.USERID, RWEP = "OOOO" ACTION "FUP
SECURE <#DOMAIN>, '<#GOAL>'"
To define a goal and action to compress a volume that is getting too full and to
write a critical EMS event, but to only do the compression once every 2 hours:
RANK DISK, FULL < 90 CRITICAL ACT "DCOM <#DOMAIN>" WAIT 120
To define custom up and down event numbers for CPU 0 getting too busy:
RANK CPU 0, BUSY < 90 CRITICAL 4444-5555
To define a custom down event number for CPU 0 getting too busy:
RANK CPU 0, BUSY < 90 CRITICAL 4444
To define a custom up event number for CPU 0 when it returns to normal:
RANK CPU 0, BUSY < 90 CRITICAL -5555
To define a goal for busy for an OSS shell process aggregate-only domain:
RANK PROCESS /bin/sh\##, BUSY < 10
To define a global goal and action to resecure any monitored file using the ASAP
default RESECURE rule:
RANK FILE, RWEP = "AOAO" ACTION RESECURE
To define a goal that all foreign TCP/IP Port connections must originate from net
16:
RANK TCPPORT, FADDR = 16.0.0.0
To define a goal that all foreign TCP/IP Port connections on Port 23 must originate
from subnet 16.150:
RANK TCPPORT 23, FADDR = 16.150.0.0