| >Have a customer attempting to simulate PCM events to test TeMIP scripts. These
>are events relative to PCM itself, as opposed to events that it sees. Otherwise
>I would just have him echo the event string to /dev/console.
>
>The events we need to reliably simulate:
>Console Lost
This ones easy. Connect to one of the decservers that a managed system
is connected to a logout one or more of the ports. The Console Lost
will trigger immediately and 150 seconds later PCM will reopen the
line which in turn will trigger the "CMgr Console OK" event.
Console Lost Diabled
This one is more difficult. This one will only trigger when both of the
following are true:
1. Your are using TELNET for the connection protocol.
2. The server that you are using does not support the TELNET GET_STATUS
option. All Digital terminal servers support this option so it will
never happen with a Digital terminal server (unless someone breaks the
DNAS software).
Console NOT Found
This ones pretty easy to reproduce. You could do one of two things.
MCR LATCP CRE PORT LTA6969
MCR LATCP SET PORT LTA6969/NODE=decserver-node-name/PORT=port-name
Now connect to "decserver-node-name" and logout the port number that
is "port-name" in the above LATCP command.
Now, get back to the PCM engine and do SET HOST/LAT LTA6969:
When you logout the port you'll get the "Console Lost" event. When PCM
tries to reconnect to that port you'll get the "Console NOT found"
event because the SET HOST/DTE LTA6969: command has a connection to the
port.
Console Okay
You'll test this one when you log out the decserver port to trigger the
"Console Lost" event. The Console Okay will appear when PCM reopens
the port. As a matter of fact you'll test it again when you test the
"Console NOT Found". When you exit out of the SET HOST/DTE command used
above, the "Console Okay" will trigger when PCM reopens the line.
FDDI connection
This isn't a PCM internal event so you test this one as you would any
other by typing the event at the console.
Regs,
Dan
Any hints on how to pull this off? Or am I totally off base here?
Keith.
|