Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
We are using the ULTRIX T1.2.4 DECmcc BMS and Developers toolkit. We have implemented an event sink, however it currently resides within the AM. This means that we can only run from a single UID on the management station as separate AMs get started for each UID. Therefore we need to move it out into a separate process. I have read some notes concerning its implementation ie using MCC_LIBE_DETACH to start the process and then using a separate set of events to manage the event sink. This does not seem to much of a problem. My questions are a bit more fundamental. Does any one have a pseudo code or real code example of a separate event sink. ? How do you link the event sink in with the kernel. Looking at the snmp am the sink doesnt get a new enrollment id. From the frame work you don't have a main does that mean that you cannot use the low level calls for the Sink to do the put_event. If you can use the low level calls what framework do you need to put round the code to enable this. any help would be gratefully received, Thanks, Graham.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2495.1 | pointers to help | TOOK::MATTHEWS | Thu Mar 05 1992 13:53 | 9 | |
There are 4 seperate examples of event sinks currently within the DECmcc platform development community. I will list them in order of maturity/stability; DNA4 AM, DNA5 AM, SNMP AM, Data Collector AM. I would suggest that you talk to Jean Lee about the DNA4/DNA5/Data Collector and Dan Carr about the SNMP. Either of these people can point you in the right direction. wally | |||||
2495.2 | Callable MCC | DANZO::CARR | Thu Mar 05 1992 16:43 | 13 | |
>How do you link the event sink in with the kernel. Looking at the snmp am >the sink doesnt get a new enrollment id. The toolkit MM programming manual has a section that describes how to use callable mcc. This basically involves linking an image that isn't an MM with the mcc kernel, thus making kernel services available to that image. The image is linked essentially the same as if it were an MM. In your init code in main(), make a call to mcc_fw_init(), after this you're free to use any services offered by the kernel including event_put and event_get. | |||||
2495.3 | <Jobs a good'un> | MINDER::BLOWERG | Fri Mar 06 1992 10:24 | 5 | |
Thanks, It works fine. Graham |