|
| T_SVCGRP/T_SERVICE problems |
 |
Thu, 8 May 2008 01:08:32 -0700 |
Hello all,
I'm currently struggeling with a MIB update problem.
Consider the following excerpt from a ubbconfig:
*SERVICES
FOO BUFTYPE="FML32" LOAD=10 SRVGRP="GRP1"
FOO BUFTYPE="FML32" LOAD SRVGRP="GRP2"
FOO BUFTYPE="FML32" LOAD=30 SRVGRP="GRP3"
I can use tmloadcf to load this configuration just fine, and it comes back in
the same shape (with defaults added) when I use tmunloadcf.
Now, what I really want to do is to perform this update dynamically (not using
tmloadcf). The T_SVCGRP class comes to mind as the natural place to start.
However, the BUFTYPE attribute is not in the T_SVCGRP class, only in the
T_SERVICE class (the same applies to ROUTING, but the use of ROUTING and SRVGRP
for the same service seems somewhat odd to me, so that's no real problem for
me).
What I do is that I first update T_SVCGRP (setting most of the attributes) and
then T_SERVICE. However, this makes me end up with the following tmunloadcf
output (defaults removed):
*SERVICES
FOO BUFTYPE="FML32"
FOO BUFTYPE="FML32" LOAD=10 SRVGRP="GRP1"
FOO BUFTYPE="FML32" LOAD SRVGRP="GRP2"
FOO BUFTYPE="FML32" LOAD=30 SRVGRP="GRP3"
As you can see, I end up with an extra "service" with no SRVGRP
information. What am I doing wrong here?
I'm running Tuxedo 8.1 RP 281 on PA-RISC HP-UX 11.11.
Any input on this welcome!
Best regards,
/Per
---
Per Lindstrom R2Meton AB, SWEDEN
--
---
|
| Post Reply
|
|
|
|
|
|
|
|
|
|